]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
reSWIGged for new runtime, etc.
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
385 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
386 #define SWIGTYPE_p_wxSizer swig_types[2]
387 #define SWIGTYPE_p_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 return self;
721
722
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_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject *resultobj;
1197 wxButton *arg1 = (wxButton *) 0 ;
1198 wxBitmap *arg2 = 0 ;
1199 PyObject * obj0 = 0 ;
1200 PyObject * obj1 = 0 ;
1201 char *kwnames[] = {
1202 (char *) "self",(char *) "bitmap", NULL
1203 };
1204
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1208 if (arg2 == NULL) {
1209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1210 }
1211 {
1212 PyThreadState* __tstate = wxPyBeginAllowThreads();
1213 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1214
1215 wxPyEndAllowThreads(__tstate);
1216 if (PyErr_Occurred()) SWIG_fail;
1217 }
1218 Py_INCREF(Py_None); resultobj = Py_None;
1219 return resultobj;
1220 fail:
1221 return NULL;
1222 }
1223
1224
1225 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1226 PyObject *resultobj;
1227 wxButton *arg1 = (wxButton *) 0 ;
1228 int arg2 ;
1229 int arg3 ;
1230 PyObject * obj0 = 0 ;
1231 char *kwnames[] = {
1232 (char *) "self",(char *) "x",(char *) "y", NULL
1233 };
1234
1235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 (arg1)->SetImageMargins(arg2,arg3);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 Py_INCREF(Py_None); resultobj = Py_None;
1245 return resultobj;
1246 fail:
1247 return NULL;
1248 }
1249
1250
1251 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxSize result;
1254 char *kwnames[] = {
1255 NULL
1256 };
1257
1258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1259 {
1260 PyThreadState* __tstate = wxPyBeginAllowThreads();
1261 result = wxButton::GetDefaultSize();
1262
1263 wxPyEndAllowThreads(__tstate);
1264 if (PyErr_Occurred()) SWIG_fail;
1265 }
1266 {
1267 wxSize * resultptr;
1268 resultptr = new wxSize((wxSize &) result);
1269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1270 }
1271 return resultobj;
1272 fail:
1273 return NULL;
1274 }
1275
1276
1277 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1278 PyObject *obj;
1279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1280 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1281 Py_INCREF(obj);
1282 return Py_BuildValue((char *)"");
1283 }
1284 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1285 PyObject *resultobj;
1286 wxWindow *arg1 = (wxWindow *) 0 ;
1287 int arg2 ;
1288 wxBitmap *arg3 = 0 ;
1289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1291 wxSize const &arg5_defvalue = wxDefaultSize ;
1292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1293 long arg6 = (long) wxBU_AUTODRAW ;
1294 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1295 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1296 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1297 wxString *arg8 = (wxString *) &arg8_defvalue ;
1298 wxBitmapButton *result;
1299 wxPoint temp4 ;
1300 wxSize temp5 ;
1301 bool temp8 = False ;
1302 PyObject * obj0 = 0 ;
1303 PyObject * obj2 = 0 ;
1304 PyObject * obj3 = 0 ;
1305 PyObject * obj4 = 0 ;
1306 PyObject * obj6 = 0 ;
1307 PyObject * obj7 = 0 ;
1308 char *kwnames[] = {
1309 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1310 };
1311
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1315 if (arg3 == NULL) {
1316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1317 }
1318 if (obj3) {
1319 {
1320 arg4 = &temp4;
1321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1322 }
1323 }
1324 if (obj4) {
1325 {
1326 arg5 = &temp5;
1327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1328 }
1329 }
1330 if (obj6) {
1331 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1332 if (arg7 == NULL) {
1333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1334 }
1335 }
1336 if (obj7) {
1337 {
1338 arg8 = wxString_in_helper(obj7);
1339 if (arg8 == NULL) SWIG_fail;
1340 temp8 = True;
1341 }
1342 }
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 resultobj = wxPyMake_wxObject(result);
1352 }
1353 {
1354 if (temp8)
1355 delete arg8;
1356 }
1357 return resultobj;
1358 fail:
1359 {
1360 if (temp8)
1361 delete arg8;
1362 }
1363 return NULL;
1364 }
1365
1366
1367 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1368 PyObject *resultobj;
1369 wxBitmapButton *result;
1370 char *kwnames[] = {
1371 NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1375 {
1376 PyThreadState* __tstate = wxPyBeginAllowThreads();
1377 result = (wxBitmapButton *)new wxBitmapButton();
1378
1379 wxPyEndAllowThreads(__tstate);
1380 if (PyErr_Occurred()) SWIG_fail;
1381 }
1382 {
1383 resultobj = wxPyMake_wxObject(result);
1384 }
1385 return resultobj;
1386 fail:
1387 return NULL;
1388 }
1389
1390
1391 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1392 PyObject *resultobj;
1393 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1394 wxWindow *arg2 = (wxWindow *) 0 ;
1395 int arg3 ;
1396 wxBitmap *arg4 = 0 ;
1397 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1398 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1399 wxSize const &arg6_defvalue = wxDefaultSize ;
1400 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1401 long arg7 = (long) wxBU_AUTODRAW ;
1402 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1403 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1404 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1405 wxString *arg9 = (wxString *) &arg9_defvalue ;
1406 bool result;
1407 wxPoint temp5 ;
1408 wxSize temp6 ;
1409 bool temp9 = False ;
1410 PyObject * obj0 = 0 ;
1411 PyObject * obj1 = 0 ;
1412 PyObject * obj3 = 0 ;
1413 PyObject * obj4 = 0 ;
1414 PyObject * obj5 = 0 ;
1415 PyObject * obj7 = 0 ;
1416 PyObject * obj8 = 0 ;
1417 char *kwnames[] = {
1418 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1419 };
1420
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if (arg4 == NULL) {
1426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1427 }
1428 if (obj4) {
1429 {
1430 arg5 = &temp5;
1431 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1432 }
1433 }
1434 if (obj5) {
1435 {
1436 arg6 = &temp6;
1437 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1438 }
1439 }
1440 if (obj7) {
1441 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1442 if (arg8 == NULL) {
1443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1444 }
1445 }
1446 if (obj8) {
1447 {
1448 arg9 = wxString_in_helper(obj8);
1449 if (arg9 == NULL) SWIG_fail;
1450 temp9 = True;
1451 }
1452 }
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 resultobj = PyInt_FromLong((long)result);
1461 {
1462 if (temp9)
1463 delete arg9;
1464 }
1465 return resultobj;
1466 fail:
1467 {
1468 if (temp9)
1469 delete arg9;
1470 }
1471 return NULL;
1472 }
1473
1474
1475 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject *resultobj;
1477 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1478 wxBitmap result;
1479 PyObject * obj0 = 0 ;
1480 char *kwnames[] = {
1481 (char *) "self", NULL
1482 };
1483
1484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1486 {
1487 PyThreadState* __tstate = wxPyBeginAllowThreads();
1488 result = (arg1)->GetBitmapLabel();
1489
1490 wxPyEndAllowThreads(__tstate);
1491 if (PyErr_Occurred()) SWIG_fail;
1492 }
1493 {
1494 wxBitmap * resultptr;
1495 resultptr = new wxBitmap((wxBitmap &) result);
1496 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1497 }
1498 return resultobj;
1499 fail:
1500 return NULL;
1501 }
1502
1503
1504 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1505 PyObject *resultobj;
1506 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1507 wxBitmap result;
1508 PyObject * obj0 = 0 ;
1509 char *kwnames[] = {
1510 (char *) "self", NULL
1511 };
1512
1513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 result = (arg1)->GetBitmapDisabled();
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 {
1523 wxBitmap * resultptr;
1524 resultptr = new wxBitmap((wxBitmap &) result);
1525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1526 }
1527 return resultobj;
1528 fail:
1529 return NULL;
1530 }
1531
1532
1533 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1534 PyObject *resultobj;
1535 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1536 wxBitmap result;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 {
1545 PyThreadState* __tstate = wxPyBeginAllowThreads();
1546 result = (arg1)->GetBitmapFocus();
1547
1548 wxPyEndAllowThreads(__tstate);
1549 if (PyErr_Occurred()) SWIG_fail;
1550 }
1551 {
1552 wxBitmap * resultptr;
1553 resultptr = new wxBitmap((wxBitmap &) result);
1554 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1555 }
1556 return resultobj;
1557 fail:
1558 return NULL;
1559 }
1560
1561
1562 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1565 wxBitmap result;
1566 PyObject * obj0 = 0 ;
1567 char *kwnames[] = {
1568 (char *) "self", NULL
1569 };
1570
1571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
1575 result = (arg1)->GetBitmapSelected();
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 {
1581 wxBitmap * resultptr;
1582 resultptr = new wxBitmap((wxBitmap &) result);
1583 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1584 }
1585 return resultobj;
1586 fail:
1587 return NULL;
1588 }
1589
1590
1591 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1592 PyObject *resultobj;
1593 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1594 wxBitmap *arg2 = 0 ;
1595 PyObject * obj0 = 0 ;
1596 PyObject * obj1 = 0 ;
1597 char *kwnames[] = {
1598 (char *) "self",(char *) "bitmap", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1604 if (arg2 == NULL) {
1605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1606 }
1607 {
1608 PyThreadState* __tstate = wxPyBeginAllowThreads();
1609 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1610
1611 wxPyEndAllowThreads(__tstate);
1612 if (PyErr_Occurred()) SWIG_fail;
1613 }
1614 Py_INCREF(Py_None); resultobj = Py_None;
1615 return resultobj;
1616 fail:
1617 return NULL;
1618 }
1619
1620
1621 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1622 PyObject *resultobj;
1623 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1624 wxBitmap *arg2 = 0 ;
1625 PyObject * obj0 = 0 ;
1626 PyObject * obj1 = 0 ;
1627 char *kwnames[] = {
1628 (char *) "self",(char *) "bitmap", NULL
1629 };
1630
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 if (arg2 == NULL) {
1635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1636 }
1637 {
1638 PyThreadState* __tstate = wxPyBeginAllowThreads();
1639 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1640
1641 wxPyEndAllowThreads(__tstate);
1642 if (PyErr_Occurred()) SWIG_fail;
1643 }
1644 Py_INCREF(Py_None); resultobj = Py_None;
1645 return resultobj;
1646 fail:
1647 return NULL;
1648 }
1649
1650
1651 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1652 PyObject *resultobj;
1653 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1654 wxBitmap *arg2 = 0 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self",(char *) "bitmap", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 if (arg2 == NULL) {
1665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1666 }
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
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_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1684 wxBitmap *arg2 = 0 ;
1685 PyObject * obj0 = 0 ;
1686 PyObject * obj1 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self",(char *) "bitmap", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1694 if (arg2 == NULL) {
1695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 Py_INCREF(Py_None); resultobj = Py_None;
1705 return resultobj;
1706 fail:
1707 return NULL;
1708 }
1709
1710
1711 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1714 int arg2 ;
1715 int arg3 ;
1716 PyObject * obj0 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "self",(char *) "x",(char *) "y", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1723 {
1724 PyThreadState* __tstate = wxPyBeginAllowThreads();
1725 (arg1)->SetMargins(arg2,arg3);
1726
1727 wxPyEndAllowThreads(__tstate);
1728 if (PyErr_Occurred()) SWIG_fail;
1729 }
1730 Py_INCREF(Py_None); resultobj = Py_None;
1731 return resultobj;
1732 fail:
1733 return NULL;
1734 }
1735
1736
1737 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1740 int result;
1741 PyObject * obj0 = 0 ;
1742 char *kwnames[] = {
1743 (char *) "self", NULL
1744 };
1745
1746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1748 {
1749 PyThreadState* __tstate = wxPyBeginAllowThreads();
1750 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1751
1752 wxPyEndAllowThreads(__tstate);
1753 if (PyErr_Occurred()) SWIG_fail;
1754 }
1755 resultobj = PyInt_FromLong((long)result);
1756 return resultobj;
1757 fail:
1758 return NULL;
1759 }
1760
1761
1762 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1763 PyObject *resultobj;
1764 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1765 int result;
1766 PyObject * obj0 = 0 ;
1767 char *kwnames[] = {
1768 (char *) "self", NULL
1769 };
1770
1771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1773 {
1774 PyThreadState* __tstate = wxPyBeginAllowThreads();
1775 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1776
1777 wxPyEndAllowThreads(__tstate);
1778 if (PyErr_Occurred()) SWIG_fail;
1779 }
1780 resultobj = PyInt_FromLong((long)result);
1781 return resultobj;
1782 fail:
1783 return NULL;
1784 }
1785
1786
1787 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1788 PyObject *obj;
1789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1790 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1791 Py_INCREF(obj);
1792 return Py_BuildValue((char *)"");
1793 }
1794 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1795 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1796 return 1;
1797 }
1798
1799
1800 static PyObject *_wrap_CheckBoxNameStr_get() {
1801 PyObject *pyobj;
1802
1803 {
1804 #if wxUSE_UNICODE
1805 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1806 #else
1807 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1808 #endif
1809 }
1810 return pyobj;
1811 }
1812
1813
1814 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxWindow *arg1 = (wxWindow *) 0 ;
1817 int arg2 ;
1818 wxString *arg3 = 0 ;
1819 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1820 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1821 wxSize const &arg5_defvalue = wxDefaultSize ;
1822 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1823 long arg6 = (long) 0 ;
1824 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1825 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1826 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1827 wxString *arg8 = (wxString *) &arg8_defvalue ;
1828 wxCheckBox *result;
1829 bool temp3 = False ;
1830 wxPoint temp4 ;
1831 wxSize temp5 ;
1832 bool temp8 = False ;
1833 PyObject * obj0 = 0 ;
1834 PyObject * obj2 = 0 ;
1835 PyObject * obj3 = 0 ;
1836 PyObject * obj4 = 0 ;
1837 PyObject * obj6 = 0 ;
1838 PyObject * obj7 = 0 ;
1839 char *kwnames[] = {
1840 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1845 {
1846 arg3 = wxString_in_helper(obj2);
1847 if (arg3 == NULL) SWIG_fail;
1848 temp3 = True;
1849 }
1850 if (obj3) {
1851 {
1852 arg4 = &temp4;
1853 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1854 }
1855 }
1856 if (obj4) {
1857 {
1858 arg5 = &temp5;
1859 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1860 }
1861 }
1862 if (obj6) {
1863 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1864 if (arg7 == NULL) {
1865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1866 }
1867 }
1868 if (obj7) {
1869 {
1870 arg8 = wxString_in_helper(obj7);
1871 if (arg8 == NULL) SWIG_fail;
1872 temp8 = True;
1873 }
1874 }
1875 {
1876 PyThreadState* __tstate = wxPyBeginAllowThreads();
1877 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1878
1879 wxPyEndAllowThreads(__tstate);
1880 if (PyErr_Occurred()) SWIG_fail;
1881 }
1882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1883 {
1884 if (temp3)
1885 delete arg3;
1886 }
1887 {
1888 if (temp8)
1889 delete arg8;
1890 }
1891 return resultobj;
1892 fail:
1893 {
1894 if (temp3)
1895 delete arg3;
1896 }
1897 {
1898 if (temp8)
1899 delete arg8;
1900 }
1901 return NULL;
1902 }
1903
1904
1905 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1906 PyObject *resultobj;
1907 wxCheckBox *result;
1908 char *kwnames[] = {
1909 NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 result = (wxCheckBox *)new wxCheckBox();
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1930 wxWindow *arg2 = (wxWindow *) 0 ;
1931 int arg3 ;
1932 wxString *arg4 = 0 ;
1933 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1934 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1935 wxSize const &arg6_defvalue = wxDefaultSize ;
1936 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1937 long arg7 = (long) 0 ;
1938 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1939 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1940 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1941 wxString *arg9 = (wxString *) &arg9_defvalue ;
1942 bool result;
1943 bool temp4 = False ;
1944 wxPoint temp5 ;
1945 wxSize temp6 ;
1946 bool temp9 = False ;
1947 PyObject * obj0 = 0 ;
1948 PyObject * obj1 = 0 ;
1949 PyObject * obj3 = 0 ;
1950 PyObject * obj4 = 0 ;
1951 PyObject * obj5 = 0 ;
1952 PyObject * obj7 = 0 ;
1953 PyObject * obj8 = 0 ;
1954 char *kwnames[] = {
1955 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1956 };
1957
1958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1961 {
1962 arg4 = wxString_in_helper(obj3);
1963 if (arg4 == NULL) SWIG_fail;
1964 temp4 = True;
1965 }
1966 if (obj4) {
1967 {
1968 arg5 = &temp5;
1969 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1970 }
1971 }
1972 if (obj5) {
1973 {
1974 arg6 = &temp6;
1975 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1976 }
1977 }
1978 if (obj7) {
1979 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1980 if (arg8 == NULL) {
1981 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1982 }
1983 }
1984 if (obj8) {
1985 {
1986 arg9 = wxString_in_helper(obj8);
1987 if (arg9 == NULL) SWIG_fail;
1988 temp9 = True;
1989 }
1990 }
1991 {
1992 PyThreadState* __tstate = wxPyBeginAllowThreads();
1993 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1994
1995 wxPyEndAllowThreads(__tstate);
1996 if (PyErr_Occurred()) SWIG_fail;
1997 }
1998 resultobj = PyInt_FromLong((long)result);
1999 {
2000 if (temp4)
2001 delete arg4;
2002 }
2003 {
2004 if (temp9)
2005 delete arg9;
2006 }
2007 return resultobj;
2008 fail:
2009 {
2010 if (temp4)
2011 delete arg4;
2012 }
2013 {
2014 if (temp9)
2015 delete arg9;
2016 }
2017 return NULL;
2018 }
2019
2020
2021 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2024 bool result;
2025 PyObject * obj0 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (bool)(arg1)->GetValue();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = PyInt_FromLong((long)result);
2040 return resultobj;
2041 fail:
2042 return NULL;
2043 }
2044
2045
2046 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2049 bool result;
2050 PyObject * obj0 = 0 ;
2051 char *kwnames[] = {
2052 (char *) "self", NULL
2053 };
2054
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2057 {
2058 PyThreadState* __tstate = wxPyBeginAllowThreads();
2059 result = (bool)(arg1)->IsChecked();
2060
2061 wxPyEndAllowThreads(__tstate);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
2064 resultobj = PyInt_FromLong((long)result);
2065 return resultobj;
2066 fail:
2067 return NULL;
2068 }
2069
2070
2071 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2072 PyObject *resultobj;
2073 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2074 bool arg2 ;
2075 PyObject * obj0 = 0 ;
2076 PyObject * obj1 = 0 ;
2077 char *kwnames[] = {
2078 (char *) "self",(char *) "state", NULL
2079 };
2080
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2083 {
2084 arg2 = (bool const) SPyObj_AsBool(obj1);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 (arg1)->SetValue(arg2);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 Py_INCREF(Py_None); resultobj = Py_None;
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2104 int result;
2105 PyObject * obj0 = 0 ;
2106 char *kwnames[] = {
2107 (char *) "self", NULL
2108 };
2109
2110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2112 {
2113 PyThreadState* __tstate = wxPyBeginAllowThreads();
2114 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2115
2116 wxPyEndAllowThreads(__tstate);
2117 if (PyErr_Occurred()) SWIG_fail;
2118 }
2119 resultobj = PyInt_FromLong((long)result);
2120 return resultobj;
2121 fail:
2122 return NULL;
2123 }
2124
2125
2126 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2127 PyObject *resultobj;
2128 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2129 int arg2 ;
2130 PyObject * obj0 = 0 ;
2131 char *kwnames[] = {
2132 (char *) "self",(char *) "state", NULL
2133 };
2134
2135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
2136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 Py_INCREF(Py_None); resultobj = Py_None;
2145 return resultobj;
2146 fail:
2147 return NULL;
2148 }
2149
2150
2151 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2152 PyObject *resultobj;
2153 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2154 bool result;
2155 PyObject * obj0 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 resultobj = PyInt_FromLong((long)result);
2170 return resultobj;
2171 fail:
2172 return NULL;
2173 }
2174
2175
2176 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2177 PyObject *resultobj;
2178 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2179 bool result;
2180 PyObject * obj0 = 0 ;
2181 char *kwnames[] = {
2182 (char *) "self", NULL
2183 };
2184
2185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2187 {
2188 PyThreadState* __tstate = wxPyBeginAllowThreads();
2189 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2190
2191 wxPyEndAllowThreads(__tstate);
2192 if (PyErr_Occurred()) SWIG_fail;
2193 }
2194 resultobj = PyInt_FromLong((long)result);
2195 return resultobj;
2196 fail:
2197 return NULL;
2198 }
2199
2200
2201 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2202 PyObject *obj;
2203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2204 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2205 Py_INCREF(obj);
2206 return Py_BuildValue((char *)"");
2207 }
2208 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2209 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2210 return 1;
2211 }
2212
2213
2214 static PyObject *_wrap_ChoiceNameStr_get() {
2215 PyObject *pyobj;
2216
2217 {
2218 #if wxUSE_UNICODE
2219 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2220 #else
2221 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2222 #endif
2223 }
2224 return pyobj;
2225 }
2226
2227
2228 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2229 PyObject *resultobj;
2230 wxWindow *arg1 = (wxWindow *) 0 ;
2231 int arg2 ;
2232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2234 wxSize const &arg4_defvalue = wxDefaultSize ;
2235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2236 int arg5 = (int) 0 ;
2237 wxString *arg6 = (wxString *) NULL ;
2238 long arg7 = (long) 0 ;
2239 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2240 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2241 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2242 wxString *arg9 = (wxString *) &arg9_defvalue ;
2243 wxChoice *result;
2244 wxPoint temp3 ;
2245 wxSize temp4 ;
2246 bool temp8 = False ;
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj2 = 0 ;
2249 PyObject * obj3 = 0 ;
2250 PyObject * obj4 = 0 ;
2251 PyObject * obj6 = 0 ;
2252 PyObject * obj7 = 0 ;
2253 char *kwnames[] = {
2254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2255 };
2256
2257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2259 if (obj2) {
2260 {
2261 arg3 = &temp3;
2262 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2263 }
2264 }
2265 if (obj3) {
2266 {
2267 arg4 = &temp4;
2268 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2269 }
2270 }
2271 if (obj4) {
2272 {
2273 arg5 = PyList_Size(obj4);
2274 arg6 = wxString_LIST_helper(obj4);
2275 if (arg6 == NULL) SWIG_fail;
2276 }
2277 }
2278 if (obj6) {
2279 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 if (arg8 == NULL) {
2281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2282 }
2283 }
2284 if (obj7) {
2285 {
2286 arg9 = wxString_in_helper(obj7);
2287 if (arg9 == NULL) SWIG_fail;
2288 temp8 = True;
2289 }
2290 }
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2299 {
2300 if (arg6) delete [] arg6;
2301 }
2302 {
2303 if (temp8)
2304 delete arg9;
2305 }
2306 return resultobj;
2307 fail:
2308 {
2309 if (arg6) delete [] arg6;
2310 }
2311 {
2312 if (temp8)
2313 delete arg9;
2314 }
2315 return NULL;
2316 }
2317
2318
2319 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2320 PyObject *resultobj;
2321 wxChoice *result;
2322 char *kwnames[] = {
2323 NULL
2324 };
2325
2326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 result = (wxChoice *)new wxChoice();
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2335 return resultobj;
2336 fail:
2337 return NULL;
2338 }
2339
2340
2341 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxChoice *arg1 = (wxChoice *) 0 ;
2344 wxWindow *arg2 = (wxWindow *) 0 ;
2345 int arg3 ;
2346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2348 wxSize const &arg5_defvalue = wxDefaultSize ;
2349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2350 int arg6 = (int) 0 ;
2351 wxString *arg7 = (wxString *) NULL ;
2352 long arg8 = (long) 0 ;
2353 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2354 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2355 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2356 wxString *arg10 = (wxString *) &arg10_defvalue ;
2357 bool result;
2358 wxPoint temp4 ;
2359 wxSize temp5 ;
2360 bool temp9 = False ;
2361 PyObject * obj0 = 0 ;
2362 PyObject * obj1 = 0 ;
2363 PyObject * obj3 = 0 ;
2364 PyObject * obj4 = 0 ;
2365 PyObject * obj5 = 0 ;
2366 PyObject * obj7 = 0 ;
2367 PyObject * obj8 = 0 ;
2368 char *kwnames[] = {
2369 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2370 };
2371
2372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2375 if (obj3) {
2376 {
2377 arg4 = &temp4;
2378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2379 }
2380 }
2381 if (obj4) {
2382 {
2383 arg5 = &temp5;
2384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2385 }
2386 }
2387 if (obj5) {
2388 {
2389 arg6 = PyList_Size(obj5);
2390 arg7 = wxString_LIST_helper(obj5);
2391 if (arg7 == NULL) SWIG_fail;
2392 }
2393 }
2394 if (obj7) {
2395 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2396 if (arg9 == NULL) {
2397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2398 }
2399 }
2400 if (obj8) {
2401 {
2402 arg10 = wxString_in_helper(obj8);
2403 if (arg10 == NULL) SWIG_fail;
2404 temp9 = True;
2405 }
2406 }
2407 {
2408 PyThreadState* __tstate = wxPyBeginAllowThreads();
2409 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2410
2411 wxPyEndAllowThreads(__tstate);
2412 if (PyErr_Occurred()) SWIG_fail;
2413 }
2414 resultobj = PyInt_FromLong((long)result);
2415 {
2416 if (arg7) delete [] arg7;
2417 }
2418 {
2419 if (temp9)
2420 delete arg10;
2421 }
2422 return resultobj;
2423 fail:
2424 {
2425 if (arg7) delete [] arg7;
2426 }
2427 {
2428 if (temp9)
2429 delete arg10;
2430 }
2431 return NULL;
2432 }
2433
2434
2435 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject *resultobj;
2437 wxChoice *arg1 = (wxChoice *) 0 ;
2438 int result;
2439 PyObject * obj0 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446 {
2447 PyThreadState* __tstate = wxPyBeginAllowThreads();
2448 result = (int)(arg1)->GetColumns();
2449
2450 wxPyEndAllowThreads(__tstate);
2451 if (PyErr_Occurred()) SWIG_fail;
2452 }
2453 resultobj = PyInt_FromLong((long)result);
2454 return resultobj;
2455 fail:
2456 return NULL;
2457 }
2458
2459
2460 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2461 PyObject *resultobj;
2462 wxChoice *arg1 = (wxChoice *) 0 ;
2463 int arg2 = (int) (int)1 ;
2464 PyObject * obj0 = 0 ;
2465 char *kwnames[] = {
2466 (char *) "self",(char *) "n", NULL
2467 };
2468
2469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 (arg1)->SetColumns(arg2);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 Py_INCREF(Py_None); resultobj = Py_None;
2479 return resultobj;
2480 fail:
2481 return NULL;
2482 }
2483
2484
2485 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxChoice *arg1 = (wxChoice *) 0 ;
2488 int arg2 ;
2489 PyObject * obj0 = 0 ;
2490 char *kwnames[] = {
2491 (char *) "self",(char *) "n", NULL
2492 };
2493
2494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2496 {
2497 PyThreadState* __tstate = wxPyBeginAllowThreads();
2498 (arg1)->SetSelection(arg2);
2499
2500 wxPyEndAllowThreads(__tstate);
2501 if (PyErr_Occurred()) SWIG_fail;
2502 }
2503 Py_INCREF(Py_None); resultobj = Py_None;
2504 return resultobj;
2505 fail:
2506 return NULL;
2507 }
2508
2509
2510 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2511 PyObject *resultobj;
2512 wxChoice *arg1 = (wxChoice *) 0 ;
2513 wxString *arg2 = 0 ;
2514 bool temp2 = False ;
2515 PyObject * obj0 = 0 ;
2516 PyObject * obj1 = 0 ;
2517 char *kwnames[] = {
2518 (char *) "self",(char *) "string", NULL
2519 };
2520
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 {
2524 arg2 = wxString_in_helper(obj1);
2525 if (arg2 == NULL) SWIG_fail;
2526 temp2 = True;
2527 }
2528 {
2529 PyThreadState* __tstate = wxPyBeginAllowThreads();
2530 (arg1)->SetStringSelection((wxString const &)*arg2);
2531
2532 wxPyEndAllowThreads(__tstate);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 Py_INCREF(Py_None); resultobj = Py_None;
2536 {
2537 if (temp2)
2538 delete arg2;
2539 }
2540 return resultobj;
2541 fail:
2542 {
2543 if (temp2)
2544 delete arg2;
2545 }
2546 return NULL;
2547 }
2548
2549
2550 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2551 PyObject *resultobj;
2552 wxChoice *arg1 = (wxChoice *) 0 ;
2553 int arg2 ;
2554 wxString *arg3 = 0 ;
2555 bool temp3 = False ;
2556 PyObject * obj0 = 0 ;
2557 PyObject * obj2 = 0 ;
2558 char *kwnames[] = {
2559 (char *) "self",(char *) "n",(char *) "s", NULL
2560 };
2561
2562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2564 {
2565 arg3 = wxString_in_helper(obj2);
2566 if (arg3 == NULL) SWIG_fail;
2567 temp3 = True;
2568 }
2569 {
2570 PyThreadState* __tstate = wxPyBeginAllowThreads();
2571 (arg1)->SetString(arg2,(wxString const &)*arg3);
2572
2573 wxPyEndAllowThreads(__tstate);
2574 if (PyErr_Occurred()) SWIG_fail;
2575 }
2576 Py_INCREF(Py_None); resultobj = Py_None;
2577 {
2578 if (temp3)
2579 delete arg3;
2580 }
2581 return resultobj;
2582 fail:
2583 {
2584 if (temp3)
2585 delete arg3;
2586 }
2587 return NULL;
2588 }
2589
2590
2591 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2592 PyObject *obj;
2593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2594 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2595 Py_INCREF(obj);
2596 return Py_BuildValue((char *)"");
2597 }
2598 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2599 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2600 return 1;
2601 }
2602
2603
2604 static PyObject *_wrap_ComboBoxNameStr_get() {
2605 PyObject *pyobj;
2606
2607 {
2608 #if wxUSE_UNICODE
2609 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2610 #else
2611 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2612 #endif
2613 }
2614 return pyobj;
2615 }
2616
2617
2618 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxWindow *arg1 = (wxWindow *) 0 ;
2621 int arg2 ;
2622 wxString const &arg3_defvalue = wxPyEmptyString ;
2623 wxString *arg3 = (wxString *) &arg3_defvalue ;
2624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2626 wxSize const &arg5_defvalue = wxDefaultSize ;
2627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2628 int arg6 = (int) 0 ;
2629 wxString *arg7 = (wxString *) NULL ;
2630 long arg8 = (long) 0 ;
2631 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2632 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2633 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2634 wxString *arg10 = (wxString *) &arg10_defvalue ;
2635 wxComboBox *result;
2636 bool temp3 = False ;
2637 wxPoint temp4 ;
2638 wxSize temp5 ;
2639 bool temp9 = False ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj2 = 0 ;
2642 PyObject * obj3 = 0 ;
2643 PyObject * obj4 = 0 ;
2644 PyObject * obj5 = 0 ;
2645 PyObject * obj7 = 0 ;
2646 PyObject * obj8 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 if (obj2) {
2654 {
2655 arg3 = wxString_in_helper(obj2);
2656 if (arg3 == NULL) SWIG_fail;
2657 temp3 = True;
2658 }
2659 }
2660 if (obj3) {
2661 {
2662 arg4 = &temp4;
2663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2664 }
2665 }
2666 if (obj4) {
2667 {
2668 arg5 = &temp5;
2669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2670 }
2671 }
2672 if (obj5) {
2673 {
2674 arg6 = PyList_Size(obj5);
2675 arg7 = wxString_LIST_helper(obj5);
2676 if (arg7 == NULL) SWIG_fail;
2677 }
2678 }
2679 if (obj7) {
2680 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 if (arg9 == NULL) {
2682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2683 }
2684 }
2685 if (obj8) {
2686 {
2687 arg10 = wxString_in_helper(obj8);
2688 if (arg10 == NULL) SWIG_fail;
2689 temp9 = True;
2690 }
2691 }
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2700 {
2701 if (temp3)
2702 delete arg3;
2703 }
2704 {
2705 if (arg7) delete [] arg7;
2706 }
2707 {
2708 if (temp9)
2709 delete arg10;
2710 }
2711 return resultobj;
2712 fail:
2713 {
2714 if (temp3)
2715 delete arg3;
2716 }
2717 {
2718 if (arg7) delete [] arg7;
2719 }
2720 {
2721 if (temp9)
2722 delete arg10;
2723 }
2724 return NULL;
2725 }
2726
2727
2728 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2729 PyObject *resultobj;
2730 wxComboBox *result;
2731 char *kwnames[] = {
2732 NULL
2733 };
2734
2735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 result = (wxComboBox *)new wxComboBox();
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2744 return resultobj;
2745 fail:
2746 return NULL;
2747 }
2748
2749
2750 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxComboBox *arg1 = (wxComboBox *) 0 ;
2753 wxWindow *arg2 = (wxWindow *) 0 ;
2754 int arg3 ;
2755 wxString const &arg4_defvalue = wxPyEmptyString ;
2756 wxString *arg4 = (wxString *) &arg4_defvalue ;
2757 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2758 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2759 wxSize const &arg6_defvalue = wxDefaultSize ;
2760 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2761 int arg7 = (int) 0 ;
2762 wxString *arg8 = (wxString *) NULL ;
2763 long arg9 = (long) 0 ;
2764 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2765 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2766 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2767 wxString *arg11 = (wxString *) &arg11_defvalue ;
2768 bool result;
2769 bool temp4 = False ;
2770 wxPoint temp5 ;
2771 wxSize temp6 ;
2772 bool temp10 = False ;
2773 PyObject * obj0 = 0 ;
2774 PyObject * obj1 = 0 ;
2775 PyObject * obj3 = 0 ;
2776 PyObject * obj4 = 0 ;
2777 PyObject * obj5 = 0 ;
2778 PyObject * obj6 = 0 ;
2779 PyObject * obj8 = 0 ;
2780 PyObject * obj9 = 0 ;
2781 char *kwnames[] = {
2782 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2783 };
2784
2785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2788 if (obj3) {
2789 {
2790 arg4 = wxString_in_helper(obj3);
2791 if (arg4 == NULL) SWIG_fail;
2792 temp4 = True;
2793 }
2794 }
2795 if (obj4) {
2796 {
2797 arg5 = &temp5;
2798 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2799 }
2800 }
2801 if (obj5) {
2802 {
2803 arg6 = &temp6;
2804 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2805 }
2806 }
2807 if (obj6) {
2808 {
2809 arg7 = PyList_Size(obj6);
2810 arg8 = wxString_LIST_helper(obj6);
2811 if (arg8 == NULL) SWIG_fail;
2812 }
2813 }
2814 if (obj8) {
2815 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2816 if (arg10 == NULL) {
2817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2818 }
2819 }
2820 if (obj9) {
2821 {
2822 arg11 = wxString_in_helper(obj9);
2823 if (arg11 == NULL) SWIG_fail;
2824 temp10 = True;
2825 }
2826 }
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 resultobj = PyInt_FromLong((long)result);
2835 {
2836 if (temp4)
2837 delete arg4;
2838 }
2839 {
2840 if (arg8) delete [] arg8;
2841 }
2842 {
2843 if (temp10)
2844 delete arg11;
2845 }
2846 return resultobj;
2847 fail:
2848 {
2849 if (temp4)
2850 delete arg4;
2851 }
2852 {
2853 if (arg8) delete [] arg8;
2854 }
2855 {
2856 if (temp10)
2857 delete arg11;
2858 }
2859 return NULL;
2860 }
2861
2862
2863 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxComboBox *arg1 = (wxComboBox *) 0 ;
2866 wxString result;
2867 PyObject * obj0 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "self", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2874 {
2875 PyThreadState* __tstate = wxPyBeginAllowThreads();
2876 result = ((wxComboBox const *)arg1)->GetValue();
2877
2878 wxPyEndAllowThreads(__tstate);
2879 if (PyErr_Occurred()) SWIG_fail;
2880 }
2881 {
2882 #if wxUSE_UNICODE
2883 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2884 #else
2885 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2886 #endif
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxComboBox *arg1 = (wxComboBox *) 0 ;
2897 wxString *arg2 = 0 ;
2898 bool temp2 = False ;
2899 PyObject * obj0 = 0 ;
2900 PyObject * obj1 = 0 ;
2901 char *kwnames[] = {
2902 (char *) "self",(char *) "value", NULL
2903 };
2904
2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 {
2908 arg2 = wxString_in_helper(obj1);
2909 if (arg2 == NULL) SWIG_fail;
2910 temp2 = True;
2911 }
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->SetValue((wxString const &)*arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 {
2921 if (temp2)
2922 delete arg2;
2923 }
2924 return resultobj;
2925 fail:
2926 {
2927 if (temp2)
2928 delete arg2;
2929 }
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxComboBox *arg1 = (wxComboBox *) 0 ;
2937 PyObject * obj0 = 0 ;
2938 char *kwnames[] = {
2939 (char *) "self", NULL
2940 };
2941
2942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2944 {
2945 PyThreadState* __tstate = wxPyBeginAllowThreads();
2946 (arg1)->Copy();
2947
2948 wxPyEndAllowThreads(__tstate);
2949 if (PyErr_Occurred()) SWIG_fail;
2950 }
2951 Py_INCREF(Py_None); resultobj = Py_None;
2952 return resultobj;
2953 fail:
2954 return NULL;
2955 }
2956
2957
2958 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2959 PyObject *resultobj;
2960 wxComboBox *arg1 = (wxComboBox *) 0 ;
2961 PyObject * obj0 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 (arg1)->Cut();
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 Py_INCREF(Py_None); resultobj = Py_None;
2976 return resultobj;
2977 fail:
2978 return NULL;
2979 }
2980
2981
2982 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxComboBox *arg1 = (wxComboBox *) 0 ;
2985 PyObject * obj0 = 0 ;
2986 char *kwnames[] = {
2987 (char *) "self", NULL
2988 };
2989
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 (arg1)->Paste();
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 Py_INCREF(Py_None); resultobj = Py_None;
3000 return resultobj;
3001 fail:
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxComboBox *arg1 = (wxComboBox *) 0 ;
3009 long arg2 ;
3010 PyObject * obj0 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "pos", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 (arg1)->SetInsertionPoint(arg2);
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3032 PyObject *resultobj;
3033 wxComboBox *arg1 = (wxComboBox *) 0 ;
3034 long result;
3035 PyObject * obj0 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 resultobj = PyInt_FromLong((long)result);
3050 return resultobj;
3051 fail:
3052 return NULL;
3053 }
3054
3055
3056 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxComboBox *arg1 = (wxComboBox *) 0 ;
3059 long result;
3060 PyObject * obj0 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = PyInt_FromLong((long)result);
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxComboBox *arg1 = (wxComboBox *) 0 ;
3084 long arg2 ;
3085 long arg3 ;
3086 wxString *arg4 = 0 ;
3087 bool temp4 = False ;
3088 PyObject * obj0 = 0 ;
3089 PyObject * obj3 = 0 ;
3090 char *kwnames[] = {
3091 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3092 };
3093
3094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3096 {
3097 arg4 = wxString_in_helper(obj3);
3098 if (arg4 == NULL) SWIG_fail;
3099 temp4 = True;
3100 }
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 Py_INCREF(Py_None); resultobj = Py_None;
3109 {
3110 if (temp4)
3111 delete arg4;
3112 }
3113 return resultobj;
3114 fail:
3115 {
3116 if (temp4)
3117 delete arg4;
3118 }
3119 return NULL;
3120 }
3121
3122
3123 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3124 PyObject *resultobj;
3125 wxComboBox *arg1 = (wxComboBox *) 0 ;
3126 int arg2 ;
3127 PyObject * obj0 = 0 ;
3128 char *kwnames[] = {
3129 (char *) "self",(char *) "n", NULL
3130 };
3131
3132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
3133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->SetSelection(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_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxComboBox *arg1 = (wxComboBox *) 0 ;
3151 long arg2 ;
3152 long arg3 ;
3153 PyObject * obj0 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self",(char *) "from",(char *) "to", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
3159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 (arg1)->SetSelection(arg2,arg3);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 Py_INCREF(Py_None); resultobj = Py_None;
3168 return resultobj;
3169 fail:
3170 return NULL;
3171 }
3172
3173
3174 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxComboBox *arg1 = (wxComboBox *) 0 ;
3177 bool arg2 ;
3178 PyObject * obj0 = 0 ;
3179 PyObject * obj1 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "editable", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 {
3187 arg2 = (bool) SPyObj_AsBool(obj1);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 (arg1)->SetEditable(arg2);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 Py_INCREF(Py_None); resultobj = Py_None;
3198 return resultobj;
3199 fail:
3200 return NULL;
3201 }
3202
3203
3204 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3205 PyObject *resultobj;
3206 wxComboBox *arg1 = (wxComboBox *) 0 ;
3207 PyObject * obj0 = 0 ;
3208 char *kwnames[] = {
3209 (char *) "self", NULL
3210 };
3211
3212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 (arg1)->SetInsertionPointEnd();
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 Py_INCREF(Py_None); resultobj = Py_None;
3222 return resultobj;
3223 fail:
3224 return NULL;
3225 }
3226
3227
3228 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3229 PyObject *resultobj;
3230 wxComboBox *arg1 = (wxComboBox *) 0 ;
3231 long arg2 ;
3232 long arg3 ;
3233 PyObject * obj0 = 0 ;
3234 char *kwnames[] = {
3235 (char *) "self",(char *) "from",(char *) "to", NULL
3236 };
3237
3238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->Remove(arg2,arg3);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 return resultobj;
3249 fail:
3250 return NULL;
3251 }
3252
3253
3254 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3255 PyObject *obj;
3256 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3257 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3258 Py_INCREF(obj);
3259 return Py_BuildValue((char *)"");
3260 }
3261 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3262 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3263 return 1;
3264 }
3265
3266
3267 static PyObject *_wrap_GaugeNameStr_get() {
3268 PyObject *pyobj;
3269
3270 {
3271 #if wxUSE_UNICODE
3272 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3273 #else
3274 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3275 #endif
3276 }
3277 return pyobj;
3278 }
3279
3280
3281 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxWindow *arg1 = (wxWindow *) 0 ;
3284 int arg2 ;
3285 int arg3 ;
3286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3288 wxSize const &arg5_defvalue = wxDefaultSize ;
3289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3290 long arg6 = (long) wxGA_HORIZONTAL ;
3291 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3292 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3293 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3294 wxString *arg8 = (wxString *) &arg8_defvalue ;
3295 wxGauge *result;
3296 wxPoint temp4 ;
3297 wxSize temp5 ;
3298 bool temp8 = False ;
3299 PyObject * obj0 = 0 ;
3300 PyObject * obj3 = 0 ;
3301 PyObject * obj4 = 0 ;
3302 PyObject * obj6 = 0 ;
3303 PyObject * obj7 = 0 ;
3304 char *kwnames[] = {
3305 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3310 if (obj3) {
3311 {
3312 arg4 = &temp4;
3313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3314 }
3315 }
3316 if (obj4) {
3317 {
3318 arg5 = &temp5;
3319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3320 }
3321 }
3322 if (obj6) {
3323 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 if (arg7 == NULL) {
3325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3326 }
3327 }
3328 if (obj7) {
3329 {
3330 arg8 = wxString_in_helper(obj7);
3331 if (arg8 == NULL) SWIG_fail;
3332 temp8 = True;
3333 }
3334 }
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3343 {
3344 if (temp8)
3345 delete arg8;
3346 }
3347 return resultobj;
3348 fail:
3349 {
3350 if (temp8)
3351 delete arg8;
3352 }
3353 return NULL;
3354 }
3355
3356
3357 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3358 PyObject *resultobj;
3359 wxGauge *result;
3360 char *kwnames[] = {
3361 NULL
3362 };
3363
3364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 result = (wxGauge *)new wxGauge();
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3373 return resultobj;
3374 fail:
3375 return NULL;
3376 }
3377
3378
3379 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxGauge *arg1 = (wxGauge *) 0 ;
3382 wxWindow *arg2 = (wxWindow *) 0 ;
3383 int arg3 ;
3384 int arg4 ;
3385 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3386 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3387 wxSize const &arg6_defvalue = wxDefaultSize ;
3388 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3389 long arg7 = (long) wxGA_HORIZONTAL ;
3390 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3391 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3392 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3393 wxString *arg9 = (wxString *) &arg9_defvalue ;
3394 bool result;
3395 wxPoint temp5 ;
3396 wxSize temp6 ;
3397 bool temp9 = False ;
3398 PyObject * obj0 = 0 ;
3399 PyObject * obj1 = 0 ;
3400 PyObject * obj4 = 0 ;
3401 PyObject * obj5 = 0 ;
3402 PyObject * obj7 = 0 ;
3403 PyObject * obj8 = 0 ;
3404 char *kwnames[] = {
3405 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3406 };
3407
3408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3411 if (obj4) {
3412 {
3413 arg5 = &temp5;
3414 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3415 }
3416 }
3417 if (obj5) {
3418 {
3419 arg6 = &temp6;
3420 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3421 }
3422 }
3423 if (obj7) {
3424 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3425 if (arg8 == NULL) {
3426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3427 }
3428 }
3429 if (obj8) {
3430 {
3431 arg9 = wxString_in_helper(obj8);
3432 if (arg9 == NULL) SWIG_fail;
3433 temp9 = True;
3434 }
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 resultobj = PyInt_FromLong((long)result);
3444 {
3445 if (temp9)
3446 delete arg9;
3447 }
3448 return resultobj;
3449 fail:
3450 {
3451 if (temp9)
3452 delete arg9;
3453 }
3454 return NULL;
3455 }
3456
3457
3458 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3459 PyObject *resultobj;
3460 wxGauge *arg1 = (wxGauge *) 0 ;
3461 int arg2 ;
3462 PyObject * obj0 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self",(char *) "range", NULL
3465 };
3466
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 (arg1)->SetRange(arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 Py_INCREF(Py_None); resultobj = Py_None;
3477 return resultobj;
3478 fail:
3479 return NULL;
3480 }
3481
3482
3483 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3484 PyObject *resultobj;
3485 wxGauge *arg1 = (wxGauge *) 0 ;
3486 int result;
3487 PyObject * obj0 = 0 ;
3488 char *kwnames[] = {
3489 (char *) "self", NULL
3490 };
3491
3492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3494 {
3495 PyThreadState* __tstate = wxPyBeginAllowThreads();
3496 result = (int)((wxGauge const *)arg1)->GetRange();
3497
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 resultobj = PyInt_FromLong((long)result);
3502 return resultobj;
3503 fail:
3504 return NULL;
3505 }
3506
3507
3508 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3509 PyObject *resultobj;
3510 wxGauge *arg1 = (wxGauge *) 0 ;
3511 int arg2 ;
3512 PyObject * obj0 = 0 ;
3513 char *kwnames[] = {
3514 (char *) "self",(char *) "pos", NULL
3515 };
3516
3517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->SetValue(arg2);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 return resultobj;
3528 fail:
3529 return NULL;
3530 }
3531
3532
3533 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3534 PyObject *resultobj;
3535 wxGauge *arg1 = (wxGauge *) 0 ;
3536 int result;
3537 PyObject * obj0 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (int)((wxGauge const *)arg1)->GetValue();
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 resultobj = PyInt_FromLong((long)result);
3552 return resultobj;
3553 fail:
3554 return NULL;
3555 }
3556
3557
3558 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxGauge *arg1 = (wxGauge *) 0 ;
3561 bool result;
3562 PyObject * obj0 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3569 {
3570 PyThreadState* __tstate = wxPyBeginAllowThreads();
3571 result = (bool)((wxGauge const *)arg1)->IsVertical();
3572
3573 wxPyEndAllowThreads(__tstate);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 }
3576 resultobj = PyInt_FromLong((long)result);
3577 return resultobj;
3578 fail:
3579 return NULL;
3580 }
3581
3582
3583 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3584 PyObject *resultobj;
3585 wxGauge *arg1 = (wxGauge *) 0 ;
3586 int arg2 ;
3587 PyObject * obj0 = 0 ;
3588 char *kwnames[] = {
3589 (char *) "self",(char *) "w", NULL
3590 };
3591
3592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3594 {
3595 PyThreadState* __tstate = wxPyBeginAllowThreads();
3596 (arg1)->SetShadowWidth(arg2);
3597
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 Py_INCREF(Py_None); resultobj = Py_None;
3602 return resultobj;
3603 fail:
3604 return NULL;
3605 }
3606
3607
3608 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxGauge *arg1 = (wxGauge *) 0 ;
3611 int result;
3612 PyObject * obj0 = 0 ;
3613 char *kwnames[] = {
3614 (char *) "self", NULL
3615 };
3616
3617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3619 {
3620 PyThreadState* __tstate = wxPyBeginAllowThreads();
3621 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3622
3623 wxPyEndAllowThreads(__tstate);
3624 if (PyErr_Occurred()) SWIG_fail;
3625 }
3626 resultobj = PyInt_FromLong((long)result);
3627 return resultobj;
3628 fail:
3629 return NULL;
3630 }
3631
3632
3633 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxGauge *arg1 = (wxGauge *) 0 ;
3636 int arg2 ;
3637 PyObject * obj0 = 0 ;
3638 char *kwnames[] = {
3639 (char *) "self",(char *) "w", NULL
3640 };
3641
3642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 (arg1)->SetBezelFace(arg2);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 Py_INCREF(Py_None); resultobj = Py_None;
3652 return resultobj;
3653 fail:
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxGauge *arg1 = (wxGauge *) 0 ;
3661 int result;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3669 {
3670 PyThreadState* __tstate = wxPyBeginAllowThreads();
3671 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3672
3673 wxPyEndAllowThreads(__tstate);
3674 if (PyErr_Occurred()) SWIG_fail;
3675 }
3676 resultobj = PyInt_FromLong((long)result);
3677 return resultobj;
3678 fail:
3679 return NULL;
3680 }
3681
3682
3683 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3684 PyObject *obj;
3685 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3686 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3687 Py_INCREF(obj);
3688 return Py_BuildValue((char *)"");
3689 }
3690 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3691 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3692 return 1;
3693 }
3694
3695
3696 static PyObject *_wrap_StaticBitmapNameStr_get() {
3697 PyObject *pyobj;
3698
3699 {
3700 #if wxUSE_UNICODE
3701 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3702 #else
3703 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3704 #endif
3705 }
3706 return pyobj;
3707 }
3708
3709
3710 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3711 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3712 return 1;
3713 }
3714
3715
3716 static PyObject *_wrap_StaticBoxNameStr_get() {
3717 PyObject *pyobj;
3718
3719 {
3720 #if wxUSE_UNICODE
3721 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3722 #else
3723 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3724 #endif
3725 }
3726 return pyobj;
3727 }
3728
3729
3730 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3731 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3732 return 1;
3733 }
3734
3735
3736 static PyObject *_wrap_StaticTextNameStr_get() {
3737 PyObject *pyobj;
3738
3739 {
3740 #if wxUSE_UNICODE
3741 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3742 #else
3743 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3744 #endif
3745 }
3746 return pyobj;
3747 }
3748
3749
3750 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxWindow *arg1 = (wxWindow *) 0 ;
3753 int arg2 ;
3754 wxString *arg3 = 0 ;
3755 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3756 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3757 wxSize const &arg5_defvalue = wxDefaultSize ;
3758 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3759 long arg6 = (long) 0 ;
3760 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3761 wxString *arg7 = (wxString *) &arg7_defvalue ;
3762 wxStaticBox *result;
3763 bool temp3 = False ;
3764 wxPoint temp4 ;
3765 wxSize temp5 ;
3766 bool temp7 = False ;
3767 PyObject * obj0 = 0 ;
3768 PyObject * obj2 = 0 ;
3769 PyObject * obj3 = 0 ;
3770 PyObject * obj4 = 0 ;
3771 PyObject * obj6 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3778 {
3779 arg3 = wxString_in_helper(obj2);
3780 if (arg3 == NULL) SWIG_fail;
3781 temp3 = True;
3782 }
3783 if (obj3) {
3784 {
3785 arg4 = &temp4;
3786 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3787 }
3788 }
3789 if (obj4) {
3790 {
3791 arg5 = &temp5;
3792 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3793 }
3794 }
3795 if (obj6) {
3796 {
3797 arg7 = wxString_in_helper(obj6);
3798 if (arg7 == NULL) SWIG_fail;
3799 temp7 = True;
3800 }
3801 }
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3805
3806 wxPyEndAllowThreads(__tstate);
3807 if (PyErr_Occurred()) SWIG_fail;
3808 }
3809 {
3810 resultobj = wxPyMake_wxObject(result);
3811 }
3812 {
3813 if (temp3)
3814 delete arg3;
3815 }
3816 {
3817 if (temp7)
3818 delete arg7;
3819 }
3820 return resultobj;
3821 fail:
3822 {
3823 if (temp3)
3824 delete arg3;
3825 }
3826 {
3827 if (temp7)
3828 delete arg7;
3829 }
3830 return NULL;
3831 }
3832
3833
3834 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3835 PyObject *resultobj;
3836 wxStaticBox *result;
3837 char *kwnames[] = {
3838 NULL
3839 };
3840
3841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (wxStaticBox *)new wxStaticBox();
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
3849 {
3850 resultobj = wxPyMake_wxObject(result);
3851 }
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3861 wxWindow *arg2 = (wxWindow *) 0 ;
3862 int arg3 ;
3863 wxString *arg4 = 0 ;
3864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3866 wxSize const &arg6_defvalue = wxDefaultSize ;
3867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3868 long arg7 = (long) 0 ;
3869 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3870 wxString *arg8 = (wxString *) &arg8_defvalue ;
3871 bool result;
3872 bool temp4 = False ;
3873 wxPoint temp5 ;
3874 wxSize temp6 ;
3875 bool temp8 = False ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj3 = 0 ;
3879 PyObject * obj4 = 0 ;
3880 PyObject * obj5 = 0 ;
3881 PyObject * obj7 = 0 ;
3882 char *kwnames[] = {
3883 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3884 };
3885
3886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3889 {
3890 arg4 = wxString_in_helper(obj3);
3891 if (arg4 == NULL) SWIG_fail;
3892 temp4 = True;
3893 }
3894 if (obj4) {
3895 {
3896 arg5 = &temp5;
3897 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3898 }
3899 }
3900 if (obj5) {
3901 {
3902 arg6 = &temp6;
3903 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3904 }
3905 }
3906 if (obj7) {
3907 {
3908 arg8 = wxString_in_helper(obj7);
3909 if (arg8 == NULL) SWIG_fail;
3910 temp8 = True;
3911 }
3912 }
3913 {
3914 PyThreadState* __tstate = wxPyBeginAllowThreads();
3915 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3916
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 resultobj = PyInt_FromLong((long)result);
3921 {
3922 if (temp4)
3923 delete arg4;
3924 }
3925 {
3926 if (temp8)
3927 delete arg8;
3928 }
3929 return resultobj;
3930 fail:
3931 {
3932 if (temp4)
3933 delete arg4;
3934 }
3935 {
3936 if (temp8)
3937 delete arg8;
3938 }
3939 return NULL;
3940 }
3941
3942
3943 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3944 PyObject *obj;
3945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3946 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3947 Py_INCREF(obj);
3948 return Py_BuildValue((char *)"");
3949 }
3950 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3951 PyObject *resultobj;
3952 wxWindow *arg1 = (wxWindow *) 0 ;
3953 int arg2 ;
3954 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3955 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3956 wxSize const &arg4_defvalue = wxDefaultSize ;
3957 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3958 long arg5 = (long) wxLI_HORIZONTAL ;
3959 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3960 wxString *arg6 = (wxString *) &arg6_defvalue ;
3961 wxStaticLine *result;
3962 wxPoint temp3 ;
3963 wxSize temp4 ;
3964 bool temp6 = False ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj2 = 0 ;
3967 PyObject * obj3 = 0 ;
3968 PyObject * obj5 = 0 ;
3969 char *kwnames[] = {
3970 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3971 };
3972
3973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3975 if (obj2) {
3976 {
3977 arg3 = &temp3;
3978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3979 }
3980 }
3981 if (obj3) {
3982 {
3983 arg4 = &temp4;
3984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3985 }
3986 }
3987 if (obj5) {
3988 {
3989 arg6 = wxString_in_helper(obj5);
3990 if (arg6 == NULL) SWIG_fail;
3991 temp6 = True;
3992 }
3993 }
3994 {
3995 PyThreadState* __tstate = wxPyBeginAllowThreads();
3996 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3997
3998 wxPyEndAllowThreads(__tstate);
3999 if (PyErr_Occurred()) SWIG_fail;
4000 }
4001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4002 {
4003 if (temp6)
4004 delete arg6;
4005 }
4006 return resultobj;
4007 fail:
4008 {
4009 if (temp6)
4010 delete arg6;
4011 }
4012 return NULL;
4013 }
4014
4015
4016 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxStaticLine *result;
4019 char *kwnames[] = {
4020 NULL
4021 };
4022
4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (wxStaticLine *)new wxStaticLine();
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4041 wxWindow *arg2 = (wxWindow *) 0 ;
4042 int arg3 ;
4043 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4044 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4045 wxSize const &arg5_defvalue = wxDefaultSize ;
4046 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4047 long arg6 = (long) wxLI_HORIZONTAL ;
4048 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4049 wxString *arg7 = (wxString *) &arg7_defvalue ;
4050 bool result;
4051 wxPoint temp4 ;
4052 wxSize temp5 ;
4053 bool temp7 = False ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj3 = 0 ;
4057 PyObject * obj4 = 0 ;
4058 PyObject * obj6 = 0 ;
4059 char *kwnames[] = {
4060 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4061 };
4062
4063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4066 if (obj3) {
4067 {
4068 arg4 = &temp4;
4069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4070 }
4071 }
4072 if (obj4) {
4073 {
4074 arg5 = &temp5;
4075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4076 }
4077 }
4078 if (obj6) {
4079 {
4080 arg7 = wxString_in_helper(obj6);
4081 if (arg7 == NULL) SWIG_fail;
4082 temp7 = True;
4083 }
4084 }
4085 {
4086 PyThreadState* __tstate = wxPyBeginAllowThreads();
4087 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4088
4089 wxPyEndAllowThreads(__tstate);
4090 if (PyErr_Occurred()) SWIG_fail;
4091 }
4092 resultobj = PyInt_FromLong((long)result);
4093 {
4094 if (temp7)
4095 delete arg7;
4096 }
4097 return resultobj;
4098 fail:
4099 {
4100 if (temp7)
4101 delete arg7;
4102 }
4103 return NULL;
4104 }
4105
4106
4107 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4110 bool result;
4111 PyObject * obj0 = 0 ;
4112 char *kwnames[] = {
4113 (char *) "self", NULL
4114 };
4115
4116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4121
4122 wxPyEndAllowThreads(__tstate);
4123 if (PyErr_Occurred()) SWIG_fail;
4124 }
4125 resultobj = PyInt_FromLong((long)result);
4126 return resultobj;
4127 fail:
4128 return NULL;
4129 }
4130
4131
4132 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4133 PyObject *resultobj;
4134 int result;
4135 char *kwnames[] = {
4136 NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4140 {
4141 PyThreadState* __tstate = wxPyBeginAllowThreads();
4142 result = (int)wxStaticLine::GetDefaultSize();
4143
4144 wxPyEndAllowThreads(__tstate);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 }
4147 resultobj = PyInt_FromLong((long)result);
4148 return resultobj;
4149 fail:
4150 return NULL;
4151 }
4152
4153
4154 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4155 PyObject *obj;
4156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4157 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4158 Py_INCREF(obj);
4159 return Py_BuildValue((char *)"");
4160 }
4161 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4162 PyObject *resultobj;
4163 wxWindow *arg1 = (wxWindow *) 0 ;
4164 int arg2 ;
4165 wxString *arg3 = 0 ;
4166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4168 wxSize const &arg5_defvalue = wxDefaultSize ;
4169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4170 long arg6 = (long) 0 ;
4171 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4172 wxString *arg7 = (wxString *) &arg7_defvalue ;
4173 wxStaticText *result;
4174 bool temp3 = False ;
4175 wxPoint temp4 ;
4176 wxSize temp5 ;
4177 bool temp7 = False ;
4178 PyObject * obj0 = 0 ;
4179 PyObject * obj2 = 0 ;
4180 PyObject * obj3 = 0 ;
4181 PyObject * obj4 = 0 ;
4182 PyObject * obj6 = 0 ;
4183 char *kwnames[] = {
4184 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4185 };
4186
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4189 {
4190 arg3 = wxString_in_helper(obj2);
4191 if (arg3 == NULL) SWIG_fail;
4192 temp3 = True;
4193 }
4194 if (obj3) {
4195 {
4196 arg4 = &temp4;
4197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4198 }
4199 }
4200 if (obj4) {
4201 {
4202 arg5 = &temp5;
4203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4204 }
4205 }
4206 if (obj6) {
4207 {
4208 arg7 = wxString_in_helper(obj6);
4209 if (arg7 == NULL) SWIG_fail;
4210 temp7 = True;
4211 }
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4221 {
4222 if (temp3)
4223 delete arg3;
4224 }
4225 {
4226 if (temp7)
4227 delete arg7;
4228 }
4229 return resultobj;
4230 fail:
4231 {
4232 if (temp3)
4233 delete arg3;
4234 }
4235 {
4236 if (temp7)
4237 delete arg7;
4238 }
4239 return NULL;
4240 }
4241
4242
4243 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4244 PyObject *resultobj;
4245 wxStaticText *result;
4246 char *kwnames[] = {
4247 NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4251 {
4252 PyThreadState* __tstate = wxPyBeginAllowThreads();
4253 result = (wxStaticText *)new wxStaticText();
4254
4255 wxPyEndAllowThreads(__tstate);
4256 if (PyErr_Occurred()) SWIG_fail;
4257 }
4258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4259 return resultobj;
4260 fail:
4261 return NULL;
4262 }
4263
4264
4265 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4266 PyObject *resultobj;
4267 wxStaticText *arg1 = (wxStaticText *) 0 ;
4268 wxWindow *arg2 = (wxWindow *) 0 ;
4269 int arg3 ;
4270 wxString *arg4 = 0 ;
4271 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4272 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4273 wxSize const &arg6_defvalue = wxDefaultSize ;
4274 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4275 long arg7 = (long) 0 ;
4276 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4277 wxString *arg8 = (wxString *) &arg8_defvalue ;
4278 bool result;
4279 bool temp4 = False ;
4280 wxPoint temp5 ;
4281 wxSize temp6 ;
4282 bool temp8 = False ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj5 = 0 ;
4288 PyObject * obj7 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 {
4297 arg4 = wxString_in_helper(obj3);
4298 if (arg4 == NULL) SWIG_fail;
4299 temp4 = True;
4300 }
4301 if (obj4) {
4302 {
4303 arg5 = &temp5;
4304 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4305 }
4306 }
4307 if (obj5) {
4308 {
4309 arg6 = &temp6;
4310 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4311 }
4312 }
4313 if (obj7) {
4314 {
4315 arg8 = wxString_in_helper(obj7);
4316 if (arg8 == NULL) SWIG_fail;
4317 temp8 = True;
4318 }
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 resultobj = PyInt_FromLong((long)result);
4328 {
4329 if (temp4)
4330 delete arg4;
4331 }
4332 {
4333 if (temp8)
4334 delete arg8;
4335 }
4336 return resultobj;
4337 fail:
4338 {
4339 if (temp4)
4340 delete arg4;
4341 }
4342 {
4343 if (temp8)
4344 delete arg8;
4345 }
4346 return NULL;
4347 }
4348
4349
4350 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4351 PyObject *obj;
4352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4353 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4354 Py_INCREF(obj);
4355 return Py_BuildValue((char *)"");
4356 }
4357 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxWindow *arg1 = (wxWindow *) 0 ;
4360 int arg2 ;
4361 wxBitmap *arg3 = 0 ;
4362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4364 wxSize const &arg5_defvalue = wxDefaultSize ;
4365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4366 long arg6 = (long) 0 ;
4367 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4368 wxString *arg7 = (wxString *) &arg7_defvalue ;
4369 wxStaticBitmap *result;
4370 wxPoint temp4 ;
4371 wxSize temp5 ;
4372 bool temp7 = False ;
4373 PyObject * obj0 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 PyObject * obj6 = 0 ;
4378 char *kwnames[] = {
4379 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4384 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 if (arg3 == NULL) {
4386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4387 }
4388 if (obj3) {
4389 {
4390 arg4 = &temp4;
4391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4392 }
4393 }
4394 if (obj4) {
4395 {
4396 arg5 = &temp5;
4397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4398 }
4399 }
4400 if (obj6) {
4401 {
4402 arg7 = wxString_in_helper(obj6);
4403 if (arg7 == NULL) SWIG_fail;
4404 temp7 = True;
4405 }
4406 }
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4415 {
4416 if (temp7)
4417 delete arg7;
4418 }
4419 return resultobj;
4420 fail:
4421 {
4422 if (temp7)
4423 delete arg7;
4424 }
4425 return NULL;
4426 }
4427
4428
4429 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxStaticBitmap *result;
4432 char *kwnames[] = {
4433 NULL
4434 };
4435
4436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (wxStaticBitmap *)new wxStaticBitmap();
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4445 return resultobj;
4446 fail:
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4454 wxWindow *arg2 = (wxWindow *) 0 ;
4455 int arg3 ;
4456 wxBitmap *arg4 = 0 ;
4457 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4458 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4459 wxSize const &arg6_defvalue = wxDefaultSize ;
4460 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4461 long arg7 = (long) 0 ;
4462 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4463 wxString *arg8 = (wxString *) &arg8_defvalue ;
4464 bool result;
4465 wxPoint temp5 ;
4466 wxSize temp6 ;
4467 bool temp8 = False ;
4468 PyObject * obj0 = 0 ;
4469 PyObject * obj1 = 0 ;
4470 PyObject * obj3 = 0 ;
4471 PyObject * obj4 = 0 ;
4472 PyObject * obj5 = 0 ;
4473 PyObject * obj7 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4481 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4482 if (arg4 == NULL) {
4483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4484 }
4485 if (obj4) {
4486 {
4487 arg5 = &temp5;
4488 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4489 }
4490 }
4491 if (obj5) {
4492 {
4493 arg6 = &temp6;
4494 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4495 }
4496 }
4497 if (obj7) {
4498 {
4499 arg8 = wxString_in_helper(obj7);
4500 if (arg8 == NULL) SWIG_fail;
4501 temp8 = True;
4502 }
4503 }
4504 {
4505 PyThreadState* __tstate = wxPyBeginAllowThreads();
4506 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4507
4508 wxPyEndAllowThreads(__tstate);
4509 if (PyErr_Occurred()) SWIG_fail;
4510 }
4511 resultobj = PyInt_FromLong((long)result);
4512 {
4513 if (temp8)
4514 delete arg8;
4515 }
4516 return resultobj;
4517 fail:
4518 {
4519 if (temp8)
4520 delete arg8;
4521 }
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4529 wxBitmap result;
4530 PyObject * obj0 = 0 ;
4531 char *kwnames[] = {
4532 (char *) "self", NULL
4533 };
4534
4535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4537 {
4538 PyThreadState* __tstate = wxPyBeginAllowThreads();
4539 result = (arg1)->GetBitmap();
4540
4541 wxPyEndAllowThreads(__tstate);
4542 if (PyErr_Occurred()) SWIG_fail;
4543 }
4544 {
4545 wxBitmap * resultptr;
4546 resultptr = new wxBitmap((wxBitmap &) result);
4547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4548 }
4549 return resultobj;
4550 fail:
4551 return NULL;
4552 }
4553
4554
4555 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4556 PyObject *resultobj;
4557 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4558 wxBitmap *arg2 = 0 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "bitmap", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4568 if (arg2 == NULL) {
4569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4570 }
4571 {
4572 PyThreadState* __tstate = wxPyBeginAllowThreads();
4573 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4574
4575 wxPyEndAllowThreads(__tstate);
4576 if (PyErr_Occurred()) SWIG_fail;
4577 }
4578 Py_INCREF(Py_None); resultobj = Py_None;
4579 return resultobj;
4580 fail:
4581 return NULL;
4582 }
4583
4584
4585 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
4587 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4588 wxIcon *arg2 = 0 ;
4589 PyObject * obj0 = 0 ;
4590 PyObject * obj1 = 0 ;
4591 char *kwnames[] = {
4592 (char *) "self",(char *) "icon", NULL
4593 };
4594
4595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4598 if (arg2 == NULL) {
4599 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4600 }
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 (arg1)->SetIcon((wxIcon const &)*arg2);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 Py_INCREF(Py_None); resultobj = Py_None;
4609 return resultobj;
4610 fail:
4611 return NULL;
4612 }
4613
4614
4615 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4616 PyObject *obj;
4617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4618 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4619 Py_INCREF(obj);
4620 return Py_BuildValue((char *)"");
4621 }
4622 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4623 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4624 return 1;
4625 }
4626
4627
4628 static PyObject *_wrap_ListBoxNameStr_get() {
4629 PyObject *pyobj;
4630
4631 {
4632 #if wxUSE_UNICODE
4633 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4634 #else
4635 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4636 #endif
4637 }
4638 return pyobj;
4639 }
4640
4641
4642 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject *resultobj;
4644 wxWindow *arg1 = (wxWindow *) 0 ;
4645 int arg2 ;
4646 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4647 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4648 wxSize const &arg4_defvalue = wxDefaultSize ;
4649 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4650 int arg5 = (int) 0 ;
4651 wxString *arg6 = (wxString *) NULL ;
4652 long arg7 = (long) 0 ;
4653 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4654 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4655 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4656 wxString *arg9 = (wxString *) &arg9_defvalue ;
4657 wxListBox *result;
4658 wxPoint temp3 ;
4659 wxSize temp4 ;
4660 bool temp8 = False ;
4661 PyObject * obj0 = 0 ;
4662 PyObject * obj2 = 0 ;
4663 PyObject * obj3 = 0 ;
4664 PyObject * obj4 = 0 ;
4665 PyObject * obj6 = 0 ;
4666 PyObject * obj7 = 0 ;
4667 char *kwnames[] = {
4668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4669 };
4670
4671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4673 if (obj2) {
4674 {
4675 arg3 = &temp3;
4676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4677 }
4678 }
4679 if (obj3) {
4680 {
4681 arg4 = &temp4;
4682 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4683 }
4684 }
4685 if (obj4) {
4686 {
4687 arg5 = PyList_Size(obj4);
4688 arg6 = wxString_LIST_helper(obj4);
4689 if (arg6 == NULL) SWIG_fail;
4690 }
4691 }
4692 if (obj6) {
4693 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 if (arg8 == NULL) {
4695 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4696 }
4697 }
4698 if (obj7) {
4699 {
4700 arg9 = wxString_in_helper(obj7);
4701 if (arg9 == NULL) SWIG_fail;
4702 temp8 = True;
4703 }
4704 }
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4713 {
4714 if (arg6) delete [] arg6;
4715 }
4716 {
4717 if (temp8)
4718 delete arg9;
4719 }
4720 return resultobj;
4721 fail:
4722 {
4723 if (arg6) delete [] arg6;
4724 }
4725 {
4726 if (temp8)
4727 delete arg9;
4728 }
4729 return NULL;
4730 }
4731
4732
4733 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4734 PyObject *resultobj;
4735 wxListBox *result;
4736 char *kwnames[] = {
4737 NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4741 {
4742 PyThreadState* __tstate = wxPyBeginAllowThreads();
4743 result = (wxListBox *)new wxListBox();
4744
4745 wxPyEndAllowThreads(__tstate);
4746 if (PyErr_Occurred()) SWIG_fail;
4747 }
4748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4749 return resultobj;
4750 fail:
4751 return NULL;
4752 }
4753
4754
4755 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4756 PyObject *resultobj;
4757 wxListBox *arg1 = (wxListBox *) 0 ;
4758 wxWindow *arg2 = (wxWindow *) 0 ;
4759 int arg3 ;
4760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4762 wxSize const &arg5_defvalue = wxDefaultSize ;
4763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4764 int arg6 = (int) 0 ;
4765 wxString *arg7 = (wxString *) NULL ;
4766 long arg8 = (long) 0 ;
4767 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4768 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4769 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4770 wxString *arg10 = (wxString *) &arg10_defvalue ;
4771 bool result;
4772 wxPoint temp4 ;
4773 wxSize temp5 ;
4774 bool temp9 = False ;
4775 PyObject * obj0 = 0 ;
4776 PyObject * obj1 = 0 ;
4777 PyObject * obj3 = 0 ;
4778 PyObject * obj4 = 0 ;
4779 PyObject * obj5 = 0 ;
4780 PyObject * obj7 = 0 ;
4781 PyObject * obj8 = 0 ;
4782 char *kwnames[] = {
4783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4784 };
4785
4786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4789 if (obj3) {
4790 {
4791 arg4 = &temp4;
4792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4793 }
4794 }
4795 if (obj4) {
4796 {
4797 arg5 = &temp5;
4798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4799 }
4800 }
4801 if (obj5) {
4802 {
4803 arg6 = PyList_Size(obj5);
4804 arg7 = wxString_LIST_helper(obj5);
4805 if (arg7 == NULL) SWIG_fail;
4806 }
4807 }
4808 if (obj7) {
4809 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 if (arg9 == NULL) {
4811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4812 }
4813 }
4814 if (obj8) {
4815 {
4816 arg10 = wxString_in_helper(obj8);
4817 if (arg10 == NULL) SWIG_fail;
4818 temp9 = True;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 resultobj = PyInt_FromLong((long)result);
4829 {
4830 if (arg7) delete [] arg7;
4831 }
4832 {
4833 if (temp9)
4834 delete arg10;
4835 }
4836 return resultobj;
4837 fail:
4838 {
4839 if (arg7) delete [] arg7;
4840 }
4841 {
4842 if (temp9)
4843 delete arg10;
4844 }
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxListBox *arg1 = (wxListBox *) 0 ;
4852 wxString *arg2 = 0 ;
4853 int arg3 ;
4854 PyObject *arg4 = (PyObject *) NULL ;
4855 bool temp2 = False ;
4856 PyObject * obj0 = 0 ;
4857 PyObject * obj1 = 0 ;
4858 PyObject * obj3 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 {
4866 arg2 = wxString_in_helper(obj1);
4867 if (arg2 == NULL) SWIG_fail;
4868 temp2 = True;
4869 }
4870 if (obj3) {
4871 arg4 = obj3;
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 {
4882 if (temp2)
4883 delete arg2;
4884 }
4885 return resultobj;
4886 fail:
4887 {
4888 if (temp2)
4889 delete arg2;
4890 }
4891 return NULL;
4892 }
4893
4894
4895 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 wxListBox *arg1 = (wxListBox *) 0 ;
4898 wxArrayString *arg2 = 0 ;
4899 int arg3 ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 char *kwnames[] = {
4903 (char *) "self",(char *) "items",(char *) "pos", NULL
4904 };
4905
4906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4908 {
4909 if (! PySequence_Check(obj1)) {
4910 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4911 SWIG_fail;
4912 }
4913 arg2 = new wxArrayString;
4914 int i, len=PySequence_Length(obj1);
4915 for (i=0; i<len; i++) {
4916 PyObject* item = PySequence_GetItem(obj1, i);
4917 #if wxUSE_UNICODE
4918 PyObject* str = PyObject_Unicode(item);
4919 #else
4920 PyObject* str = PyObject_Str(item);
4921 #endif
4922 arg2->Add(Py2wxString(str));
4923 Py_DECREF(item);
4924 Py_DECREF(str);
4925 }
4926 }
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4930
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 Py_INCREF(Py_None); resultobj = Py_None;
4935 {
4936 if (arg2) delete arg2;
4937 }
4938 return resultobj;
4939 fail:
4940 {
4941 if (arg2) delete arg2;
4942 }
4943 return NULL;
4944 }
4945
4946
4947 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4948 PyObject *resultobj;
4949 wxListBox *arg1 = (wxListBox *) 0 ;
4950 wxArrayString *arg2 = 0 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 char *kwnames[] = {
4954 (char *) "self",(char *) "items", NULL
4955 };
4956
4957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4959 {
4960 if (! PySequence_Check(obj1)) {
4961 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4962 SWIG_fail;
4963 }
4964 arg2 = new wxArrayString;
4965 int i, len=PySequence_Length(obj1);
4966 for (i=0; i<len; i++) {
4967 PyObject* item = PySequence_GetItem(obj1, i);
4968 #if wxUSE_UNICODE
4969 PyObject* str = PyObject_Unicode(item);
4970 #else
4971 PyObject* str = PyObject_Str(item);
4972 #endif
4973 arg2->Add(Py2wxString(str));
4974 Py_DECREF(item);
4975 Py_DECREF(str);
4976 }
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->Set((wxArrayString const &)*arg2);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 Py_INCREF(Py_None); resultobj = Py_None;
4986 {
4987 if (arg2) delete arg2;
4988 }
4989 return resultobj;
4990 fail:
4991 {
4992 if (arg2) delete arg2;
4993 }
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxListBox *arg1 = (wxListBox *) 0 ;
5001 int arg2 ;
5002 bool result;
5003 PyObject * obj0 = 0 ;
5004 char *kwnames[] = {
5005 (char *) "self",(char *) "n", NULL
5006 };
5007
5008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
5009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
5017 resultobj = PyInt_FromLong((long)result);
5018 return resultobj;
5019 fail:
5020 return NULL;
5021 }
5022
5023
5024 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5025 PyObject *resultobj;
5026 wxListBox *arg1 = (wxListBox *) 0 ;
5027 int arg2 ;
5028 bool arg3 = (bool) True ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj2 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "n",(char *) "select", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 if (obj2) {
5038 {
5039 arg3 = (bool) SPyObj_AsBool(obj2);
5040 if (PyErr_Occurred()) SWIG_fail;
5041 }
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 (arg1)->SetSelection(arg2,arg3);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
5050 Py_INCREF(Py_None); resultobj = Py_None;
5051 return resultobj;
5052 fail:
5053 return NULL;
5054 }
5055
5056
5057 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj;
5059 wxListBox *arg1 = (wxListBox *) 0 ;
5060 int arg2 ;
5061 PyObject * obj0 = 0 ;
5062 char *kwnames[] = {
5063 (char *) "self",(char *) "n", NULL
5064 };
5065
5066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
5067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5068 {
5069 PyThreadState* __tstate = wxPyBeginAllowThreads();
5070 (arg1)->Select(arg2);
5071
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 Py_INCREF(Py_None); resultobj = Py_None;
5076 return resultobj;
5077 fail:
5078 return NULL;
5079 }
5080
5081
5082 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxListBox *arg1 = (wxListBox *) 0 ;
5085 int arg2 ;
5086 PyObject * obj0 = 0 ;
5087 char *kwnames[] = {
5088 (char *) "self",(char *) "n", NULL
5089 };
5090
5091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
5092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 {
5094 PyThreadState* __tstate = wxPyBeginAllowThreads();
5095 (arg1)->Deselect(arg2);
5096
5097 wxPyEndAllowThreads(__tstate);
5098 if (PyErr_Occurred()) SWIG_fail;
5099 }
5100 Py_INCREF(Py_None); resultobj = Py_None;
5101 return resultobj;
5102 fail:
5103 return NULL;
5104 }
5105
5106
5107 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5108 PyObject *resultobj;
5109 wxListBox *arg1 = (wxListBox *) 0 ;
5110 int arg2 = (int) -1 ;
5111 PyObject * obj0 = 0 ;
5112 char *kwnames[] = {
5113 (char *) "self",(char *) "itemToLeaveSelected", NULL
5114 };
5115
5116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
5117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5118 {
5119 PyThreadState* __tstate = wxPyBeginAllowThreads();
5120 (arg1)->DeselectAll(arg2);
5121
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 Py_INCREF(Py_None); resultobj = Py_None;
5126 return resultobj;
5127 fail:
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxListBox *arg1 = (wxListBox *) 0 ;
5135 wxString *arg2 = 0 ;
5136 bool arg3 = (bool) True ;
5137 bool result;
5138 bool temp2 = False ;
5139 PyObject * obj0 = 0 ;
5140 PyObject * obj1 = 0 ;
5141 PyObject * obj2 = 0 ;
5142 char *kwnames[] = {
5143 (char *) "self",(char *) "s",(char *) "select", NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5148 {
5149 arg2 = wxString_in_helper(obj1);
5150 if (arg2 == NULL) SWIG_fail;
5151 temp2 = True;
5152 }
5153 if (obj2) {
5154 {
5155 arg3 = (bool) SPyObj_AsBool(obj2);
5156 if (PyErr_Occurred()) SWIG_fail;
5157 }
5158 }
5159 {
5160 PyThreadState* __tstate = wxPyBeginAllowThreads();
5161 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5162
5163 wxPyEndAllowThreads(__tstate);
5164 if (PyErr_Occurred()) SWIG_fail;
5165 }
5166 resultobj = PyInt_FromLong((long)result);
5167 {
5168 if (temp2)
5169 delete arg2;
5170 }
5171 return resultobj;
5172 fail:
5173 {
5174 if (temp2)
5175 delete arg2;
5176 }
5177 return NULL;
5178 }
5179
5180
5181 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxListBox *arg1 = (wxListBox *) 0 ;
5184 PyObject *result;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = (PyObject *)wxListBox_GetSelections(arg1);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 resultobj = result;
5200 return resultobj;
5201 fail:
5202 return NULL;
5203 }
5204
5205
5206 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxListBox *arg1 = (wxListBox *) 0 ;
5209 int arg2 ;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self",(char *) "n", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 (arg1)->SetFirstItem(arg2);
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 Py_INCREF(Py_None); resultobj = Py_None;
5225 return resultobj;
5226 fail:
5227 return NULL;
5228 }
5229
5230
5231 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5232 PyObject *resultobj;
5233 wxListBox *arg1 = (wxListBox *) 0 ;
5234 wxString *arg2 = 0 ;
5235 bool temp2 = False ;
5236 PyObject * obj0 = 0 ;
5237 PyObject * obj1 = 0 ;
5238 char *kwnames[] = {
5239 (char *) "self",(char *) "s", NULL
5240 };
5241
5242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5244 {
5245 arg2 = wxString_in_helper(obj1);
5246 if (arg2 == NULL) SWIG_fail;
5247 temp2 = True;
5248 }
5249 {
5250 PyThreadState* __tstate = wxPyBeginAllowThreads();
5251 (arg1)->SetFirstItem((wxString const &)*arg2);
5252
5253 wxPyEndAllowThreads(__tstate);
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 Py_INCREF(Py_None); resultobj = Py_None;
5257 {
5258 if (temp2)
5259 delete arg2;
5260 }
5261 return resultobj;
5262 fail:
5263 {
5264 if (temp2)
5265 delete arg2;
5266 }
5267 return NULL;
5268 }
5269
5270
5271 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5272 PyObject *resultobj;
5273 wxListBox *arg1 = (wxListBox *) 0 ;
5274 int arg2 ;
5275 PyObject * obj0 = 0 ;
5276 char *kwnames[] = {
5277 (char *) "self",(char *) "n", NULL
5278 };
5279
5280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5282 {
5283 PyThreadState* __tstate = wxPyBeginAllowThreads();
5284 (arg1)->EnsureVisible(arg2);
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 Py_INCREF(Py_None); resultobj = Py_None;
5290 return resultobj;
5291 fail:
5292 return NULL;
5293 }
5294
5295
5296 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxListBox *arg1 = (wxListBox *) 0 ;
5299 wxString *arg2 = 0 ;
5300 bool temp2 = False ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "s", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5309 {
5310 arg2 = wxString_in_helper(obj1);
5311 if (arg2 == NULL) SWIG_fail;
5312 temp2 = True;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 Py_INCREF(Py_None); resultobj = Py_None;
5322 {
5323 if (temp2)
5324 delete arg2;
5325 }
5326 return resultobj;
5327 fail:
5328 {
5329 if (temp2)
5330 delete arg2;
5331 }
5332 return NULL;
5333 }
5334
5335
5336 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxListBox *arg1 = (wxListBox *) 0 ;
5339 bool result;
5340 PyObject * obj0 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (bool)((wxListBox const *)arg1)->IsSorted();
5350
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 resultobj = PyInt_FromLong((long)result);
5355 return resultobj;
5356 fail:
5357 return NULL;
5358 }
5359
5360
5361 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5362 PyObject *obj;
5363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5364 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5365 Py_INCREF(obj);
5366 return Py_BuildValue((char *)"");
5367 }
5368 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj;
5370 wxWindow *arg1 = (wxWindow *) 0 ;
5371 int arg2 ;
5372 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5373 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5374 wxSize const &arg4_defvalue = wxDefaultSize ;
5375 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5376 int arg5 = (int) 0 ;
5377 wxString *arg6 = (wxString *) NULL ;
5378 long arg7 = (long) 0 ;
5379 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5380 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5381 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5382 wxString *arg9 = (wxString *) &arg9_defvalue ;
5383 wxCheckListBox *result;
5384 wxPoint temp3 ;
5385 wxSize temp4 ;
5386 bool temp8 = False ;
5387 PyObject * obj0 = 0 ;
5388 PyObject * obj2 = 0 ;
5389 PyObject * obj3 = 0 ;
5390 PyObject * obj4 = 0 ;
5391 PyObject * obj6 = 0 ;
5392 PyObject * obj7 = 0 ;
5393 char *kwnames[] = {
5394 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5395 };
5396
5397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5399 if (obj2) {
5400 {
5401 arg3 = &temp3;
5402 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5403 }
5404 }
5405 if (obj3) {
5406 {
5407 arg4 = &temp4;
5408 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5409 }
5410 }
5411 if (obj4) {
5412 {
5413 arg5 = PyList_Size(obj4);
5414 arg6 = wxString_LIST_helper(obj4);
5415 if (arg6 == NULL) SWIG_fail;
5416 }
5417 }
5418 if (obj6) {
5419 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 if (arg8 == NULL) {
5421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5422 }
5423 }
5424 if (obj7) {
5425 {
5426 arg9 = wxString_in_helper(obj7);
5427 if (arg9 == NULL) SWIG_fail;
5428 temp8 = True;
5429 }
5430 }
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5439 {
5440 if (arg6) delete [] arg6;
5441 }
5442 {
5443 if (temp8)
5444 delete arg9;
5445 }
5446 return resultobj;
5447 fail:
5448 {
5449 if (arg6) delete [] arg6;
5450 }
5451 {
5452 if (temp8)
5453 delete arg9;
5454 }
5455 return NULL;
5456 }
5457
5458
5459 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5460 PyObject *resultobj;
5461 wxCheckListBox *result;
5462 char *kwnames[] = {
5463 NULL
5464 };
5465
5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (wxCheckListBox *)new wxCheckListBox();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5475 return resultobj;
5476 fail:
5477 return NULL;
5478 }
5479
5480
5481 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5484 wxWindow *arg2 = (wxWindow *) 0 ;
5485 int arg3 ;
5486 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5487 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5488 wxSize const &arg5_defvalue = wxDefaultSize ;
5489 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5490 int arg6 = (int) 0 ;
5491 wxString *arg7 = (wxString *) NULL ;
5492 long arg8 = (long) 0 ;
5493 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5494 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5495 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5496 wxString *arg10 = (wxString *) &arg10_defvalue ;
5497 bool result;
5498 wxPoint temp4 ;
5499 wxSize temp5 ;
5500 bool temp9 = False ;
5501 PyObject * obj0 = 0 ;
5502 PyObject * obj1 = 0 ;
5503 PyObject * obj3 = 0 ;
5504 PyObject * obj4 = 0 ;
5505 PyObject * obj5 = 0 ;
5506 PyObject * obj7 = 0 ;
5507 PyObject * obj8 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5515 if (obj3) {
5516 {
5517 arg4 = &temp4;
5518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5519 }
5520 }
5521 if (obj4) {
5522 {
5523 arg5 = &temp5;
5524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5525 }
5526 }
5527 if (obj5) {
5528 {
5529 arg6 = PyList_Size(obj5);
5530 arg7 = wxString_LIST_helper(obj5);
5531 if (arg7 == NULL) SWIG_fail;
5532 }
5533 }
5534 if (obj7) {
5535 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5536 if (arg9 == NULL) {
5537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5538 }
5539 }
5540 if (obj8) {
5541 {
5542 arg10 = wxString_in_helper(obj8);
5543 if (arg10 == NULL) SWIG_fail;
5544 temp9 = True;
5545 }
5546 }
5547 {
5548 PyThreadState* __tstate = wxPyBeginAllowThreads();
5549 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5550
5551 wxPyEndAllowThreads(__tstate);
5552 if (PyErr_Occurred()) SWIG_fail;
5553 }
5554 resultobj = PyInt_FromLong((long)result);
5555 {
5556 if (arg7) delete [] arg7;
5557 }
5558 {
5559 if (temp9)
5560 delete arg10;
5561 }
5562 return resultobj;
5563 fail:
5564 {
5565 if (arg7) delete [] arg7;
5566 }
5567 {
5568 if (temp9)
5569 delete arg10;
5570 }
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5578 int arg2 ;
5579 bool result;
5580 PyObject * obj0 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self",(char *) "index", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5587 {
5588 PyThreadState* __tstate = wxPyBeginAllowThreads();
5589 result = (bool)(arg1)->IsChecked(arg2);
5590
5591 wxPyEndAllowThreads(__tstate);
5592 if (PyErr_Occurred()) SWIG_fail;
5593 }
5594 resultobj = PyInt_FromLong((long)result);
5595 return resultobj;
5596 fail:
5597 return NULL;
5598 }
5599
5600
5601 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj;
5603 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5604 int arg2 ;
5605 int arg3 = (int) True ;
5606 PyObject * obj0 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "index",(char *) "check", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5613 {
5614 PyThreadState* __tstate = wxPyBeginAllowThreads();
5615 (arg1)->Check(arg2,arg3);
5616
5617 wxPyEndAllowThreads(__tstate);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 }
5620 Py_INCREF(Py_None); resultobj = Py_None;
5621 return resultobj;
5622 fail:
5623 return NULL;
5624 }
5625
5626
5627 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5628 PyObject *resultobj;
5629 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5630 int result;
5631 PyObject * obj0 = 0 ;
5632 char *kwnames[] = {
5633 (char *) "self", NULL
5634 };
5635
5636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 result = (int)(arg1)->GetItemHeight();
5641
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 resultobj = PyInt_FromLong((long)result);
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5655 wxPoint *arg2 = 0 ;
5656 int result;
5657 wxPoint temp2 ;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "pt", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 {
5667 arg2 = &temp2;
5668 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5669 }
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5673
5674 wxPyEndAllowThreads(__tstate);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 }
5677 resultobj = PyInt_FromLong((long)result);
5678 return resultobj;
5679 fail:
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5687 int arg2 ;
5688 int arg3 ;
5689 int result;
5690 PyObject * obj0 = 0 ;
5691 char *kwnames[] = {
5692 (char *) "self",(char *) "x",(char *) "y", NULL
5693 };
5694
5695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 resultobj = PyInt_FromLong((long)result);
5705 return resultobj;
5706 fail:
5707 return NULL;
5708 }
5709
5710
5711 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5712 PyObject *obj;
5713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5714 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5715 Py_INCREF(obj);
5716 return Py_BuildValue((char *)"");
5717 }
5718 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5719 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5720 return 1;
5721 }
5722
5723
5724 static PyObject *_wrap_TextCtrlNameStr_get() {
5725 PyObject *pyobj;
5726
5727 {
5728 #if wxUSE_UNICODE
5729 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5730 #else
5731 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5732 #endif
5733 }
5734 return pyobj;
5735 }
5736
5737
5738 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5739 PyObject *resultobj;
5740 wxTextAttr *result;
5741
5742 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5743 {
5744 PyThreadState* __tstate = wxPyBeginAllowThreads();
5745 result = (wxTextAttr *)new wxTextAttr();
5746
5747 wxPyEndAllowThreads(__tstate);
5748 if (PyErr_Occurred()) SWIG_fail;
5749 }
5750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5751 return resultobj;
5752 fail:
5753 return NULL;
5754 }
5755
5756
5757 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5758 PyObject *resultobj;
5759 wxColour *arg1 = 0 ;
5760 wxColour const &arg2_defvalue = wxNullColour ;
5761 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5762 wxFont const &arg3_defvalue = wxNullFont ;
5763 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5764 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5765 wxTextAttr *result;
5766 wxColour temp1 ;
5767 wxColour temp2 ;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 PyObject * obj2 = 0 ;
5771
5772 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5773 {
5774 arg1 = &temp1;
5775 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5776 }
5777 if (obj1) {
5778 {
5779 arg2 = &temp2;
5780 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5781 }
5782 }
5783 if (obj2) {
5784 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5785 if (arg3 == NULL) {
5786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5787 }
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5804 int argc;
5805 PyObject *argv[5];
5806 int ii;
5807
5808 argc = PyObject_Length(args);
5809 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5810 argv[ii] = PyTuple_GetItem(args,ii);
5811 }
5812 if (argc == 0) {
5813 return _wrap_new_TextAttr__SWIG_0(self,args);
5814 }
5815 if ((argc >= 1) && (argc <= 4)) {
5816 int _v;
5817 {
5818 _v = wxColour_typecheck(argv[0]);
5819 }
5820 if (_v) {
5821 if (argc <= 1) {
5822 return _wrap_new_TextAttr__SWIG_1(self,args);
5823 }
5824 {
5825 _v = wxColour_typecheck(argv[1]);
5826 }
5827 if (_v) {
5828 if (argc <= 2) {
5829 return _wrap_new_TextAttr__SWIG_1(self,args);
5830 }
5831 {
5832 void *ptr;
5833 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5834 _v = 0;
5835 PyErr_Clear();
5836 } else {
5837 _v = 1;
5838 }
5839 }
5840 if (_v) {
5841 if (argc <= 3) {
5842 return _wrap_new_TextAttr__SWIG_1(self,args);
5843 }
5844 return _wrap_new_TextAttr__SWIG_1(self,args);
5845 }
5846 }
5847 }
5848 }
5849
5850 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5851 return NULL;
5852 }
5853
5854
5855 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 (arg1)->Init();
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5880 PyObject *resultobj;
5881 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5882 wxColour *arg2 = 0 ;
5883 wxColour temp2 ;
5884 PyObject * obj0 = 0 ;
5885 PyObject * obj1 = 0 ;
5886 char *kwnames[] = {
5887 (char *) "self",(char *) "colText", NULL
5888 };
5889
5890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5892 {
5893 arg2 = &temp2;
5894 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5895 }
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 (arg1)->SetTextColour((wxColour const &)*arg2);
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
5903 Py_INCREF(Py_None); resultobj = Py_None;
5904 return resultobj;
5905 fail:
5906 return NULL;
5907 }
5908
5909
5910 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5911 PyObject *resultobj;
5912 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5913 wxColour *arg2 = 0 ;
5914 wxColour temp2 ;
5915 PyObject * obj0 = 0 ;
5916 PyObject * obj1 = 0 ;
5917 char *kwnames[] = {
5918 (char *) "self",(char *) "colBack", NULL
5919 };
5920
5921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5923 {
5924 arg2 = &temp2;
5925 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5926 }
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5930
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 Py_INCREF(Py_None); resultobj = Py_None;
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj;
5943 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5944 wxFont *arg2 = 0 ;
5945 long arg3 = (long) wxTEXT_ATTR_FONT ;
5946 PyObject * obj0 = 0 ;
5947 PyObject * obj1 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self",(char *) "font",(char *) "flags", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 if (arg2 == NULL) {
5956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5957 }
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 Py_INCREF(Py_None); resultobj = Py_None;
5966 return resultobj;
5967 fail:
5968 return NULL;
5969 }
5970
5971
5972 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5973 PyObject *resultobj;
5974 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5975 int arg2 ;
5976 PyObject * obj0 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self",(char *) "alignment", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5983 {
5984 PyThreadState* __tstate = wxPyBeginAllowThreads();
5985 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5986
5987 wxPyEndAllowThreads(__tstate);
5988 if (PyErr_Occurred()) SWIG_fail;
5989 }
5990 Py_INCREF(Py_None); resultobj = Py_None;
5991 return resultobj;
5992 fail:
5993 return NULL;
5994 }
5995
5996
5997 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5998 PyObject *resultobj;
5999 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6000 wxArrayInt *arg2 = 0 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char *kwnames[] = {
6004 (char *) "self",(char *) "tabs", NULL
6005 };
6006
6007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6009 {
6010 if (! PySequence_Check(obj1)) {
6011 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6012 SWIG_fail;
6013 }
6014 arg2 = new wxArrayInt;
6015 int i, len=PySequence_Length(obj1);
6016 for (i=0; i<len; i++) {
6017 PyObject* item = PySequence_GetItem(obj1, i);
6018 PyObject* number = PyNumber_Int(item);
6019 arg2->Add(PyInt_AS_LONG(number));
6020 Py_DECREF(item);
6021 Py_DECREF(number);
6022 }
6023 }
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 Py_INCREF(Py_None); resultobj = Py_None;
6032 {
6033 if (arg2) delete arg2;
6034 }
6035 return resultobj;
6036 fail:
6037 {
6038 if (arg2) delete arg2;
6039 }
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6047 int arg2 ;
6048 PyObject * obj0 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self",(char *) "indent", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 (arg1)->SetLeftIndent(arg2);
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 Py_INCREF(Py_None); resultobj = Py_None;
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6072 int arg2 ;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "indent", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 (arg1)->SetRightIndent(arg2);
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 Py_INCREF(Py_None); resultobj = Py_None;
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6097 long arg2 ;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self",(char *) "flags", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 (arg1)->SetFlags(arg2);
6108
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 Py_INCREF(Py_None); resultobj = Py_None;
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj;
6121 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6122 bool result;
6123 PyObject * obj0 = 0 ;
6124 char *kwnames[] = {
6125 (char *) "self", NULL
6126 };
6127
6128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 resultobj = PyInt_FromLong((long)result);
6138 return resultobj;
6139 fail:
6140 return NULL;
6141 }
6142
6143
6144 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6145 PyObject *resultobj;
6146 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6147 bool result;
6148 PyObject * obj0 = 0 ;
6149 char *kwnames[] = {
6150 (char *) "self", NULL
6151 };
6152
6153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 resultobj = PyInt_FromLong((long)result);
6163 return resultobj;
6164 fail:
6165 return NULL;
6166 }
6167
6168
6169 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6172 bool result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = PyInt_FromLong((long)result);
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6197 bool result;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 resultobj = PyInt_FromLong((long)result);
6213 return resultobj;
6214 fail:
6215 return NULL;
6216 }
6217
6218
6219 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6220 PyObject *resultobj;
6221 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6222 bool result;
6223 PyObject * obj0 = 0 ;
6224 char *kwnames[] = {
6225 (char *) "self", NULL
6226 };
6227
6228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6233
6234 wxPyEndAllowThreads(__tstate);
6235 if (PyErr_Occurred()) SWIG_fail;
6236 }
6237 resultobj = PyInt_FromLong((long)result);
6238 return resultobj;
6239 fail:
6240 return NULL;
6241 }
6242
6243
6244 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6245 PyObject *resultobj;
6246 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6247 bool result;
6248 PyObject * obj0 = 0 ;
6249 char *kwnames[] = {
6250 (char *) "self", NULL
6251 };
6252
6253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 resultobj = PyInt_FromLong((long)result);
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj;
6271 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6272 bool result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = PyInt_FromLong((long)result);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6297 long arg2 ;
6298 bool result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self",(char *) "flag", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) 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 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6309
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = PyInt_FromLong((long)result);
6314 return resultobj;
6315 fail:
6316 return NULL;
6317 }
6318
6319
6320 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj;
6322 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6323 wxColour *result;
6324 PyObject * obj0 = 0 ;
6325 char *kwnames[] = {
6326 (char *) "self", NULL
6327 };
6328
6329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 {
6334 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6335 result = (wxColour *) &_result_ref;
6336 }
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6351 wxColour *result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",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 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6363 result = (wxColour *) &_result_ref;
6364 }
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6370 return resultobj;
6371 fail:
6372 return NULL;
6373 }
6374
6375
6376 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6379 wxFont *result;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 {
6390 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6391 result = (wxFont *) &_result_ref;
6392 }
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6407 int result;
6408 PyObject * obj0 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "self", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6415 {
6416 PyThreadState* __tstate = wxPyBeginAllowThreads();
6417 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6418
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 resultobj = PyInt_FromLong((long)result);
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj;
6431 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6432 wxArrayInt *result;
6433 PyObject * obj0 = 0 ;
6434 char *kwnames[] = {
6435 (char *) "self", NULL
6436 };
6437
6438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 {
6443 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6444 result = (wxArrayInt *) &_result_ref;
6445 }
6446
6447 wxPyEndAllowThreads(__tstate);
6448 if (PyErr_Occurred()) SWIG_fail;
6449 }
6450 {
6451 resultobj = PyList_New(0);
6452 size_t idx;
6453 for (idx = 0; idx < result->GetCount(); idx += 1) {
6454 PyObject* val = PyInt_FromLong( result->Item(idx) );
6455 PyList_Append(resultobj, val);
6456 Py_DECREF(val);
6457 }
6458 }
6459 return resultobj;
6460 fail:
6461 return NULL;
6462 }
6463
6464
6465 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6466 PyObject *resultobj;
6467 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6468 long result;
6469 PyObject * obj0 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 resultobj = PyInt_FromLong((long)result);
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6493 long result;
6494 PyObject * obj0 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6501 {
6502 PyThreadState* __tstate = wxPyBeginAllowThreads();
6503 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6504
6505 wxPyEndAllowThreads(__tstate);
6506 if (PyErr_Occurred()) SWIG_fail;
6507 }
6508 resultobj = PyInt_FromLong((long)result);
6509 return resultobj;
6510 fail:
6511 return NULL;
6512 }
6513
6514
6515 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6516 PyObject *resultobj;
6517 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6518 long result;
6519 PyObject * obj0 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "self", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6526 {
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6529
6530 wxPyEndAllowThreads(__tstate);
6531 if (PyErr_Occurred()) SWIG_fail;
6532 }
6533 resultobj = PyInt_FromLong((long)result);
6534 return resultobj;
6535 fail:
6536 return NULL;
6537 }
6538
6539
6540 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6541 PyObject *resultobj;
6542 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6543 bool result;
6544 PyObject * obj0 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 PyThreadState* __tstate = wxPyBeginAllowThreads();
6553 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6554
6555 wxPyEndAllowThreads(__tstate);
6556 if (PyErr_Occurred()) SWIG_fail;
6557 }
6558 resultobj = PyInt_FromLong((long)result);
6559 return resultobj;
6560 fail:
6561 return NULL;
6562 }
6563
6564
6565 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6566 PyObject *resultobj;
6567 wxTextAttr *arg1 = 0 ;
6568 wxTextAttr *arg2 = 0 ;
6569 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6570 wxTextAttr result;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 if (arg1 == NULL) {
6581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6582 }
6583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 if (arg2 == NULL) {
6585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6586 }
6587 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 {
6596 wxTextAttr * resultptr;
6597 resultptr = new wxTextAttr((wxTextAttr &) result);
6598 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6599 }
6600 return resultobj;
6601 fail:
6602 return NULL;
6603 }
6604
6605
6606 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6607 PyObject *obj;
6608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6609 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6610 Py_INCREF(obj);
6611 return Py_BuildValue((char *)"");
6612 }
6613 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj;
6615 wxWindow *arg1 = (wxWindow *) 0 ;
6616 int arg2 ;
6617 wxString const &arg3_defvalue = wxPyEmptyString ;
6618 wxString *arg3 = (wxString *) &arg3_defvalue ;
6619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6621 wxSize const &arg5_defvalue = wxDefaultSize ;
6622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6623 long arg6 = (long) 0 ;
6624 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6625 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6626 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6627 wxString *arg8 = (wxString *) &arg8_defvalue ;
6628 wxTextCtrl *result;
6629 bool temp3 = False ;
6630 wxPoint temp4 ;
6631 wxSize temp5 ;
6632 bool temp8 = False ;
6633 PyObject * obj0 = 0 ;
6634 PyObject * obj2 = 0 ;
6635 PyObject * obj3 = 0 ;
6636 PyObject * obj4 = 0 ;
6637 PyObject * obj6 = 0 ;
6638 PyObject * obj7 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6645 if (obj2) {
6646 {
6647 arg3 = wxString_in_helper(obj2);
6648 if (arg3 == NULL) SWIG_fail;
6649 temp3 = True;
6650 }
6651 }
6652 if (obj3) {
6653 {
6654 arg4 = &temp4;
6655 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6656 }
6657 }
6658 if (obj4) {
6659 {
6660 arg5 = &temp5;
6661 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6662 }
6663 }
6664 if (obj6) {
6665 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6666 if (arg7 == NULL) {
6667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6668 }
6669 }
6670 if (obj7) {
6671 {
6672 arg8 = wxString_in_helper(obj7);
6673 if (arg8 == NULL) SWIG_fail;
6674 temp8 = True;
6675 }
6676 }
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 {
6685 resultobj = wxPyMake_wxObject(result);
6686 }
6687 {
6688 if (temp3)
6689 delete arg3;
6690 }
6691 {
6692 if (temp8)
6693 delete arg8;
6694 }
6695 return resultobj;
6696 fail:
6697 {
6698 if (temp3)
6699 delete arg3;
6700 }
6701 {
6702 if (temp8)
6703 delete arg8;
6704 }
6705 return NULL;
6706 }
6707
6708
6709 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxTextCtrl *result;
6712 char *kwnames[] = {
6713 NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 result = (wxTextCtrl *)new wxTextCtrl();
6720
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 {
6725 resultobj = wxPyMake_wxObject(result);
6726 }
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6736 wxWindow *arg2 = (wxWindow *) 0 ;
6737 int arg3 ;
6738 wxString const &arg4_defvalue = wxPyEmptyString ;
6739 wxString *arg4 = (wxString *) &arg4_defvalue ;
6740 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6741 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6742 wxSize const &arg6_defvalue = wxDefaultSize ;
6743 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6744 long arg7 = (long) 0 ;
6745 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6746 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6747 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6748 wxString *arg9 = (wxString *) &arg9_defvalue ;
6749 bool result;
6750 bool temp4 = False ;
6751 wxPoint temp5 ;
6752 wxSize temp6 ;
6753 bool temp9 = False ;
6754 PyObject * obj0 = 0 ;
6755 PyObject * obj1 = 0 ;
6756 PyObject * obj3 = 0 ;
6757 PyObject * obj4 = 0 ;
6758 PyObject * obj5 = 0 ;
6759 PyObject * obj7 = 0 ;
6760 PyObject * obj8 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 if (obj3) {
6769 {
6770 arg4 = wxString_in_helper(obj3);
6771 if (arg4 == NULL) SWIG_fail;
6772 temp4 = True;
6773 }
6774 }
6775 if (obj4) {
6776 {
6777 arg5 = &temp5;
6778 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6779 }
6780 }
6781 if (obj5) {
6782 {
6783 arg6 = &temp6;
6784 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6785 }
6786 }
6787 if (obj7) {
6788 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6789 if (arg8 == NULL) {
6790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6791 }
6792 }
6793 if (obj8) {
6794 {
6795 arg9 = wxString_in_helper(obj8);
6796 if (arg9 == NULL) SWIG_fail;
6797 temp9 = True;
6798 }
6799 }
6800 {
6801 PyThreadState* __tstate = wxPyBeginAllowThreads();
6802 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6803
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = PyInt_FromLong((long)result);
6808 {
6809 if (temp4)
6810 delete arg4;
6811 }
6812 {
6813 if (temp9)
6814 delete arg9;
6815 }
6816 return resultobj;
6817 fail:
6818 {
6819 if (temp4)
6820 delete arg4;
6821 }
6822 {
6823 if (temp9)
6824 delete arg9;
6825 }
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6833 wxString result;
6834 PyObject * obj0 = 0 ;
6835 char *kwnames[] = {
6836 (char *) "self", NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = ((wxTextCtrl const *)arg1)->GetValue();
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 #if wxUSE_UNICODE
6850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6851 #else
6852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6853 #endif
6854 }
6855 return resultobj;
6856 fail:
6857 return NULL;
6858 }
6859
6860
6861 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6862 PyObject *resultobj;
6863 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6864 wxString *arg2 = 0 ;
6865 bool temp2 = False ;
6866 PyObject * obj0 = 0 ;
6867 PyObject * obj1 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self",(char *) "value", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6874 {
6875 arg2 = wxString_in_helper(obj1);
6876 if (arg2 == NULL) SWIG_fail;
6877 temp2 = True;
6878 }
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 (arg1)->SetValue((wxString const &)*arg2);
6882
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 Py_INCREF(Py_None); resultobj = Py_None;
6887 {
6888 if (temp2)
6889 delete arg2;
6890 }
6891 return resultobj;
6892 fail:
6893 {
6894 if (temp2)
6895 delete arg2;
6896 }
6897 return NULL;
6898 }
6899
6900
6901 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6902 PyObject *resultobj;
6903 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6904 long arg2 ;
6905 long arg3 ;
6906 wxString result;
6907 PyObject * obj0 = 0 ;
6908 char *kwnames[] = {
6909 (char *) "self",(char *) "from",(char *) "to", NULL
6910 };
6911
6912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6914 {
6915 PyThreadState* __tstate = wxPyBeginAllowThreads();
6916 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6917
6918 wxPyEndAllowThreads(__tstate);
6919 if (PyErr_Occurred()) SWIG_fail;
6920 }
6921 {
6922 #if wxUSE_UNICODE
6923 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6924 #else
6925 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6926 #endif
6927 }
6928 return resultobj;
6929 fail:
6930 return NULL;
6931 }
6932
6933
6934 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6935 PyObject *resultobj;
6936 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6937 long arg2 ;
6938 int result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self",(char *) "lineNo", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = PyInt_FromLong((long)result);
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6963 long arg2 ;
6964 wxString result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self",(char *) "lineNo", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) 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 = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 {
6980 #if wxUSE_UNICODE
6981 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6982 #else
6983 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6984 #endif
6985 }
6986 return resultobj;
6987 fail:
6988 return NULL;
6989 }
6990
6991
6992 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6993 PyObject *resultobj;
6994 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6995 int result;
6996 PyObject * obj0 = 0 ;
6997 char *kwnames[] = {
6998 (char *) "self", NULL
6999 };
7000
7001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 resultobj = PyInt_FromLong((long)result);
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7020 bool result;
7021 PyObject * obj0 = 0 ;
7022 char *kwnames[] = {
7023 (char *) "self", NULL
7024 };
7025
7026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = PyInt_FromLong((long)result);
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7045 bool result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7053 {
7054 PyThreadState* __tstate = wxPyBeginAllowThreads();
7055 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7056
7057 wxPyEndAllowThreads(__tstate);
7058 if (PyErr_Occurred()) SWIG_fail;
7059 }
7060 resultobj = PyInt_FromLong((long)result);
7061 return resultobj;
7062 fail:
7063 return NULL;
7064 }
7065
7066
7067 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj;
7069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7070 bool result;
7071 PyObject * obj0 = 0 ;
7072 char *kwnames[] = {
7073 (char *) "self", NULL
7074 };
7075
7076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7078 {
7079 PyThreadState* __tstate = wxPyBeginAllowThreads();
7080 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7081
7082 wxPyEndAllowThreads(__tstate);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 }
7085 resultobj = PyInt_FromLong((long)result);
7086 return resultobj;
7087 fail:
7088 return NULL;
7089 }
7090
7091
7092 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7093 PyObject *resultobj;
7094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7095 bool result;
7096 PyObject * obj0 = 0 ;
7097 char *kwnames[] = {
7098 (char *) "self", NULL
7099 };
7100
7101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7103 {
7104 PyThreadState* __tstate = wxPyBeginAllowThreads();
7105 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7106
7107 wxPyEndAllowThreads(__tstate);
7108 if (PyErr_Occurred()) SWIG_fail;
7109 }
7110 resultobj = PyInt_FromLong((long)result);
7111 return resultobj;
7112 fail:
7113 return NULL;
7114 }
7115
7116
7117 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7118 PyObject *resultobj;
7119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7120 long *arg2 = (long *) 0 ;
7121 long *arg3 = (long *) 0 ;
7122 long temp2 ;
7123 long temp3 ;
7124 PyObject * obj0 = 0 ;
7125 char *kwnames[] = {
7126 (char *) "self", NULL
7127 };
7128
7129 arg2 = &temp2;
7130 arg3 = &temp3;
7131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7136
7137 wxPyEndAllowThreads(__tstate);
7138 if (PyErr_Occurred()) SWIG_fail;
7139 }
7140 Py_INCREF(Py_None); resultobj = Py_None;
7141 {
7142 PyObject *o = PyInt_FromLong((long) (*arg2));
7143 resultobj = t_output_helper(resultobj,o);
7144 }
7145 {
7146 PyObject *o = PyInt_FromLong((long) (*arg3));
7147 resultobj = t_output_helper(resultobj,o);
7148 }
7149 return resultobj;
7150 fail:
7151 return NULL;
7152 }
7153
7154
7155 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7158 wxString result;
7159 PyObject * obj0 = 0 ;
7160 char *kwnames[] = {
7161 (char *) "self", NULL
7162 };
7163
7164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 {
7174 #if wxUSE_UNICODE
7175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7176 #else
7177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7178 #endif
7179 }
7180 return resultobj;
7181 fail:
7182 return NULL;
7183 }
7184
7185
7186 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7189 PyObject * obj0 = 0 ;
7190 char *kwnames[] = {
7191 (char *) "self", NULL
7192 };
7193
7194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 (arg1)->Clear();
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 Py_INCREF(Py_None); resultobj = Py_None;
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7213 long arg2 ;
7214 long arg3 ;
7215 wxString *arg4 = 0 ;
7216 bool temp4 = False ;
7217 PyObject * obj0 = 0 ;
7218 PyObject * obj3 = 0 ;
7219 char *kwnames[] = {
7220 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7221 };
7222
7223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 {
7226 arg4 = wxString_in_helper(obj3);
7227 if (arg4 == NULL) SWIG_fail;
7228 temp4 = True;
7229 }
7230 {
7231 PyThreadState* __tstate = wxPyBeginAllowThreads();
7232 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 Py_INCREF(Py_None); resultobj = Py_None;
7238 {
7239 if (temp4)
7240 delete arg4;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp4)
7246 delete arg4;
7247 }
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7255 long arg2 ;
7256 long arg3 ;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self",(char *) "from",(char *) "to", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 (arg1)->Remove(arg2,arg3);
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 Py_INCREF(Py_None); resultobj = Py_None;
7272 return resultobj;
7273 fail:
7274 return NULL;
7275 }
7276
7277
7278 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7279 PyObject *resultobj;
7280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7281 wxString *arg2 = 0 ;
7282 bool result;
7283 bool temp2 = False ;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "self",(char *) "file", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7292 {
7293 arg2 = wxString_in_helper(obj1);
7294 if (arg2 == NULL) SWIG_fail;
7295 temp2 = True;
7296 }
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = PyInt_FromLong((long)result);
7305 {
7306 if (temp2)
7307 delete arg2;
7308 }
7309 return resultobj;
7310 fail:
7311 {
7312 if (temp2)
7313 delete arg2;
7314 }
7315 return NULL;
7316 }
7317
7318
7319 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7320 PyObject *resultobj;
7321 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7322 wxString const &arg2_defvalue = wxPyEmptyString ;
7323 wxString *arg2 = (wxString *) &arg2_defvalue ;
7324 bool result;
7325 bool temp2 = False ;
7326 PyObject * obj0 = 0 ;
7327 PyObject * obj1 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "self",(char *) "file", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7334 if (obj1) {
7335 {
7336 arg2 = wxString_in_helper(obj1);
7337 if (arg2 == NULL) SWIG_fail;
7338 temp2 = True;
7339 }
7340 }
7341 {
7342 PyThreadState* __tstate = wxPyBeginAllowThreads();
7343 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7344
7345 wxPyEndAllowThreads(__tstate);
7346 if (PyErr_Occurred()) SWIG_fail;
7347 }
7348 resultobj = PyInt_FromLong((long)result);
7349 {
7350 if (temp2)
7351 delete arg2;
7352 }
7353 return resultobj;
7354 fail:
7355 {
7356 if (temp2)
7357 delete arg2;
7358 }
7359 return NULL;
7360 }
7361
7362
7363 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7366 PyObject * obj0 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 (arg1)->MarkDirty();
7376
7377 wxPyEndAllowThreads(__tstate);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 Py_INCREF(Py_None); resultobj = Py_None;
7381 return resultobj;
7382 fail:
7383 return NULL;
7384 }
7385
7386
7387 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7390 PyObject * obj0 = 0 ;
7391 char *kwnames[] = {
7392 (char *) "self", NULL
7393 };
7394
7395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->DiscardEdits();
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408 }
7409
7410
7411 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7412 PyObject *resultobj;
7413 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7414 unsigned long arg2 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char *kwnames[] = {
7418 (char *) "self",(char *) "len", NULL
7419 };
7420
7421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7423 {
7424 arg2 = (unsigned long) SPyObj_AsUnsignedLong(obj1);
7425 if (PyErr_Occurred()) SWIG_fail;
7426 }
7427 {
7428 PyThreadState* __tstate = wxPyBeginAllowThreads();
7429 (arg1)->SetMaxLength(arg2);
7430
7431 wxPyEndAllowThreads(__tstate);
7432 if (PyErr_Occurred()) SWIG_fail;
7433 }
7434 Py_INCREF(Py_None); resultobj = Py_None;
7435 return resultobj;
7436 fail:
7437 return NULL;
7438 }
7439
7440
7441 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7442 PyObject *resultobj;
7443 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7444 wxString *arg2 = 0 ;
7445 bool temp2 = False ;
7446 PyObject * obj0 = 0 ;
7447 PyObject * obj1 = 0 ;
7448 char *kwnames[] = {
7449 (char *) "self",(char *) "text", NULL
7450 };
7451
7452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7454 {
7455 arg2 = wxString_in_helper(obj1);
7456 if (arg2 == NULL) SWIG_fail;
7457 temp2 = True;
7458 }
7459 {
7460 PyThreadState* __tstate = wxPyBeginAllowThreads();
7461 (arg1)->WriteText((wxString const &)*arg2);
7462
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 Py_INCREF(Py_None); resultobj = Py_None;
7467 {
7468 if (temp2)
7469 delete arg2;
7470 }
7471 return resultobj;
7472 fail:
7473 {
7474 if (temp2)
7475 delete arg2;
7476 }
7477 return NULL;
7478 }
7479
7480
7481 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7482 PyObject *resultobj;
7483 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7484 wxString *arg2 = 0 ;
7485 bool temp2 = False ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 char *kwnames[] = {
7489 (char *) "self",(char *) "text", NULL
7490 };
7491
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7494 {
7495 arg2 = wxString_in_helper(obj1);
7496 if (arg2 == NULL) SWIG_fail;
7497 temp2 = True;
7498 }
7499 {
7500 PyThreadState* __tstate = wxPyBeginAllowThreads();
7501 (arg1)->AppendText((wxString const &)*arg2);
7502
7503 wxPyEndAllowThreads(__tstate);
7504 if (PyErr_Occurred()) SWIG_fail;
7505 }
7506 Py_INCREF(Py_None); resultobj = Py_None;
7507 {
7508 if (temp2)
7509 delete arg2;
7510 }
7511 return resultobj;
7512 fail:
7513 {
7514 if (temp2)
7515 delete arg2;
7516 }
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7524 wxKeyEvent *arg2 = 0 ;
7525 bool result;
7526 PyObject * obj0 = 0 ;
7527 PyObject * obj1 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "self",(char *) "event", NULL
7530 };
7531
7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7535 if (arg2 == NULL) {
7536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7537 }
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = PyInt_FromLong((long)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7555 long arg2 ;
7556 long arg3 ;
7557 wxTextAttr *arg4 = 0 ;
7558 bool result;
7559 PyObject * obj0 = 0 ;
7560 PyObject * obj3 = 0 ;
7561 char *kwnames[] = {
7562 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7563 };
7564
7565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7567 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7568 if (arg4 == NULL) {
7569 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7570 }
7571 {
7572 PyThreadState* __tstate = wxPyBeginAllowThreads();
7573 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7574
7575 wxPyEndAllowThreads(__tstate);
7576 if (PyErr_Occurred()) SWIG_fail;
7577 }
7578 resultobj = PyInt_FromLong((long)result);
7579 return resultobj;
7580 fail:
7581 return NULL;
7582 }
7583
7584
7585 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7586 PyObject *resultobj;
7587 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7588 long arg2 ;
7589 wxTextAttr *arg3 = 0 ;
7590 bool result;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj2 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "position",(char *) "style", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 if (arg3 == NULL) {
7601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = PyInt_FromLong((long)result);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7620 wxTextAttr *arg2 = 0 ;
7621 bool result;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self",(char *) "style", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7631 if (arg2 == NULL) {
7632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 resultobj = PyInt_FromLong((long)result);
7642 return resultobj;
7643 fail:
7644 return NULL;
7645 }
7646
7647
7648 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7649 PyObject *resultobj;
7650 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7651 wxTextAttr *result;
7652 PyObject * obj0 = 0 ;
7653 char *kwnames[] = {
7654 (char *) "self", NULL
7655 };
7656
7657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 {
7662 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7663 result = (wxTextAttr *) &_result_ref;
7664 }
7665
7666 wxPyEndAllowThreads(__tstate);
7667 if (PyErr_Occurred()) SWIG_fail;
7668 }
7669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7670 return resultobj;
7671 fail:
7672 return NULL;
7673 }
7674
7675
7676 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7677 PyObject *resultobj;
7678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7679 long arg2 ;
7680 long arg3 ;
7681 long result;
7682 PyObject * obj0 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self",(char *) "x",(char *) "y", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7689 {
7690 PyThreadState* __tstate = wxPyBeginAllowThreads();
7691 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7692
7693 wxPyEndAllowThreads(__tstate);
7694 if (PyErr_Occurred()) SWIG_fail;
7695 }
7696 resultobj = PyInt_FromLong((long)result);
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7706 long arg2 ;
7707 long *arg3 = (long *) 0 ;
7708 long *arg4 = (long *) 0 ;
7709 long temp3 ;
7710 long temp4 ;
7711 PyObject * obj0 = 0 ;
7712 char *kwnames[] = {
7713 (char *) "self",(char *) "pos", NULL
7714 };
7715
7716 arg3 = &temp3;
7717 arg4 = &temp4;
7718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) 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 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 {
7729 PyObject *o = PyInt_FromLong((long) (*arg3));
7730 resultobj = t_output_helper(resultobj,o);
7731 }
7732 {
7733 PyObject *o = PyInt_FromLong((long) (*arg4));
7734 resultobj = t_output_helper(resultobj,o);
7735 }
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7745 long arg2 ;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self",(char *) "pos", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 (arg1)->ShowPosition(arg2);
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 Py_INCREF(Py_None); resultobj = Py_None;
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7770 PyObject * obj0 = 0 ;
7771 char *kwnames[] = {
7772 (char *) "self", NULL
7773 };
7774
7775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->Copy();
7780
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 Py_INCREF(Py_None); resultobj = Py_None;
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj;
7793 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7794 PyObject * obj0 = 0 ;
7795 char *kwnames[] = {
7796 (char *) "self", NULL
7797 };
7798
7799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->Cut();
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7818 PyObject * obj0 = 0 ;
7819 char *kwnames[] = {
7820 (char *) "self", NULL
7821 };
7822
7823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 (arg1)->Paste();
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 Py_INCREF(Py_None); resultobj = Py_None;
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj;
7841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7842 bool result;
7843 PyObject * obj0 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 {
7851 PyThreadState* __tstate = wxPyBeginAllowThreads();
7852 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7853
7854 wxPyEndAllowThreads(__tstate);
7855 if (PyErr_Occurred()) SWIG_fail;
7856 }
7857 resultobj = PyInt_FromLong((long)result);
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7867 bool result;
7868 PyObject * obj0 = 0 ;
7869 char *kwnames[] = {
7870 (char *) "self", NULL
7871 };
7872
7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7875 {
7876 PyThreadState* __tstate = wxPyBeginAllowThreads();
7877 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7878
7879 wxPyEndAllowThreads(__tstate);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 resultobj = PyInt_FromLong((long)result);
7883 return resultobj;
7884 fail:
7885 return NULL;
7886 }
7887
7888
7889 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7890 PyObject *resultobj;
7891 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7892 bool result;
7893 PyObject * obj0 = 0 ;
7894 char *kwnames[] = {
7895 (char *) "self", NULL
7896 };
7897
7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7900 {
7901 PyThreadState* __tstate = wxPyBeginAllowThreads();
7902 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7903
7904 wxPyEndAllowThreads(__tstate);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 }
7907 resultobj = PyInt_FromLong((long)result);
7908 return resultobj;
7909 fail:
7910 return NULL;
7911 }
7912
7913
7914 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject *resultobj;
7916 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7924 {
7925 PyThreadState* __tstate = wxPyBeginAllowThreads();
7926 (arg1)->Undo();
7927
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 Py_INCREF(Py_None); resultobj = Py_None;
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj;
7940 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7941 PyObject * obj0 = 0 ;
7942 char *kwnames[] = {
7943 (char *) "self", NULL
7944 };
7945
7946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7948 {
7949 PyThreadState* __tstate = wxPyBeginAllowThreads();
7950 (arg1)->Redo();
7951
7952 wxPyEndAllowThreads(__tstate);
7953 if (PyErr_Occurred()) SWIG_fail;
7954 }
7955 Py_INCREF(Py_None); resultobj = Py_None;
7956 return resultobj;
7957 fail:
7958 return NULL;
7959 }
7960
7961
7962 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7963 PyObject *resultobj;
7964 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7965 bool result;
7966 PyObject * obj0 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = PyInt_FromLong((long)result);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj;
7989 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7990 bool result;
7991 PyObject * obj0 = 0 ;
7992 char *kwnames[] = {
7993 (char *) "self", NULL
7994 };
7995
7996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 resultobj = PyInt_FromLong((long)result);
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8015 long arg2 ;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "pos", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 (arg1)->SetInsertionPoint(arg2);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 Py_INCREF(Py_None); resultobj = Py_None;
8031 return resultobj;
8032 fail:
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 (arg1)->SetInsertionPointEnd();
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 Py_INCREF(Py_None); resultobj = Py_None;
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj;
8063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8064 long result;
8065 PyObject * obj0 = 0 ;
8066 char *kwnames[] = {
8067 (char *) "self", NULL
8068 };
8069
8070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 resultobj = PyInt_FromLong((long)result);
8080 return resultobj;
8081 fail:
8082 return NULL;
8083 }
8084
8085
8086 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8087 PyObject *resultobj;
8088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8089 long result;
8090 PyObject * obj0 = 0 ;
8091 char *kwnames[] = {
8092 (char *) "self", NULL
8093 };
8094
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8100
8101 wxPyEndAllowThreads(__tstate);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 }
8104 resultobj = PyInt_FromLong((long)result);
8105 return resultobj;
8106 fail:
8107 return NULL;
8108 }
8109
8110
8111 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8112 PyObject *resultobj;
8113 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8114 long arg2 ;
8115 long arg3 ;
8116 PyObject * obj0 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "from",(char *) "to", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
8122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 (arg1)->SetSelection(arg2,arg3);
8126
8127 wxPyEndAllowThreads(__tstate);
8128 if (PyErr_Occurred()) SWIG_fail;
8129 }
8130 Py_INCREF(Py_None); resultobj = Py_None;
8131 return resultobj;
8132 fail:
8133 return NULL;
8134 }
8135
8136
8137 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 (arg1)->SelectAll();
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 Py_INCREF(Py_None); resultobj = Py_None;
8155 return resultobj;
8156 fail:
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8164 bool arg2 ;
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self",(char *) "editable", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 {
8174 arg2 = (bool) SPyObj_AsBool(obj1);
8175 if (PyErr_Occurred()) SWIG_fail;
8176 }
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 (arg1)->SetEditable(arg2);
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 Py_INCREF(Py_None); resultobj = Py_None;
8185 return resultobj;
8186 fail:
8187 return NULL;
8188 }
8189
8190
8191 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8194 bool arg2 = (bool) True ;
8195 bool result;
8196 PyObject * obj0 = 0 ;
8197 PyObject * obj1 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self",(char *) "show", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if (obj1) {
8205 {
8206 arg2 = (bool) SPyObj_AsBool(obj1);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 }
8210 {
8211 PyThreadState* __tstate = wxPyBeginAllowThreads();
8212 result = (bool)(arg1)->ShowNativeCaret(arg2);
8213
8214 wxPyEndAllowThreads(__tstate);
8215 if (PyErr_Occurred()) SWIG_fail;
8216 }
8217 resultobj = PyInt_FromLong((long)result);
8218 return resultobj;
8219 fail:
8220 return NULL;
8221 }
8222
8223
8224 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8225 PyObject *resultobj;
8226 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8227 bool result;
8228 PyObject * obj0 = 0 ;
8229 char *kwnames[] = {
8230 (char *) "self", NULL
8231 };
8232
8233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 result = (bool)(arg1)->HideNativeCaret();
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = PyInt_FromLong((long)result);
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8252 wxString *arg2 = 0 ;
8253 bool temp2 = False ;
8254 PyObject * obj0 = 0 ;
8255 PyObject * obj1 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "text", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8262 {
8263 arg2 = wxString_in_helper(obj1);
8264 if (arg2 == NULL) SWIG_fail;
8265 temp2 = True;
8266 }
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 {
8276 if (temp2)
8277 delete arg2;
8278 }
8279 return resultobj;
8280 fail:
8281 {
8282 if (temp2)
8283 delete arg2;
8284 }
8285 return NULL;
8286 }
8287
8288
8289 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8290 PyObject *resultobj;
8291 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8292 long arg2 ;
8293 long arg3 ;
8294 wxString result;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "from",(char *) "to", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 {
8310 #if wxUSE_UNICODE
8311 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8312 #else
8313 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8314 #endif
8315 }
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8323 PyObject *obj;
8324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8325 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8326 Py_INCREF(obj);
8327 return Py_BuildValue((char *)"");
8328 }
8329 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 int arg1 ;
8332 wxMouseEvent *arg2 = 0 ;
8333 long arg3 ;
8334 long arg4 ;
8335 wxTextUrlEvent *result;
8336 PyObject * obj1 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8342 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8343 if (arg2 == NULL) {
8344 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8349
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj;
8362 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8363 wxMouseEvent *result;
8364 PyObject * obj0 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "self", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 {
8374 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8375 result = (wxMouseEvent *) &_result_ref;
8376 }
8377
8378 wxPyEndAllowThreads(__tstate);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8382 return resultobj;
8383 fail:
8384 return NULL;
8385 }
8386
8387
8388 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8389 PyObject *resultobj;
8390 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8391 long result;
8392 PyObject * obj0 = 0 ;
8393 char *kwnames[] = {
8394 (char *) "self", NULL
8395 };
8396
8397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8402
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 resultobj = PyInt_FromLong((long)result);
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj;
8415 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8416 long result;
8417 PyObject * obj0 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 resultobj = PyInt_FromLong((long)result);
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8439 PyObject *obj;
8440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8441 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8442 Py_INCREF(obj);
8443 return Py_BuildValue((char *)"");
8444 }
8445 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8446 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8447 return 1;
8448 }
8449
8450
8451 static PyObject *_wrap_ScrollBarNameStr_get() {
8452 PyObject *pyobj;
8453
8454 {
8455 #if wxUSE_UNICODE
8456 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8457 #else
8458 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8459 #endif
8460 }
8461 return pyobj;
8462 }
8463
8464
8465 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8466 PyObject *resultobj;
8467 wxWindow *arg1 = (wxWindow *) 0 ;
8468 int arg2 = (int) -1 ;
8469 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8470 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8471 wxSize const &arg4_defvalue = wxDefaultSize ;
8472 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8473 long arg5 = (long) wxSB_HORIZONTAL ;
8474 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8475 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8476 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8477 wxString *arg7 = (wxString *) &arg7_defvalue ;
8478 wxScrollBar *result;
8479 wxPoint temp3 ;
8480 wxSize temp4 ;
8481 bool temp7 = False ;
8482 PyObject * obj0 = 0 ;
8483 PyObject * obj2 = 0 ;
8484 PyObject * obj3 = 0 ;
8485 PyObject * obj5 = 0 ;
8486 PyObject * obj6 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8493 if (obj2) {
8494 {
8495 arg3 = &temp3;
8496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8497 }
8498 }
8499 if (obj3) {
8500 {
8501 arg4 = &temp4;
8502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8503 }
8504 }
8505 if (obj5) {
8506 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8507 if (arg6 == NULL) {
8508 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8509 }
8510 }
8511 if (obj6) {
8512 {
8513 arg7 = wxString_in_helper(obj6);
8514 if (arg7 == NULL) SWIG_fail;
8515 temp7 = True;
8516 }
8517 }
8518 {
8519 PyThreadState* __tstate = wxPyBeginAllowThreads();
8520 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8521
8522 wxPyEndAllowThreads(__tstate);
8523 if (PyErr_Occurred()) SWIG_fail;
8524 }
8525 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8526 {
8527 if (temp7)
8528 delete arg7;
8529 }
8530 return resultobj;
8531 fail:
8532 {
8533 if (temp7)
8534 delete arg7;
8535 }
8536 return NULL;
8537 }
8538
8539
8540 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj;
8542 wxScrollBar *result;
8543 char *kwnames[] = {
8544 NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8550 result = (wxScrollBar *)new wxScrollBar();
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8565 wxWindow *arg2 = (wxWindow *) 0 ;
8566 int arg3 = (int) -1 ;
8567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8569 wxSize const &arg5_defvalue = wxDefaultSize ;
8570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8571 long arg6 = (long) wxSB_HORIZONTAL ;
8572 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8573 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8574 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8575 wxString *arg8 = (wxString *) &arg8_defvalue ;
8576 bool result;
8577 wxPoint temp4 ;
8578 wxSize temp5 ;
8579 bool temp8 = False ;
8580 PyObject * obj0 = 0 ;
8581 PyObject * obj1 = 0 ;
8582 PyObject * obj3 = 0 ;
8583 PyObject * obj4 = 0 ;
8584 PyObject * obj6 = 0 ;
8585 PyObject * obj7 = 0 ;
8586 char *kwnames[] = {
8587 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8588 };
8589
8590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8593 if (obj3) {
8594 {
8595 arg4 = &temp4;
8596 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8597 }
8598 }
8599 if (obj4) {
8600 {
8601 arg5 = &temp5;
8602 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8603 }
8604 }
8605 if (obj6) {
8606 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8607 if (arg7 == NULL) {
8608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8609 }
8610 }
8611 if (obj7) {
8612 {
8613 arg8 = wxString_in_helper(obj7);
8614 if (arg8 == NULL) SWIG_fail;
8615 temp8 = True;
8616 }
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 resultobj = PyInt_FromLong((long)result);
8626 {
8627 if (temp8)
8628 delete arg8;
8629 }
8630 return resultobj;
8631 fail:
8632 {
8633 if (temp8)
8634 delete arg8;
8635 }
8636 return NULL;
8637 }
8638
8639
8640 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8643 int result;
8644 PyObject * obj0 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 resultobj = PyInt_FromLong((long)result);
8659 return resultobj;
8660 fail:
8661 return NULL;
8662 }
8663
8664
8665 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8666 PyObject *resultobj;
8667 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8668 int result;
8669 PyObject * obj0 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 resultobj = PyInt_FromLong((long)result);
8684 return resultobj;
8685 fail:
8686 return NULL;
8687 }
8688
8689
8690 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8693 int result;
8694 PyObject * obj0 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = PyInt_FromLong((long)result);
8709 return resultobj;
8710 fail:
8711 return NULL;
8712 }
8713
8714
8715 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8716 PyObject *resultobj;
8717 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8718 int result;
8719 PyObject * obj0 = 0 ;
8720 char *kwnames[] = {
8721 (char *) "self", NULL
8722 };
8723
8724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8726 {
8727 PyThreadState* __tstate = wxPyBeginAllowThreads();
8728 result = (int)((wxScrollBar const *)arg1)->GetRange();
8729
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 resultobj = PyInt_FromLong((long)result);
8734 return resultobj;
8735 fail:
8736 return NULL;
8737 }
8738
8739
8740 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8741 PyObject *resultobj;
8742 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8743 bool result;
8744 PyObject * obj0 = 0 ;
8745 char *kwnames[] = {
8746 (char *) "self", NULL
8747 };
8748
8749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8754
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = PyInt_FromLong((long)result);
8759 return resultobj;
8760 fail:
8761 return NULL;
8762 }
8763
8764
8765 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj;
8767 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8768 int arg2 ;
8769 PyObject * obj0 = 0 ;
8770 char *kwnames[] = {
8771 (char *) "self",(char *) "viewStart", NULL
8772 };
8773
8774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 (arg1)->SetThumbPosition(arg2);
8779
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 Py_INCREF(Py_None); resultobj = Py_None;
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj;
8792 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8793 int arg2 ;
8794 int arg3 ;
8795 int arg4 ;
8796 int arg5 ;
8797 bool arg6 = (bool) True ;
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj5 = 0 ;
8800 char *kwnames[] = {
8801 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8806 if (obj5) {
8807 {
8808 arg6 = (bool) SPyObj_AsBool(obj5);
8809 if (PyErr_Occurred()) SWIG_fail;
8810 }
8811 }
8812 {
8813 PyThreadState* __tstate = wxPyBeginAllowThreads();
8814 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8815
8816 wxPyEndAllowThreads(__tstate);
8817 if (PyErr_Occurred()) SWIG_fail;
8818 }
8819 Py_INCREF(Py_None); resultobj = Py_None;
8820 return resultobj;
8821 fail:
8822 return NULL;
8823 }
8824
8825
8826 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8827 PyObject *obj;
8828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8829 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8830 Py_INCREF(obj);
8831 return Py_BuildValue((char *)"");
8832 }
8833 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8834 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8835 return 1;
8836 }
8837
8838
8839 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8840 PyObject *pyobj;
8841
8842 {
8843 #if wxUSE_UNICODE
8844 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8845 #else
8846 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8847 #endif
8848 }
8849 return pyobj;
8850 }
8851
8852
8853 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8854 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8855 return 1;
8856 }
8857
8858
8859 static PyObject *_wrap_SpinCtrlNameStr_get() {
8860 PyObject *pyobj;
8861
8862 {
8863 #if wxUSE_UNICODE
8864 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8865 #else
8866 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8867 #endif
8868 }
8869 return pyobj;
8870 }
8871
8872
8873 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxWindow *arg1 = (wxWindow *) 0 ;
8876 int arg2 = (int) -1 ;
8877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8879 wxSize const &arg4_defvalue = wxDefaultSize ;
8880 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8881 long arg5 = (long) wxSP_HORIZONTAL ;
8882 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8883 wxString *arg6 = (wxString *) &arg6_defvalue ;
8884 wxSpinButton *result;
8885 wxPoint temp3 ;
8886 wxSize temp4 ;
8887 bool temp6 = False ;
8888 PyObject * obj0 = 0 ;
8889 PyObject * obj2 = 0 ;
8890 PyObject * obj3 = 0 ;
8891 PyObject * obj5 = 0 ;
8892 char *kwnames[] = {
8893 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8894 };
8895
8896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8898 if (obj2) {
8899 {
8900 arg3 = &temp3;
8901 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8902 }
8903 }
8904 if (obj3) {
8905 {
8906 arg4 = &temp4;
8907 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8908 }
8909 }
8910 if (obj5) {
8911 {
8912 arg6 = wxString_in_helper(obj5);
8913 if (arg6 == NULL) SWIG_fail;
8914 temp6 = True;
8915 }
8916 }
8917 {
8918 PyThreadState* __tstate = wxPyBeginAllowThreads();
8919 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8920
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8925 {
8926 if (temp6)
8927 delete arg6;
8928 }
8929 return resultobj;
8930 fail:
8931 {
8932 if (temp6)
8933 delete arg6;
8934 }
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxSpinButton *result;
8942 char *kwnames[] = {
8943 NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8947 {
8948 PyThreadState* __tstate = wxPyBeginAllowThreads();
8949 result = (wxSpinButton *)new wxSpinButton();
8950
8951 wxPyEndAllowThreads(__tstate);
8952 if (PyErr_Occurred()) SWIG_fail;
8953 }
8954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8955 return resultobj;
8956 fail:
8957 return NULL;
8958 }
8959
8960
8961 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8964 wxWindow *arg2 = (wxWindow *) 0 ;
8965 int arg3 = (int) -1 ;
8966 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8967 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8968 wxSize const &arg5_defvalue = wxDefaultSize ;
8969 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8970 long arg6 = (long) wxSP_HORIZONTAL ;
8971 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8972 wxString *arg7 = (wxString *) &arg7_defvalue ;
8973 bool result;
8974 wxPoint temp4 ;
8975 wxSize temp5 ;
8976 bool temp7 = False ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 PyObject * obj3 = 0 ;
8980 PyObject * obj4 = 0 ;
8981 PyObject * obj6 = 0 ;
8982 char *kwnames[] = {
8983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8984 };
8985
8986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8989 if (obj3) {
8990 {
8991 arg4 = &temp4;
8992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8993 }
8994 }
8995 if (obj4) {
8996 {
8997 arg5 = &temp5;
8998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8999 }
9000 }
9001 if (obj6) {
9002 {
9003 arg7 = wxString_in_helper(obj6);
9004 if (arg7 == NULL) SWIG_fail;
9005 temp7 = True;
9006 }
9007 }
9008 {
9009 PyThreadState* __tstate = wxPyBeginAllowThreads();
9010 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9011
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = PyInt_FromLong((long)result);
9016 {
9017 if (temp7)
9018 delete arg7;
9019 }
9020 return resultobj;
9021 fail:
9022 {
9023 if (temp7)
9024 delete arg7;
9025 }
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9033 int result;
9034 PyObject * obj0 = 0 ;
9035 char *kwnames[] = {
9036 (char *) "self", NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (int)((wxSpinButton const *)arg1)->GetValue();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 resultobj = PyInt_FromLong((long)result);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9058 int result;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 result = (int)((wxSpinButton const *)arg1)->GetMin();
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 resultobj = PyInt_FromLong((long)result);
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9083 int result;
9084 PyObject * obj0 = 0 ;
9085 char *kwnames[] = {
9086 (char *) "self", NULL
9087 };
9088
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (int)((wxSpinButton const *)arg1)->GetMax();
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = PyInt_FromLong((long)result);
9099 return resultobj;
9100 fail:
9101 return NULL;
9102 }
9103
9104
9105 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9108 int arg2 ;
9109 PyObject * obj0 = 0 ;
9110 char *kwnames[] = {
9111 (char *) "self",(char *) "val", NULL
9112 };
9113
9114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
9115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9116 {
9117 PyThreadState* __tstate = wxPyBeginAllowThreads();
9118 (arg1)->SetValue(arg2);
9119
9120 wxPyEndAllowThreads(__tstate);
9121 if (PyErr_Occurred()) SWIG_fail;
9122 }
9123 Py_INCREF(Py_None); resultobj = Py_None;
9124 return resultobj;
9125 fail:
9126 return NULL;
9127 }
9128
9129
9130 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9131 PyObject *resultobj;
9132 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9133 int arg2 ;
9134 PyObject * obj0 = 0 ;
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "minVal", NULL
9137 };
9138
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
9140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 (arg1)->SetMin(arg2);
9144
9145 wxPyEndAllowThreads(__tstate);
9146 if (PyErr_Occurred()) SWIG_fail;
9147 }
9148 Py_INCREF(Py_None); resultobj = Py_None;
9149 return resultobj;
9150 fail:
9151 return NULL;
9152 }
9153
9154
9155 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9156 PyObject *resultobj;
9157 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9158 int arg2 ;
9159 PyObject * obj0 = 0 ;
9160 char *kwnames[] = {
9161 (char *) "self",(char *) "maxVal", NULL
9162 };
9163
9164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
9165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9166 {
9167 PyThreadState* __tstate = wxPyBeginAllowThreads();
9168 (arg1)->SetMax(arg2);
9169
9170 wxPyEndAllowThreads(__tstate);
9171 if (PyErr_Occurred()) SWIG_fail;
9172 }
9173 Py_INCREF(Py_None); resultobj = Py_None;
9174 return resultobj;
9175 fail:
9176 return NULL;
9177 }
9178
9179
9180 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9183 int arg2 ;
9184 int arg3 ;
9185 PyObject * obj0 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9188 };
9189
9190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 (arg1)->SetRange(arg2,arg3);
9195
9196 wxPyEndAllowThreads(__tstate);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 }
9199 Py_INCREF(Py_None); resultobj = Py_None;
9200 return resultobj;
9201 fail:
9202 return NULL;
9203 }
9204
9205
9206 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9207 PyObject *resultobj;
9208 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9209 bool result;
9210 PyObject * obj0 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = PyInt_FromLong((long)result);
9225 return resultobj;
9226 fail:
9227 return NULL;
9228 }
9229
9230
9231 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9232 PyObject *obj;
9233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9234 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9235 Py_INCREF(obj);
9236 return Py_BuildValue((char *)"");
9237 }
9238 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9239 PyObject *resultobj;
9240 wxWindow *arg1 = (wxWindow *) 0 ;
9241 int arg2 = (int) -1 ;
9242 wxString const &arg3_defvalue = wxPyEmptyString ;
9243 wxString *arg3 = (wxString *) &arg3_defvalue ;
9244 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9245 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9246 wxSize const &arg5_defvalue = wxDefaultSize ;
9247 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9248 long arg6 = (long) wxSP_ARROW_KEYS ;
9249 int arg7 = (int) 0 ;
9250 int arg8 = (int) 100 ;
9251 int arg9 = (int) 0 ;
9252 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9253 wxString *arg10 = (wxString *) &arg10_defvalue ;
9254 wxSpinCtrl *result;
9255 bool temp3 = False ;
9256 wxPoint temp4 ;
9257 wxSize temp5 ;
9258 bool temp10 = False ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj2 = 0 ;
9261 PyObject * obj3 = 0 ;
9262 PyObject * obj4 = 0 ;
9263 PyObject * obj9 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 if (obj2) {
9271 {
9272 arg3 = wxString_in_helper(obj2);
9273 if (arg3 == NULL) SWIG_fail;
9274 temp3 = True;
9275 }
9276 }
9277 if (obj3) {
9278 {
9279 arg4 = &temp4;
9280 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9281 }
9282 }
9283 if (obj4) {
9284 {
9285 arg5 = &temp5;
9286 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9287 }
9288 }
9289 if (obj9) {
9290 {
9291 arg10 = wxString_in_helper(obj9);
9292 if (arg10 == NULL) SWIG_fail;
9293 temp10 = True;
9294 }
9295 }
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9304 {
9305 if (temp3)
9306 delete arg3;
9307 }
9308 {
9309 if (temp10)
9310 delete arg10;
9311 }
9312 return resultobj;
9313 fail:
9314 {
9315 if (temp3)
9316 delete arg3;
9317 }
9318 {
9319 if (temp10)
9320 delete arg10;
9321 }
9322 return NULL;
9323 }
9324
9325
9326 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxSpinCtrl *result;
9329 char *kwnames[] = {
9330 NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (wxSpinCtrl *)new wxSpinCtrl();
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9342 return resultobj;
9343 fail:
9344 return NULL;
9345 }
9346
9347
9348 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9349 PyObject *resultobj;
9350 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9351 wxWindow *arg2 = (wxWindow *) 0 ;
9352 int arg3 = (int) -1 ;
9353 wxString const &arg4_defvalue = wxPyEmptyString ;
9354 wxString *arg4 = (wxString *) &arg4_defvalue ;
9355 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9356 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9357 wxSize const &arg6_defvalue = wxDefaultSize ;
9358 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9359 long arg7 = (long) wxSP_ARROW_KEYS ;
9360 int arg8 = (int) 0 ;
9361 int arg9 = (int) 100 ;
9362 int arg10 = (int) 0 ;
9363 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9364 wxString *arg11 = (wxString *) &arg11_defvalue ;
9365 bool result;
9366 bool temp4 = False ;
9367 wxPoint temp5 ;
9368 wxSize temp6 ;
9369 bool temp11 = False ;
9370 PyObject * obj0 = 0 ;
9371 PyObject * obj1 = 0 ;
9372 PyObject * obj3 = 0 ;
9373 PyObject * obj4 = 0 ;
9374 PyObject * obj5 = 0 ;
9375 PyObject * obj10 = 0 ;
9376 char *kwnames[] = {
9377 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9378 };
9379
9380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9383 if (obj3) {
9384 {
9385 arg4 = wxString_in_helper(obj3);
9386 if (arg4 == NULL) SWIG_fail;
9387 temp4 = True;
9388 }
9389 }
9390 if (obj4) {
9391 {
9392 arg5 = &temp5;
9393 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9394 }
9395 }
9396 if (obj5) {
9397 {
9398 arg6 = &temp6;
9399 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9400 }
9401 }
9402 if (obj10) {
9403 {
9404 arg11 = wxString_in_helper(obj10);
9405 if (arg11 == NULL) SWIG_fail;
9406 temp11 = True;
9407 }
9408 }
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 resultobj = PyInt_FromLong((long)result);
9417 {
9418 if (temp4)
9419 delete arg4;
9420 }
9421 {
9422 if (temp11)
9423 delete arg11;
9424 }
9425 return resultobj;
9426 fail:
9427 {
9428 if (temp4)
9429 delete arg4;
9430 }
9431 {
9432 if (temp11)
9433 delete arg11;
9434 }
9435 return NULL;
9436 }
9437
9438
9439 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject *resultobj;
9441 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9442 int result;
9443 PyObject * obj0 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "self", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = PyInt_FromLong((long)result);
9458 return resultobj;
9459 fail:
9460 return NULL;
9461 }
9462
9463
9464 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9465 PyObject *resultobj;
9466 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9467 int arg2 ;
9468 PyObject * obj0 = 0 ;
9469 char *kwnames[] = {
9470 (char *) "self",(char *) "value", NULL
9471 };
9472
9473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 (arg1)->SetValue(arg2);
9478
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 Py_INCREF(Py_None); resultobj = Py_None;
9483 return resultobj;
9484 fail:
9485 return NULL;
9486 }
9487
9488
9489 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9490 PyObject *resultobj;
9491 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9492 wxString *arg2 = 0 ;
9493 bool temp2 = False ;
9494 PyObject * obj0 = 0 ;
9495 PyObject * obj1 = 0 ;
9496 char *kwnames[] = {
9497 (char *) "self",(char *) "text", NULL
9498 };
9499
9500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9502 {
9503 arg2 = wxString_in_helper(obj1);
9504 if (arg2 == NULL) SWIG_fail;
9505 temp2 = True;
9506 }
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 (arg1)->SetValue((wxString const &)*arg2);
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 Py_INCREF(Py_None); resultobj = Py_None;
9515 {
9516 if (temp2)
9517 delete arg2;
9518 }
9519 return resultobj;
9520 fail:
9521 {
9522 if (temp2)
9523 delete arg2;
9524 }
9525 return NULL;
9526 }
9527
9528
9529 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9530 PyObject *resultobj;
9531 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9532 int arg2 ;
9533 int arg3 ;
9534 PyObject * obj0 = 0 ;
9535 char *kwnames[] = {
9536 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9537 };
9538
9539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9541 {
9542 PyThreadState* __tstate = wxPyBeginAllowThreads();
9543 (arg1)->SetRange(arg2,arg3);
9544
9545 wxPyEndAllowThreads(__tstate);
9546 if (PyErr_Occurred()) SWIG_fail;
9547 }
9548 Py_INCREF(Py_None); resultobj = Py_None;
9549 return resultobj;
9550 fail:
9551 return NULL;
9552 }
9553
9554
9555 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj;
9557 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9558 int result;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 resultobj = PyInt_FromLong((long)result);
9574 return resultobj;
9575 fail:
9576 return NULL;
9577 }
9578
9579
9580 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9583 int result;
9584 PyObject * obj0 = 0 ;
9585 char *kwnames[] = {
9586 (char *) "self", NULL
9587 };
9588
9589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9591 {
9592 PyThreadState* __tstate = wxPyBeginAllowThreads();
9593 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9594
9595 wxPyEndAllowThreads(__tstate);
9596 if (PyErr_Occurred()) SWIG_fail;
9597 }
9598 resultobj = PyInt_FromLong((long)result);
9599 return resultobj;
9600 fail:
9601 return NULL;
9602 }
9603
9604
9605 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9606 PyObject *resultobj;
9607 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9608 long arg2 ;
9609 long arg3 ;
9610 PyObject * obj0 = 0 ;
9611 char *kwnames[] = {
9612 (char *) "self",(char *) "from",(char *) "to", NULL
9613 };
9614
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 (arg1)->SetSelection(arg2,arg3);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 Py_INCREF(Py_None); resultobj = Py_None;
9625 return resultobj;
9626 fail:
9627 return NULL;
9628 }
9629
9630
9631 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9632 PyObject *obj;
9633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9634 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9635 Py_INCREF(obj);
9636 return Py_BuildValue((char *)"");
9637 }
9638 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9641 int arg2 = (int) 0 ;
9642 wxSpinEvent *result;
9643 char *kwnames[] = {
9644 (char *) "commandType",(char *) "winid", NULL
9645 };
9646
9647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9648 {
9649 PyThreadState* __tstate = wxPyBeginAllowThreads();
9650 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9651
9652 wxPyEndAllowThreads(__tstate);
9653 if (PyErr_Occurred()) SWIG_fail;
9654 }
9655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9656 return resultobj;
9657 fail:
9658 return NULL;
9659 }
9660
9661
9662 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9663 PyObject *resultobj;
9664 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9665 int result;
9666 PyObject * obj0 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self", NULL
9669 };
9670
9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9673 {
9674 PyThreadState* __tstate = wxPyBeginAllowThreads();
9675 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9676
9677 wxPyEndAllowThreads(__tstate);
9678 if (PyErr_Occurred()) SWIG_fail;
9679 }
9680 resultobj = PyInt_FromLong((long)result);
9681 return resultobj;
9682 fail:
9683 return NULL;
9684 }
9685
9686
9687 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj;
9689 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9690 int arg2 ;
9691 PyObject * obj0 = 0 ;
9692 char *kwnames[] = {
9693 (char *) "self",(char *) "pos", NULL
9694 };
9695
9696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 (arg1)->SetPosition(arg2);
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 Py_INCREF(Py_None); resultobj = Py_None;
9706 return resultobj;
9707 fail:
9708 return NULL;
9709 }
9710
9711
9712 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9713 PyObject *obj;
9714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9715 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9716 Py_INCREF(obj);
9717 return Py_BuildValue((char *)"");
9718 }
9719 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9720 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9721 return 1;
9722 }
9723
9724
9725 static PyObject *_wrap_RadioBoxNameStr_get() {
9726 PyObject *pyobj;
9727
9728 {
9729 #if wxUSE_UNICODE
9730 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9731 #else
9732 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9733 #endif
9734 }
9735 return pyobj;
9736 }
9737
9738
9739 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9740 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9741 return 1;
9742 }
9743
9744
9745 static PyObject *_wrap_RadioButtonNameStr_get() {
9746 PyObject *pyobj;
9747
9748 {
9749 #if wxUSE_UNICODE
9750 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9751 #else
9752 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9753 #endif
9754 }
9755 return pyobj;
9756 }
9757
9758
9759 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj;
9761 wxWindow *arg1 = (wxWindow *) 0 ;
9762 int arg2 ;
9763 wxString *arg3 = 0 ;
9764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9766 wxSize const &arg5_defvalue = wxDefaultSize ;
9767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9768 int arg6 = (int) 0 ;
9769 wxString *arg7 = (wxString *) NULL ;
9770 int arg8 = (int) 0 ;
9771 long arg9 = (long) wxRA_HORIZONTAL ;
9772 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9773 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9774 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9775 wxString *arg11 = (wxString *) &arg11_defvalue ;
9776 wxRadioBox *result;
9777 bool temp3 = False ;
9778 wxPoint temp4 ;
9779 wxSize temp5 ;
9780 bool temp10 = False ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj2 = 0 ;
9783 PyObject * obj3 = 0 ;
9784 PyObject * obj4 = 0 ;
9785 PyObject * obj5 = 0 ;
9786 PyObject * obj8 = 0 ;
9787 PyObject * obj9 = 0 ;
9788 char *kwnames[] = {
9789 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9790 };
9791
9792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9794 {
9795 arg3 = wxString_in_helper(obj2);
9796 if (arg3 == NULL) SWIG_fail;
9797 temp3 = True;
9798 }
9799 if (obj3) {
9800 {
9801 arg4 = &temp4;
9802 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9803 }
9804 }
9805 if (obj4) {
9806 {
9807 arg5 = &temp5;
9808 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9809 }
9810 }
9811 if (obj5) {
9812 {
9813 arg6 = PyList_Size(obj5);
9814 arg7 = wxString_LIST_helper(obj5);
9815 if (arg7 == NULL) SWIG_fail;
9816 }
9817 }
9818 if (obj8) {
9819 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9820 if (arg10 == NULL) {
9821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9822 }
9823 }
9824 if (obj9) {
9825 {
9826 arg11 = wxString_in_helper(obj9);
9827 if (arg11 == NULL) SWIG_fail;
9828 temp10 = True;
9829 }
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 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);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9839 {
9840 if (temp3)
9841 delete arg3;
9842 }
9843 {
9844 if (arg7) delete [] arg7;
9845 }
9846 {
9847 if (temp10)
9848 delete arg11;
9849 }
9850 return resultobj;
9851 fail:
9852 {
9853 if (temp3)
9854 delete arg3;
9855 }
9856 {
9857 if (arg7) delete [] arg7;
9858 }
9859 {
9860 if (temp10)
9861 delete arg11;
9862 }
9863 return NULL;
9864 }
9865
9866
9867 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj;
9869 wxRadioBox *result;
9870 char *kwnames[] = {
9871 NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9875 {
9876 PyThreadState* __tstate = wxPyBeginAllowThreads();
9877 result = (wxRadioBox *)new wxRadioBox();
9878
9879 wxPyEndAllowThreads(__tstate);
9880 if (PyErr_Occurred()) SWIG_fail;
9881 }
9882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9883 return resultobj;
9884 fail:
9885 return NULL;
9886 }
9887
9888
9889 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9892 wxWindow *arg2 = (wxWindow *) 0 ;
9893 int arg3 ;
9894 wxString *arg4 = 0 ;
9895 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9896 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9897 wxSize const &arg6_defvalue = wxDefaultSize ;
9898 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9899 int arg7 = (int) 0 ;
9900 wxString *arg8 = (wxString *) NULL ;
9901 int arg9 = (int) 0 ;
9902 long arg10 = (long) wxRA_HORIZONTAL ;
9903 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9904 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9905 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9906 wxString *arg12 = (wxString *) &arg12_defvalue ;
9907 bool result;
9908 bool temp4 = False ;
9909 wxPoint temp5 ;
9910 wxSize temp6 ;
9911 bool temp11 = False ;
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
9914 PyObject * obj3 = 0 ;
9915 PyObject * obj4 = 0 ;
9916 PyObject * obj5 = 0 ;
9917 PyObject * obj6 = 0 ;
9918 PyObject * obj9 = 0 ;
9919 PyObject * obj10 = 0 ;
9920 char *kwnames[] = {
9921 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9922 };
9923
9924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 {
9928 arg4 = wxString_in_helper(obj3);
9929 if (arg4 == NULL) SWIG_fail;
9930 temp4 = True;
9931 }
9932 if (obj4) {
9933 {
9934 arg5 = &temp5;
9935 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9936 }
9937 }
9938 if (obj5) {
9939 {
9940 arg6 = &temp6;
9941 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9942 }
9943 }
9944 if (obj6) {
9945 {
9946 arg7 = PyList_Size(obj6);
9947 arg8 = wxString_LIST_helper(obj6);
9948 if (arg8 == NULL) SWIG_fail;
9949 }
9950 }
9951 if (obj9) {
9952 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9953 if (arg11 == NULL) {
9954 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9955 }
9956 }
9957 if (obj10) {
9958 {
9959 arg12 = wxString_in_helper(obj10);
9960 if (arg12 == NULL) SWIG_fail;
9961 temp11 = True;
9962 }
9963 }
9964 {
9965 PyThreadState* __tstate = wxPyBeginAllowThreads();
9966 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);
9967
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = PyInt_FromLong((long)result);
9972 {
9973 if (temp4)
9974 delete arg4;
9975 }
9976 {
9977 if (arg8) delete [] arg8;
9978 }
9979 {
9980 if (temp11)
9981 delete arg12;
9982 }
9983 return resultobj;
9984 fail:
9985 {
9986 if (temp4)
9987 delete arg4;
9988 }
9989 {
9990 if (arg8) delete [] arg8;
9991 }
9992 {
9993 if (temp11)
9994 delete arg12;
9995 }
9996 return NULL;
9997 }
9998
9999
10000 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj;
10002 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10003 int arg2 ;
10004 PyObject * obj0 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self",(char *) "n", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 (arg1)->SetSelection(arg2);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 Py_INCREF(Py_None); resultobj = Py_None;
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10028 int result;
10029 PyObject * obj0 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "self", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
10035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (int)((wxRadioBox const *)arg1)->GetSelection();
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = PyInt_FromLong((long)result);
10044 return resultobj;
10045 fail:
10046 return NULL;
10047 }
10048
10049
10050 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10051 PyObject *resultobj;
10052 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10053 wxString result;
10054 PyObject * obj0 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) 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)->GetStringSelection();
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_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10084 wxString *arg2 = 0 ;
10085 bool result;
10086 bool temp2 = False ;
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj1 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "s", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10095 {
10096 arg2 = wxString_in_helper(obj1);
10097 if (arg2 == NULL) SWIG_fail;
10098 temp2 = True;
10099 }
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 resultobj = PyInt_FromLong((long)result);
10108 {
10109 if (temp2)
10110 delete arg2;
10111 }
10112 return resultobj;
10113 fail:
10114 {
10115 if (temp2)
10116 delete arg2;
10117 }
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10125 int result;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (int)((wxRadioBox const *)arg1)->GetCount();
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = PyInt_FromLong((long)result);
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10150 wxString *arg2 = 0 ;
10151 int result;
10152 bool temp2 = False ;
10153 PyObject * obj0 = 0 ;
10154 PyObject * obj1 = 0 ;
10155 char *kwnames[] = {
10156 (char *) "self",(char *) "s", NULL
10157 };
10158
10159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10161 {
10162 arg2 = wxString_in_helper(obj1);
10163 if (arg2 == NULL) SWIG_fail;
10164 temp2 = True;
10165 }
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10169
10170 wxPyEndAllowThreads(__tstate);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 resultobj = PyInt_FromLong((long)result);
10174 {
10175 if (temp2)
10176 delete arg2;
10177 }
10178 return resultobj;
10179 fail:
10180 {
10181 if (temp2)
10182 delete arg2;
10183 }
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10191 int arg2 ;
10192 wxString result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self",(char *) "n", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 {
10208 #if wxUSE_UNICODE
10209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10210 #else
10211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10212 #endif
10213 }
10214 return resultobj;
10215 fail:
10216 return NULL;
10217 }
10218
10219
10220 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10221 PyObject *resultobj;
10222 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10223 int arg2 ;
10224 wxString *arg3 = 0 ;
10225 bool temp3 = False ;
10226 PyObject * obj0 = 0 ;
10227 PyObject * obj2 = 0 ;
10228 char *kwnames[] = {
10229 (char *) "self",(char *) "n",(char *) "label", NULL
10230 };
10231
10232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10234 {
10235 arg3 = wxString_in_helper(obj2);
10236 if (arg3 == NULL) SWIG_fail;
10237 temp3 = True;
10238 }
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 (arg1)->SetString(arg2,(wxString const &)*arg3);
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 Py_INCREF(Py_None); resultobj = Py_None;
10247 {
10248 if (temp3)
10249 delete arg3;
10250 }
10251 return resultobj;
10252 fail:
10253 {
10254 if (temp3)
10255 delete arg3;
10256 }
10257 return NULL;
10258 }
10259
10260
10261 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10262 PyObject *resultobj;
10263 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10264 int arg2 ;
10265 bool arg3 = (bool) True ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj2 = 0 ;
10268 char *kwnames[] = {
10269 (char *) "self",(char *) "n",(char *) "enable", NULL
10270 };
10271
10272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10274 if (obj2) {
10275 {
10276 arg3 = (bool) SPyObj_AsBool(obj2);
10277 if (PyErr_Occurred()) SWIG_fail;
10278 }
10279 }
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->Enable(arg2,arg3);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10297 int arg2 ;
10298 bool arg3 = (bool) True ;
10299 PyObject * obj0 = 0 ;
10300 PyObject * obj2 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self",(char *) "n",(char *) "show", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10307 if (obj2) {
10308 {
10309 arg3 = (bool) SPyObj_AsBool(obj2);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 }
10313 {
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 (arg1)->Show(arg2,arg3);
10316
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 Py_INCREF(Py_None); resultobj = Py_None;
10321 return resultobj;
10322 fail:
10323 return NULL;
10324 }
10325
10326
10327 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10328 PyObject *resultobj;
10329 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10330 int result;
10331 PyObject * obj0 = 0 ;
10332 char *kwnames[] = {
10333 (char *) "self", NULL
10334 };
10335
10336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = PyInt_FromLong((long)result);
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj;
10354 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10355 int result;
10356 PyObject * obj0 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10366
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 resultobj = PyInt_FromLong((long)result);
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj;
10379 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10380 int arg2 ;
10381 int arg3 ;
10382 long arg4 ;
10383 int result;
10384 PyObject * obj0 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10391 {
10392 PyThreadState* __tstate = wxPyBeginAllowThreads();
10393 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10394
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = PyInt_FromLong((long)result);
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10406 PyObject *obj;
10407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10408 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10409 Py_INCREF(obj);
10410 return Py_BuildValue((char *)"");
10411 }
10412 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10413 PyObject *resultobj;
10414 wxWindow *arg1 = (wxWindow *) 0 ;
10415 int arg2 ;
10416 wxString *arg3 = 0 ;
10417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10419 wxSize const &arg5_defvalue = wxDefaultSize ;
10420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10421 long arg6 = (long) 0 ;
10422 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10423 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10424 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10425 wxString *arg8 = (wxString *) &arg8_defvalue ;
10426 wxRadioButton *result;
10427 bool temp3 = False ;
10428 wxPoint temp4 ;
10429 wxSize temp5 ;
10430 bool temp8 = False ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj2 = 0 ;
10433 PyObject * obj3 = 0 ;
10434 PyObject * obj4 = 0 ;
10435 PyObject * obj6 = 0 ;
10436 PyObject * obj7 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 {
10444 arg3 = wxString_in_helper(obj2);
10445 if (arg3 == NULL) SWIG_fail;
10446 temp3 = True;
10447 }
10448 if (obj3) {
10449 {
10450 arg4 = &temp4;
10451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10452 }
10453 }
10454 if (obj4) {
10455 {
10456 arg5 = &temp5;
10457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10458 }
10459 }
10460 if (obj6) {
10461 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10462 if (arg7 == NULL) {
10463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10464 }
10465 }
10466 if (obj7) {
10467 {
10468 arg8 = wxString_in_helper(obj7);
10469 if (arg8 == NULL) SWIG_fail;
10470 temp8 = True;
10471 }
10472 }
10473 {
10474 PyThreadState* __tstate = wxPyBeginAllowThreads();
10475 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10476
10477 wxPyEndAllowThreads(__tstate);
10478 if (PyErr_Occurred()) SWIG_fail;
10479 }
10480 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10481 {
10482 if (temp3)
10483 delete arg3;
10484 }
10485 {
10486 if (temp8)
10487 delete arg8;
10488 }
10489 return resultobj;
10490 fail:
10491 {
10492 if (temp3)
10493 delete arg3;
10494 }
10495 {
10496 if (temp8)
10497 delete arg8;
10498 }
10499 return NULL;
10500 }
10501
10502
10503 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10504 PyObject *resultobj;
10505 wxRadioButton *result;
10506 char *kwnames[] = {
10507 NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (wxRadioButton *)new wxRadioButton();
10514
10515 wxPyEndAllowThreads(__tstate);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 }
10518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10519 return resultobj;
10520 fail:
10521 return NULL;
10522 }
10523
10524
10525 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10528 wxWindow *arg2 = (wxWindow *) 0 ;
10529 int arg3 ;
10530 wxString *arg4 = 0 ;
10531 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10532 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10533 wxSize const &arg6_defvalue = wxDefaultSize ;
10534 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10535 long arg7 = (long) 0 ;
10536 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10537 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10538 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10539 wxString *arg9 = (wxString *) &arg9_defvalue ;
10540 bool result;
10541 bool temp4 = False ;
10542 wxPoint temp5 ;
10543 wxSize temp6 ;
10544 bool temp9 = False ;
10545 PyObject * obj0 = 0 ;
10546 PyObject * obj1 = 0 ;
10547 PyObject * obj3 = 0 ;
10548 PyObject * obj4 = 0 ;
10549 PyObject * obj5 = 0 ;
10550 PyObject * obj7 = 0 ;
10551 PyObject * obj8 = 0 ;
10552 char *kwnames[] = {
10553 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10554 };
10555
10556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10559 {
10560 arg4 = wxString_in_helper(obj3);
10561 if (arg4 == NULL) SWIG_fail;
10562 temp4 = True;
10563 }
10564 if (obj4) {
10565 {
10566 arg5 = &temp5;
10567 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10568 }
10569 }
10570 if (obj5) {
10571 {
10572 arg6 = &temp6;
10573 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10574 }
10575 }
10576 if (obj7) {
10577 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10578 if (arg8 == NULL) {
10579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10580 }
10581 }
10582 if (obj8) {
10583 {
10584 arg9 = wxString_in_helper(obj8);
10585 if (arg9 == NULL) SWIG_fail;
10586 temp9 = True;
10587 }
10588 }
10589 {
10590 PyThreadState* __tstate = wxPyBeginAllowThreads();
10591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10592
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = PyInt_FromLong((long)result);
10597 {
10598 if (temp4)
10599 delete arg4;
10600 }
10601 {
10602 if (temp9)
10603 delete arg9;
10604 }
10605 return resultobj;
10606 fail:
10607 {
10608 if (temp4)
10609 delete arg4;
10610 }
10611 {
10612 if (temp9)
10613 delete arg9;
10614 }
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10622 bool result;
10623 PyObject * obj0 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (bool)(arg1)->GetValue();
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 resultobj = PyInt_FromLong((long)result);
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10647 bool arg2 ;
10648 PyObject * obj0 = 0 ;
10649 PyObject * obj1 = 0 ;
10650 char *kwnames[] = {
10651 (char *) "self",(char *) "value", NULL
10652 };
10653
10654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10656 {
10657 arg2 = (bool) SPyObj_AsBool(obj1);
10658 if (PyErr_Occurred()) SWIG_fail;
10659 }
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 (arg1)->SetValue(arg2);
10663
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 Py_INCREF(Py_None); resultobj = Py_None;
10668 return resultobj;
10669 fail:
10670 return NULL;
10671 }
10672
10673
10674 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10675 PyObject *obj;
10676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10677 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10678 Py_INCREF(obj);
10679 return Py_BuildValue((char *)"");
10680 }
10681 static int _wrap_SliderNameStr_set(PyObject *_val) {
10682 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10683 return 1;
10684 }
10685
10686
10687 static PyObject *_wrap_SliderNameStr_get() {
10688 PyObject *pyobj;
10689
10690 {
10691 #if wxUSE_UNICODE
10692 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10693 #else
10694 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10695 #endif
10696 }
10697 return pyobj;
10698 }
10699
10700
10701 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10702 PyObject *resultobj;
10703 wxWindow *arg1 = (wxWindow *) 0 ;
10704 int arg2 ;
10705 int arg3 ;
10706 int arg4 ;
10707 int arg5 ;
10708 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10709 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10710 wxSize const &arg7_defvalue = wxDefaultSize ;
10711 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10712 long arg8 = (long) wxSL_HORIZONTAL ;
10713 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10714 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10715 wxString const &arg10_defvalue = wxPySliderNameStr ;
10716 wxString *arg10 = (wxString *) &arg10_defvalue ;
10717 wxSlider *result;
10718 wxPoint temp6 ;
10719 wxSize temp7 ;
10720 bool temp10 = False ;
10721 PyObject * obj0 = 0 ;
10722 PyObject * obj5 = 0 ;
10723 PyObject * obj6 = 0 ;
10724 PyObject * obj8 = 0 ;
10725 PyObject * obj9 = 0 ;
10726 char *kwnames[] = {
10727 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10728 };
10729
10730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10732 if (obj5) {
10733 {
10734 arg6 = &temp6;
10735 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10736 }
10737 }
10738 if (obj6) {
10739 {
10740 arg7 = &temp7;
10741 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10742 }
10743 }
10744 if (obj8) {
10745 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10746 if (arg9 == NULL) {
10747 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10748 }
10749 }
10750 if (obj9) {
10751 {
10752 arg10 = wxString_in_helper(obj9);
10753 if (arg10 == NULL) SWIG_fail;
10754 temp10 = True;
10755 }
10756 }
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10765 {
10766 if (temp10)
10767 delete arg10;
10768 }
10769 return resultobj;
10770 fail:
10771 {
10772 if (temp10)
10773 delete arg10;
10774 }
10775 return NULL;
10776 }
10777
10778
10779 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10780 PyObject *resultobj;
10781 wxSlider *result;
10782 char *kwnames[] = {
10783 NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (wxSlider *)new wxSlider();
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10795 return resultobj;
10796 fail:
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxSlider *arg1 = (wxSlider *) 0 ;
10804 wxWindow *arg2 = (wxWindow *) 0 ;
10805 int arg3 ;
10806 int arg4 ;
10807 int arg5 ;
10808 int arg6 ;
10809 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10810 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10811 wxSize const &arg8_defvalue = wxDefaultSize ;
10812 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10813 long arg9 = (long) wxSL_HORIZONTAL ;
10814 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10815 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10816 wxString const &arg11_defvalue = wxPySliderNameStr ;
10817 wxString *arg11 = (wxString *) &arg11_defvalue ;
10818 bool result;
10819 wxPoint temp7 ;
10820 wxSize temp8 ;
10821 bool temp11 = False ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 PyObject * obj6 = 0 ;
10825 PyObject * obj7 = 0 ;
10826 PyObject * obj9 = 0 ;
10827 PyObject * obj10 = 0 ;
10828 char *kwnames[] = {
10829 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10830 };
10831
10832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10835 if (obj6) {
10836 {
10837 arg7 = &temp7;
10838 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10839 }
10840 }
10841 if (obj7) {
10842 {
10843 arg8 = &temp8;
10844 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10845 }
10846 }
10847 if (obj9) {
10848 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10849 if (arg10 == NULL) {
10850 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10851 }
10852 }
10853 if (obj10) {
10854 {
10855 arg11 = wxString_in_helper(obj10);
10856 if (arg11 == NULL) SWIG_fail;
10857 temp11 = True;
10858 }
10859 }
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 resultobj = PyInt_FromLong((long)result);
10868 {
10869 if (temp11)
10870 delete arg11;
10871 }
10872 return resultobj;
10873 fail:
10874 {
10875 if (temp11)
10876 delete arg11;
10877 }
10878 return NULL;
10879 }
10880
10881
10882 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject *resultobj;
10884 wxSlider *arg1 = (wxSlider *) 0 ;
10885 int result;
10886 PyObject * obj0 = 0 ;
10887 char *kwnames[] = {
10888 (char *) "self", NULL
10889 };
10890
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 result = (int)((wxSlider const *)arg1)->GetValue();
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 resultobj = PyInt_FromLong((long)result);
10901 return resultobj;
10902 fail:
10903 return NULL;
10904 }
10905
10906
10907 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10908 PyObject *resultobj;
10909 wxSlider *arg1 = (wxSlider *) 0 ;
10910 int arg2 ;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self",(char *) "value", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 (arg1)->SetValue(arg2);
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 Py_INCREF(Py_None); resultobj = Py_None;
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj;
10934 wxSlider *arg1 = (wxSlider *) 0 ;
10935 int arg2 ;
10936 int arg3 ;
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10944 {
10945 PyThreadState* __tstate = wxPyBeginAllowThreads();
10946 (arg1)->SetRange(arg2,arg3);
10947
10948 wxPyEndAllowThreads(__tstate);
10949 if (PyErr_Occurred()) SWIG_fail;
10950 }
10951 Py_INCREF(Py_None); resultobj = Py_None;
10952 return resultobj;
10953 fail:
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj;
10960 wxSlider *arg1 = (wxSlider *) 0 ;
10961 int result;
10962 PyObject * obj0 = 0 ;
10963 char *kwnames[] = {
10964 (char *) "self", NULL
10965 };
10966
10967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10969 {
10970 PyThreadState* __tstate = wxPyBeginAllowThreads();
10971 result = (int)((wxSlider const *)arg1)->GetMin();
10972
10973 wxPyEndAllowThreads(__tstate);
10974 if (PyErr_Occurred()) SWIG_fail;
10975 }
10976 resultobj = PyInt_FromLong((long)result);
10977 return resultobj;
10978 fail:
10979 return NULL;
10980 }
10981
10982
10983 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxSlider *arg1 = (wxSlider *) 0 ;
10986 int result;
10987 PyObject * obj0 = 0 ;
10988 char *kwnames[] = {
10989 (char *) "self", NULL
10990 };
10991
10992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10994 {
10995 PyThreadState* __tstate = wxPyBeginAllowThreads();
10996 result = (int)((wxSlider const *)arg1)->GetMax();
10997
10998 wxPyEndAllowThreads(__tstate);
10999 if (PyErr_Occurred()) SWIG_fail;
11000 }
11001 resultobj = PyInt_FromLong((long)result);
11002 return resultobj;
11003 fail:
11004 return NULL;
11005 }
11006
11007
11008 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj;
11010 wxSlider *arg1 = (wxSlider *) 0 ;
11011 int arg2 ;
11012 PyObject * obj0 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "minValue", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->SetMin(arg2);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 Py_INCREF(Py_None); resultobj = Py_None;
11027 return resultobj;
11028 fail:
11029 return NULL;
11030 }
11031
11032
11033 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxSlider *arg1 = (wxSlider *) 0 ;
11036 int arg2 ;
11037 PyObject * obj0 = 0 ;
11038 char *kwnames[] = {
11039 (char *) "self",(char *) "maxValue", NULL
11040 };
11041
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
11043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 (arg1)->SetMax(arg2);
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 Py_INCREF(Py_None); resultobj = Py_None;
11052 return resultobj;
11053 fail:
11054 return NULL;
11055 }
11056
11057
11058 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj;
11060 wxSlider *arg1 = (wxSlider *) 0 ;
11061 int arg2 ;
11062 PyObject * obj0 = 0 ;
11063 char *kwnames[] = {
11064 (char *) "self",(char *) "lineSize", NULL
11065 };
11066
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
11068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 (arg1)->SetLineSize(arg2);
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 Py_INCREF(Py_None); resultobj = Py_None;
11077 return resultobj;
11078 fail:
11079 return NULL;
11080 }
11081
11082
11083 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxSlider *arg1 = (wxSlider *) 0 ;
11086 int arg2 ;
11087 PyObject * obj0 = 0 ;
11088 char *kwnames[] = {
11089 (char *) "self",(char *) "pageSize", NULL
11090 };
11091
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
11093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11094 {
11095 PyThreadState* __tstate = wxPyBeginAllowThreads();
11096 (arg1)->SetPageSize(arg2);
11097
11098 wxPyEndAllowThreads(__tstate);
11099 if (PyErr_Occurred()) SWIG_fail;
11100 }
11101 Py_INCREF(Py_None); resultobj = Py_None;
11102 return resultobj;
11103 fail:
11104 return NULL;
11105 }
11106
11107
11108 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11109 PyObject *resultobj;
11110 wxSlider *arg1 = (wxSlider *) 0 ;
11111 int result;
11112 PyObject * obj0 = 0 ;
11113 char *kwnames[] = {
11114 (char *) "self", NULL
11115 };
11116
11117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
11118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11119 {
11120 PyThreadState* __tstate = wxPyBeginAllowThreads();
11121 result = (int)((wxSlider const *)arg1)->GetLineSize();
11122
11123 wxPyEndAllowThreads(__tstate);
11124 if (PyErr_Occurred()) SWIG_fail;
11125 }
11126 resultobj = PyInt_FromLong((long)result);
11127 return resultobj;
11128 fail:
11129 return NULL;
11130 }
11131
11132
11133 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11134 PyObject *resultobj;
11135 wxSlider *arg1 = (wxSlider *) 0 ;
11136 int result;
11137 PyObject * obj0 = 0 ;
11138 char *kwnames[] = {
11139 (char *) "self", NULL
11140 };
11141
11142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
11143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 result = (int)((wxSlider const *)arg1)->GetPageSize();
11147
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 resultobj = PyInt_FromLong((long)result);
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11159 PyObject *resultobj;
11160 wxSlider *arg1 = (wxSlider *) 0 ;
11161 int arg2 ;
11162 PyObject * obj0 = 0 ;
11163 char *kwnames[] = {
11164 (char *) "self",(char *) "lenPixels", NULL
11165 };
11166
11167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
11168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 (arg1)->SetThumbLength(arg2);
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 Py_INCREF(Py_None); resultobj = Py_None;
11177 return resultobj;
11178 fail:
11179 return NULL;
11180 }
11181
11182
11183 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject *resultobj;
11185 wxSlider *arg1 = (wxSlider *) 0 ;
11186 int result;
11187 PyObject * obj0 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 resultobj = PyInt_FromLong((long)result);
11202 return resultobj;
11203 fail:
11204 return NULL;
11205 }
11206
11207
11208 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj;
11210 wxSlider *arg1 = (wxSlider *) 0 ;
11211 int arg2 ;
11212 int arg3 ;
11213 PyObject * obj0 = 0 ;
11214 char *kwnames[] = {
11215 (char *) "self",(char *) "n",(char *) "pos", NULL
11216 };
11217
11218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 (arg1)->SetTickFreq(arg2,arg3);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 Py_INCREF(Py_None); resultobj = Py_None;
11228 return resultobj;
11229 fail:
11230 return NULL;
11231 }
11232
11233
11234 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxSlider *arg1 = (wxSlider *) 0 ;
11237 int result;
11238 PyObject * obj0 = 0 ;
11239 char *kwnames[] = {
11240 (char *) "self", NULL
11241 };
11242
11243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 resultobj = PyInt_FromLong((long)result);
11253 return resultobj;
11254 fail:
11255 return NULL;
11256 }
11257
11258
11259 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11260 PyObject *resultobj;
11261 wxSlider *arg1 = (wxSlider *) 0 ;
11262 PyObject * obj0 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self", NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 (arg1)->ClearTicks();
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 Py_INCREF(Py_None); resultobj = Py_None;
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxSlider *arg1 = (wxSlider *) 0 ;
11286 int arg2 ;
11287 PyObject * obj0 = 0 ;
11288 char *kwnames[] = {
11289 (char *) "self",(char *) "tickPos", NULL
11290 };
11291
11292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11294 {
11295 PyThreadState* __tstate = wxPyBeginAllowThreads();
11296 (arg1)->SetTick(arg2);
11297
11298 wxPyEndAllowThreads(__tstate);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 }
11301 Py_INCREF(Py_None); resultobj = Py_None;
11302 return resultobj;
11303 fail:
11304 return NULL;
11305 }
11306
11307
11308 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxSlider *arg1 = (wxSlider *) 0 ;
11311 PyObject * obj0 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 (arg1)->ClearSel();
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 Py_INCREF(Py_None); resultobj = Py_None;
11326 return resultobj;
11327 fail:
11328 return NULL;
11329 }
11330
11331
11332 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxSlider *arg1 = (wxSlider *) 0 ;
11335 int result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = PyInt_FromLong((long)result);
11351 return resultobj;
11352 fail:
11353 return NULL;
11354 }
11355
11356
11357 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxSlider *arg1 = (wxSlider *) 0 ;
11360 int result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (int)((wxSlider const *)arg1)->GetSelStart();
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 resultobj = PyInt_FromLong((long)result);
11376 return resultobj;
11377 fail:
11378 return NULL;
11379 }
11380
11381
11382 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11383 PyObject *resultobj;
11384 wxSlider *arg1 = (wxSlider *) 0 ;
11385 int arg2 ;
11386 int arg3 ;
11387 PyObject * obj0 = 0 ;
11388 char *kwnames[] = {
11389 (char *) "self",(char *) "min",(char *) "max", NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 (arg1)->SetSelection(arg2,arg3);
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 Py_INCREF(Py_None); resultobj = Py_None;
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11409 PyObject *obj;
11410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11412 Py_INCREF(obj);
11413 return Py_BuildValue((char *)"");
11414 }
11415 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11416 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11417 return 1;
11418 }
11419
11420
11421 static PyObject *_wrap_ToggleButtonNameStr_get() {
11422 PyObject *pyobj;
11423
11424 {
11425 #if wxUSE_UNICODE
11426 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11427 #else
11428 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11429 #endif
11430 }
11431 return pyobj;
11432 }
11433
11434
11435 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxWindow *arg1 = (wxWindow *) 0 ;
11438 int arg2 ;
11439 wxString *arg3 = 0 ;
11440 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11441 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11442 wxSize const &arg5_defvalue = wxDefaultSize ;
11443 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11444 long arg6 = (long) 0 ;
11445 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11446 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11447 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11448 wxString *arg8 = (wxString *) &arg8_defvalue ;
11449 wxToggleButton *result;
11450 bool temp3 = False ;
11451 wxPoint temp4 ;
11452 wxSize temp5 ;
11453 bool temp8 = False ;
11454 PyObject * obj0 = 0 ;
11455 PyObject * obj2 = 0 ;
11456 PyObject * obj3 = 0 ;
11457 PyObject * obj4 = 0 ;
11458 PyObject * obj6 = 0 ;
11459 PyObject * obj7 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11466 {
11467 arg3 = wxString_in_helper(obj2);
11468 if (arg3 == NULL) SWIG_fail;
11469 temp3 = True;
11470 }
11471 if (obj3) {
11472 {
11473 arg4 = &temp4;
11474 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11475 }
11476 }
11477 if (obj4) {
11478 {
11479 arg5 = &temp5;
11480 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11481 }
11482 }
11483 if (obj6) {
11484 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11485 if (arg7 == NULL) {
11486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11487 }
11488 }
11489 if (obj7) {
11490 {
11491 arg8 = wxString_in_helper(obj7);
11492 if (arg8 == NULL) SWIG_fail;
11493 temp8 = True;
11494 }
11495 }
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11504 {
11505 if (temp3)
11506 delete arg3;
11507 }
11508 {
11509 if (temp8)
11510 delete arg8;
11511 }
11512 return resultobj;
11513 fail:
11514 {
11515 if (temp3)
11516 delete arg3;
11517 }
11518 {
11519 if (temp8)
11520 delete arg8;
11521 }
11522 return NULL;
11523 }
11524
11525
11526 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11527 PyObject *resultobj;
11528 wxToggleButton *result;
11529 char *kwnames[] = {
11530 NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11534 {
11535 PyThreadState* __tstate = wxPyBeginAllowThreads();
11536 result = (wxToggleButton *)new wxToggleButton();
11537
11538 wxPyEndAllowThreads(__tstate);
11539 if (PyErr_Occurred()) SWIG_fail;
11540 }
11541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11542 return resultobj;
11543 fail:
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11551 wxWindow *arg2 = (wxWindow *) 0 ;
11552 int arg3 ;
11553 wxString *arg4 = 0 ;
11554 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11555 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11556 wxSize const &arg6_defvalue = wxDefaultSize ;
11557 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11558 long arg7 = (long) 0 ;
11559 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11560 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11561 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11562 wxString *arg9 = (wxString *) &arg9_defvalue ;
11563 bool result;
11564 bool temp4 = False ;
11565 wxPoint temp5 ;
11566 wxSize temp6 ;
11567 bool temp9 = False ;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 PyObject * obj3 = 0 ;
11571 PyObject * obj4 = 0 ;
11572 PyObject * obj5 = 0 ;
11573 PyObject * obj7 = 0 ;
11574 PyObject * obj8 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 {
11583 arg4 = wxString_in_helper(obj3);
11584 if (arg4 == NULL) SWIG_fail;
11585 temp4 = True;
11586 }
11587 if (obj4) {
11588 {
11589 arg5 = &temp5;
11590 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11591 }
11592 }
11593 if (obj5) {
11594 {
11595 arg6 = &temp6;
11596 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11597 }
11598 }
11599 if (obj7) {
11600 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11601 if (arg8 == NULL) {
11602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11603 }
11604 }
11605 if (obj8) {
11606 {
11607 arg9 = wxString_in_helper(obj8);
11608 if (arg9 == NULL) SWIG_fail;
11609 temp9 = True;
11610 }
11611 }
11612 {
11613 PyThreadState* __tstate = wxPyBeginAllowThreads();
11614 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11615
11616 wxPyEndAllowThreads(__tstate);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 }
11619 resultobj = PyInt_FromLong((long)result);
11620 {
11621 if (temp4)
11622 delete arg4;
11623 }
11624 {
11625 if (temp9)
11626 delete arg9;
11627 }
11628 return resultobj;
11629 fail:
11630 {
11631 if (temp4)
11632 delete arg4;
11633 }
11634 {
11635 if (temp9)
11636 delete arg9;
11637 }
11638 return NULL;
11639 }
11640
11641
11642 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11643 PyObject *resultobj;
11644 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11645 bool arg2 ;
11646 PyObject * obj0 = 0 ;
11647 PyObject * obj1 = 0 ;
11648 char *kwnames[] = {
11649 (char *) "self",(char *) "value", NULL
11650 };
11651
11652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11654 {
11655 arg2 = (bool) SPyObj_AsBool(obj1);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 {
11659 PyThreadState* __tstate = wxPyBeginAllowThreads();
11660 (arg1)->SetValue(arg2);
11661
11662 wxPyEndAllowThreads(__tstate);
11663 if (PyErr_Occurred()) SWIG_fail;
11664 }
11665 Py_INCREF(Py_None); resultobj = Py_None;
11666 return resultobj;
11667 fail:
11668 return NULL;
11669 }
11670
11671
11672 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11673 PyObject *resultobj;
11674 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11675 bool result;
11676 PyObject * obj0 = 0 ;
11677 char *kwnames[] = {
11678 (char *) "self", NULL
11679 };
11680
11681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11683 {
11684 PyThreadState* __tstate = wxPyBeginAllowThreads();
11685 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11686
11687 wxPyEndAllowThreads(__tstate);
11688 if (PyErr_Occurred()) SWIG_fail;
11689 }
11690 resultobj = PyInt_FromLong((long)result);
11691 return resultobj;
11692 fail:
11693 return NULL;
11694 }
11695
11696
11697 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj;
11699 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11700 wxString *arg2 = 0 ;
11701 bool temp2 = False ;
11702 PyObject * obj0 = 0 ;
11703 PyObject * obj1 = 0 ;
11704 char *kwnames[] = {
11705 (char *) "self",(char *) "label", NULL
11706 };
11707
11708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11710 {
11711 arg2 = wxString_in_helper(obj1);
11712 if (arg2 == NULL) SWIG_fail;
11713 temp2 = True;
11714 }
11715 {
11716 PyThreadState* __tstate = wxPyBeginAllowThreads();
11717 (arg1)->SetLabel((wxString const &)*arg2);
11718
11719 wxPyEndAllowThreads(__tstate);
11720 if (PyErr_Occurred()) SWIG_fail;
11721 }
11722 Py_INCREF(Py_None); resultobj = Py_None;
11723 {
11724 if (temp2)
11725 delete arg2;
11726 }
11727 return resultobj;
11728 fail:
11729 {
11730 if (temp2)
11731 delete arg2;
11732 }
11733 return NULL;
11734 }
11735
11736
11737 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11738 PyObject *obj;
11739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11740 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11741 Py_INCREF(obj);
11742 return Py_BuildValue((char *)"");
11743 }
11744 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11745 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11746 return 1;
11747 }
11748
11749
11750 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11751 PyObject *pyobj;
11752
11753 {
11754 #if wxUSE_UNICODE
11755 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11756 #else
11757 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11758 #endif
11759 }
11760 return pyobj;
11761 }
11762
11763
11764 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11765 PyObject *resultobj;
11766 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11767 size_t result;
11768 PyObject * obj0 = 0 ;
11769 char *kwnames[] = {
11770 (char *) "self", NULL
11771 };
11772
11773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 {
11776 PyThreadState* __tstate = wxPyBeginAllowThreads();
11777 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11778
11779 wxPyEndAllowThreads(__tstate);
11780 if (PyErr_Occurred()) SWIG_fail;
11781 }
11782 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
11783 return resultobj;
11784 fail:
11785 return NULL;
11786 }
11787
11788
11789 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11792 size_t arg2 ;
11793 wxWindow *result;
11794 PyObject * obj0 = 0 ;
11795 PyObject * obj1 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "n", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11802 {
11803 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxWindow *)(arg1)->GetPage(arg2);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 resultobj = wxPyMake_wxObject(result);
11815 }
11816 return resultobj;
11817 fail:
11818 return NULL;
11819 }
11820
11821
11822 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11823 PyObject *resultobj;
11824 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11825 int result;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
11840 resultobj = PyInt_FromLong((long)result);
11841 return resultobj;
11842 fail:
11843 return NULL;
11844 }
11845
11846
11847 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11848 PyObject *resultobj;
11849 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11850 size_t arg2 ;
11851 wxString *arg3 = 0 ;
11852 bool result;
11853 bool temp3 = False ;
11854 PyObject * obj0 = 0 ;
11855 PyObject * obj1 = 0 ;
11856 PyObject * obj2 = 0 ;
11857 char *kwnames[] = {
11858 (char *) "self",(char *) "n",(char *) "strText", NULL
11859 };
11860
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863 {
11864 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11865 if (PyErr_Occurred()) SWIG_fail;
11866 }
11867 {
11868 arg3 = wxString_in_helper(obj2);
11869 if (arg3 == NULL) SWIG_fail;
11870 temp3 = True;
11871 }
11872 {
11873 PyThreadState* __tstate = wxPyBeginAllowThreads();
11874 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11875
11876 wxPyEndAllowThreads(__tstate);
11877 if (PyErr_Occurred()) SWIG_fail;
11878 }
11879 resultobj = PyInt_FromLong((long)result);
11880 {
11881 if (temp3)
11882 delete arg3;
11883 }
11884 return resultobj;
11885 fail:
11886 {
11887 if (temp3)
11888 delete arg3;
11889 }
11890 return NULL;
11891 }
11892
11893
11894 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11897 size_t arg2 ;
11898 wxString result;
11899 PyObject * obj0 = 0 ;
11900 PyObject * obj1 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "n", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11907 {
11908 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11909 if (PyErr_Occurred()) SWIG_fail;
11910 }
11911 {
11912 PyThreadState* __tstate = wxPyBeginAllowThreads();
11913 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11914
11915 wxPyEndAllowThreads(__tstate);
11916 if (PyErr_Occurred()) SWIG_fail;
11917 }
11918 {
11919 #if wxUSE_UNICODE
11920 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11921 #else
11922 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11923 #endif
11924 }
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11934 wxImageList *arg2 = (wxImageList *) 0 ;
11935 PyObject * obj0 = 0 ;
11936 PyObject * obj1 = 0 ;
11937 char *kwnames[] = {
11938 (char *) "self",(char *) "imageList", NULL
11939 };
11940
11941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->SetImageList(arg2);
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 Py_INCREF(Py_None); resultobj = Py_None;
11952 return resultobj;
11953 fail:
11954 return NULL;
11955 }
11956
11957
11958 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11959 PyObject *resultobj;
11960 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11961 wxImageList *arg2 = (wxImageList *) 0 ;
11962 PyObject * obj0 = 0 ;
11963 PyObject * obj1 = 0 ;
11964 char *kwnames[] = {
11965 (char *) "self",(char *) "imageList", NULL
11966 };
11967
11968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11970 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 (arg1)->AssignImageList(arg2);
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 Py_INCREF(Py_None); resultobj = Py_None;
11979 return resultobj;
11980 fail:
11981 return NULL;
11982 }
11983
11984
11985 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11988 wxImageList *result;
11989 PyObject * obj0 = 0 ;
11990 char *kwnames[] = {
11991 (char *) "self", NULL
11992 };
11993
11994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11996 {
11997 PyThreadState* __tstate = wxPyBeginAllowThreads();
11998 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11999
12000 wxPyEndAllowThreads(__tstate);
12001 if (PyErr_Occurred()) SWIG_fail;
12002 }
12003 {
12004 resultobj = wxPyMake_wxObject(result);
12005 }
12006 return resultobj;
12007 fail:
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12015 size_t arg2 ;
12016 int result;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "n", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 {
12026 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 resultobj = PyInt_FromLong((long)result);
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12046 size_t arg2 ;
12047 int arg3 ;
12048 bool result;
12049 PyObject * obj0 = 0 ;
12050 PyObject * obj1 = 0 ;
12051 char *kwnames[] = {
12052 (char *) "self",(char *) "n",(char *) "imageId", NULL
12053 };
12054
12055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
12056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12057 {
12058 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (bool)(arg1)->SetPageImage(arg2,arg3);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = PyInt_FromLong((long)result);
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12076 PyObject *resultobj;
12077 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12078 wxSize *arg2 = 0 ;
12079 wxSize temp2 ;
12080 PyObject * obj0 = 0 ;
12081 PyObject * obj1 = 0 ;
12082 char *kwnames[] = {
12083 (char *) "self",(char *) "size", NULL
12084 };
12085
12086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12088 {
12089 arg2 = &temp2;
12090 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12091 }
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 (arg1)->SetPageSize((wxSize const &)*arg2);
12095
12096 wxPyEndAllowThreads(__tstate);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 }
12099 Py_INCREF(Py_None); resultobj = Py_None;
12100 return resultobj;
12101 fail:
12102 return NULL;
12103 }
12104
12105
12106 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12107 PyObject *resultobj;
12108 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12109 wxSize *arg2 = 0 ;
12110 wxSize result;
12111 wxSize temp2 ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "sizePage", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 arg2 = &temp2;
12122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12123 }
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 {
12132 wxSize * resultptr;
12133 resultptr = new wxSize((wxSize &) result);
12134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12135 }
12136 return resultobj;
12137 fail:
12138 return NULL;
12139 }
12140
12141
12142 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12143 PyObject *resultobj;
12144 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12145 size_t arg2 ;
12146 bool result;
12147 PyObject * obj0 = 0 ;
12148 PyObject * obj1 = 0 ;
12149 char *kwnames[] = {
12150 (char *) "self",(char *) "n", NULL
12151 };
12152
12153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
12154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12155 {
12156 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12157 if (PyErr_Occurred()) SWIG_fail;
12158 }
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 result = (bool)(arg1)->DeletePage(arg2);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 resultobj = PyInt_FromLong((long)result);
12167 return resultobj;
12168 fail:
12169 return NULL;
12170 }
12171
12172
12173 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12174 PyObject *resultobj;
12175 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12176 size_t arg2 ;
12177 bool result;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "n", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
12185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12186 {
12187 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (bool)(arg1)->RemovePage(arg2);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = PyInt_FromLong((long)result);
12198 return resultobj;
12199 fail:
12200 return NULL;
12201 }
12202
12203
12204 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj;
12206 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12207 bool result;
12208 PyObject * obj0 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
12214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (bool)(arg1)->DeleteAllPages();
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 resultobj = PyInt_FromLong((long)result);
12223 return resultobj;
12224 fail:
12225 return NULL;
12226 }
12227
12228
12229 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12232 wxWindow *arg2 = (wxWindow *) 0 ;
12233 wxString *arg3 = 0 ;
12234 bool arg4 = (bool) False ;
12235 int arg5 = (int) -1 ;
12236 bool result;
12237 bool temp3 = False ;
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
12240 PyObject * obj2 = 0 ;
12241 PyObject * obj3 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12249 {
12250 arg3 = wxString_in_helper(obj2);
12251 if (arg3 == NULL) SWIG_fail;
12252 temp3 = True;
12253 }
12254 if (obj3) {
12255 {
12256 arg4 = (bool) SPyObj_AsBool(obj3);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = PyInt_FromLong((long)result);
12268 {
12269 if (temp3)
12270 delete arg3;
12271 }
12272 return resultobj;
12273 fail:
12274 {
12275 if (temp3)
12276 delete arg3;
12277 }
12278 return NULL;
12279 }
12280
12281
12282 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12285 size_t arg2 ;
12286 wxWindow *arg3 = (wxWindow *) 0 ;
12287 wxString *arg4 = 0 ;
12288 bool arg5 = (bool) False ;
12289 int arg6 = (int) -1 ;
12290 bool result;
12291 bool temp4 = False ;
12292 PyObject * obj0 = 0 ;
12293 PyObject * obj1 = 0 ;
12294 PyObject * obj2 = 0 ;
12295 PyObject * obj3 = 0 ;
12296 PyObject * obj4 = 0 ;
12297 char *kwnames[] = {
12298 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12299 };
12300
12301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
12302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12303 {
12304 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 arg4 = wxString_in_helper(obj3);
12310 if (arg4 == NULL) SWIG_fail;
12311 temp4 = True;
12312 }
12313 if (obj4) {
12314 {
12315 arg5 = (bool) SPyObj_AsBool(obj4);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 }
12319 {
12320 PyThreadState* __tstate = wxPyBeginAllowThreads();
12321 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12322
12323 wxPyEndAllowThreads(__tstate);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 }
12326 resultobj = PyInt_FromLong((long)result);
12327 {
12328 if (temp4)
12329 delete arg4;
12330 }
12331 return resultobj;
12332 fail:
12333 {
12334 if (temp4)
12335 delete arg4;
12336 }
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12344 size_t arg2 ;
12345 int result;
12346 PyObject * obj0 = 0 ;
12347 PyObject * obj1 = 0 ;
12348 char *kwnames[] = {
12349 (char *) "self",(char *) "n", NULL
12350 };
12351
12352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12354 {
12355 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12356 if (PyErr_Occurred()) SWIG_fail;
12357 }
12358 {
12359 PyThreadState* __tstate = wxPyBeginAllowThreads();
12360 result = (int)(arg1)->SetSelection(arg2);
12361
12362 wxPyEndAllowThreads(__tstate);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 }
12365 resultobj = PyInt_FromLong((long)result);
12366 return resultobj;
12367 fail:
12368 return NULL;
12369 }
12370
12371
12372 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12373 PyObject *resultobj;
12374 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12375 bool arg2 = (bool) True ;
12376 PyObject * obj0 = 0 ;
12377 PyObject * obj1 = 0 ;
12378 char *kwnames[] = {
12379 (char *) "self",(char *) "forward", NULL
12380 };
12381
12382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12384 if (obj1) {
12385 {
12386 arg2 = (bool) SPyObj_AsBool(obj1);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 }
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 (arg1)->AdvanceSelection(arg2);
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 Py_INCREF(Py_None); resultobj = Py_None;
12398 return resultobj;
12399 fail:
12400 return NULL;
12401 }
12402
12403
12404 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12405 PyObject *obj;
12406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12407 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12408 Py_INCREF(obj);
12409 return Py_BuildValue((char *)"");
12410 }
12411 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12412 PyObject *resultobj;
12413 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12414 int arg2 = (int) 0 ;
12415 int arg3 = (int) -1 ;
12416 int arg4 = (int) -1 ;
12417 wxBookCtrlEvent *result;
12418 char *kwnames[] = {
12419 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12423 {
12424 PyThreadState* __tstate = wxPyBeginAllowThreads();
12425 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12426
12427 wxPyEndAllowThreads(__tstate);
12428 if (PyErr_Occurred()) SWIG_fail;
12429 }
12430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12431 return resultobj;
12432 fail:
12433 return NULL;
12434 }
12435
12436
12437 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12438 PyObject *resultobj;
12439 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12440 int result;
12441 PyObject * obj0 = 0 ;
12442 char *kwnames[] = {
12443 (char *) "self", NULL
12444 };
12445
12446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
12455 resultobj = PyInt_FromLong((long)result);
12456 return resultobj;
12457 fail:
12458 return NULL;
12459 }
12460
12461
12462 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12465 int arg2 ;
12466 PyObject * obj0 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "nSel", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12473 {
12474 PyThreadState* __tstate = wxPyBeginAllowThreads();
12475 (arg1)->SetSelection(arg2);
12476
12477 wxPyEndAllowThreads(__tstate);
12478 if (PyErr_Occurred()) SWIG_fail;
12479 }
12480 Py_INCREF(Py_None); resultobj = Py_None;
12481 return resultobj;
12482 fail:
12483 return NULL;
12484 }
12485
12486
12487 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12488 PyObject *resultobj;
12489 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12490 int result;
12491 PyObject * obj0 = 0 ;
12492 char *kwnames[] = {
12493 (char *) "self", NULL
12494 };
12495
12496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12498 {
12499 PyThreadState* __tstate = wxPyBeginAllowThreads();
12500 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12501
12502 wxPyEndAllowThreads(__tstate);
12503 if (PyErr_Occurred()) SWIG_fail;
12504 }
12505 resultobj = PyInt_FromLong((long)result);
12506 return resultobj;
12507 fail:
12508 return NULL;
12509 }
12510
12511
12512 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12513 PyObject *resultobj;
12514 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12515 int arg2 ;
12516 PyObject * obj0 = 0 ;
12517 char *kwnames[] = {
12518 (char *) "self",(char *) "nOldSel", NULL
12519 };
12520
12521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12523 {
12524 PyThreadState* __tstate = wxPyBeginAllowThreads();
12525 (arg1)->SetOldSelection(arg2);
12526
12527 wxPyEndAllowThreads(__tstate);
12528 if (PyErr_Occurred()) SWIG_fail;
12529 }
12530 Py_INCREF(Py_None); resultobj = Py_None;
12531 return resultobj;
12532 fail:
12533 return NULL;
12534 }
12535
12536
12537 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12538 PyObject *obj;
12539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12540 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12541 Py_INCREF(obj);
12542 return Py_BuildValue((char *)"");
12543 }
12544 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12545 PyObject *resultobj;
12546 wxWindow *arg1 = (wxWindow *) 0 ;
12547 int arg2 ;
12548 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12549 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12550 wxSize const &arg4_defvalue = wxDefaultSize ;
12551 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12552 long arg5 = (long) 0 ;
12553 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12554 wxString *arg6 = (wxString *) &arg6_defvalue ;
12555 wxNotebook *result;
12556 wxPoint temp3 ;
12557 wxSize temp4 ;
12558 bool temp6 = False ;
12559 PyObject * obj0 = 0 ;
12560 PyObject * obj2 = 0 ;
12561 PyObject * obj3 = 0 ;
12562 PyObject * obj5 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 if (obj2) {
12570 {
12571 arg3 = &temp3;
12572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12573 }
12574 }
12575 if (obj3) {
12576 {
12577 arg4 = &temp4;
12578 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12579 }
12580 }
12581 if (obj5) {
12582 {
12583 arg6 = wxString_in_helper(obj5);
12584 if (arg6 == NULL) SWIG_fail;
12585 temp6 = True;
12586 }
12587 }
12588 {
12589 PyThreadState* __tstate = wxPyBeginAllowThreads();
12590 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12591
12592 wxPyEndAllowThreads(__tstate);
12593 if (PyErr_Occurred()) SWIG_fail;
12594 }
12595 {
12596 resultobj = wxPyMake_wxObject(result);
12597 }
12598 {
12599 if (temp6)
12600 delete arg6;
12601 }
12602 return resultobj;
12603 fail:
12604 {
12605 if (temp6)
12606 delete arg6;
12607 }
12608 return NULL;
12609 }
12610
12611
12612 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12613 PyObject *resultobj;
12614 wxNotebook *result;
12615 char *kwnames[] = {
12616 NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12620 {
12621 PyThreadState* __tstate = wxPyBeginAllowThreads();
12622 result = (wxNotebook *)new wxNotebook();
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 {
12628 resultobj = wxPyMake_wxObject(result);
12629 }
12630 return resultobj;
12631 fail:
12632 return NULL;
12633 }
12634
12635
12636 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12637 PyObject *resultobj;
12638 wxNotebook *arg1 = (wxNotebook *) 0 ;
12639 wxWindow *arg2 = (wxWindow *) 0 ;
12640 int arg3 ;
12641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12643 wxSize const &arg5_defvalue = wxDefaultSize ;
12644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12645 long arg6 = (long) 0 ;
12646 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12647 wxString *arg7 = (wxString *) &arg7_defvalue ;
12648 bool result;
12649 wxPoint temp4 ;
12650 wxSize temp5 ;
12651 bool temp7 = False ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 PyObject * obj3 = 0 ;
12655 PyObject * obj4 = 0 ;
12656 PyObject * obj6 = 0 ;
12657 char *kwnames[] = {
12658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12659 };
12660
12661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12664 if (obj3) {
12665 {
12666 arg4 = &temp4;
12667 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12668 }
12669 }
12670 if (obj4) {
12671 {
12672 arg5 = &temp5;
12673 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12674 }
12675 }
12676 if (obj6) {
12677 {
12678 arg7 = wxString_in_helper(obj6);
12679 if (arg7 == NULL) SWIG_fail;
12680 temp7 = True;
12681 }
12682 }
12683 {
12684 PyThreadState* __tstate = wxPyBeginAllowThreads();
12685 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12686
12687 wxPyEndAllowThreads(__tstate);
12688 if (PyErr_Occurred()) SWIG_fail;
12689 }
12690 resultobj = PyInt_FromLong((long)result);
12691 {
12692 if (temp7)
12693 delete arg7;
12694 }
12695 return resultobj;
12696 fail:
12697 {
12698 if (temp7)
12699 delete arg7;
12700 }
12701 return NULL;
12702 }
12703
12704
12705 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12706 PyObject *resultobj;
12707 wxNotebook *arg1 = (wxNotebook *) 0 ;
12708 int result;
12709 PyObject * obj0 = 0 ;
12710 char *kwnames[] = {
12711 (char *) "self", NULL
12712 };
12713
12714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = PyInt_FromLong((long)result);
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxNotebook *arg1 = (wxNotebook *) 0 ;
12733 wxSize *arg2 = 0 ;
12734 wxSize temp2 ;
12735 PyObject * obj0 = 0 ;
12736 PyObject * obj1 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self",(char *) "padding", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12743 {
12744 arg2 = &temp2;
12745 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12746 }
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 (arg1)->SetPadding((wxSize const &)*arg2);
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 Py_INCREF(Py_None); resultobj = Py_None;
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxNotebook *arg1 = (wxNotebook *) 0 ;
12764 wxSize *arg2 = 0 ;
12765 wxSize temp2 ;
12766 PyObject * obj0 = 0 ;
12767 PyObject * obj1 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self",(char *) "sz", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12774 {
12775 arg2 = &temp2;
12776 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12777 }
12778 {
12779 PyThreadState* __tstate = wxPyBeginAllowThreads();
12780 (arg1)->SetTabSize((wxSize const &)*arg2);
12781
12782 wxPyEndAllowThreads(__tstate);
12783 if (PyErr_Occurred()) SWIG_fail;
12784 }
12785 Py_INCREF(Py_None); resultobj = Py_None;
12786 return resultobj;
12787 fail:
12788 return NULL;
12789 }
12790
12791
12792 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12793 PyObject *resultobj;
12794 wxNotebook *arg1 = (wxNotebook *) 0 ;
12795 wxPoint *arg2 = 0 ;
12796 long *arg3 = (long *) 0 ;
12797 int result;
12798 wxPoint temp2 ;
12799 long temp3 ;
12800 PyObject * obj0 = 0 ;
12801 PyObject * obj1 = 0 ;
12802 char *kwnames[] = {
12803 (char *) "self",(char *) "pt", NULL
12804 };
12805
12806 arg3 = &temp3;
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12809 {
12810 arg2 = &temp2;
12811 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12812 }
12813 {
12814 PyThreadState* __tstate = wxPyBeginAllowThreads();
12815 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12816
12817 wxPyEndAllowThreads(__tstate);
12818 if (PyErr_Occurred()) SWIG_fail;
12819 }
12820 resultobj = PyInt_FromLong((long)result);
12821 {
12822 PyObject *o = PyInt_FromLong((long) (*arg3));
12823 resultobj = t_output_helper(resultobj,o);
12824 }
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxNotebook *arg1 = (wxNotebook *) 0 ;
12834 wxSize *arg2 = 0 ;
12835 wxSize result;
12836 wxSize temp2 ;
12837 PyObject * obj0 = 0 ;
12838 PyObject * obj1 = 0 ;
12839 char *kwnames[] = {
12840 (char *) "self",(char *) "sizePage", NULL
12841 };
12842
12843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12845 {
12846 arg2 = &temp2;
12847 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12848 }
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 {
12857 wxSize * resultptr;
12858 resultptr = new wxSize((wxSize &) result);
12859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12860 }
12861 return resultobj;
12862 fail:
12863 return NULL;
12864 }
12865
12866
12867 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxNotebook *arg1 = (wxNotebook *) 0 ;
12870 wxWindow *arg2 = (wxWindow *) 0 ;
12871 wxColour *arg3 = 0 ;
12872 wxColour temp3 ;
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 PyObject * obj2 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self",(char *) "window",(char *) "colour", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12883 {
12884 arg3 = &temp3;
12885 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12886 }
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 Py_INCREF(Py_None); resultobj = Py_None;
12895 return resultobj;
12896 fail:
12897 return NULL;
12898 }
12899
12900
12901 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12902 PyObject *obj;
12903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12905 Py_INCREF(obj);
12906 return Py_BuildValue((char *)"");
12907 }
12908 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12909 PyObject *resultobj;
12910 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12911 int arg2 = (int) 0 ;
12912 int arg3 = (int) -1 ;
12913 int arg4 = (int) -1 ;
12914 wxNotebookEvent *result;
12915 char *kwnames[] = {
12916 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12920 {
12921 PyThreadState* __tstate = wxPyBeginAllowThreads();
12922 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12923
12924 wxPyEndAllowThreads(__tstate);
12925 if (PyErr_Occurred()) SWIG_fail;
12926 }
12927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12928 return resultobj;
12929 fail:
12930 return NULL;
12931 }
12932
12933
12934 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12935 PyObject *obj;
12936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12937 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12938 Py_INCREF(obj);
12939 return Py_BuildValue((char *)"");
12940 }
12941 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxWindow *arg1 = (wxWindow *) 0 ;
12944 int arg2 ;
12945 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12946 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12947 wxSize const &arg4_defvalue = wxDefaultSize ;
12948 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12949 long arg5 = (long) 0 ;
12950 wxString const &arg6_defvalue = wxPyEmptyString ;
12951 wxString *arg6 = (wxString *) &arg6_defvalue ;
12952 wxListbook *result;
12953 wxPoint temp3 ;
12954 wxSize temp4 ;
12955 bool temp6 = False ;
12956 PyObject * obj0 = 0 ;
12957 PyObject * obj2 = 0 ;
12958 PyObject * obj3 = 0 ;
12959 PyObject * obj5 = 0 ;
12960 char *kwnames[] = {
12961 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12962 };
12963
12964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12966 if (obj2) {
12967 {
12968 arg3 = &temp3;
12969 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12970 }
12971 }
12972 if (obj3) {
12973 {
12974 arg4 = &temp4;
12975 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12976 }
12977 }
12978 if (obj5) {
12979 {
12980 arg6 = wxString_in_helper(obj5);
12981 if (arg6 == NULL) SWIG_fail;
12982 temp6 = True;
12983 }
12984 }
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12993 {
12994 if (temp6)
12995 delete arg6;
12996 }
12997 return resultobj;
12998 fail:
12999 {
13000 if (temp6)
13001 delete arg6;
13002 }
13003 return NULL;
13004 }
13005
13006
13007 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxListbook *result;
13010 char *kwnames[] = {
13011 NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (wxListbook *)new wxListbook();
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
13023 return resultobj;
13024 fail:
13025 return NULL;
13026 }
13027
13028
13029 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxListbook *arg1 = (wxListbook *) 0 ;
13032 wxWindow *arg2 = (wxWindow *) 0 ;
13033 int arg3 ;
13034 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13035 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13036 wxSize const &arg5_defvalue = wxDefaultSize ;
13037 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13038 long arg6 = (long) 0 ;
13039 wxString const &arg7_defvalue = wxPyEmptyString ;
13040 wxString *arg7 = (wxString *) &arg7_defvalue ;
13041 bool result;
13042 wxPoint temp4 ;
13043 wxSize temp5 ;
13044 bool temp7 = False ;
13045 PyObject * obj0 = 0 ;
13046 PyObject * obj1 = 0 ;
13047 PyObject * obj3 = 0 ;
13048 PyObject * obj4 = 0 ;
13049 PyObject * obj6 = 0 ;
13050 char *kwnames[] = {
13051 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13052 };
13053
13054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
13055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13056 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13057 if (obj3) {
13058 {
13059 arg4 = &temp4;
13060 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13061 }
13062 }
13063 if (obj4) {
13064 {
13065 arg5 = &temp5;
13066 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13067 }
13068 }
13069 if (obj6) {
13070 {
13071 arg7 = wxString_in_helper(obj6);
13072 if (arg7 == NULL) SWIG_fail;
13073 temp7 = True;
13074 }
13075 }
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13079
13080 wxPyEndAllowThreads(__tstate);
13081 if (PyErr_Occurred()) SWIG_fail;
13082 }
13083 resultobj = PyInt_FromLong((long)result);
13084 {
13085 if (temp7)
13086 delete arg7;
13087 }
13088 return resultobj;
13089 fail:
13090 {
13091 if (temp7)
13092 delete arg7;
13093 }
13094 return NULL;
13095 }
13096
13097
13098 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 wxListbook *arg1 = (wxListbook *) 0 ;
13101 bool result;
13102 PyObject * obj0 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "self", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
13108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (bool)((wxListbook const *)arg1)->IsVertical();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 resultobj = PyInt_FromLong((long)result);
13117 return resultobj;
13118 fail:
13119 return NULL;
13120 }
13121
13122
13123 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
13124 PyObject *obj;
13125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13126 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
13127 Py_INCREF(obj);
13128 return Py_BuildValue((char *)"");
13129 }
13130 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13131 PyObject *resultobj;
13132 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13133 int arg2 = (int) 0 ;
13134 int arg3 = (int) -1 ;
13135 int arg4 = (int) -1 ;
13136 wxListbookEvent *result;
13137 char *kwnames[] = {
13138 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
13142 {
13143 PyThreadState* __tstate = wxPyBeginAllowThreads();
13144 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
13145
13146 wxPyEndAllowThreads(__tstate);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 }
13149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
13150 return resultobj;
13151 fail:
13152 return NULL;
13153 }
13154
13155
13156 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
13157 PyObject *obj;
13158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13159 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
13160 Py_INCREF(obj);
13161 return Py_BuildValue((char *)"");
13162 }
13163 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13164 PyObject *resultobj;
13165 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13166 wxBookCtrlSizer *result;
13167 PyObject * obj0 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "nb", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
13173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13191 PyObject * obj0 = 0 ;
13192 char *kwnames[] = {
13193 (char *) "self", NULL
13194 };
13195
13196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13198 {
13199 PyThreadState* __tstate = wxPyBeginAllowThreads();
13200 (arg1)->RecalcSizes();
13201
13202 wxPyEndAllowThreads(__tstate);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 }
13205 Py_INCREF(Py_None); resultobj = Py_None;
13206 return resultobj;
13207 fail:
13208 return NULL;
13209 }
13210
13211
13212 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13213 PyObject *resultobj;
13214 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13215 wxSize result;
13216 PyObject * obj0 = 0 ;
13217 char *kwnames[] = {
13218 (char *) "self", NULL
13219 };
13220
13221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
13222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13223 {
13224 PyThreadState* __tstate = wxPyBeginAllowThreads();
13225 result = (arg1)->CalcMin();
13226
13227 wxPyEndAllowThreads(__tstate);
13228 if (PyErr_Occurred()) SWIG_fail;
13229 }
13230 {
13231 wxSize * resultptr;
13232 resultptr = new wxSize((wxSize &) result);
13233 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13234 }
13235 return resultobj;
13236 fail:
13237 return NULL;
13238 }
13239
13240
13241 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13244 wxBookCtrl *result;
13245 PyObject * obj0 = 0 ;
13246 char *kwnames[] = {
13247 (char *) "self", NULL
13248 };
13249
13250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
13251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13252 {
13253 PyThreadState* __tstate = wxPyBeginAllowThreads();
13254 result = (wxBookCtrl *)(arg1)->GetControl();
13255
13256 wxPyEndAllowThreads(__tstate);
13257 if (PyErr_Occurred()) SWIG_fail;
13258 }
13259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
13260 return resultobj;
13261 fail:
13262 return NULL;
13263 }
13264
13265
13266 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
13267 PyObject *obj;
13268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13269 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
13270 Py_INCREF(obj);
13271 return Py_BuildValue((char *)"");
13272 }
13273 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxNotebook *arg1 = (wxNotebook *) 0 ;
13276 wxNotebookSizer *result;
13277 PyObject * obj0 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "nb", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 {
13285 PyThreadState* __tstate = wxPyBeginAllowThreads();
13286 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
13287
13288 wxPyEndAllowThreads(__tstate);
13289 if (PyErr_Occurred()) SWIG_fail;
13290 }
13291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
13292 return resultobj;
13293 fail:
13294 return NULL;
13295 }
13296
13297
13298 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13299 PyObject *resultobj;
13300 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13301 PyObject * obj0 = 0 ;
13302 char *kwnames[] = {
13303 (char *) "self", NULL
13304 };
13305
13306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 (arg1)->RecalcSizes();
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 Py_INCREF(Py_None); resultobj = Py_None;
13316 return resultobj;
13317 fail:
13318 return NULL;
13319 }
13320
13321
13322 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13325 wxSize result;
13326 PyObject * obj0 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
13332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13333 {
13334 PyThreadState* __tstate = wxPyBeginAllowThreads();
13335 result = (arg1)->CalcMin();
13336
13337 wxPyEndAllowThreads(__tstate);
13338 if (PyErr_Occurred()) SWIG_fail;
13339 }
13340 {
13341 wxSize * resultptr;
13342 resultptr = new wxSize((wxSize &) result);
13343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13344 }
13345 return resultobj;
13346 fail:
13347 return NULL;
13348 }
13349
13350
13351 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13352 PyObject *resultobj;
13353 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13354 wxNotebook *result;
13355 PyObject * obj0 = 0 ;
13356 char *kwnames[] = {
13357 (char *) "self", NULL
13358 };
13359
13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (wxNotebook *)(arg1)->GetNotebook();
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 {
13370 resultobj = wxPyMake_wxObject(result);
13371 }
13372 return resultobj;
13373 fail:
13374 return NULL;
13375 }
13376
13377
13378 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13379 PyObject *obj;
13380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13381 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13382 Py_INCREF(obj);
13383 return Py_BuildValue((char *)"");
13384 }
13385 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13386 PyObject *resultobj;
13387 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13388 int result;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 {
13397 PyThreadState* __tstate = wxPyBeginAllowThreads();
13398 result = (int)(arg1)->GetId();
13399
13400 wxPyEndAllowThreads(__tstate);
13401 if (PyErr_Occurred()) SWIG_fail;
13402 }
13403 resultobj = PyInt_FromLong((long)result);
13404 return resultobj;
13405 fail:
13406 return NULL;
13407 }
13408
13409
13410 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13411 PyObject *resultobj;
13412 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13413 wxControl *result;
13414 PyObject * obj0 = 0 ;
13415 char *kwnames[] = {
13416 (char *) "self", NULL
13417 };
13418
13419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13421 {
13422 PyThreadState* __tstate = wxPyBeginAllowThreads();
13423 result = (wxControl *)(arg1)->GetControl();
13424
13425 wxPyEndAllowThreads(__tstate);
13426 if (PyErr_Occurred()) SWIG_fail;
13427 }
13428 {
13429 resultobj = wxPyMake_wxObject(result);
13430 }
13431 return resultobj;
13432 fail:
13433 return NULL;
13434 }
13435
13436
13437 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13438 PyObject *resultobj;
13439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13440 wxToolBarBase *result;
13441 PyObject * obj0 = 0 ;
13442 char *kwnames[] = {
13443 (char *) "self", NULL
13444 };
13445
13446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (wxToolBarBase *)(arg1)->GetToolBar();
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456 resultobj = wxPyMake_wxObject(result);
13457 }
13458 return resultobj;
13459 fail:
13460 return NULL;
13461 }
13462
13463
13464 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13467 int result;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (int)(arg1)->IsButton();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 resultobj = PyInt_FromLong((long)result);
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13492 int result;
13493 PyObject * obj0 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (int)(arg1)->IsControl();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 resultobj = PyInt_FromLong((long)result);
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj;
13516 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13517 int result;
13518 PyObject * obj0 = 0 ;
13519 char *kwnames[] = {
13520 (char *) "self", NULL
13521 };
13522
13523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13525 {
13526 PyThreadState* __tstate = wxPyBeginAllowThreads();
13527 result = (int)(arg1)->IsSeparator();
13528
13529 wxPyEndAllowThreads(__tstate);
13530 if (PyErr_Occurred()) SWIG_fail;
13531 }
13532 resultobj = PyInt_FromLong((long)result);
13533 return resultobj;
13534 fail:
13535 return NULL;
13536 }
13537
13538
13539 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13540 PyObject *resultobj;
13541 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13542 int result;
13543 PyObject * obj0 = 0 ;
13544 char *kwnames[] = {
13545 (char *) "self", NULL
13546 };
13547
13548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 result = (int)(arg1)->GetStyle();
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = PyInt_FromLong((long)result);
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13567 int result;
13568 PyObject * obj0 = 0 ;
13569 char *kwnames[] = {
13570 (char *) "self", NULL
13571 };
13572
13573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13575 {
13576 PyThreadState* __tstate = wxPyBeginAllowThreads();
13577 result = (int)(arg1)->GetKind();
13578
13579 wxPyEndAllowThreads(__tstate);
13580 if (PyErr_Occurred()) SWIG_fail;
13581 }
13582 resultobj = PyInt_FromLong((long)result);
13583 return resultobj;
13584 fail:
13585 return NULL;
13586 }
13587
13588
13589 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13590 PyObject *resultobj;
13591 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13592 bool result;
13593 PyObject * obj0 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 result = (bool)(arg1)->IsEnabled();
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
13607 resultobj = PyInt_FromLong((long)result);
13608 return resultobj;
13609 fail:
13610 return NULL;
13611 }
13612
13613
13614 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13615 PyObject *resultobj;
13616 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13617 bool result;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)(arg1)->IsToggled();
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = PyInt_FromLong((long)result);
13633 return resultobj;
13634 fail:
13635 return NULL;
13636 }
13637
13638
13639 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13640 PyObject *resultobj;
13641 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13642 bool result;
13643 PyObject * obj0 = 0 ;
13644 char *kwnames[] = {
13645 (char *) "self", NULL
13646 };
13647
13648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13650 {
13651 PyThreadState* __tstate = wxPyBeginAllowThreads();
13652 result = (bool)(arg1)->CanBeToggled();
13653
13654 wxPyEndAllowThreads(__tstate);
13655 if (PyErr_Occurred()) SWIG_fail;
13656 }
13657 resultobj = PyInt_FromLong((long)result);
13658 return resultobj;
13659 fail:
13660 return NULL;
13661 }
13662
13663
13664 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13667 wxBitmap *result;
13668 PyObject * obj0 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13675 {
13676 PyThreadState* __tstate = wxPyBeginAllowThreads();
13677 {
13678 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13679 result = (wxBitmap *) &_result_ref;
13680 }
13681
13682 wxPyEndAllowThreads(__tstate);
13683 if (PyErr_Occurred()) SWIG_fail;
13684 }
13685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13695 wxBitmap *result;
13696 PyObject * obj0 = 0 ;
13697 char *kwnames[] = {
13698 (char *) "self", NULL
13699 };
13700
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 {
13706 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13707 result = (wxBitmap *) &_result_ref;
13708 }
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13714 return resultobj;
13715 fail:
13716 return NULL;
13717 }
13718
13719
13720 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13723 wxBitmap result;
13724 PyObject * obj0 = 0 ;
13725 char *kwnames[] = {
13726 (char *) "self", NULL
13727 };
13728
13729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13731 {
13732 PyThreadState* __tstate = wxPyBeginAllowThreads();
13733 result = (arg1)->GetBitmap();
13734
13735 wxPyEndAllowThreads(__tstate);
13736 if (PyErr_Occurred()) SWIG_fail;
13737 }
13738 {
13739 wxBitmap * resultptr;
13740 resultptr = new wxBitmap((wxBitmap &) result);
13741 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13742 }
13743 return resultobj;
13744 fail:
13745 return NULL;
13746 }
13747
13748
13749 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13752 wxString result;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13760 {
13761 PyThreadState* __tstate = wxPyBeginAllowThreads();
13762 result = (arg1)->GetLabel();
13763
13764 wxPyEndAllowThreads(__tstate);
13765 if (PyErr_Occurred()) SWIG_fail;
13766 }
13767 {
13768 #if wxUSE_UNICODE
13769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13770 #else
13771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13772 #endif
13773 }
13774 return resultobj;
13775 fail:
13776 return NULL;
13777 }
13778
13779
13780 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13781 PyObject *resultobj;
13782 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13783 wxString result;
13784 PyObject * obj0 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "self", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (arg1)->GetShortHelp();
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 {
13799 #if wxUSE_UNICODE
13800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13801 #else
13802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13803 #endif
13804 }
13805 return resultobj;
13806 fail:
13807 return NULL;
13808 }
13809
13810
13811 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13814 wxString result;
13815 PyObject * obj0 = 0 ;
13816 char *kwnames[] = {
13817 (char *) "self", NULL
13818 };
13819
13820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13822 {
13823 PyThreadState* __tstate = wxPyBeginAllowThreads();
13824 result = (arg1)->GetLongHelp();
13825
13826 wxPyEndAllowThreads(__tstate);
13827 if (PyErr_Occurred()) SWIG_fail;
13828 }
13829 {
13830 #if wxUSE_UNICODE
13831 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13832 #else
13833 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13834 #endif
13835 }
13836 return resultobj;
13837 fail:
13838 return NULL;
13839 }
13840
13841
13842 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13845 bool arg2 ;
13846 bool result;
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self",(char *) "enable", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13855 {
13856 arg2 = (bool) SPyObj_AsBool(obj1);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 result = (bool)(arg1)->Enable(arg2);
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 resultobj = PyInt_FromLong((long)result);
13867 return resultobj;
13868 fail:
13869 return NULL;
13870 }
13871
13872
13873 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13874 PyObject *resultobj;
13875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13876 PyObject * obj0 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13883 {
13884 PyThreadState* __tstate = wxPyBeginAllowThreads();
13885 (arg1)->Toggle();
13886
13887 wxPyEndAllowThreads(__tstate);
13888 if (PyErr_Occurred()) SWIG_fail;
13889 }
13890 Py_INCREF(Py_None); resultobj = Py_None;
13891 return resultobj;
13892 fail:
13893 return NULL;
13894 }
13895
13896
13897 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13898 PyObject *resultobj;
13899 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13900 bool arg2 ;
13901 bool result;
13902 PyObject * obj0 = 0 ;
13903 PyObject * obj1 = 0 ;
13904 char *kwnames[] = {
13905 (char *) "self",(char *) "toggle", NULL
13906 };
13907
13908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13910 {
13911 arg2 = (bool) SPyObj_AsBool(obj1);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 {
13915 PyThreadState* __tstate = wxPyBeginAllowThreads();
13916 result = (bool)(arg1)->SetToggle(arg2);
13917
13918 wxPyEndAllowThreads(__tstate);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 }
13921 resultobj = PyInt_FromLong((long)result);
13922 return resultobj;
13923 fail:
13924 return NULL;
13925 }
13926
13927
13928 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13931 wxString *arg2 = 0 ;
13932 bool result;
13933 bool temp2 = False ;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "help", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13942 {
13943 arg2 = wxString_in_helper(obj1);
13944 if (arg2 == NULL) SWIG_fail;
13945 temp2 = True;
13946 }
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 resultobj = PyInt_FromLong((long)result);
13955 {
13956 if (temp2)
13957 delete arg2;
13958 }
13959 return resultobj;
13960 fail:
13961 {
13962 if (temp2)
13963 delete arg2;
13964 }
13965 return NULL;
13966 }
13967
13968
13969 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13972 wxString *arg2 = 0 ;
13973 bool result;
13974 bool temp2 = False ;
13975 PyObject * obj0 = 0 ;
13976 PyObject * obj1 = 0 ;
13977 char *kwnames[] = {
13978 (char *) "self",(char *) "help", NULL
13979 };
13980
13981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13983 {
13984 arg2 = wxString_in_helper(obj1);
13985 if (arg2 == NULL) SWIG_fail;
13986 temp2 = True;
13987 }
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 resultobj = PyInt_FromLong((long)result);
13996 {
13997 if (temp2)
13998 delete arg2;
13999 }
14000 return resultobj;
14001 fail:
14002 {
14003 if (temp2)
14004 delete arg2;
14005 }
14006 return NULL;
14007 }
14008
14009
14010 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14013 wxBitmap *arg2 = 0 ;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj1 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "bmp", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14023 if (arg2 == NULL) {
14024 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14025 }
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14043 wxBitmap *arg2 = 0 ;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj1 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self",(char *) "bmp", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 if (arg2 == NULL) {
14054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14055 }
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 Py_INCREF(Py_None); resultobj = Py_None;
14064 return resultobj;
14065 fail:
14066 return NULL;
14067 }
14068
14069
14070 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14073 wxString *arg2 = 0 ;
14074 bool temp2 = False ;
14075 PyObject * obj0 = 0 ;
14076 PyObject * obj1 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "self",(char *) "label", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 {
14084 arg2 = wxString_in_helper(obj1);
14085 if (arg2 == NULL) SWIG_fail;
14086 temp2 = True;
14087 }
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 (arg1)->SetLabel((wxString const &)*arg2);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 Py_INCREF(Py_None); resultobj = Py_None;
14096 {
14097 if (temp2)
14098 delete arg2;
14099 }
14100 return resultobj;
14101 fail:
14102 {
14103 if (temp2)
14104 delete arg2;
14105 }
14106 return NULL;
14107 }
14108
14109
14110 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14113 PyObject * obj0 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
14119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 (arg1)->Detach();
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 Py_INCREF(Py_None); resultobj = Py_None;
14128 return resultobj;
14129 fail:
14130 return NULL;
14131 }
14132
14133
14134 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14137 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
14138 PyObject * obj0 = 0 ;
14139 PyObject * obj1 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "self",(char *) "tbar", NULL
14142 };
14143
14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
14145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14147 {
14148 PyThreadState* __tstate = wxPyBeginAllowThreads();
14149 (arg1)->Attach(arg2);
14150
14151 wxPyEndAllowThreads(__tstate);
14152 if (PyErr_Occurred()) SWIG_fail;
14153 }
14154 Py_INCREF(Py_None); resultobj = Py_None;
14155 return resultobj;
14156 fail:
14157 return NULL;
14158 }
14159
14160
14161 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14164 PyObject *result;
14165 PyObject * obj0 = 0 ;
14166 char *kwnames[] = {
14167 (char *) "self", NULL
14168 };
14169
14170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
14171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 resultobj = result;
14180 return resultobj;
14181 fail:
14182 return NULL;
14183 }
14184
14185
14186 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14187 PyObject *resultobj;
14188 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14189 PyObject *arg2 = (PyObject *) 0 ;
14190 PyObject * obj0 = 0 ;
14191 PyObject * obj1 = 0 ;
14192 char *kwnames[] = {
14193 (char *) "self",(char *) "clientData", NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
14197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14198 arg2 = obj1;
14199 {
14200 PyThreadState* __tstate = wxPyBeginAllowThreads();
14201 wxToolBarToolBase_SetClientData(arg1,arg2);
14202
14203 wxPyEndAllowThreads(__tstate);
14204 if (PyErr_Occurred()) SWIG_fail;
14205 }
14206 Py_INCREF(Py_None); resultobj = Py_None;
14207 return resultobj;
14208 fail:
14209 return NULL;
14210 }
14211
14212
14213 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
14214 PyObject *obj;
14215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14216 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
14217 Py_INCREF(obj);
14218 return Py_BuildValue((char *)"");
14219 }
14220 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14221 PyObject *resultobj;
14222 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14223 int arg2 ;
14224 wxString *arg3 = 0 ;
14225 wxBitmap *arg4 = 0 ;
14226 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14227 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14228 int arg6 = (int) wxITEM_NORMAL ;
14229 wxString const &arg7_defvalue = wxPyEmptyString ;
14230 wxString *arg7 = (wxString *) &arg7_defvalue ;
14231 wxString const &arg8_defvalue = wxPyEmptyString ;
14232 wxString *arg8 = (wxString *) &arg8_defvalue ;
14233 PyObject *arg9 = (PyObject *) NULL ;
14234 wxToolBarToolBase *result;
14235 bool temp3 = False ;
14236 bool temp7 = False ;
14237 bool temp8 = False ;
14238 PyObject * obj0 = 0 ;
14239 PyObject * obj2 = 0 ;
14240 PyObject * obj3 = 0 ;
14241 PyObject * obj4 = 0 ;
14242 PyObject * obj6 = 0 ;
14243 PyObject * obj7 = 0 ;
14244 PyObject * obj8 = 0 ;
14245 char *kwnames[] = {
14246 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14247 };
14248
14249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
14250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14251 {
14252 arg3 = wxString_in_helper(obj2);
14253 if (arg3 == NULL) SWIG_fail;
14254 temp3 = True;
14255 }
14256 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14257 if (arg4 == NULL) {
14258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14259 }
14260 if (obj4) {
14261 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14262 if (arg5 == NULL) {
14263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14264 }
14265 }
14266 if (obj6) {
14267 {
14268 arg7 = wxString_in_helper(obj6);
14269 if (arg7 == NULL) SWIG_fail;
14270 temp7 = True;
14271 }
14272 }
14273 if (obj7) {
14274 {
14275 arg8 = wxString_in_helper(obj7);
14276 if (arg8 == NULL) SWIG_fail;
14277 temp8 = True;
14278 }
14279 }
14280 if (obj8) {
14281 arg9 = obj8;
14282 }
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
14286
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 {
14291 resultobj = wxPyMake_wxObject(result);
14292 }
14293 {
14294 if (temp3)
14295 delete arg3;
14296 }
14297 {
14298 if (temp7)
14299 delete arg7;
14300 }
14301 {
14302 if (temp8)
14303 delete arg8;
14304 }
14305 return resultobj;
14306 fail:
14307 {
14308 if (temp3)
14309 delete arg3;
14310 }
14311 {
14312 if (temp7)
14313 delete arg7;
14314 }
14315 {
14316 if (temp8)
14317 delete arg8;
14318 }
14319 return NULL;
14320 }
14321
14322
14323 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14326 size_t arg2 ;
14327 int arg3 ;
14328 wxString *arg4 = 0 ;
14329 wxBitmap *arg5 = 0 ;
14330 wxBitmap const &arg6_defvalue = wxNullBitmap ;
14331 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
14332 int arg7 = (int) wxITEM_NORMAL ;
14333 wxString const &arg8_defvalue = wxPyEmptyString ;
14334 wxString *arg8 = (wxString *) &arg8_defvalue ;
14335 wxString const &arg9_defvalue = wxPyEmptyString ;
14336 wxString *arg9 = (wxString *) &arg9_defvalue ;
14337 PyObject *arg10 = (PyObject *) NULL ;
14338 wxToolBarToolBase *result;
14339 bool temp4 = False ;
14340 bool temp8 = False ;
14341 bool temp9 = False ;
14342 PyObject * obj0 = 0 ;
14343 PyObject * obj1 = 0 ;
14344 PyObject * obj3 = 0 ;
14345 PyObject * obj4 = 0 ;
14346 PyObject * obj5 = 0 ;
14347 PyObject * obj7 = 0 ;
14348 PyObject * obj8 = 0 ;
14349 PyObject * obj9 = 0 ;
14350 char *kwnames[] = {
14351 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14352 };
14353
14354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
14355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14356 {
14357 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14358 if (PyErr_Occurred()) SWIG_fail;
14359 }
14360 {
14361 arg4 = wxString_in_helper(obj3);
14362 if (arg4 == NULL) SWIG_fail;
14363 temp4 = True;
14364 }
14365 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 if (arg5 == NULL) {
14367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14368 }
14369 if (obj5) {
14370 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14371 if (arg6 == NULL) {
14372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14373 }
14374 }
14375 if (obj7) {
14376 {
14377 arg8 = wxString_in_helper(obj7);
14378 if (arg8 == NULL) SWIG_fail;
14379 temp8 = True;
14380 }
14381 }
14382 if (obj8) {
14383 {
14384 arg9 = wxString_in_helper(obj8);
14385 if (arg9 == NULL) SWIG_fail;
14386 temp9 = True;
14387 }
14388 }
14389 if (obj9) {
14390 arg10 = obj9;
14391 }
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 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);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 resultobj = wxPyMake_wxObject(result);
14401 }
14402 {
14403 if (temp4)
14404 delete arg4;
14405 }
14406 {
14407 if (temp8)
14408 delete arg8;
14409 }
14410 {
14411 if (temp9)
14412 delete arg9;
14413 }
14414 return resultobj;
14415 fail:
14416 {
14417 if (temp4)
14418 delete arg4;
14419 }
14420 {
14421 if (temp8)
14422 delete arg8;
14423 }
14424 {
14425 if (temp9)
14426 delete arg9;
14427 }
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14435 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14436 wxToolBarToolBase *result;
14437 PyObject * obj0 = 0 ;
14438 PyObject * obj1 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self",(char *) "tool", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 {
14454 resultobj = wxPyMake_wxObject(result);
14455 }
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14465 size_t arg2 ;
14466 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14467 wxToolBarToolBase *result;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 PyObject * obj2 = 0 ;
14471 char *kwnames[] = {
14472 (char *) "self",(char *) "pos",(char *) "tool", NULL
14473 };
14474
14475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14477 {
14478 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
14481 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14482 {
14483 PyThreadState* __tstate = wxPyBeginAllowThreads();
14484 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14485
14486 wxPyEndAllowThreads(__tstate);
14487 if (PyErr_Occurred()) SWIG_fail;
14488 }
14489 {
14490 resultobj = wxPyMake_wxObject(result);
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14501 wxControl *arg2 = (wxControl *) 0 ;
14502 wxToolBarToolBase *result;
14503 PyObject * obj0 = 0 ;
14504 PyObject * obj1 = 0 ;
14505 char *kwnames[] = {
14506 (char *) "self",(char *) "control", NULL
14507 };
14508
14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14512 {
14513 PyThreadState* __tstate = wxPyBeginAllowThreads();
14514 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14515
14516 wxPyEndAllowThreads(__tstate);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 {
14520 resultobj = wxPyMake_wxObject(result);
14521 }
14522 return resultobj;
14523 fail:
14524 return NULL;
14525 }
14526
14527
14528 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14529 PyObject *resultobj;
14530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14531 size_t arg2 ;
14532 wxControl *arg3 = (wxControl *) 0 ;
14533 wxToolBarToolBase *result;
14534 PyObject * obj0 = 0 ;
14535 PyObject * obj1 = 0 ;
14536 PyObject * obj2 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self",(char *) "pos",(char *) "control", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14543 {
14544 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14548 {
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14551
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 {
14556 resultobj = wxPyMake_wxObject(result);
14557 }
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14567 int arg2 ;
14568 wxControl *result;
14569 PyObject * obj0 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self",(char *) "id", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14576 {
14577 PyThreadState* __tstate = wxPyBeginAllowThreads();
14578 result = (wxControl *)(arg1)->FindControl(arg2);
14579
14580 wxPyEndAllowThreads(__tstate);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 {
14584 resultobj = wxPyMake_wxObject(result);
14585 }
14586 return resultobj;
14587 fail:
14588 return NULL;
14589 }
14590
14591
14592 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14593 PyObject *resultobj;
14594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14595 wxToolBarToolBase *result;
14596 PyObject * obj0 = 0 ;
14597 char *kwnames[] = {
14598 (char *) "self", NULL
14599 };
14600
14601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 {
14611 resultobj = wxPyMake_wxObject(result);
14612 }
14613 return resultobj;
14614 fail:
14615 return NULL;
14616 }
14617
14618
14619 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14620 PyObject *resultobj;
14621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14622 size_t arg2 ;
14623 wxToolBarToolBase *result;
14624 PyObject * obj0 = 0 ;
14625 PyObject * obj1 = 0 ;
14626 char *kwnames[] = {
14627 (char *) "self",(char *) "pos", NULL
14628 };
14629
14630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14632 {
14633 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14634 if (PyErr_Occurred()) SWIG_fail;
14635 }
14636 {
14637 PyThreadState* __tstate = wxPyBeginAllowThreads();
14638 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14639
14640 wxPyEndAllowThreads(__tstate);
14641 if (PyErr_Occurred()) SWIG_fail;
14642 }
14643 {
14644 resultobj = wxPyMake_wxObject(result);
14645 }
14646 return resultobj;
14647 fail:
14648 return NULL;
14649 }
14650
14651
14652 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14653 PyObject *resultobj;
14654 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14655 int arg2 ;
14656 wxToolBarToolBase *result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self",(char *) "id", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14664 {
14665 PyThreadState* __tstate = wxPyBeginAllowThreads();
14666 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14667
14668 wxPyEndAllowThreads(__tstate);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 {
14672 resultobj = wxPyMake_wxObject(result);
14673 }
14674 return resultobj;
14675 fail:
14676 return NULL;
14677 }
14678
14679
14680 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14681 PyObject *resultobj;
14682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14683 size_t arg2 ;
14684 bool result;
14685 PyObject * obj0 = 0 ;
14686 PyObject * obj1 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self",(char *) "pos", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14693 {
14694 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 {
14698 PyThreadState* __tstate = wxPyBeginAllowThreads();
14699 result = (bool)(arg1)->DeleteToolByPos(arg2);
14700
14701 wxPyEndAllowThreads(__tstate);
14702 if (PyErr_Occurred()) SWIG_fail;
14703 }
14704 resultobj = PyInt_FromLong((long)result);
14705 return resultobj;
14706 fail:
14707 return NULL;
14708 }
14709
14710
14711 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14712 PyObject *resultobj;
14713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14714 int arg2 ;
14715 bool result;
14716 PyObject * obj0 = 0 ;
14717 char *kwnames[] = {
14718 (char *) "self",(char *) "id", NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14723 {
14724 PyThreadState* __tstate = wxPyBeginAllowThreads();
14725 result = (bool)(arg1)->DeleteTool(arg2);
14726
14727 wxPyEndAllowThreads(__tstate);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 resultobj = PyInt_FromLong((long)result);
14731 return resultobj;
14732 fail:
14733 return NULL;
14734 }
14735
14736
14737 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14738 PyObject *resultobj;
14739 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "self", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 (arg1)->ClearTools();
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 Py_INCREF(Py_None); resultobj = Py_None;
14755 return resultobj;
14756 fail:
14757 return NULL;
14758 }
14759
14760
14761 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14764 bool result;
14765 PyObject * obj0 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14772 {
14773 PyThreadState* __tstate = wxPyBeginAllowThreads();
14774 result = (bool)(arg1)->Realize();
14775
14776 wxPyEndAllowThreads(__tstate);
14777 if (PyErr_Occurred()) SWIG_fail;
14778 }
14779 resultobj = PyInt_FromLong((long)result);
14780 return resultobj;
14781 fail:
14782 return NULL;
14783 }
14784
14785
14786 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14787 PyObject *resultobj;
14788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14789 int arg2 ;
14790 bool arg3 ;
14791 PyObject * obj0 = 0 ;
14792 PyObject * obj2 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self",(char *) "id",(char *) "enable", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14799 {
14800 arg3 = (bool) SPyObj_AsBool(obj2);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 (arg1)->EnableTool(arg2,arg3);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 Py_INCREF(Py_None); resultobj = Py_None;
14811 return resultobj;
14812 fail:
14813 return NULL;
14814 }
14815
14816
14817 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14818 PyObject *resultobj;
14819 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14820 int arg2 ;
14821 bool arg3 ;
14822 PyObject * obj0 = 0 ;
14823 PyObject * obj2 = 0 ;
14824 char *kwnames[] = {
14825 (char *) "self",(char *) "id",(char *) "toggle", NULL
14826 };
14827
14828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14830 {
14831 arg3 = (bool) SPyObj_AsBool(obj2);
14832 if (PyErr_Occurred()) SWIG_fail;
14833 }
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 (arg1)->ToggleTool(arg2,arg3);
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 Py_INCREF(Py_None); resultobj = Py_None;
14842 return resultobj;
14843 fail:
14844 return NULL;
14845 }
14846
14847
14848 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14851 int arg2 ;
14852 bool arg3 ;
14853 PyObject * obj0 = 0 ;
14854 PyObject * obj2 = 0 ;
14855 char *kwnames[] = {
14856 (char *) "self",(char *) "id",(char *) "toggle", NULL
14857 };
14858
14859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14861 {
14862 arg3 = (bool) SPyObj_AsBool(obj2);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 PyThreadState* __tstate = wxPyBeginAllowThreads();
14867 (arg1)->SetToggle(arg2,arg3);
14868
14869 wxPyEndAllowThreads(__tstate);
14870 if (PyErr_Occurred()) SWIG_fail;
14871 }
14872 Py_INCREF(Py_None); resultobj = Py_None;
14873 return resultobj;
14874 fail:
14875 return NULL;
14876 }
14877
14878
14879 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14880 PyObject *resultobj;
14881 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14882 int arg2 ;
14883 PyObject *result;
14884 PyObject * obj0 = 0 ;
14885 char *kwnames[] = {
14886 (char *) "self",(char *) "id", NULL
14887 };
14888
14889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14891 {
14892 PyThreadState* __tstate = wxPyBeginAllowThreads();
14893 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14894
14895 wxPyEndAllowThreads(__tstate);
14896 if (PyErr_Occurred()) SWIG_fail;
14897 }
14898 resultobj = result;
14899 return resultobj;
14900 fail:
14901 return NULL;
14902 }
14903
14904
14905 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14906 PyObject *resultobj;
14907 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14908 int arg2 ;
14909 PyObject *arg3 = (PyObject *) 0 ;
14910 PyObject * obj0 = 0 ;
14911 PyObject * obj2 = 0 ;
14912 char *kwnames[] = {
14913 (char *) "self",(char *) "id",(char *) "clientData", NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14918 arg3 = obj2;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 Py_INCREF(Py_None); resultobj = Py_None;
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14936 int arg2 ;
14937 int result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self",(char *) "id", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = PyInt_FromLong((long)result);
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14962 int arg2 ;
14963 bool result;
14964 PyObject * obj0 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "self",(char *) "id", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) 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 = (bool)(arg1)->GetToolState(arg2);
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_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14988 int arg2 ;
14989 bool result;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "id", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (bool)(arg1)->GetToolEnabled(arg2);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = PyInt_FromLong((long)result);
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15014 int arg2 ;
15015 wxString *arg3 = 0 ;
15016 bool temp3 = False ;
15017 PyObject * obj0 = 0 ;
15018 PyObject * obj2 = 0 ;
15019 char *kwnames[] = {
15020 (char *) "self",(char *) "id",(char *) "helpString", NULL
15021 };
15022
15023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
15024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15025 {
15026 arg3 = wxString_in_helper(obj2);
15027 if (arg3 == NULL) SWIG_fail;
15028 temp3 = True;
15029 }
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 Py_INCREF(Py_None); resultobj = Py_None;
15038 {
15039 if (temp3)
15040 delete arg3;
15041 }
15042 return resultobj;
15043 fail:
15044 {
15045 if (temp3)
15046 delete arg3;
15047 }
15048 return NULL;
15049 }
15050
15051
15052 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15055 int arg2 ;
15056 wxString result;
15057 PyObject * obj0 = 0 ;
15058 char *kwnames[] = {
15059 (char *) "self",(char *) "id", NULL
15060 };
15061
15062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
15063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15064 {
15065 PyThreadState* __tstate = wxPyBeginAllowThreads();
15066 result = (arg1)->GetToolShortHelp(arg2);
15067
15068 wxPyEndAllowThreads(__tstate);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 }
15071 {
15072 #if wxUSE_UNICODE
15073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15074 #else
15075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15076 #endif
15077 }
15078 return resultobj;
15079 fail:
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15087 int arg2 ;
15088 wxString *arg3 = 0 ;
15089 bool temp3 = False ;
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj2 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "id",(char *) "helpString", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
15097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 {
15099 arg3 = wxString_in_helper(obj2);
15100 if (arg3 == NULL) SWIG_fail;
15101 temp3 = True;
15102 }
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 Py_INCREF(Py_None); resultobj = Py_None;
15111 {
15112 if (temp3)
15113 delete arg3;
15114 }
15115 return resultobj;
15116 fail:
15117 {
15118 if (temp3)
15119 delete arg3;
15120 }
15121 return NULL;
15122 }
15123
15124
15125 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15126 PyObject *resultobj;
15127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15128 int arg2 ;
15129 wxString result;
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self",(char *) "id", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
15136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15137 {
15138 PyThreadState* __tstate = wxPyBeginAllowThreads();
15139 result = (arg1)->GetToolLongHelp(arg2);
15140
15141 wxPyEndAllowThreads(__tstate);
15142 if (PyErr_Occurred()) SWIG_fail;
15143 }
15144 {
15145 #if wxUSE_UNICODE
15146 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15147 #else
15148 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15149 #endif
15150 }
15151 return resultobj;
15152 fail:
15153 return NULL;
15154 }
15155
15156
15157 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15160 int arg2 ;
15161 int arg3 ;
15162 PyObject * obj0 = 0 ;
15163 char *kwnames[] = {
15164 (char *) "self",(char *) "x",(char *) "y", NULL
15165 };
15166
15167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
15168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15169 {
15170 PyThreadState* __tstate = wxPyBeginAllowThreads();
15171 (arg1)->SetMargins(arg2,arg3);
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 Py_INCREF(Py_None); resultobj = Py_None;
15177 return resultobj;
15178 fail:
15179 return NULL;
15180 }
15181
15182
15183 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15184 PyObject *resultobj;
15185 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15186 wxSize *arg2 = 0 ;
15187 wxSize temp2 ;
15188 PyObject * obj0 = 0 ;
15189 PyObject * obj1 = 0 ;
15190 char *kwnames[] = {
15191 (char *) "self",(char *) "size", NULL
15192 };
15193
15194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15196 {
15197 arg2 = &temp2;
15198 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15199 }
15200 {
15201 PyThreadState* __tstate = wxPyBeginAllowThreads();
15202 (arg1)->SetMargins((wxSize const &)*arg2);
15203
15204 wxPyEndAllowThreads(__tstate);
15205 if (PyErr_Occurred()) SWIG_fail;
15206 }
15207 Py_INCREF(Py_None); resultobj = Py_None;
15208 return resultobj;
15209 fail:
15210 return NULL;
15211 }
15212
15213
15214 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15215 PyObject *resultobj;
15216 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15217 int arg2 ;
15218 PyObject * obj0 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self",(char *) "packing", NULL
15221 };
15222
15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
15224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15225 {
15226 PyThreadState* __tstate = wxPyBeginAllowThreads();
15227 (arg1)->SetToolPacking(arg2);
15228
15229 wxPyEndAllowThreads(__tstate);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
15232 Py_INCREF(Py_None); resultobj = Py_None;
15233 return resultobj;
15234 fail:
15235 return NULL;
15236 }
15237
15238
15239 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15240 PyObject *resultobj;
15241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15242 int arg2 ;
15243 PyObject * obj0 = 0 ;
15244 char *kwnames[] = {
15245 (char *) "self",(char *) "separation", NULL
15246 };
15247
15248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
15249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15250 {
15251 PyThreadState* __tstate = wxPyBeginAllowThreads();
15252 (arg1)->SetToolSeparation(arg2);
15253
15254 wxPyEndAllowThreads(__tstate);
15255 if (PyErr_Occurred()) SWIG_fail;
15256 }
15257 Py_INCREF(Py_None); resultobj = Py_None;
15258 return resultobj;
15259 fail:
15260 return NULL;
15261 }
15262
15263
15264 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15265 PyObject *resultobj;
15266 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15267 wxSize result;
15268 PyObject * obj0 = 0 ;
15269 char *kwnames[] = {
15270 (char *) "self", NULL
15271 };
15272
15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 result = (arg1)->GetToolMargins();
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 {
15283 wxSize * resultptr;
15284 resultptr = new wxSize((wxSize &) result);
15285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15286 }
15287 return resultobj;
15288 fail:
15289 return NULL;
15290 }
15291
15292
15293 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15294 PyObject *resultobj;
15295 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15296 wxSize result;
15297 PyObject * obj0 = 0 ;
15298 char *kwnames[] = {
15299 (char *) "self", NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (arg1)->GetMargins();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 {
15312 wxSize * resultptr;
15313 resultptr = new wxSize((wxSize &) result);
15314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15315 }
15316 return resultobj;
15317 fail:
15318 return NULL;
15319 }
15320
15321
15322 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15325 int result;
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = (int)(arg1)->GetToolPacking();
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 resultobj = PyInt_FromLong((long)result);
15341 return resultobj;
15342 fail:
15343 return NULL;
15344 }
15345
15346
15347 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15350 int result;
15351 PyObject * obj0 = 0 ;
15352 char *kwnames[] = {
15353 (char *) "self", NULL
15354 };
15355
15356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 result = (int)(arg1)->GetToolSeparation();
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 resultobj = PyInt_FromLong((long)result);
15366 return resultobj;
15367 fail:
15368 return NULL;
15369 }
15370
15371
15372 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15375 int arg2 ;
15376 PyObject * obj0 = 0 ;
15377 char *kwnames[] = {
15378 (char *) "self",(char *) "nRows", NULL
15379 };
15380
15381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15383 {
15384 PyThreadState* __tstate = wxPyBeginAllowThreads();
15385 (arg1)->SetRows(arg2);
15386
15387 wxPyEndAllowThreads(__tstate);
15388 if (PyErr_Occurred()) SWIG_fail;
15389 }
15390 Py_INCREF(Py_None); resultobj = Py_None;
15391 return resultobj;
15392 fail:
15393 return NULL;
15394 }
15395
15396
15397 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15398 PyObject *resultobj;
15399 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15400 int arg2 ;
15401 int arg3 ;
15402 PyObject * obj0 = 0 ;
15403 char *kwnames[] = {
15404 (char *) "self",(char *) "rows",(char *) "cols", NULL
15405 };
15406
15407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 (arg1)->SetMaxRowsCols(arg2,arg3);
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 Py_INCREF(Py_None); resultobj = Py_None;
15417 return resultobj;
15418 fail:
15419 return NULL;
15420 }
15421
15422
15423 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15424 PyObject *resultobj;
15425 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15426 int result;
15427 PyObject * obj0 = 0 ;
15428 char *kwnames[] = {
15429 (char *) "self", NULL
15430 };
15431
15432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = (int)(arg1)->GetMaxRows();
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = PyInt_FromLong((long)result);
15442 return resultobj;
15443 fail:
15444 return NULL;
15445 }
15446
15447
15448 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15451 int result;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 result = (int)(arg1)->GetMaxCols();
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 resultobj = PyInt_FromLong((long)result);
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15476 wxSize *arg2 = 0 ;
15477 wxSize temp2 ;
15478 PyObject * obj0 = 0 ;
15479 PyObject * obj1 = 0 ;
15480 char *kwnames[] = {
15481 (char *) "self",(char *) "size", NULL
15482 };
15483
15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 {
15487 arg2 = &temp2;
15488 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15489 }
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 Py_INCREF(Py_None); resultobj = Py_None;
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15507 wxSize result;
15508 PyObject * obj0 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 result = (arg1)->GetToolBitmapSize();
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 {
15523 wxSize * resultptr;
15524 resultptr = new wxSize((wxSize &) result);
15525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15526 }
15527 return resultobj;
15528 fail:
15529 return NULL;
15530 }
15531
15532
15533 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15536 wxSize result;
15537 PyObject * obj0 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15544 {
15545 PyThreadState* __tstate = wxPyBeginAllowThreads();
15546 result = (arg1)->GetToolSize();
15547
15548 wxPyEndAllowThreads(__tstate);
15549 if (PyErr_Occurred()) SWIG_fail;
15550 }
15551 {
15552 wxSize * resultptr;
15553 resultptr = new wxSize((wxSize &) result);
15554 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15555 }
15556 return resultobj;
15557 fail:
15558 return NULL;
15559 }
15560
15561
15562 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15563 PyObject *resultobj;
15564 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15565 int arg2 ;
15566 int arg3 ;
15567 wxToolBarToolBase *result;
15568 PyObject * obj0 = 0 ;
15569 char *kwnames[] = {
15570 (char *) "self",(char *) "x",(char *) "y", NULL
15571 };
15572
15573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 resultobj = wxPyMake_wxObject(result);
15584 }
15585 return resultobj;
15586 fail:
15587 return NULL;
15588 }
15589
15590
15591 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15592 PyObject *resultobj;
15593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15594 int arg2 ;
15595 wxToolBarToolBase *result;
15596 PyObject * obj0 = 0 ;
15597 char *kwnames[] = {
15598 (char *) "self",(char *) "toolid", NULL
15599 };
15600
15601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15603 {
15604 PyThreadState* __tstate = wxPyBeginAllowThreads();
15605 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15606
15607 wxPyEndAllowThreads(__tstate);
15608 if (PyErr_Occurred()) SWIG_fail;
15609 }
15610 {
15611 resultobj = wxPyMake_wxObject(result);
15612 }
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15622 bool result;
15623 PyObject * obj0 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 result = (bool)(arg1)->IsVertical();
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 resultobj = PyInt_FromLong((long)result);
15638 return resultobj;
15639 fail:
15640 return NULL;
15641 }
15642
15643
15644 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15645 PyObject *obj;
15646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15647 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15648 Py_INCREF(obj);
15649 return Py_BuildValue((char *)"");
15650 }
15651 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15652 PyObject *resultobj;
15653 wxWindow *arg1 = (wxWindow *) 0 ;
15654 int arg2 ;
15655 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15656 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15657 wxSize const &arg4_defvalue = wxDefaultSize ;
15658 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15659 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15660 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15661 wxString *arg6 = (wxString *) &arg6_defvalue ;
15662 wxToolBar *result;
15663 wxPoint temp3 ;
15664 wxSize temp4 ;
15665 bool temp6 = False ;
15666 PyObject * obj0 = 0 ;
15667 PyObject * obj2 = 0 ;
15668 PyObject * obj3 = 0 ;
15669 PyObject * obj5 = 0 ;
15670 char *kwnames[] = {
15671 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15672 };
15673
15674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15676 if (obj2) {
15677 {
15678 arg3 = &temp3;
15679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15680 }
15681 }
15682 if (obj3) {
15683 {
15684 arg4 = &temp4;
15685 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15686 }
15687 }
15688 if (obj5) {
15689 {
15690 arg6 = wxString_in_helper(obj5);
15691 if (arg6 == NULL) SWIG_fail;
15692 temp6 = True;
15693 }
15694 }
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 {
15703 resultobj = wxPyMake_wxObject(result);
15704 }
15705 {
15706 if (temp6)
15707 delete arg6;
15708 }
15709 return resultobj;
15710 fail:
15711 {
15712 if (temp6)
15713 delete arg6;
15714 }
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxToolBar *result;
15722 char *kwnames[] = {
15723 NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = (wxToolBar *)new wxToolBar();
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 {
15735 resultobj = wxPyMake_wxObject(result);
15736 }
15737 return resultobj;
15738 fail:
15739 return NULL;
15740 }
15741
15742
15743 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15744 PyObject *resultobj;
15745 wxToolBar *arg1 = (wxToolBar *) 0 ;
15746 wxWindow *arg2 = (wxWindow *) 0 ;
15747 int arg3 ;
15748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15750 wxSize const &arg5_defvalue = wxDefaultSize ;
15751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15752 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15753 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15754 wxString *arg7 = (wxString *) &arg7_defvalue ;
15755 bool result;
15756 wxPoint temp4 ;
15757 wxSize temp5 ;
15758 bool temp7 = False ;
15759 PyObject * obj0 = 0 ;
15760 PyObject * obj1 = 0 ;
15761 PyObject * obj3 = 0 ;
15762 PyObject * obj4 = 0 ;
15763 PyObject * obj6 = 0 ;
15764 char *kwnames[] = {
15765 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15766 };
15767
15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15771 if (obj3) {
15772 {
15773 arg4 = &temp4;
15774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15775 }
15776 }
15777 if (obj4) {
15778 {
15779 arg5 = &temp5;
15780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15781 }
15782 }
15783 if (obj6) {
15784 {
15785 arg7 = wxString_in_helper(obj6);
15786 if (arg7 == NULL) SWIG_fail;
15787 temp7 = True;
15788 }
15789 }
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = PyInt_FromLong((long)result);
15798 {
15799 if (temp7)
15800 delete arg7;
15801 }
15802 return resultobj;
15803 fail:
15804 {
15805 if (temp7)
15806 delete arg7;
15807 }
15808 return NULL;
15809 }
15810
15811
15812 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 wxToolBar *arg1 = (wxToolBar *) 0 ;
15815 int arg2 ;
15816 int arg3 ;
15817 wxToolBarToolBase *result;
15818 PyObject * obj0 = 0 ;
15819 char *kwnames[] = {
15820 (char *) "self",(char *) "x",(char *) "y", NULL
15821 };
15822
15823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15825 {
15826 PyThreadState* __tstate = wxPyBeginAllowThreads();
15827 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15828
15829 wxPyEndAllowThreads(__tstate);
15830 if (PyErr_Occurred()) SWIG_fail;
15831 }
15832 {
15833 resultobj = wxPyMake_wxObject(result);
15834 }
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15842 PyObject *obj;
15843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15844 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15845 Py_INCREF(obj);
15846 return Py_BuildValue((char *)"");
15847 }
15848 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15849 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15850 return 1;
15851 }
15852
15853
15854 static PyObject *_wrap_ListCtrlNameStr_get() {
15855 PyObject *pyobj;
15856
15857 {
15858 #if wxUSE_UNICODE
15859 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15860 #else
15861 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15862 #endif
15863 }
15864 return pyobj;
15865 }
15866
15867
15868 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxColour const &arg1_defvalue = wxNullColour ;
15871 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15872 wxColour const &arg2_defvalue = wxNullColour ;
15873 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15874 wxFont const &arg3_defvalue = wxNullFont ;
15875 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15876 wxListItemAttr *result;
15877 wxColour temp1 ;
15878 wxColour temp2 ;
15879 PyObject * obj0 = 0 ;
15880 PyObject * obj1 = 0 ;
15881 PyObject * obj2 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15887 if (obj0) {
15888 {
15889 arg1 = &temp1;
15890 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15891 }
15892 }
15893 if (obj1) {
15894 {
15895 arg2 = &temp2;
15896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15897 }
15898 }
15899 if (obj2) {
15900 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15901 if (arg3 == NULL) {
15902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15903 }
15904 }
15905 {
15906 PyThreadState* __tstate = wxPyBeginAllowThreads();
15907 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15908
15909 wxPyEndAllowThreads(__tstate);
15910 if (PyErr_Occurred()) SWIG_fail;
15911 }
15912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15913 return resultobj;
15914 fail:
15915 return NULL;
15916 }
15917
15918
15919 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15922 wxColour *arg2 = 0 ;
15923 wxColour temp2 ;
15924 PyObject * obj0 = 0 ;
15925 PyObject * obj1 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self",(char *) "colText", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 {
15933 arg2 = &temp2;
15934 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15935 }
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 (arg1)->SetTextColour((wxColour const &)*arg2);
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 Py_INCREF(Py_None); resultobj = Py_None;
15944 return resultobj;
15945 fail:
15946 return NULL;
15947 }
15948
15949
15950 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15951 PyObject *resultobj;
15952 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15953 wxColour *arg2 = 0 ;
15954 wxColour temp2 ;
15955 PyObject * obj0 = 0 ;
15956 PyObject * obj1 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self",(char *) "colBack", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15963 {
15964 arg2 = &temp2;
15965 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15966 }
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 Py_INCREF(Py_None); resultobj = Py_None;
15975 return resultobj;
15976 fail:
15977 return NULL;
15978 }
15979
15980
15981 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj;
15983 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15984 wxFont *arg2 = 0 ;
15985 PyObject * obj0 = 0 ;
15986 PyObject * obj1 = 0 ;
15987 char *kwnames[] = {
15988 (char *) "self",(char *) "font", NULL
15989 };
15990
15991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15994 if (arg2 == NULL) {
15995 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15996 }
15997 {
15998 PyThreadState* __tstate = wxPyBeginAllowThreads();
15999 (arg1)->SetFont((wxFont const &)*arg2);
16000
16001 wxPyEndAllowThreads(__tstate);
16002 if (PyErr_Occurred()) SWIG_fail;
16003 }
16004 Py_INCREF(Py_None); resultobj = Py_None;
16005 return resultobj;
16006 fail:
16007 return NULL;
16008 }
16009
16010
16011 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16012 PyObject *resultobj;
16013 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16014 bool result;
16015 PyObject * obj0 = 0 ;
16016 char *kwnames[] = {
16017 (char *) "self", NULL
16018 };
16019
16020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
16021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16022 {
16023 PyThreadState* __tstate = wxPyBeginAllowThreads();
16024 result = (bool)(arg1)->HasTextColour();
16025
16026 wxPyEndAllowThreads(__tstate);
16027 if (PyErr_Occurred()) SWIG_fail;
16028 }
16029 resultobj = PyInt_FromLong((long)result);
16030 return resultobj;
16031 fail:
16032 return NULL;
16033 }
16034
16035
16036 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16039 bool result;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (bool)(arg1)->HasBackgroundColour();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = PyInt_FromLong((long)result);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16064 bool result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 result = (bool)(arg1)->HasFont();
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 resultobj = PyInt_FromLong((long)result);
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16089 wxColour result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (arg1)->GetTextColour();
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 {
16105 wxColour * resultptr;
16106 resultptr = new wxColour((wxColour &) result);
16107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16108 }
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16118 wxColour result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = (arg1)->GetBackgroundColour();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 wxColour * resultptr;
16135 resultptr = new wxColour((wxColour &) result);
16136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141 }
16142
16143
16144 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16147 wxFont result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = (arg1)->GetFont();
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 {
16163 wxFont * resultptr;
16164 resultptr = new wxFont((wxFont &) result);
16165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16166 }
16167 return resultobj;
16168 fail:
16169 return NULL;
16170 }
16171
16172
16173 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
16182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 wxListItemAttr_Destroy(arg1);
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 Py_INCREF(Py_None); resultobj = Py_None;
16191 return resultobj;
16192 fail:
16193 return NULL;
16194 }
16195
16196
16197 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
16198 PyObject *obj;
16199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16200 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
16201 Py_INCREF(obj);
16202 return Py_BuildValue((char *)"");
16203 }
16204 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxListItem *result;
16207 char *kwnames[] = {
16208 NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
16212 {
16213 PyThreadState* __tstate = wxPyBeginAllowThreads();
16214 result = (wxListItem *)new wxListItem();
16215
16216 wxPyEndAllowThreads(__tstate);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 }
16219 {
16220 resultobj = wxPyMake_wxObject(result);
16221 }
16222 return resultobj;
16223 fail:
16224 return NULL;
16225 }
16226
16227
16228 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxListItem *arg1 = (wxListItem *) 0 ;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 delete arg1;
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 Py_INCREF(Py_None); resultobj = Py_None;
16246 return resultobj;
16247 fail:
16248 return NULL;
16249 }
16250
16251
16252 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
16253 PyObject *resultobj;
16254 wxListItem *arg1 = (wxListItem *) 0 ;
16255 PyObject * obj0 = 0 ;
16256 char *kwnames[] = {
16257 (char *) "self", NULL
16258 };
16259
16260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
16261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16262 {
16263 PyThreadState* __tstate = wxPyBeginAllowThreads();
16264 (arg1)->Clear();
16265
16266 wxPyEndAllowThreads(__tstate);
16267 if (PyErr_Occurred()) SWIG_fail;
16268 }
16269 Py_INCREF(Py_None); resultobj = Py_None;
16270 return resultobj;
16271 fail:
16272 return NULL;
16273 }
16274
16275
16276 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16277 PyObject *resultobj;
16278 wxListItem *arg1 = (wxListItem *) 0 ;
16279 PyObject * obj0 = 0 ;
16280 char *kwnames[] = {
16281 (char *) "self", NULL
16282 };
16283
16284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
16285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 (arg1)->ClearAttributes();
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 Py_INCREF(Py_None); resultobj = Py_None;
16294 return resultobj;
16295 fail:
16296 return NULL;
16297 }
16298
16299
16300 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxListItem *arg1 = (wxListItem *) 0 ;
16303 long arg2 ;
16304 PyObject * obj0 = 0 ;
16305 char *kwnames[] = {
16306 (char *) "self",(char *) "mask", NULL
16307 };
16308
16309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
16310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16311 {
16312 PyThreadState* __tstate = wxPyBeginAllowThreads();
16313 (arg1)->SetMask(arg2);
16314
16315 wxPyEndAllowThreads(__tstate);
16316 if (PyErr_Occurred()) SWIG_fail;
16317 }
16318 Py_INCREF(Py_None); resultobj = Py_None;
16319 return resultobj;
16320 fail:
16321 return NULL;
16322 }
16323
16324
16325 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxListItem *arg1 = (wxListItem *) 0 ;
16328 long arg2 ;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self",(char *) "id", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16336 {
16337 PyThreadState* __tstate = wxPyBeginAllowThreads();
16338 (arg1)->SetId(arg2);
16339
16340 wxPyEndAllowThreads(__tstate);
16341 if (PyErr_Occurred()) SWIG_fail;
16342 }
16343 Py_INCREF(Py_None); resultobj = Py_None;
16344 return resultobj;
16345 fail:
16346 return NULL;
16347 }
16348
16349
16350 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16351 PyObject *resultobj;
16352 wxListItem *arg1 = (wxListItem *) 0 ;
16353 int arg2 ;
16354 PyObject * obj0 = 0 ;
16355 char *kwnames[] = {
16356 (char *) "self",(char *) "col", NULL
16357 };
16358
16359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
16360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16361 {
16362 PyThreadState* __tstate = wxPyBeginAllowThreads();
16363 (arg1)->SetColumn(arg2);
16364
16365 wxPyEndAllowThreads(__tstate);
16366 if (PyErr_Occurred()) SWIG_fail;
16367 }
16368 Py_INCREF(Py_None); resultobj = Py_None;
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxListItem *arg1 = (wxListItem *) 0 ;
16378 long arg2 ;
16379 PyObject * obj0 = 0 ;
16380 char *kwnames[] = {
16381 (char *) "self",(char *) "state", NULL
16382 };
16383
16384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16386 {
16387 PyThreadState* __tstate = wxPyBeginAllowThreads();
16388 (arg1)->SetState(arg2);
16389
16390 wxPyEndAllowThreads(__tstate);
16391 if (PyErr_Occurred()) SWIG_fail;
16392 }
16393 Py_INCREF(Py_None); resultobj = Py_None;
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxListItem *arg1 = (wxListItem *) 0 ;
16403 long arg2 ;
16404 PyObject * obj0 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "stateMask", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16411 {
16412 PyThreadState* __tstate = wxPyBeginAllowThreads();
16413 (arg1)->SetStateMask(arg2);
16414
16415 wxPyEndAllowThreads(__tstate);
16416 if (PyErr_Occurred()) SWIG_fail;
16417 }
16418 Py_INCREF(Py_None); resultobj = Py_None;
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxListItem *arg1 = (wxListItem *) 0 ;
16428 wxString *arg2 = 0 ;
16429 bool temp2 = False ;
16430 PyObject * obj0 = 0 ;
16431 PyObject * obj1 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self",(char *) "text", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16438 {
16439 arg2 = wxString_in_helper(obj1);
16440 if (arg2 == NULL) SWIG_fail;
16441 temp2 = True;
16442 }
16443 {
16444 PyThreadState* __tstate = wxPyBeginAllowThreads();
16445 (arg1)->SetText((wxString const &)*arg2);
16446
16447 wxPyEndAllowThreads(__tstate);
16448 if (PyErr_Occurred()) SWIG_fail;
16449 }
16450 Py_INCREF(Py_None); resultobj = Py_None;
16451 {
16452 if (temp2)
16453 delete arg2;
16454 }
16455 return resultobj;
16456 fail:
16457 {
16458 if (temp2)
16459 delete arg2;
16460 }
16461 return NULL;
16462 }
16463
16464
16465 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16466 PyObject *resultobj;
16467 wxListItem *arg1 = (wxListItem *) 0 ;
16468 int arg2 ;
16469 PyObject * obj0 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self",(char *) "image", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 (arg1)->SetImage(arg2);
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
16483 Py_INCREF(Py_None); resultobj = Py_None;
16484 return resultobj;
16485 fail:
16486 return NULL;
16487 }
16488
16489
16490 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16491 PyObject *resultobj;
16492 wxListItem *arg1 = (wxListItem *) 0 ;
16493 long arg2 ;
16494 PyObject * obj0 = 0 ;
16495 char *kwnames[] = {
16496 (char *) "self",(char *) "data", NULL
16497 };
16498
16499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16501 {
16502 PyThreadState* __tstate = wxPyBeginAllowThreads();
16503 (arg1)->SetData(arg2);
16504
16505 wxPyEndAllowThreads(__tstate);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 Py_INCREF(Py_None); resultobj = Py_None;
16509 return resultobj;
16510 fail:
16511 return NULL;
16512 }
16513
16514
16515 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16516 PyObject *resultobj;
16517 wxListItem *arg1 = (wxListItem *) 0 ;
16518 int arg2 ;
16519 PyObject * obj0 = 0 ;
16520 char *kwnames[] = {
16521 (char *) "self",(char *) "width", NULL
16522 };
16523
16524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16526 {
16527 PyThreadState* __tstate = wxPyBeginAllowThreads();
16528 (arg1)->SetWidth(arg2);
16529
16530 wxPyEndAllowThreads(__tstate);
16531 if (PyErr_Occurred()) SWIG_fail;
16532 }
16533 Py_INCREF(Py_None); resultobj = Py_None;
16534 return resultobj;
16535 fail:
16536 return NULL;
16537 }
16538
16539
16540 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16541 PyObject *resultobj;
16542 wxListItem *arg1 = (wxListItem *) 0 ;
16543 int arg2 ;
16544 PyObject * obj0 = 0 ;
16545 char *kwnames[] = {
16546 (char *) "self",(char *) "align", NULL
16547 };
16548
16549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16551 {
16552 PyThreadState* __tstate = wxPyBeginAllowThreads();
16553 (arg1)->SetAlign((wxListColumnFormat )arg2);
16554
16555 wxPyEndAllowThreads(__tstate);
16556 if (PyErr_Occurred()) SWIG_fail;
16557 }
16558 Py_INCREF(Py_None); resultobj = Py_None;
16559 return resultobj;
16560 fail:
16561 return NULL;
16562 }
16563
16564
16565 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16566 PyObject *resultobj;
16567 wxListItem *arg1 = (wxListItem *) 0 ;
16568 wxColour *arg2 = 0 ;
16569 wxColour temp2 ;
16570 PyObject * obj0 = 0 ;
16571 PyObject * obj1 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "colText", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 {
16579 arg2 = &temp2;
16580 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16581 }
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 (arg1)->SetTextColour((wxColour const &)*arg2);
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxListItem *arg1 = (wxListItem *) 0 ;
16599 wxColour *arg2 = 0 ;
16600 wxColour temp2 ;
16601 PyObject * obj0 = 0 ;
16602 PyObject * obj1 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "colBack", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 {
16610 arg2 = &temp2;
16611 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16612 }
16613 {
16614 PyThreadState* __tstate = wxPyBeginAllowThreads();
16615 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16616
16617 wxPyEndAllowThreads(__tstate);
16618 if (PyErr_Occurred()) SWIG_fail;
16619 }
16620 Py_INCREF(Py_None); resultobj = Py_None;
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxListItem *arg1 = (wxListItem *) 0 ;
16630 wxFont *arg2 = 0 ;
16631 PyObject * obj0 = 0 ;
16632 PyObject * obj1 = 0 ;
16633 char *kwnames[] = {
16634 (char *) "self",(char *) "font", NULL
16635 };
16636
16637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16640 if (arg2 == NULL) {
16641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16642 }
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 (arg1)->SetFont((wxFont const &)*arg2);
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
16650 Py_INCREF(Py_None); resultobj = Py_None;
16651 return resultobj;
16652 fail:
16653 return NULL;
16654 }
16655
16656
16657 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxListItem *arg1 = (wxListItem *) 0 ;
16660 long result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (long)(arg1)->GetMask();
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 resultobj = PyInt_FromLong((long)result);
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxListItem *arg1 = (wxListItem *) 0 ;
16685 long result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 result = (long)(arg1)->GetId();
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
16700 resultobj = PyInt_FromLong((long)result);
16701 return resultobj;
16702 fail:
16703 return NULL;
16704 }
16705
16706
16707 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxListItem *arg1 = (wxListItem *) 0 ;
16710 int result;
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = (int)(arg1)->GetColumn();
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 resultobj = PyInt_FromLong((long)result);
16726 return resultobj;
16727 fail:
16728 return NULL;
16729 }
16730
16731
16732 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxListItem *arg1 = (wxListItem *) 0 ;
16735 long result;
16736 PyObject * obj0 = 0 ;
16737 char *kwnames[] = {
16738 (char *) "self", NULL
16739 };
16740
16741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16743 {
16744 PyThreadState* __tstate = wxPyBeginAllowThreads();
16745 result = (long)(arg1)->GetState();
16746
16747 wxPyEndAllowThreads(__tstate);
16748 if (PyErr_Occurred()) SWIG_fail;
16749 }
16750 resultobj = PyInt_FromLong((long)result);
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxListItem *arg1 = (wxListItem *) 0 ;
16760 wxString *result;
16761 PyObject * obj0 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16768 {
16769 PyThreadState* __tstate = wxPyBeginAllowThreads();
16770 {
16771 wxString const &_result_ref = (arg1)->GetText();
16772 result = (wxString *) &_result_ref;
16773 }
16774
16775 wxPyEndAllowThreads(__tstate);
16776 if (PyErr_Occurred()) SWIG_fail;
16777 }
16778 {
16779 #if wxUSE_UNICODE
16780 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16781 #else
16782 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16783 #endif
16784 }
16785 return resultobj;
16786 fail:
16787 return NULL;
16788 }
16789
16790
16791 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16792 PyObject *resultobj;
16793 wxListItem *arg1 = (wxListItem *) 0 ;
16794 int result;
16795 PyObject * obj0 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16802 {
16803 PyThreadState* __tstate = wxPyBeginAllowThreads();
16804 result = (int)(arg1)->GetImage();
16805
16806 wxPyEndAllowThreads(__tstate);
16807 if (PyErr_Occurred()) SWIG_fail;
16808 }
16809 resultobj = PyInt_FromLong((long)result);
16810 return resultobj;
16811 fail:
16812 return NULL;
16813 }
16814
16815
16816 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16817 PyObject *resultobj;
16818 wxListItem *arg1 = (wxListItem *) 0 ;
16819 long result;
16820 PyObject * obj0 = 0 ;
16821 char *kwnames[] = {
16822 (char *) "self", NULL
16823 };
16824
16825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 result = (long)(arg1)->GetData();
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 resultobj = PyInt_FromLong((long)result);
16835 return resultobj;
16836 fail:
16837 return NULL;
16838 }
16839
16840
16841 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj;
16843 wxListItem *arg1 = (wxListItem *) 0 ;
16844 int result;
16845 PyObject * obj0 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "self", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (int)(arg1)->GetWidth();
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 resultobj = PyInt_FromLong((long)result);
16860 return resultobj;
16861 fail:
16862 return NULL;
16863 }
16864
16865
16866 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxListItem *arg1 = (wxListItem *) 0 ;
16869 int result;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16877 {
16878 PyThreadState* __tstate = wxPyBeginAllowThreads();
16879 result = (int)(arg1)->GetAlign();
16880
16881 wxPyEndAllowThreads(__tstate);
16882 if (PyErr_Occurred()) SWIG_fail;
16883 }
16884 resultobj = PyInt_FromLong((long)result);
16885 return resultobj;
16886 fail:
16887 return NULL;
16888 }
16889
16890
16891 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16892 PyObject *resultobj;
16893 wxListItem *arg1 = (wxListItem *) 0 ;
16894 wxListItemAttr *result;
16895 PyObject * obj0 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 {
16903 PyThreadState* __tstate = wxPyBeginAllowThreads();
16904 result = (wxListItemAttr *)(arg1)->GetAttributes();
16905
16906 wxPyEndAllowThreads(__tstate);
16907 if (PyErr_Occurred()) SWIG_fail;
16908 }
16909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16910 return resultobj;
16911 fail:
16912 return NULL;
16913 }
16914
16915
16916 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxListItem *arg1 = (wxListItem *) 0 ;
16919 bool result;
16920 PyObject * obj0 = 0 ;
16921 char *kwnames[] = {
16922 (char *) "self", NULL
16923 };
16924
16925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16927 {
16928 PyThreadState* __tstate = wxPyBeginAllowThreads();
16929 result = (bool)(arg1)->HasAttributes();
16930
16931 wxPyEndAllowThreads(__tstate);
16932 if (PyErr_Occurred()) SWIG_fail;
16933 }
16934 resultobj = PyInt_FromLong((long)result);
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxListItem *arg1 = (wxListItem *) 0 ;
16944 wxColour result;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 result = ((wxListItem const *)arg1)->GetTextColour();
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 {
16960 wxColour * resultptr;
16961 resultptr = new wxColour((wxColour &) result);
16962 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16963 }
16964 return resultobj;
16965 fail:
16966 return NULL;
16967 }
16968
16969
16970 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16971 PyObject *resultobj;
16972 wxListItem *arg1 = (wxListItem *) 0 ;
16973 wxColour result;
16974 PyObject * obj0 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 {
16989 wxColour * resultptr;
16990 resultptr = new wxColour((wxColour &) result);
16991 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16992 }
16993 return resultobj;
16994 fail:
16995 return NULL;
16996 }
16997
16998
16999 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17000 PyObject *resultobj;
17001 wxListItem *arg1 = (wxListItem *) 0 ;
17002 wxFont result;
17003 PyObject * obj0 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = ((wxListItem const *)arg1)->GetFont();
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
17017 {
17018 wxFont * resultptr;
17019 resultptr = new wxFont((wxFont &) result);
17020 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17021 }
17022 return resultobj;
17023 fail:
17024 return NULL;
17025 }
17026
17027
17028 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17029 PyObject *resultobj;
17030 wxListItem *arg1 = (wxListItem *) 0 ;
17031 long arg2 ;
17032 PyObject * obj0 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "m_mask", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17039 if (arg1) (arg1)->m_mask = arg2;
17040
17041 Py_INCREF(Py_None); resultobj = Py_None;
17042 return resultobj;
17043 fail:
17044 return NULL;
17045 }
17046
17047
17048 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17049 PyObject *resultobj;
17050 wxListItem *arg1 = (wxListItem *) 0 ;
17051 long result;
17052 PyObject * obj0 = 0 ;
17053 char *kwnames[] = {
17054 (char *) "self", NULL
17055 };
17056
17057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
17058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17059 result = (long) ((arg1)->m_mask);
17060
17061 resultobj = PyInt_FromLong((long)result);
17062 return resultobj;
17063 fail:
17064 return NULL;
17065 }
17066
17067
17068 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17069 PyObject *resultobj;
17070 wxListItem *arg1 = (wxListItem *) 0 ;
17071 long arg2 ;
17072 PyObject * obj0 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "m_itemId", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17079 if (arg1) (arg1)->m_itemId = arg2;
17080
17081 Py_INCREF(Py_None); resultobj = Py_None;
17082 return resultobj;
17083 fail:
17084 return NULL;
17085 }
17086
17087
17088 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17089 PyObject *resultobj;
17090 wxListItem *arg1 = (wxListItem *) 0 ;
17091 long result;
17092 PyObject * obj0 = 0 ;
17093 char *kwnames[] = {
17094 (char *) "self", NULL
17095 };
17096
17097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
17098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17099 result = (long) ((arg1)->m_itemId);
17100
17101 resultobj = PyInt_FromLong((long)result);
17102 return resultobj;
17103 fail:
17104 return NULL;
17105 }
17106
17107
17108 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17109 PyObject *resultobj;
17110 wxListItem *arg1 = (wxListItem *) 0 ;
17111 int arg2 ;
17112 PyObject * obj0 = 0 ;
17113 char *kwnames[] = {
17114 (char *) "self",(char *) "m_col", NULL
17115 };
17116
17117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17119 if (arg1) (arg1)->m_col = arg2;
17120
17121 Py_INCREF(Py_None); resultobj = Py_None;
17122 return resultobj;
17123 fail:
17124 return NULL;
17125 }
17126
17127
17128 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17129 PyObject *resultobj;
17130 wxListItem *arg1 = (wxListItem *) 0 ;
17131 int result;
17132 PyObject * obj0 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17139 result = (int) ((arg1)->m_col);
17140
17141 resultobj = PyInt_FromLong((long)result);
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17149 PyObject *resultobj;
17150 wxListItem *arg1 = (wxListItem *) 0 ;
17151 long arg2 ;
17152 PyObject * obj0 = 0 ;
17153 char *kwnames[] = {
17154 (char *) "self",(char *) "m_state", NULL
17155 };
17156
17157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
17158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17159 if (arg1) (arg1)->m_state = arg2;
17160
17161 Py_INCREF(Py_None); resultobj = Py_None;
17162 return resultobj;
17163 fail:
17164 return NULL;
17165 }
17166
17167
17168 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17169 PyObject *resultobj;
17170 wxListItem *arg1 = (wxListItem *) 0 ;
17171 long result;
17172 PyObject * obj0 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 result = (long) ((arg1)->m_state);
17180
17181 resultobj = PyInt_FromLong((long)result);
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxListItem *arg1 = (wxListItem *) 0 ;
17191 long arg2 ;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self",(char *) "m_stateMask", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17199 if (arg1) (arg1)->m_stateMask = arg2;
17200
17201 Py_INCREF(Py_None); resultobj = Py_None;
17202 return resultobj;
17203 fail:
17204 return NULL;
17205 }
17206
17207
17208 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17209 PyObject *resultobj;
17210 wxListItem *arg1 = (wxListItem *) 0 ;
17211 long result;
17212 PyObject * obj0 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
17218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17219 result = (long) ((arg1)->m_stateMask);
17220
17221 resultobj = PyInt_FromLong((long)result);
17222 return resultobj;
17223 fail:
17224 return NULL;
17225 }
17226
17227
17228 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17229 PyObject *resultobj;
17230 wxListItem *arg1 = (wxListItem *) 0 ;
17231 wxString *arg2 = (wxString *) 0 ;
17232 bool temp2 = False ;
17233 PyObject * obj0 = 0 ;
17234 PyObject * obj1 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self",(char *) "m_text", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 {
17242 arg2 = wxString_in_helper(obj1);
17243 if (arg2 == NULL) SWIG_fail;
17244 temp2 = True;
17245 }
17246 if (arg1) (arg1)->m_text = *arg2;
17247
17248 Py_INCREF(Py_None); resultobj = Py_None;
17249 {
17250 if (temp2)
17251 delete arg2;
17252 }
17253 return resultobj;
17254 fail:
17255 {
17256 if (temp2)
17257 delete arg2;
17258 }
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxListItem *arg1 = (wxListItem *) 0 ;
17266 wxString *result;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
17273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 result = (wxString *)& ((arg1)->m_text);
17275
17276 {
17277 #if wxUSE_UNICODE
17278 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17279 #else
17280 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17281 #endif
17282 }
17283 return resultobj;
17284 fail:
17285 return NULL;
17286 }
17287
17288
17289 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17290 PyObject *resultobj;
17291 wxListItem *arg1 = (wxListItem *) 0 ;
17292 int arg2 ;
17293 PyObject * obj0 = 0 ;
17294 char *kwnames[] = {
17295 (char *) "self",(char *) "m_image", NULL
17296 };
17297
17298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
17299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17300 if (arg1) (arg1)->m_image = arg2;
17301
17302 Py_INCREF(Py_None); resultobj = Py_None;
17303 return resultobj;
17304 fail:
17305 return NULL;
17306 }
17307
17308
17309 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17310 PyObject *resultobj;
17311 wxListItem *arg1 = (wxListItem *) 0 ;
17312 int result;
17313 PyObject * obj0 = 0 ;
17314 char *kwnames[] = {
17315 (char *) "self", NULL
17316 };
17317
17318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
17319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17320 result = (int) ((arg1)->m_image);
17321
17322 resultobj = PyInt_FromLong((long)result);
17323 return resultobj;
17324 fail:
17325 return NULL;
17326 }
17327
17328
17329 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxListItem *arg1 = (wxListItem *) 0 ;
17332 long arg2 ;
17333 PyObject * obj0 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "m_data", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17340 if (arg1) (arg1)->m_data = arg2;
17341
17342 Py_INCREF(Py_None); resultobj = Py_None;
17343 return resultobj;
17344 fail:
17345 return NULL;
17346 }
17347
17348
17349 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 wxListItem *arg1 = (wxListItem *) 0 ;
17352 long result;
17353 PyObject * obj0 = 0 ;
17354 char *kwnames[] = {
17355 (char *) "self", NULL
17356 };
17357
17358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17360 result = (long) ((arg1)->m_data);
17361
17362 resultobj = PyInt_FromLong((long)result);
17363 return resultobj;
17364 fail:
17365 return NULL;
17366 }
17367
17368
17369 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxListItem *arg1 = (wxListItem *) 0 ;
17372 int arg2 ;
17373 PyObject * obj0 = 0 ;
17374 char *kwnames[] = {
17375 (char *) "self",(char *) "m_format", NULL
17376 };
17377
17378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17380 if (arg1) (arg1)->m_format = arg2;
17381
17382 Py_INCREF(Py_None); resultobj = Py_None;
17383 return resultobj;
17384 fail:
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxListItem *arg1 = (wxListItem *) 0 ;
17392 int result;
17393 PyObject * obj0 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17400 result = (int) ((arg1)->m_format);
17401
17402 resultobj = PyInt_FromLong((long)result);
17403 return resultobj;
17404 fail:
17405 return NULL;
17406 }
17407
17408
17409 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17410 PyObject *resultobj;
17411 wxListItem *arg1 = (wxListItem *) 0 ;
17412 int arg2 ;
17413 PyObject * obj0 = 0 ;
17414 char *kwnames[] = {
17415 (char *) "self",(char *) "m_width", NULL
17416 };
17417
17418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17420 if (arg1) (arg1)->m_width = arg2;
17421
17422 Py_INCREF(Py_None); resultobj = Py_None;
17423 return resultobj;
17424 fail:
17425 return NULL;
17426 }
17427
17428
17429 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxListItem *arg1 = (wxListItem *) 0 ;
17432 int result;
17433 PyObject * obj0 = 0 ;
17434 char *kwnames[] = {
17435 (char *) "self", NULL
17436 };
17437
17438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17440 result = (int) ((arg1)->m_width);
17441
17442 resultobj = PyInt_FromLong((long)result);
17443 return resultobj;
17444 fail:
17445 return NULL;
17446 }
17447
17448
17449 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17450 PyObject *obj;
17451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17452 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17453 Py_INCREF(obj);
17454 return Py_BuildValue((char *)"");
17455 }
17456 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17459 int arg2 = (int) 0 ;
17460 wxListEvent *result;
17461 char *kwnames[] = {
17462 (char *) "commandType",(char *) "id", NULL
17463 };
17464
17465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxListEvent *arg1 = (wxListEvent *) 0 ;
17483 int arg2 ;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self",(char *) "m_code", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 if (arg1) (arg1)->m_code = arg2;
17492
17493 Py_INCREF(Py_None); resultobj = Py_None;
17494 return resultobj;
17495 fail:
17496 return NULL;
17497 }
17498
17499
17500 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17501 PyObject *resultobj;
17502 wxListEvent *arg1 = (wxListEvent *) 0 ;
17503 int result;
17504 PyObject * obj0 = 0 ;
17505 char *kwnames[] = {
17506 (char *) "self", NULL
17507 };
17508
17509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17511 result = (int) ((arg1)->m_code);
17512
17513 resultobj = PyInt_FromLong((long)result);
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17521 PyObject *resultobj;
17522 wxListEvent *arg1 = (wxListEvent *) 0 ;
17523 long arg2 ;
17524 PyObject * obj0 = 0 ;
17525 char *kwnames[] = {
17526 (char *) "self",(char *) "m_oldItemIndex", NULL
17527 };
17528
17529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17531 if (arg1) (arg1)->m_oldItemIndex = arg2;
17532
17533 Py_INCREF(Py_None); resultobj = Py_None;
17534 return resultobj;
17535 fail:
17536 return NULL;
17537 }
17538
17539
17540 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxListEvent *arg1 = (wxListEvent *) 0 ;
17543 long result;
17544 PyObject * obj0 = 0 ;
17545 char *kwnames[] = {
17546 (char *) "self", NULL
17547 };
17548
17549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17551 result = (long) ((arg1)->m_oldItemIndex);
17552
17553 resultobj = PyInt_FromLong((long)result);
17554 return resultobj;
17555 fail:
17556 return NULL;
17557 }
17558
17559
17560 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17561 PyObject *resultobj;
17562 wxListEvent *arg1 = (wxListEvent *) 0 ;
17563 long arg2 ;
17564 PyObject * obj0 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "self",(char *) "m_itemIndex", NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17571 if (arg1) (arg1)->m_itemIndex = arg2;
17572
17573 Py_INCREF(Py_None); resultobj = Py_None;
17574 return resultobj;
17575 fail:
17576 return NULL;
17577 }
17578
17579
17580 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17581 PyObject *resultobj;
17582 wxListEvent *arg1 = (wxListEvent *) 0 ;
17583 long result;
17584 PyObject * obj0 = 0 ;
17585 char *kwnames[] = {
17586 (char *) "self", NULL
17587 };
17588
17589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17591 result = (long) ((arg1)->m_itemIndex);
17592
17593 resultobj = PyInt_FromLong((long)result);
17594 return resultobj;
17595 fail:
17596 return NULL;
17597 }
17598
17599
17600 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17601 PyObject *resultobj;
17602 wxListEvent *arg1 = (wxListEvent *) 0 ;
17603 int arg2 ;
17604 PyObject * obj0 = 0 ;
17605 char *kwnames[] = {
17606 (char *) "self",(char *) "m_col", NULL
17607 };
17608
17609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17611 if (arg1) (arg1)->m_col = arg2;
17612
17613 Py_INCREF(Py_None); resultobj = Py_None;
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17621 PyObject *resultobj;
17622 wxListEvent *arg1 = (wxListEvent *) 0 ;
17623 int result;
17624 PyObject * obj0 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 result = (int) ((arg1)->m_col);
17632
17633 resultobj = PyInt_FromLong((long)result);
17634 return resultobj;
17635 fail:
17636 return NULL;
17637 }
17638
17639
17640 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
17642 wxListEvent *arg1 = (wxListEvent *) 0 ;
17643 wxPoint *arg2 = (wxPoint *) 0 ;
17644 PyObject * obj0 = 0 ;
17645 PyObject * obj1 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self",(char *) "m_pointDrag", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17653 if (arg1) (arg1)->m_pointDrag = *arg2;
17654
17655 Py_INCREF(Py_None); resultobj = Py_None;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxListEvent *arg1 = (wxListEvent *) 0 ;
17665 wxPoint *result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 result = (wxPoint *)& ((arg1)->m_pointDrag);
17674
17675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxListEvent *arg1 = (wxListEvent *) 0 ;
17685 wxListItem *result;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 result = (wxListItem *)& ((arg1)->m_item);
17694
17695 {
17696 resultobj = wxPyMake_wxObject(result);
17697 }
17698 return resultobj;
17699 fail:
17700 return NULL;
17701 }
17702
17703
17704 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17705 PyObject *resultobj;
17706 wxListEvent *arg1 = (wxListEvent *) 0 ;
17707 int result;
17708 PyObject * obj0 = 0 ;
17709 char *kwnames[] = {
17710 (char *) "self", NULL
17711 };
17712
17713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17715 {
17716 PyThreadState* __tstate = wxPyBeginAllowThreads();
17717 result = (int)(arg1)->GetKeyCode();
17718
17719 wxPyEndAllowThreads(__tstate);
17720 if (PyErr_Occurred()) SWIG_fail;
17721 }
17722 resultobj = PyInt_FromLong((long)result);
17723 return resultobj;
17724 fail:
17725 return NULL;
17726 }
17727
17728
17729 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxListEvent *arg1 = (wxListEvent *) 0 ;
17732 long result;
17733 PyObject * obj0 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "self", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 {
17741 PyThreadState* __tstate = wxPyBeginAllowThreads();
17742 result = (long)(arg1)->GetIndex();
17743
17744 wxPyEndAllowThreads(__tstate);
17745 if (PyErr_Occurred()) SWIG_fail;
17746 }
17747 resultobj = PyInt_FromLong((long)result);
17748 return resultobj;
17749 fail:
17750 return NULL;
17751 }
17752
17753
17754 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17755 PyObject *resultobj;
17756 wxListEvent *arg1 = (wxListEvent *) 0 ;
17757 int result;
17758 PyObject * obj0 = 0 ;
17759 char *kwnames[] = {
17760 (char *) "self", NULL
17761 };
17762
17763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17765 {
17766 PyThreadState* __tstate = wxPyBeginAllowThreads();
17767 result = (int)(arg1)->GetColumn();
17768
17769 wxPyEndAllowThreads(__tstate);
17770 if (PyErr_Occurred()) SWIG_fail;
17771 }
17772 resultobj = PyInt_FromLong((long)result);
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxListEvent *arg1 = (wxListEvent *) 0 ;
17782 wxPoint result;
17783 PyObject * obj0 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = (arg1)->GetPoint();
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 {
17798 wxPoint * resultptr;
17799 resultptr = new wxPoint((wxPoint &) result);
17800 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17801 }
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxListEvent *arg1 = (wxListEvent *) 0 ;
17811 wxString *result;
17812 PyObject * obj0 = 0 ;
17813 char *kwnames[] = {
17814 (char *) "self", NULL
17815 };
17816
17817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 {
17822 wxString const &_result_ref = (arg1)->GetLabel();
17823 result = (wxString *) &_result_ref;
17824 }
17825
17826 wxPyEndAllowThreads(__tstate);
17827 if (PyErr_Occurred()) SWIG_fail;
17828 }
17829 {
17830 #if wxUSE_UNICODE
17831 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17832 #else
17833 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17834 #endif
17835 }
17836 return resultobj;
17837 fail:
17838 return NULL;
17839 }
17840
17841
17842 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxListEvent *arg1 = (wxListEvent *) 0 ;
17845 wxString *result;
17846 PyObject * obj0 = 0 ;
17847 char *kwnames[] = {
17848 (char *) "self", NULL
17849 };
17850
17851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17853 {
17854 PyThreadState* __tstate = wxPyBeginAllowThreads();
17855 {
17856 wxString const &_result_ref = (arg1)->GetText();
17857 result = (wxString *) &_result_ref;
17858 }
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 {
17864 #if wxUSE_UNICODE
17865 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17866 #else
17867 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17868 #endif
17869 }
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxListEvent *arg1 = (wxListEvent *) 0 ;
17879 int result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "self", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17887 {
17888 PyThreadState* __tstate = wxPyBeginAllowThreads();
17889 result = (int)(arg1)->GetImage();
17890
17891 wxPyEndAllowThreads(__tstate);
17892 if (PyErr_Occurred()) SWIG_fail;
17893 }
17894 resultobj = PyInt_FromLong((long)result);
17895 return resultobj;
17896 fail:
17897 return NULL;
17898 }
17899
17900
17901 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17902 PyObject *resultobj;
17903 wxListEvent *arg1 = (wxListEvent *) 0 ;
17904 long result;
17905 PyObject * obj0 = 0 ;
17906 char *kwnames[] = {
17907 (char *) "self", NULL
17908 };
17909
17910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (long)(arg1)->GetData();
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
17919 resultobj = PyInt_FromLong((long)result);
17920 return resultobj;
17921 fail:
17922 return NULL;
17923 }
17924
17925
17926 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxListEvent *arg1 = (wxListEvent *) 0 ;
17929 long result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "self", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17937 {
17938 PyThreadState* __tstate = wxPyBeginAllowThreads();
17939 result = (long)(arg1)->GetMask();
17940
17941 wxPyEndAllowThreads(__tstate);
17942 if (PyErr_Occurred()) SWIG_fail;
17943 }
17944 resultobj = PyInt_FromLong((long)result);
17945 return resultobj;
17946 fail:
17947 return NULL;
17948 }
17949
17950
17951 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxListEvent *arg1 = (wxListEvent *) 0 ;
17954 wxListItem *result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 {
17965 wxListItem const &_result_ref = (arg1)->GetItem();
17966 result = (wxListItem *) &_result_ref;
17967 }
17968
17969 wxPyEndAllowThreads(__tstate);
17970 if (PyErr_Occurred()) SWIG_fail;
17971 }
17972 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17973 return resultobj;
17974 fail:
17975 return NULL;
17976 }
17977
17978
17979 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17980 PyObject *resultobj;
17981 wxListEvent *arg1 = (wxListEvent *) 0 ;
17982 long result;
17983 PyObject * obj0 = 0 ;
17984 char *kwnames[] = {
17985 (char *) "self", NULL
17986 };
17987
17988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 result = (long)(arg1)->GetCacheFrom();
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 resultobj = PyInt_FromLong((long)result);
17998 return resultobj;
17999 fail:
18000 return NULL;
18001 }
18002
18003
18004 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj;
18006 wxListEvent *arg1 = (wxListEvent *) 0 ;
18007 long result;
18008 PyObject * obj0 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (long)(arg1)->GetCacheTo();
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 resultobj = PyInt_FromLong((long)result);
18023 return resultobj;
18024 fail:
18025 return NULL;
18026 }
18027
18028
18029 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
18030 PyObject *resultobj;
18031 wxListEvent *arg1 = (wxListEvent *) 0 ;
18032 bool result;
18033 PyObject * obj0 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18040 {
18041 PyThreadState* __tstate = wxPyBeginAllowThreads();
18042 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
18043
18044 wxPyEndAllowThreads(__tstate);
18045 if (PyErr_Occurred()) SWIG_fail;
18046 }
18047 resultobj = PyInt_FromLong((long)result);
18048 return resultobj;
18049 fail:
18050 return NULL;
18051 }
18052
18053
18054 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
18055 PyObject *resultobj;
18056 wxListEvent *arg1 = (wxListEvent *) 0 ;
18057 bool arg2 ;
18058 PyObject * obj0 = 0 ;
18059 PyObject * obj1 = 0 ;
18060 char *kwnames[] = {
18061 (char *) "self",(char *) "editCancelled", NULL
18062 };
18063
18064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18066 {
18067 arg2 = (bool) SPyObj_AsBool(obj1);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 (arg1)->SetEditCanceled(arg2);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 Py_INCREF(Py_None); resultobj = Py_None;
18078 return resultobj;
18079 fail:
18080 return NULL;
18081 }
18082
18083
18084 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
18085 PyObject *obj;
18086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18087 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
18088 Py_INCREF(obj);
18089 return Py_BuildValue((char *)"");
18090 }
18091 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxWindow *arg1 = (wxWindow *) 0 ;
18094 int arg2 = (int) -1 ;
18095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18097 wxSize const &arg4_defvalue = wxDefaultSize ;
18098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18099 long arg5 = (long) wxLC_ICON ;
18100 wxValidator const &arg6_defvalue = wxDefaultValidator ;
18101 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
18102 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
18103 wxString *arg7 = (wxString *) &arg7_defvalue ;
18104 wxPyListCtrl *result;
18105 wxPoint temp3 ;
18106 wxSize temp4 ;
18107 bool temp7 = False ;
18108 PyObject * obj0 = 0 ;
18109 PyObject * obj2 = 0 ;
18110 PyObject * obj3 = 0 ;
18111 PyObject * obj5 = 0 ;
18112 PyObject * obj6 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18119 if (obj2) {
18120 {
18121 arg3 = &temp3;
18122 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18123 }
18124 }
18125 if (obj3) {
18126 {
18127 arg4 = &temp4;
18128 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18129 }
18130 }
18131 if (obj5) {
18132 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18133 if (arg6 == NULL) {
18134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18135 }
18136 }
18137 if (obj6) {
18138 {
18139 arg7 = wxString_in_helper(obj6);
18140 if (arg7 == NULL) SWIG_fail;
18141 temp7 = True;
18142 }
18143 }
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18152 {
18153 if (temp7)
18154 delete arg7;
18155 }
18156 return resultobj;
18157 fail:
18158 {
18159 if (temp7)
18160 delete arg7;
18161 }
18162 return NULL;
18163 }
18164
18165
18166 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxPyListCtrl *result;
18169 char *kwnames[] = {
18170 NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (wxPyListCtrl *)new wxPyListCtrl();
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18182 return resultobj;
18183 fail:
18184 return NULL;
18185 }
18186
18187
18188 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18191 wxWindow *arg2 = (wxWindow *) 0 ;
18192 int arg3 = (int) -1 ;
18193 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18194 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18195 wxSize const &arg5_defvalue = wxDefaultSize ;
18196 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18197 long arg6 = (long) wxLC_ICON ;
18198 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18199 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18200 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
18201 wxString *arg8 = (wxString *) &arg8_defvalue ;
18202 bool result;
18203 wxPoint temp4 ;
18204 wxSize temp5 ;
18205 bool temp8 = False ;
18206 PyObject * obj0 = 0 ;
18207 PyObject * obj1 = 0 ;
18208 PyObject * obj3 = 0 ;
18209 PyObject * obj4 = 0 ;
18210 PyObject * obj6 = 0 ;
18211 PyObject * obj7 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
18217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18219 if (obj3) {
18220 {
18221 arg4 = &temp4;
18222 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18223 }
18224 }
18225 if (obj4) {
18226 {
18227 arg5 = &temp5;
18228 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18229 }
18230 }
18231 if (obj6) {
18232 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18233 if (arg7 == NULL) {
18234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18235 }
18236 }
18237 if (obj7) {
18238 {
18239 arg8 = wxString_in_helper(obj7);
18240 if (arg8 == NULL) SWIG_fail;
18241 temp8 = True;
18242 }
18243 }
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 resultobj = PyInt_FromLong((long)result);
18252 {
18253 if (temp8)
18254 delete arg8;
18255 }
18256 return resultobj;
18257 fail:
18258 {
18259 if (temp8)
18260 delete arg8;
18261 }
18262 return NULL;
18263 }
18264
18265
18266 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj;
18268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18269 PyObject *arg2 = (PyObject *) 0 ;
18270 PyObject *arg3 = (PyObject *) 0 ;
18271 PyObject * obj0 = 0 ;
18272 PyObject * obj1 = 0 ;
18273 PyObject * obj2 = 0 ;
18274 char *kwnames[] = {
18275 (char *) "self",(char *) "self",(char *) "_class", NULL
18276 };
18277
18278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18280 arg2 = obj1;
18281 arg3 = obj2;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 (arg1)->_setCallbackInfo(arg2,arg3);
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 Py_INCREF(Py_None); resultobj = Py_None;
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18299 wxColour *arg2 = 0 ;
18300 bool result;
18301 wxColour temp2 ;
18302 PyObject * obj0 = 0 ;
18303 PyObject * obj1 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self",(char *) "col", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18310 {
18311 arg2 = &temp2;
18312 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18313 }
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
18317
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 resultobj = PyInt_FromLong((long)result);
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj;
18330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18331 wxColour *arg2 = 0 ;
18332 bool result;
18333 wxColour temp2 ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self",(char *) "col", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18342 {
18343 arg2 = &temp2;
18344 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18345 }
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 resultobj = PyInt_FromLong((long)result);
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18363 int arg2 ;
18364 wxListItem *result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self",(char *) "col", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 {
18380 resultobj = wxPyMake_wxObject(result);
18381 }
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18391 int arg2 ;
18392 wxListItem *arg3 = 0 ;
18393 bool result;
18394 PyObject * obj0 = 0 ;
18395 PyObject * obj2 = 0 ;
18396 char *kwnames[] = {
18397 (char *) "self",(char *) "col",(char *) "item", NULL
18398 };
18399
18400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18403 if (arg3 == NULL) {
18404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18405 }
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 resultobj = PyInt_FromLong((long)result);
18414 return resultobj;
18415 fail:
18416 return NULL;
18417 }
18418
18419
18420 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18423 int arg2 ;
18424 int result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self",(char *) "col", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 resultobj = PyInt_FromLong((long)result);
18440 return resultobj;
18441 fail:
18442 return NULL;
18443 }
18444
18445
18446 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18447 PyObject *resultobj;
18448 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18449 int arg2 ;
18450 int arg3 ;
18451 bool result;
18452 PyObject * obj0 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "col",(char *) "width", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 resultobj = PyInt_FromLong((long)result);
18467 return resultobj;
18468 fail:
18469 return NULL;
18470 }
18471
18472
18473 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18476 int result;
18477 PyObject * obj0 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18484 {
18485 PyThreadState* __tstate = wxPyBeginAllowThreads();
18486 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18487
18488 wxPyEndAllowThreads(__tstate);
18489 if (PyErr_Occurred()) SWIG_fail;
18490 }
18491 resultobj = PyInt_FromLong((long)result);
18492 return resultobj;
18493 fail:
18494 return NULL;
18495 }
18496
18497
18498 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18501 wxRect result;
18502 PyObject * obj0 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 {
18517 wxRect * resultptr;
18518 resultptr = new wxRect((wxRect &) result);
18519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18520 }
18521 return resultobj;
18522 fail:
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18530 wxTextCtrl *result;
18531 PyObject * obj0 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 {
18546 resultobj = wxPyMake_wxObject(result);
18547 }
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18557 long arg2 ;
18558 int arg3 = (int) 0 ;
18559 wxListItem *result;
18560 PyObject * obj0 = 0 ;
18561 char *kwnames[] = {
18562 (char *) "self",(char *) "itemId",(char *) "col", NULL
18563 };
18564
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 {
18575 resultobj = wxPyMake_wxObject(result);
18576 }
18577 return resultobj;
18578 fail:
18579 return NULL;
18580 }
18581
18582
18583 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18584 PyObject *resultobj;
18585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18586 wxListItem *arg2 = 0 ;
18587 bool result;
18588 PyObject * obj0 = 0 ;
18589 PyObject * obj1 = 0 ;
18590 char *kwnames[] = {
18591 (char *) "self",(char *) "info", NULL
18592 };
18593
18594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18597 if (arg2 == NULL) {
18598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18599 }
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (bool)(arg1)->SetItem(*arg2);
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = PyInt_FromLong((long)result);
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18617 long arg2 ;
18618 int arg3 ;
18619 wxString *arg4 = 0 ;
18620 int arg5 = (int) -1 ;
18621 long result;
18622 bool temp4 = False ;
18623 PyObject * obj0 = 0 ;
18624 PyObject * obj3 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18631 {
18632 arg4 = wxString_in_helper(obj3);
18633 if (arg4 == NULL) SWIG_fail;
18634 temp4 = True;
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 resultobj = PyInt_FromLong((long)result);
18644 {
18645 if (temp4)
18646 delete arg4;
18647 }
18648 return resultobj;
18649 fail:
18650 {
18651 if (temp4)
18652 delete arg4;
18653 }
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18661 long arg2 ;
18662 long arg3 ;
18663 int result;
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 resultobj = PyInt_FromLong((long)result);
18679 return resultobj;
18680 fail:
18681 return NULL;
18682 }
18683
18684
18685 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18688 long arg2 ;
18689 long arg3 ;
18690 long arg4 ;
18691 bool result;
18692 PyObject * obj0 = 0 ;
18693 char *kwnames[] = {
18694 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18695 };
18696
18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18699 {
18700 PyThreadState* __tstate = wxPyBeginAllowThreads();
18701 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18702
18703 wxPyEndAllowThreads(__tstate);
18704 if (PyErr_Occurred()) SWIG_fail;
18705 }
18706 resultobj = PyInt_FromLong((long)result);
18707 return resultobj;
18708 fail:
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18716 long arg2 ;
18717 int arg3 ;
18718 int arg4 ;
18719 bool result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 resultobj = PyInt_FromLong((long)result);
18735 return resultobj;
18736 fail:
18737 return NULL;
18738 }
18739
18740
18741 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18744 long arg2 ;
18745 wxString result;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self",(char *) "item", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 #if wxUSE_UNICODE
18762 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18763 #else
18764 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18765 #endif
18766 }
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18776 long arg2 ;
18777 wxString *arg3 = 0 ;
18778 bool temp3 = False ;
18779 PyObject * obj0 = 0 ;
18780 PyObject * obj2 = 0 ;
18781 char *kwnames[] = {
18782 (char *) "self",(char *) "item",(char *) "str", NULL
18783 };
18784
18785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18787 {
18788 arg3 = wxString_in_helper(obj2);
18789 if (arg3 == NULL) SWIG_fail;
18790 temp3 = True;
18791 }
18792 {
18793 PyThreadState* __tstate = wxPyBeginAllowThreads();
18794 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18795
18796 wxPyEndAllowThreads(__tstate);
18797 if (PyErr_Occurred()) SWIG_fail;
18798 }
18799 Py_INCREF(Py_None); resultobj = Py_None;
18800 {
18801 if (temp3)
18802 delete arg3;
18803 }
18804 return resultobj;
18805 fail:
18806 {
18807 if (temp3)
18808 delete arg3;
18809 }
18810 return NULL;
18811 }
18812
18813
18814 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18815 PyObject *resultobj;
18816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18817 long arg2 ;
18818 long result;
18819 PyObject * obj0 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self",(char *) "item", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18826 {
18827 PyThreadState* __tstate = wxPyBeginAllowThreads();
18828 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18829
18830 wxPyEndAllowThreads(__tstate);
18831 if (PyErr_Occurred()) SWIG_fail;
18832 }
18833 resultobj = PyInt_FromLong((long)result);
18834 return resultobj;
18835 fail:
18836 return NULL;
18837 }
18838
18839
18840 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18841 PyObject *resultobj;
18842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18843 long arg2 ;
18844 long arg3 ;
18845 bool result;
18846 PyObject * obj0 = 0 ;
18847 char *kwnames[] = {
18848 (char *) "self",(char *) "item",(char *) "data", NULL
18849 };
18850
18851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18853 {
18854 PyThreadState* __tstate = wxPyBeginAllowThreads();
18855 result = (bool)(arg1)->SetItemData(arg2,arg3);
18856
18857 wxPyEndAllowThreads(__tstate);
18858 if (PyErr_Occurred()) SWIG_fail;
18859 }
18860 resultobj = PyInt_FromLong((long)result);
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18870 long arg2 ;
18871 wxPoint result;
18872 PyObject * obj0 = 0 ;
18873 char *kwnames[] = {
18874 (char *) "self",(char *) "item", NULL
18875 };
18876
18877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 {
18887 wxPoint * resultptr;
18888 resultptr = new wxPoint((wxPoint &) result);
18889 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18890 }
18891 return resultobj;
18892 fail:
18893 return NULL;
18894 }
18895
18896
18897 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18898 PyObject *resultobj;
18899 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18900 long arg2 ;
18901 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18902 wxRect result;
18903 PyObject * obj0 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "item",(char *) "code", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18910 {
18911 PyThreadState* __tstate = wxPyBeginAllowThreads();
18912 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18913
18914 wxPyEndAllowThreads(__tstate);
18915 if (PyErr_Occurred()) SWIG_fail;
18916 }
18917 {
18918 wxRect * resultptr;
18919 resultptr = new wxRect((wxRect &) result);
18920 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18921 }
18922 return resultobj;
18923 fail:
18924 return NULL;
18925 }
18926
18927
18928 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18931 long arg2 ;
18932 wxPoint *arg3 = 0 ;
18933 bool result;
18934 wxPoint temp3 ;
18935 PyObject * obj0 = 0 ;
18936 PyObject * obj2 = 0 ;
18937 char *kwnames[] = {
18938 (char *) "self",(char *) "item",(char *) "pos", NULL
18939 };
18940
18941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18943 {
18944 arg3 = &temp3;
18945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18946 }
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = PyInt_FromLong((long)result);
18955 return resultobj;
18956 fail:
18957 return NULL;
18958 }
18959
18960
18961 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18962 PyObject *resultobj;
18963 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18964 int result;
18965 PyObject * obj0 = 0 ;
18966 char *kwnames[] = {
18967 (char *) "self", NULL
18968 };
18969
18970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18972 {
18973 PyThreadState* __tstate = wxPyBeginAllowThreads();
18974 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18975
18976 wxPyEndAllowThreads(__tstate);
18977 if (PyErr_Occurred()) SWIG_fail;
18978 }
18979 resultobj = PyInt_FromLong((long)result);
18980 return resultobj;
18981 fail:
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18989 int result;
18990 PyObject * obj0 = 0 ;
18991 char *kwnames[] = {
18992 (char *) "self", NULL
18993 };
18994
18995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18997 {
18998 PyThreadState* __tstate = wxPyBeginAllowThreads();
18999 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
19000
19001 wxPyEndAllowThreads(__tstate);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 resultobj = PyInt_FromLong((long)result);
19005 return resultobj;
19006 fail:
19007 return NULL;
19008 }
19009
19010
19011 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
19012 PyObject *resultobj;
19013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19014 wxSize result;
19015 PyObject * obj0 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19022 {
19023 PyThreadState* __tstate = wxPyBeginAllowThreads();
19024 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
19025
19026 wxPyEndAllowThreads(__tstate);
19027 if (PyErr_Occurred()) SWIG_fail;
19028 }
19029 {
19030 wxSize * resultptr;
19031 resultptr = new wxSize((wxSize &) result);
19032 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19033 }
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19043 int result;
19044 PyObject * obj0 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 resultobj = PyInt_FromLong((long)result);
19059 return resultobj;
19060 fail:
19061 return NULL;
19062 }
19063
19064
19065 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj;
19067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19068 wxColour result;
19069 PyObject * obj0 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19076 {
19077 PyThreadState* __tstate = wxPyBeginAllowThreads();
19078 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
19079
19080 wxPyEndAllowThreads(__tstate);
19081 if (PyErr_Occurred()) SWIG_fail;
19082 }
19083 {
19084 wxColour * resultptr;
19085 resultptr = new wxColour((wxColour &) result);
19086 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19087 }
19088 return resultobj;
19089 fail:
19090 return NULL;
19091 }
19092
19093
19094 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj;
19096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19097 wxColour *arg2 = 0 ;
19098 wxColour temp2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "col", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19107 {
19108 arg2 = &temp2;
19109 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19110 }
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
19113 (arg1)->SetTextColour((wxColour const &)*arg2);
19114
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 Py_INCREF(Py_None); resultobj = Py_None;
19119 return resultobj;
19120 fail:
19121 return NULL;
19122 }
19123
19124
19125 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19126 PyObject *resultobj;
19127 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19128 long result;
19129 PyObject * obj0 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
19135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19136 {
19137 PyThreadState* __tstate = wxPyBeginAllowThreads();
19138 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
19139
19140 wxPyEndAllowThreads(__tstate);
19141 if (PyErr_Occurred()) SWIG_fail;
19142 }
19143 resultobj = PyInt_FromLong((long)result);
19144 return resultobj;
19145 fail:
19146 return NULL;
19147 }
19148
19149
19150 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19153 long arg2 ;
19154 bool arg3 = (bool) True ;
19155 PyObject * obj0 = 0 ;
19156 PyObject * obj2 = 0 ;
19157 char *kwnames[] = {
19158 (char *) "self",(char *) "style",(char *) "add", NULL
19159 };
19160
19161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
19162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19163 if (obj2) {
19164 {
19165 arg3 = (bool) SPyObj_AsBool(obj2);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 }
19169 {
19170 PyThreadState* __tstate = wxPyBeginAllowThreads();
19171 (arg1)->SetSingleStyle(arg2,arg3);
19172
19173 wxPyEndAllowThreads(__tstate);
19174 if (PyErr_Occurred()) SWIG_fail;
19175 }
19176 Py_INCREF(Py_None); resultobj = Py_None;
19177 return resultobj;
19178 fail:
19179 return NULL;
19180 }
19181
19182
19183 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
19184 PyObject *resultobj;
19185 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19186 long arg2 ;
19187 PyObject * obj0 = 0 ;
19188 char *kwnames[] = {
19189 (char *) "self",(char *) "style", NULL
19190 };
19191
19192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
19193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 (arg1)->SetWindowStyleFlag(arg2);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 Py_INCREF(Py_None); resultobj = Py_None;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19211 long arg2 ;
19212 int arg3 = (int) wxLIST_NEXT_ALL ;
19213 int arg4 = (int) wxLIST_STATE_DONTCARE ;
19214 long result;
19215 PyObject * obj0 = 0 ;
19216 char *kwnames[] = {
19217 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19218 };
19219
19220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 resultobj = PyInt_FromLong((long)result);
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19239 int arg2 ;
19240 wxImageList *result;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self",(char *) "which", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19248 {
19249 PyThreadState* __tstate = wxPyBeginAllowThreads();
19250 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
19251
19252 wxPyEndAllowThreads(__tstate);
19253 if (PyErr_Occurred()) SWIG_fail;
19254 }
19255 {
19256 resultobj = wxPyMake_wxObject(result);
19257 }
19258 return resultobj;
19259 fail:
19260 return NULL;
19261 }
19262
19263
19264 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19267 wxImageList *arg2 = (wxImageList *) 0 ;
19268 int arg3 ;
19269 PyObject * obj0 = 0 ;
19270 PyObject * obj1 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self",(char *) "imageList",(char *) "which", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19278 {
19279 PyThreadState* __tstate = wxPyBeginAllowThreads();
19280 (arg1)->SetImageList(arg2,arg3);
19281
19282 wxPyEndAllowThreads(__tstate);
19283 if (PyErr_Occurred()) SWIG_fail;
19284 }
19285 Py_INCREF(Py_None); resultobj = Py_None;
19286 return resultobj;
19287 fail:
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19295 wxImageList *arg2 = (wxImageList *) 0 ;
19296 int arg3 ;
19297 PyObject * obj0 = 0 ;
19298 PyObject * obj1 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "imageList",(char *) "which", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 (arg1)->AssignImageList(arg2,arg3);
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 Py_INCREF(Py_None); resultobj = Py_None;
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19323 bool result;
19324 PyObject * obj0 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 resultobj = PyInt_FromLong((long)result);
19339 return resultobj;
19340 fail:
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19348 long arg2 ;
19349 PyObject * obj0 = 0 ;
19350 char *kwnames[] = {
19351 (char *) "self",(char *) "item", NULL
19352 };
19353
19354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 (arg1)->RefreshItem(arg2);
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 Py_INCREF(Py_None); resultobj = Py_None;
19364 return resultobj;
19365 fail:
19366 return NULL;
19367 }
19368
19369
19370 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19373 long arg2 ;
19374 long arg3 ;
19375 PyObject * obj0 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 (arg1)->RefreshItems(arg2,arg3);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
19389 Py_INCREF(Py_None); resultobj = Py_None;
19390 return resultobj;
19391 fail:
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19399 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19400 bool result;
19401 PyObject * obj0 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self",(char *) "flag", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19408 {
19409 PyThreadState* __tstate = wxPyBeginAllowThreads();
19410 result = (bool)(arg1)->Arrange(arg2);
19411
19412 wxPyEndAllowThreads(__tstate);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 }
19415 resultobj = PyInt_FromLong((long)result);
19416 return resultobj;
19417 fail:
19418 return NULL;
19419 }
19420
19421
19422 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19423 PyObject *resultobj;
19424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19425 long arg2 ;
19426 bool result;
19427 PyObject * obj0 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self",(char *) "item", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19434 {
19435 PyThreadState* __tstate = wxPyBeginAllowThreads();
19436 result = (bool)(arg1)->DeleteItem(arg2);
19437
19438 wxPyEndAllowThreads(__tstate);
19439 if (PyErr_Occurred()) SWIG_fail;
19440 }
19441 resultobj = PyInt_FromLong((long)result);
19442 return resultobj;
19443 fail:
19444 return NULL;
19445 }
19446
19447
19448 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19449 PyObject *resultobj;
19450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19451 bool result;
19452 PyObject * obj0 = 0 ;
19453 char *kwnames[] = {
19454 (char *) "self", NULL
19455 };
19456
19457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (bool)(arg1)->DeleteAllItems();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 resultobj = PyInt_FromLong((long)result);
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19476 int arg2 ;
19477 bool result;
19478 PyObject * obj0 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "col", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (bool)(arg1)->DeleteColumn(arg2);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = PyInt_FromLong((long)result);
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19502 bool result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 result = (bool)(arg1)->DeleteAllColumns();
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 resultobj = PyInt_FromLong((long)result);
19518 return resultobj;
19519 fail:
19520 return NULL;
19521 }
19522
19523
19524 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19527 PyObject * obj0 = 0 ;
19528 char *kwnames[] = {
19529 (char *) "self", NULL
19530 };
19531
19532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19534 {
19535 PyThreadState* __tstate = wxPyBeginAllowThreads();
19536 (arg1)->ClearAll();
19537
19538 wxPyEndAllowThreads(__tstate);
19539 if (PyErr_Occurred()) SWIG_fail;
19540 }
19541 Py_INCREF(Py_None); resultobj = Py_None;
19542 return resultobj;
19543 fail:
19544 return NULL;
19545 }
19546
19547
19548 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19549 PyObject *resultobj;
19550 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19551 long arg2 ;
19552 wxTextCtrl *result;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "item", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 {
19568 resultobj = wxPyMake_wxObject(result);
19569 }
19570 return resultobj;
19571 fail:
19572 return NULL;
19573 }
19574
19575
19576 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19579 bool arg2 ;
19580 bool result;
19581 PyObject * obj0 = 0 ;
19582 PyObject * obj1 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self",(char *) "cancel", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
19588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19589 {
19590 arg2 = (bool) SPyObj_AsBool(obj1);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (bool)(arg1)->EndEditLabel(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = PyInt_FromLong((long)result);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19610 long arg2 ;
19611 bool result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "item", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)(arg1)->EnsureVisible(arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = PyInt_FromLong((long)result);
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19636 long arg2 ;
19637 wxString *arg3 = 0 ;
19638 bool arg4 = (bool) False ;
19639 long result;
19640 bool temp3 = False ;
19641 PyObject * obj0 = 0 ;
19642 PyObject * obj2 = 0 ;
19643 PyObject * obj3 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 arg3 = wxString_in_helper(obj2);
19652 if (arg3 == NULL) SWIG_fail;
19653 temp3 = True;
19654 }
19655 if (obj3) {
19656 {
19657 arg4 = (bool) SPyObj_AsBool(obj3);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 resultobj = PyInt_FromLong((long)result);
19669 {
19670 if (temp3)
19671 delete arg3;
19672 }
19673 return resultobj;
19674 fail:
19675 {
19676 if (temp3)
19677 delete arg3;
19678 }
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19686 long arg2 ;
19687 long arg3 ;
19688 long result;
19689 PyObject * obj0 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "start",(char *) "data", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19696 {
19697 PyThreadState* __tstate = wxPyBeginAllowThreads();
19698 result = (long)(arg1)->FindItem(arg2,arg3);
19699
19700 wxPyEndAllowThreads(__tstate);
19701 if (PyErr_Occurred()) SWIG_fail;
19702 }
19703 resultobj = PyInt_FromLong((long)result);
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19713 long arg2 ;
19714 wxPoint *arg3 = 0 ;
19715 int arg4 ;
19716 long result;
19717 wxPoint temp3 ;
19718 PyObject * obj0 = 0 ;
19719 PyObject * obj2 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 {
19727 arg3 = &temp3;
19728 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = PyInt_FromLong((long)result);
19738 return resultobj;
19739 fail:
19740 return NULL;
19741 }
19742
19743
19744 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19747 wxPoint *arg2 = 0 ;
19748 int *arg3 = 0 ;
19749 long result;
19750 wxPoint temp2 ;
19751 int temp3 ;
19752 PyObject * obj0 = 0 ;
19753 PyObject * obj1 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self",(char *) "point", NULL
19756 };
19757
19758 arg3 = &temp3;
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 {
19762 arg2 = &temp2;
19763 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19764 }
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 resultobj = PyInt_FromLong((long)result);
19773 {
19774 PyObject *o = PyInt_FromLong((long) (*arg3));
19775 resultobj = t_output_helper(resultobj,o);
19776 }
19777 return resultobj;
19778 fail:
19779 return NULL;
19780 }
19781
19782
19783 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19784 PyObject *resultobj;
19785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19786 wxListItem *arg2 = 0 ;
19787 long result;
19788 PyObject * obj0 = 0 ;
19789 PyObject * obj1 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self",(char *) "info", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19797 if (arg2 == NULL) {
19798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19799 }
19800 {
19801 PyThreadState* __tstate = wxPyBeginAllowThreads();
19802 result = (long)(arg1)->InsertItem(*arg2);
19803
19804 wxPyEndAllowThreads(__tstate);
19805 if (PyErr_Occurred()) SWIG_fail;
19806 }
19807 resultobj = PyInt_FromLong((long)result);
19808 return resultobj;
19809 fail:
19810 return NULL;
19811 }
19812
19813
19814 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19815 PyObject *resultobj;
19816 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19817 long arg2 ;
19818 wxString *arg3 = 0 ;
19819 long result;
19820 bool temp3 = False ;
19821 PyObject * obj0 = 0 ;
19822 PyObject * obj2 = 0 ;
19823 char *kwnames[] = {
19824 (char *) "self",(char *) "index",(char *) "label", NULL
19825 };
19826
19827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19829 {
19830 arg3 = wxString_in_helper(obj2);
19831 if (arg3 == NULL) SWIG_fail;
19832 temp3 = True;
19833 }
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = PyInt_FromLong((long)result);
19842 {
19843 if (temp3)
19844 delete arg3;
19845 }
19846 return resultobj;
19847 fail:
19848 {
19849 if (temp3)
19850 delete arg3;
19851 }
19852 return NULL;
19853 }
19854
19855
19856 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19859 long arg2 ;
19860 int arg3 ;
19861 long result;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (long)(arg1)->InsertItem(arg2,arg3);
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = PyInt_FromLong((long)result);
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19886 long arg2 ;
19887 wxString *arg3 = 0 ;
19888 int arg4 ;
19889 long result;
19890 bool temp3 = False ;
19891 PyObject * obj0 = 0 ;
19892 PyObject * obj2 = 0 ;
19893 char *kwnames[] = {
19894 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19895 };
19896
19897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19899 {
19900 arg3 = wxString_in_helper(obj2);
19901 if (arg3 == NULL) SWIG_fail;
19902 temp3 = True;
19903 }
19904 {
19905 PyThreadState* __tstate = wxPyBeginAllowThreads();
19906 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19907
19908 wxPyEndAllowThreads(__tstate);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 resultobj = PyInt_FromLong((long)result);
19912 {
19913 if (temp3)
19914 delete arg3;
19915 }
19916 return resultobj;
19917 fail:
19918 {
19919 if (temp3)
19920 delete arg3;
19921 }
19922 return NULL;
19923 }
19924
19925
19926 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19929 long arg2 ;
19930 wxListItem *arg3 = 0 ;
19931 long result;
19932 PyObject * obj0 = 0 ;
19933 PyObject * obj2 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self",(char *) "col",(char *) "info", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19940 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 if (arg3 == NULL) {
19942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19943 }
19944 {
19945 PyThreadState* __tstate = wxPyBeginAllowThreads();
19946 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19947
19948 wxPyEndAllowThreads(__tstate);
19949 if (PyErr_Occurred()) SWIG_fail;
19950 }
19951 resultobj = PyInt_FromLong((long)result);
19952 return resultobj;
19953 fail:
19954 return NULL;
19955 }
19956
19957
19958 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19959 PyObject *resultobj;
19960 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19961 long arg2 ;
19962 wxString *arg3 = 0 ;
19963 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19964 int arg5 = (int) -1 ;
19965 long result;
19966 bool temp3 = False ;
19967 PyObject * obj0 = 0 ;
19968 PyObject * obj2 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 {
19976 arg3 = wxString_in_helper(obj2);
19977 if (arg3 == NULL) SWIG_fail;
19978 temp3 = True;
19979 }
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
19987 resultobj = PyInt_FromLong((long)result);
19988 {
19989 if (temp3)
19990 delete arg3;
19991 }
19992 return resultobj;
19993 fail:
19994 {
19995 if (temp3)
19996 delete arg3;
19997 }
19998 return NULL;
19999 }
20000
20001
20002 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20003 PyObject *resultobj;
20004 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20005 long arg2 ;
20006 PyObject * obj0 = 0 ;
20007 char *kwnames[] = {
20008 (char *) "self",(char *) "count", NULL
20009 };
20010
20011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
20012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 (arg1)->SetItemCount(arg2);
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 Py_INCREF(Py_None); resultobj = Py_None;
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj;
20029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20030 int arg2 ;
20031 int arg3 ;
20032 bool result;
20033 PyObject * obj0 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self",(char *) "dx",(char *) "dy", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
20039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 result = (bool)(arg1)->ScrollList(arg2,arg3);
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 resultobj = PyInt_FromLong((long)result);
20048 return resultobj;
20049 fail:
20050 return NULL;
20051 }
20052
20053
20054 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20055 PyObject *resultobj;
20056 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20057 long arg2 ;
20058 wxColour *arg3 = 0 ;
20059 wxColour temp3 ;
20060 PyObject * obj0 = 0 ;
20061 PyObject * obj2 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "item",(char *) "col", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 arg3 = &temp3;
20070 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20071 }
20072 {
20073 PyThreadState* __tstate = wxPyBeginAllowThreads();
20074 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
20075
20076 wxPyEndAllowThreads(__tstate);
20077 if (PyErr_Occurred()) SWIG_fail;
20078 }
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 return resultobj;
20081 fail:
20082 return NULL;
20083 }
20084
20085
20086 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20087 PyObject *resultobj;
20088 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20089 long arg2 ;
20090 wxColour result;
20091 PyObject * obj0 = 0 ;
20092 char *kwnames[] = {
20093 (char *) "self",(char *) "item", NULL
20094 };
20095
20096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
20097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20098 {
20099 PyThreadState* __tstate = wxPyBeginAllowThreads();
20100 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
20101
20102 wxPyEndAllowThreads(__tstate);
20103 if (PyErr_Occurred()) SWIG_fail;
20104 }
20105 {
20106 wxColour * resultptr;
20107 resultptr = new wxColour((wxColour &) result);
20108 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20109 }
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20119 long arg2 ;
20120 wxColour *arg3 = 0 ;
20121 wxColour temp3 ;
20122 PyObject * obj0 = 0 ;
20123 PyObject * obj2 = 0 ;
20124 char *kwnames[] = {
20125 (char *) "self",(char *) "item",(char *) "col", NULL
20126 };
20127
20128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
20129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20130 {
20131 arg3 = &temp3;
20132 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 return resultobj;
20143 fail:
20144 return NULL;
20145 }
20146
20147
20148 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20149 PyObject *resultobj;
20150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20151 long arg2 ;
20152 wxColour result;
20153 PyObject * obj0 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self",(char *) "item", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
20159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 {
20168 wxColour * resultptr;
20169 resultptr = new wxColour((wxColour &) result);
20170 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20171 }
20172 return resultobj;
20173 fail:
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20181 PyObject *arg2 = (PyObject *) 0 ;
20182 bool result;
20183 PyObject * obj0 = 0 ;
20184 PyObject * obj1 = 0 ;
20185 char *kwnames[] = {
20186 (char *) "self",(char *) "func", NULL
20187 };
20188
20189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
20190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20191 arg2 = obj1;
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
20195
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 resultobj = PyInt_FromLong((long)result);
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20209 wxWindow *result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 {
20225 resultobj = wxPyMake_wxObject(result);
20226 }
20227 return resultobj;
20228 fail:
20229 return NULL;
20230 }
20231
20232
20233 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
20234 PyObject *obj;
20235 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20236 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
20237 Py_INCREF(obj);
20238 return Py_BuildValue((char *)"");
20239 }
20240 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxWindow *arg1 = (wxWindow *) 0 ;
20243 int arg2 = (int) -1 ;
20244 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20245 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20246 wxSize const &arg4_defvalue = wxDefaultSize ;
20247 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20248 long arg5 = (long) wxLC_REPORT ;
20249 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20250 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20251 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20252 wxString *arg7 = (wxString *) &arg7_defvalue ;
20253 wxListView *result;
20254 wxPoint temp3 ;
20255 wxSize temp4 ;
20256 bool temp7 = False ;
20257 PyObject * obj0 = 0 ;
20258 PyObject * obj2 = 0 ;
20259 PyObject * obj3 = 0 ;
20260 PyObject * obj5 = 0 ;
20261 PyObject * obj6 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20268 if (obj2) {
20269 {
20270 arg3 = &temp3;
20271 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20272 }
20273 }
20274 if (obj3) {
20275 {
20276 arg4 = &temp4;
20277 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20278 }
20279 }
20280 if (obj5) {
20281 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20282 if (arg6 == NULL) {
20283 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20284 }
20285 }
20286 if (obj6) {
20287 {
20288 arg7 = wxString_in_helper(obj6);
20289 if (arg7 == NULL) SWIG_fail;
20290 temp7 = True;
20291 }
20292 }
20293 {
20294 PyThreadState* __tstate = wxPyBeginAllowThreads();
20295 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20296
20297 wxPyEndAllowThreads(__tstate);
20298 if (PyErr_Occurred()) SWIG_fail;
20299 }
20300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20301 {
20302 if (temp7)
20303 delete arg7;
20304 }
20305 return resultobj;
20306 fail:
20307 {
20308 if (temp7)
20309 delete arg7;
20310 }
20311 return NULL;
20312 }
20313
20314
20315 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj;
20317 wxListView *result;
20318 char *kwnames[] = {
20319 NULL
20320 };
20321
20322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
20323 {
20324 PyThreadState* __tstate = wxPyBeginAllowThreads();
20325 result = (wxListView *)new wxListView();
20326
20327 wxPyEndAllowThreads(__tstate);
20328 if (PyErr_Occurred()) SWIG_fail;
20329 }
20330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20331 return resultobj;
20332 fail:
20333 return NULL;
20334 }
20335
20336
20337 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxListView *arg1 = (wxListView *) 0 ;
20340 wxWindow *arg2 = (wxWindow *) 0 ;
20341 int arg3 = (int) -1 ;
20342 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20343 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20344 wxSize const &arg5_defvalue = wxDefaultSize ;
20345 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20346 long arg6 = (long) wxLC_REPORT ;
20347 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20348 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20349 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20350 wxString *arg8 = (wxString *) &arg8_defvalue ;
20351 bool result;
20352 wxPoint temp4 ;
20353 wxSize temp5 ;
20354 bool temp8 = False ;
20355 PyObject * obj0 = 0 ;
20356 PyObject * obj1 = 0 ;
20357 PyObject * obj3 = 0 ;
20358 PyObject * obj4 = 0 ;
20359 PyObject * obj6 = 0 ;
20360 PyObject * obj7 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20368 if (obj3) {
20369 {
20370 arg4 = &temp4;
20371 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20372 }
20373 }
20374 if (obj4) {
20375 {
20376 arg5 = &temp5;
20377 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20378 }
20379 }
20380 if (obj6) {
20381 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20382 if (arg7 == NULL) {
20383 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20384 }
20385 }
20386 if (obj7) {
20387 {
20388 arg8 = wxString_in_helper(obj7);
20389 if (arg8 == NULL) SWIG_fail;
20390 temp8 = True;
20391 }
20392 }
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 resultobj = PyInt_FromLong((long)result);
20401 {
20402 if (temp8)
20403 delete arg8;
20404 }
20405 return resultobj;
20406 fail:
20407 {
20408 if (temp8)
20409 delete arg8;
20410 }
20411 return NULL;
20412 }
20413
20414
20415 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20416 PyObject *resultobj;
20417 wxListView *arg1 = (wxListView *) 0 ;
20418 long arg2 ;
20419 bool arg3 = (bool) True ;
20420 PyObject * obj0 = 0 ;
20421 PyObject * obj2 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self",(char *) "n",(char *) "on", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20428 if (obj2) {
20429 {
20430 arg3 = (bool) SPyObj_AsBool(obj2);
20431 if (PyErr_Occurred()) SWIG_fail;
20432 }
20433 }
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 (arg1)->Select(arg2,arg3);
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 Py_INCREF(Py_None); resultobj = Py_None;
20442 return resultobj;
20443 fail:
20444 return NULL;
20445 }
20446
20447
20448 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxListView *arg1 = (wxListView *) 0 ;
20451 long arg2 ;
20452 PyObject * obj0 = 0 ;
20453 char *kwnames[] = {
20454 (char *) "self",(char *) "index", NULL
20455 };
20456
20457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20459 {
20460 PyThreadState* __tstate = wxPyBeginAllowThreads();
20461 (arg1)->Focus(arg2);
20462
20463 wxPyEndAllowThreads(__tstate);
20464 if (PyErr_Occurred()) SWIG_fail;
20465 }
20466 Py_INCREF(Py_None); resultobj = Py_None;
20467 return resultobj;
20468 fail:
20469 return NULL;
20470 }
20471
20472
20473 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20474 PyObject *resultobj;
20475 wxListView *arg1 = (wxListView *) 0 ;
20476 long result;
20477 PyObject * obj0 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 {
20485 PyThreadState* __tstate = wxPyBeginAllowThreads();
20486 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20487
20488 wxPyEndAllowThreads(__tstate);
20489 if (PyErr_Occurred()) SWIG_fail;
20490 }
20491 resultobj = PyInt_FromLong((long)result);
20492 return resultobj;
20493 fail:
20494 return NULL;
20495 }
20496
20497
20498 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20499 PyObject *resultobj;
20500 wxListView *arg1 = (wxListView *) 0 ;
20501 long arg2 ;
20502 long result;
20503 PyObject * obj0 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "item", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20510 {
20511 PyThreadState* __tstate = wxPyBeginAllowThreads();
20512 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20513
20514 wxPyEndAllowThreads(__tstate);
20515 if (PyErr_Occurred()) SWIG_fail;
20516 }
20517 resultobj = PyInt_FromLong((long)result);
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj;
20526 wxListView *arg1 = (wxListView *) 0 ;
20527 long result;
20528 PyObject * obj0 = 0 ;
20529 char *kwnames[] = {
20530 (char *) "self", NULL
20531 };
20532
20533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20535 {
20536 PyThreadState* __tstate = wxPyBeginAllowThreads();
20537 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20538
20539 wxPyEndAllowThreads(__tstate);
20540 if (PyErr_Occurred()) SWIG_fail;
20541 }
20542 resultobj = PyInt_FromLong((long)result);
20543 return resultobj;
20544 fail:
20545 return NULL;
20546 }
20547
20548
20549 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20550 PyObject *resultobj;
20551 wxListView *arg1 = (wxListView *) 0 ;
20552 long arg2 ;
20553 bool result;
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self",(char *) "index", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (bool)(arg1)->IsSelected(arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 resultobj = PyInt_FromLong((long)result);
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxListView *arg1 = (wxListView *) 0 ;
20578 int arg2 ;
20579 int arg3 ;
20580 PyObject * obj0 = 0 ;
20581 char *kwnames[] = {
20582 (char *) "self",(char *) "col",(char *) "image", NULL
20583 };
20584
20585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20587 {
20588 PyThreadState* __tstate = wxPyBeginAllowThreads();
20589 (arg1)->SetColumnImage(arg2,arg3);
20590
20591 wxPyEndAllowThreads(__tstate);
20592 if (PyErr_Occurred()) SWIG_fail;
20593 }
20594 Py_INCREF(Py_None); resultobj = Py_None;
20595 return resultobj;
20596 fail:
20597 return NULL;
20598 }
20599
20600
20601 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxListView *arg1 = (wxListView *) 0 ;
20604 int arg2 ;
20605 PyObject * obj0 = 0 ;
20606 char *kwnames[] = {
20607 (char *) "self",(char *) "col", NULL
20608 };
20609
20610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->ClearColumnImage(arg2);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623 }
20624
20625
20626 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20627 PyObject *obj;
20628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20629 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20630 Py_INCREF(obj);
20631 return Py_BuildValue((char *)"");
20632 }
20633 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20634 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20635 return 1;
20636 }
20637
20638
20639 static PyObject *_wrap_TreeCtrlNameStr_get() {
20640 PyObject *pyobj;
20641
20642 {
20643 #if wxUSE_UNICODE
20644 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20645 #else
20646 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20647 #endif
20648 }
20649 return pyobj;
20650 }
20651
20652
20653 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxTreeItemId *result;
20656 char *kwnames[] = {
20657 NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (wxTreeItemId *)new wxTreeItemId();
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20669 return resultobj;
20670 fail:
20671 return NULL;
20672 }
20673
20674
20675 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20676 PyObject *resultobj;
20677 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20678 PyObject * obj0 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 delete arg1;
20688
20689 wxPyEndAllowThreads(__tstate);
20690 if (PyErr_Occurred()) SWIG_fail;
20691 }
20692 Py_INCREF(Py_None); resultobj = Py_None;
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20702 bool result;
20703 PyObject * obj0 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20713
20714 wxPyEndAllowThreads(__tstate);
20715 if (PyErr_Occurred()) SWIG_fail;
20716 }
20717 resultobj = PyInt_FromLong((long)result);
20718 return resultobj;
20719 fail:
20720 return NULL;
20721 }
20722
20723
20724 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20725 PyObject *resultobj;
20726 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20727 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20728 bool result;
20729 PyObject * obj0 = 0 ;
20730 PyObject * obj1 = 0 ;
20731 char *kwnames[] = {
20732 (char *) "self",(char *) "other", NULL
20733 };
20734
20735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 {
20739 PyThreadState* __tstate = wxPyBeginAllowThreads();
20740 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20741
20742 wxPyEndAllowThreads(__tstate);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 }
20745 resultobj = PyInt_FromLong((long)result);
20746 return resultobj;
20747 fail:
20748 return NULL;
20749 }
20750
20751
20752 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20753 PyObject *resultobj;
20754 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20755 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20756 bool result;
20757 PyObject * obj0 = 0 ;
20758 PyObject * obj1 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self",(char *) "other", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20766 {
20767 PyThreadState* __tstate = wxPyBeginAllowThreads();
20768 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20769
20770 wxPyEndAllowThreads(__tstate);
20771 if (PyErr_Occurred()) SWIG_fail;
20772 }
20773 resultobj = PyInt_FromLong((long)result);
20774 return resultobj;
20775 fail:
20776 return NULL;
20777 }
20778
20779
20780 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20781 PyObject *resultobj;
20782 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20783 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20784 PyObject * obj0 = 0 ;
20785 PyObject * obj1 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self",(char *) "m_pItem", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20793 if (arg1) (arg1)->m_pItem = arg2;
20794
20795 Py_INCREF(Py_None); resultobj = Py_None;
20796 return resultobj;
20797 fail:
20798 return NULL;
20799 }
20800
20801
20802 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20803 PyObject *resultobj;
20804 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20805 wxTreeItemIdValue result;
20806 PyObject * obj0 = 0 ;
20807 char *kwnames[] = {
20808 (char *) "self", NULL
20809 };
20810
20811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20813 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20814
20815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20816 return resultobj;
20817 fail:
20818 return NULL;
20819 }
20820
20821
20822 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20823 PyObject *obj;
20824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20825 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20826 Py_INCREF(obj);
20827 return Py_BuildValue((char *)"");
20828 }
20829 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20830 PyObject *resultobj;
20831 PyObject *arg1 = (PyObject *) NULL ;
20832 wxPyTreeItemData *result;
20833 PyObject * obj0 = 0 ;
20834 char *kwnames[] = {
20835 (char *) "obj", NULL
20836 };
20837
20838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20839 if (obj0) {
20840 arg1 = obj0;
20841 }
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20850 return resultobj;
20851 fail:
20852 return NULL;
20853 }
20854
20855
20856 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20857 PyObject *resultobj;
20858 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20859 PyObject *result;
20860 PyObject * obj0 = 0 ;
20861 char *kwnames[] = {
20862 (char *) "self", NULL
20863 };
20864
20865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20867 {
20868 PyThreadState* __tstate = wxPyBeginAllowThreads();
20869 result = (PyObject *)(arg1)->GetData();
20870
20871 wxPyEndAllowThreads(__tstate);
20872 if (PyErr_Occurred()) SWIG_fail;
20873 }
20874 resultobj = result;
20875 return resultobj;
20876 fail:
20877 return NULL;
20878 }
20879
20880
20881 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20882 PyObject *resultobj;
20883 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20884 PyObject *arg2 = (PyObject *) 0 ;
20885 PyObject * obj0 = 0 ;
20886 PyObject * obj1 = 0 ;
20887 char *kwnames[] = {
20888 (char *) "self",(char *) "obj", NULL
20889 };
20890
20891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20893 arg2 = obj1;
20894 {
20895 PyThreadState* __tstate = wxPyBeginAllowThreads();
20896 (arg1)->SetData(arg2);
20897
20898 wxPyEndAllowThreads(__tstate);
20899 if (PyErr_Occurred()) SWIG_fail;
20900 }
20901 Py_INCREF(Py_None); resultobj = Py_None;
20902 return resultobj;
20903 fail:
20904 return NULL;
20905 }
20906
20907
20908 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20909 PyObject *resultobj;
20910 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20911 wxTreeItemId *result;
20912 PyObject * obj0 = 0 ;
20913 char *kwnames[] = {
20914 (char *) "self", NULL
20915 };
20916
20917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20919 {
20920 PyThreadState* __tstate = wxPyBeginAllowThreads();
20921 {
20922 wxTreeItemId const &_result_ref = (arg1)->GetId();
20923 result = (wxTreeItemId *) &_result_ref;
20924 }
20925
20926 wxPyEndAllowThreads(__tstate);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 }
20929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20930 return resultobj;
20931 fail:
20932 return NULL;
20933 }
20934
20935
20936 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20939 wxTreeItemId *arg2 = 0 ;
20940 PyObject * obj0 = 0 ;
20941 PyObject * obj1 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self",(char *) "id", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20949 if (arg2 == NULL) {
20950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20951 }
20952 {
20953 PyThreadState* __tstate = wxPyBeginAllowThreads();
20954 (arg1)->SetId((wxTreeItemId const &)*arg2);
20955
20956 wxPyEndAllowThreads(__tstate);
20957 if (PyErr_Occurred()) SWIG_fail;
20958 }
20959 Py_INCREF(Py_None); resultobj = Py_None;
20960 return resultobj;
20961 fail:
20962 return NULL;
20963 }
20964
20965
20966 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20969 PyObject * obj0 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 wxPyTreeItemData_Destroy(arg1);
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 Py_INCREF(Py_None); resultobj = Py_None;
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20991 PyObject *obj;
20992 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20993 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20994 Py_INCREF(obj);
20995 return Py_BuildValue((char *)"");
20996 }
20997 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20998 PyObject *resultobj;
20999 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
21000 int arg2 = (int) 0 ;
21001 wxTreeEvent *result;
21002 char *kwnames[] = {
21003 (char *) "commandType",(char *) "id", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21024 wxTreeItemId result;
21025 PyObject * obj0 = 0 ;
21026 char *kwnames[] = {
21027 (char *) "self", NULL
21028 };
21029
21030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
21031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21032 {
21033 PyThreadState* __tstate = wxPyBeginAllowThreads();
21034 result = ((wxTreeEvent const *)arg1)->GetItem();
21035
21036 wxPyEndAllowThreads(__tstate);
21037 if (PyErr_Occurred()) SWIG_fail;
21038 }
21039 {
21040 wxTreeItemId * resultptr;
21041 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21043 }
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21053 wxTreeItemId *arg2 = 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "item", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21063 if (arg2 == NULL) {
21064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21065 }
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 (arg1)->SetItem((wxTreeItemId const &)*arg2);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 Py_INCREF(Py_None); resultobj = Py_None;
21074 return resultobj;
21075 fail:
21076 return NULL;
21077 }
21078
21079
21080 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21083 wxTreeItemId result;
21084 PyObject * obj0 = 0 ;
21085 char *kwnames[] = {
21086 (char *) "self", NULL
21087 };
21088
21089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
21090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 {
21092 PyThreadState* __tstate = wxPyBeginAllowThreads();
21093 result = ((wxTreeEvent const *)arg1)->GetOldItem();
21094
21095 wxPyEndAllowThreads(__tstate);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 }
21098 {
21099 wxTreeItemId * resultptr;
21100 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21101 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21102 }
21103 return resultobj;
21104 fail:
21105 return NULL;
21106 }
21107
21108
21109 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21110 PyObject *resultobj;
21111 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21112 wxTreeItemId *arg2 = 0 ;
21113 PyObject * obj0 = 0 ;
21114 PyObject * obj1 = 0 ;
21115 char *kwnames[] = {
21116 (char *) "self",(char *) "item", NULL
21117 };
21118
21119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
21120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21122 if (arg2 == NULL) {
21123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21124 }
21125 {
21126 PyThreadState* __tstate = wxPyBeginAllowThreads();
21127 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
21128
21129 wxPyEndAllowThreads(__tstate);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 }
21132 Py_INCREF(Py_None); resultobj = Py_None;
21133 return resultobj;
21134 fail:
21135 return NULL;
21136 }
21137
21138
21139 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21140 PyObject *resultobj;
21141 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21142 wxPoint result;
21143 PyObject * obj0 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "self", NULL
21146 };
21147
21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
21149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = ((wxTreeEvent const *)arg1)->GetPoint();
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 wxPoint * resultptr;
21159 resultptr = new wxPoint((wxPoint &) result);
21160 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21161 }
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21171 wxPoint *arg2 = 0 ;
21172 wxPoint temp2 ;
21173 PyObject * obj0 = 0 ;
21174 PyObject * obj1 = 0 ;
21175 char *kwnames[] = {
21176 (char *) "self",(char *) "pt", NULL
21177 };
21178
21179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
21180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21181 {
21182 arg2 = &temp2;
21183 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21184 }
21185 {
21186 PyThreadState* __tstate = wxPyBeginAllowThreads();
21187 (arg1)->SetPoint((wxPoint const &)*arg2);
21188
21189 wxPyEndAllowThreads(__tstate);
21190 if (PyErr_Occurred()) SWIG_fail;
21191 }
21192 Py_INCREF(Py_None); resultobj = Py_None;
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21202 wxKeyEvent *result;
21203 PyObject * obj0 = 0 ;
21204 char *kwnames[] = {
21205 (char *) "self", NULL
21206 };
21207
21208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
21209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21210 {
21211 PyThreadState* __tstate = wxPyBeginAllowThreads();
21212 {
21213 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
21214 result = (wxKeyEvent *) &_result_ref;
21215 }
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
21220 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
21221 return resultobj;
21222 fail:
21223 return NULL;
21224 }
21225
21226
21227 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21230 int result;
21231 PyObject * obj0 = 0 ;
21232 char *kwnames[] = {
21233 (char *) "self", NULL
21234 };
21235
21236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = PyInt_FromLong((long)result);
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21255 wxKeyEvent *arg2 = 0 ;
21256 PyObject * obj0 = 0 ;
21257 PyObject * obj1 = 0 ;
21258 char *kwnames[] = {
21259 (char *) "self",(char *) "evt", NULL
21260 };
21261
21262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
21263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if (arg2 == NULL) {
21266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21267 }
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 Py_INCREF(Py_None); resultobj = Py_None;
21276 return resultobj;
21277 fail:
21278 return NULL;
21279 }
21280
21281
21282 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21285 wxString *result;
21286 PyObject * obj0 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 {
21294 PyThreadState* __tstate = wxPyBeginAllowThreads();
21295 {
21296 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
21297 result = (wxString *) &_result_ref;
21298 }
21299
21300 wxPyEndAllowThreads(__tstate);
21301 if (PyErr_Occurred()) SWIG_fail;
21302 }
21303 {
21304 #if wxUSE_UNICODE
21305 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21306 #else
21307 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21308 #endif
21309 }
21310 return resultobj;
21311 fail:
21312 return NULL;
21313 }
21314
21315
21316 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21317 PyObject *resultobj;
21318 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21319 wxString *arg2 = 0 ;
21320 bool temp2 = False ;
21321 PyObject * obj0 = 0 ;
21322 PyObject * obj1 = 0 ;
21323 char *kwnames[] = {
21324 (char *) "self",(char *) "label", NULL
21325 };
21326
21327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21329 {
21330 arg2 = wxString_in_helper(obj1);
21331 if (arg2 == NULL) SWIG_fail;
21332 temp2 = True;
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->SetLabel((wxString const &)*arg2);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 {
21343 if (temp2)
21344 delete arg2;
21345 }
21346 return resultobj;
21347 fail:
21348 {
21349 if (temp2)
21350 delete arg2;
21351 }
21352 return NULL;
21353 }
21354
21355
21356 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj;
21358 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21359 bool result;
21360 PyObject * obj0 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 resultobj = PyInt_FromLong((long)result);
21375 return resultobj;
21376 fail:
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21384 bool arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "editCancelled", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 {
21394 arg2 = (bool) SPyObj_AsBool(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->SetEditCanceled(arg2);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 return resultobj;
21406 fail:
21407 return NULL;
21408 }
21409
21410
21411 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21412 PyObject *resultobj;
21413 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21414 wxString *arg2 = 0 ;
21415 bool temp2 = False ;
21416 PyObject * obj0 = 0 ;
21417 PyObject * obj1 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "self",(char *) "toolTip", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21424 {
21425 arg2 = wxString_in_helper(obj1);
21426 if (arg2 == NULL) SWIG_fail;
21427 temp2 = True;
21428 }
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 (arg1)->SetToolTip((wxString const &)*arg2);
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 Py_INCREF(Py_None); resultobj = Py_None;
21437 {
21438 if (temp2)
21439 delete arg2;
21440 }
21441 return resultobj;
21442 fail:
21443 {
21444 if (temp2)
21445 delete arg2;
21446 }
21447 return NULL;
21448 }
21449
21450
21451 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21452 PyObject *obj;
21453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21454 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21455 Py_INCREF(obj);
21456 return Py_BuildValue((char *)"");
21457 }
21458 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxWindow *arg1 = (wxWindow *) 0 ;
21461 int arg2 = (int) -1 ;
21462 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21463 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21464 wxSize const &arg4_defvalue = wxDefaultSize ;
21465 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21466 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21467 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21468 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21469 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21470 wxString *arg7 = (wxString *) &arg7_defvalue ;
21471 wxPyTreeCtrl *result;
21472 wxPoint temp3 ;
21473 wxSize temp4 ;
21474 bool temp7 = False ;
21475 PyObject * obj0 = 0 ;
21476 PyObject * obj2 = 0 ;
21477 PyObject * obj3 = 0 ;
21478 PyObject * obj5 = 0 ;
21479 PyObject * obj6 = 0 ;
21480 char *kwnames[] = {
21481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21482 };
21483
21484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21486 if (obj2) {
21487 {
21488 arg3 = &temp3;
21489 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21490 }
21491 }
21492 if (obj3) {
21493 {
21494 arg4 = &temp4;
21495 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21496 }
21497 }
21498 if (obj5) {
21499 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21500 if (arg6 == NULL) {
21501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21502 }
21503 }
21504 if (obj6) {
21505 {
21506 arg7 = wxString_in_helper(obj6);
21507 if (arg7 == NULL) SWIG_fail;
21508 temp7 = True;
21509 }
21510 }
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 resultobj = wxPyMake_wxObject(result);
21520 }
21521 {
21522 if (temp7)
21523 delete arg7;
21524 }
21525 return resultobj;
21526 fail:
21527 {
21528 if (temp7)
21529 delete arg7;
21530 }
21531 return NULL;
21532 }
21533
21534
21535 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21536 PyObject *resultobj;
21537 wxPyTreeCtrl *result;
21538 char *kwnames[] = {
21539 NULL
21540 };
21541
21542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 resultobj = wxPyMake_wxObject(result);
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21562 wxWindow *arg2 = (wxWindow *) 0 ;
21563 int arg3 = (int) -1 ;
21564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21566 wxSize const &arg5_defvalue = wxDefaultSize ;
21567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21568 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21569 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21570 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21571 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21572 wxString *arg8 = (wxString *) &arg8_defvalue ;
21573 bool result;
21574 wxPoint temp4 ;
21575 wxSize temp5 ;
21576 bool temp8 = False ;
21577 PyObject * obj0 = 0 ;
21578 PyObject * obj1 = 0 ;
21579 PyObject * obj3 = 0 ;
21580 PyObject * obj4 = 0 ;
21581 PyObject * obj6 = 0 ;
21582 PyObject * obj7 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21590 if (obj3) {
21591 {
21592 arg4 = &temp4;
21593 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21594 }
21595 }
21596 if (obj4) {
21597 {
21598 arg5 = &temp5;
21599 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21600 }
21601 }
21602 if (obj6) {
21603 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21604 if (arg7 == NULL) {
21605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21606 }
21607 }
21608 if (obj7) {
21609 {
21610 arg8 = wxString_in_helper(obj7);
21611 if (arg8 == NULL) SWIG_fail;
21612 temp8 = True;
21613 }
21614 }
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 resultobj = PyInt_FromLong((long)result);
21623 {
21624 if (temp8)
21625 delete arg8;
21626 }
21627 return resultobj;
21628 fail:
21629 {
21630 if (temp8)
21631 delete arg8;
21632 }
21633 return NULL;
21634 }
21635
21636
21637 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21638 PyObject *resultobj;
21639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21640 PyObject *arg2 = (PyObject *) 0 ;
21641 PyObject *arg3 = (PyObject *) 0 ;
21642 PyObject * obj0 = 0 ;
21643 PyObject * obj1 = 0 ;
21644 PyObject * obj2 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "self",(char *) "_class", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 arg2 = obj1;
21652 arg3 = obj2;
21653 {
21654 PyThreadState* __tstate = wxPyBeginAllowThreads();
21655 (arg1)->_setCallbackInfo(arg2,arg3);
21656
21657 wxPyEndAllowThreads(__tstate);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 }
21660 Py_INCREF(Py_None); resultobj = Py_None;
21661 return resultobj;
21662 fail:
21663 return NULL;
21664 }
21665
21666
21667 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21668 PyObject *resultobj;
21669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21670 size_t result;
21671 PyObject * obj0 = 0 ;
21672 char *kwnames[] = {
21673 (char *) "self", NULL
21674 };
21675
21676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21686 return resultobj;
21687 fail:
21688 return NULL;
21689 }
21690
21691
21692 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21693 PyObject *resultobj;
21694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21695 unsigned int result;
21696 PyObject * obj0 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21703 {
21704 PyThreadState* __tstate = wxPyBeginAllowThreads();
21705 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21706
21707 wxPyEndAllowThreads(__tstate);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 }
21710 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21711 return resultobj;
21712 fail:
21713 return NULL;
21714 }
21715
21716
21717 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21718 PyObject *resultobj;
21719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21720 unsigned int arg2 ;
21721 PyObject * obj0 = 0 ;
21722 PyObject * obj1 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "indent", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21729 {
21730 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21731 if (PyErr_Occurred()) SWIG_fail;
21732 }
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 (arg1)->SetIndent(arg2);
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 Py_INCREF(Py_None); resultobj = Py_None;
21741 return resultobj;
21742 fail:
21743 return NULL;
21744 }
21745
21746
21747 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21750 unsigned int result;
21751 PyObject * obj0 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21766 return resultobj;
21767 fail:
21768 return NULL;
21769 }
21770
21771
21772 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21775 unsigned int arg2 ;
21776 PyObject * obj0 = 0 ;
21777 PyObject * obj1 = 0 ;
21778 char *kwnames[] = {
21779 (char *) "self",(char *) "spacing", NULL
21780 };
21781
21782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21784 {
21785 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 {
21789 PyThreadState* __tstate = wxPyBeginAllowThreads();
21790 (arg1)->SetSpacing(arg2);
21791
21792 wxPyEndAllowThreads(__tstate);
21793 if (PyErr_Occurred()) SWIG_fail;
21794 }
21795 Py_INCREF(Py_None); resultobj = Py_None;
21796 return resultobj;
21797 fail:
21798 return NULL;
21799 }
21800
21801
21802 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21805 wxImageList *result;
21806 PyObject * obj0 = 0 ;
21807 char *kwnames[] = {
21808 (char *) "self", NULL
21809 };
21810
21811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21813 {
21814 PyThreadState* __tstate = wxPyBeginAllowThreads();
21815 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21816
21817 wxPyEndAllowThreads(__tstate);
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 {
21821 resultobj = wxPyMake_wxObject(result);
21822 }
21823 return resultobj;
21824 fail:
21825 return NULL;
21826 }
21827
21828
21829 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21830 PyObject *resultobj;
21831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21832 wxImageList *result;
21833 PyObject * obj0 = 0 ;
21834 char *kwnames[] = {
21835 (char *) "self", NULL
21836 };
21837
21838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 {
21841 PyThreadState* __tstate = wxPyBeginAllowThreads();
21842 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21843
21844 wxPyEndAllowThreads(__tstate);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 }
21847 {
21848 resultobj = wxPyMake_wxObject(result);
21849 }
21850 return resultobj;
21851 fail:
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21859 wxImageList *arg2 = (wxImageList *) 0 ;
21860 PyObject * obj0 = 0 ;
21861 PyObject * obj1 = 0 ;
21862 char *kwnames[] = {
21863 (char *) "self",(char *) "imageList", NULL
21864 };
21865
21866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 (arg1)->SetImageList(arg2);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 Py_INCREF(Py_None); resultobj = Py_None;
21877 return resultobj;
21878 fail:
21879 return NULL;
21880 }
21881
21882
21883 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21886 wxImageList *arg2 = (wxImageList *) 0 ;
21887 PyObject * obj0 = 0 ;
21888 PyObject * obj1 = 0 ;
21889 char *kwnames[] = {
21890 (char *) "self",(char *) "imageList", NULL
21891 };
21892
21893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 (arg1)->SetStateImageList(arg2);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 Py_INCREF(Py_None); resultobj = Py_None;
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21913 wxImageList *arg2 = (wxImageList *) 0 ;
21914 PyObject * obj0 = 0 ;
21915 PyObject * obj1 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self",(char *) "imageList", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 (arg1)->AssignImageList(arg2);
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 Py_INCREF(Py_None); resultobj = Py_None;
21931 return resultobj;
21932 fail:
21933 return NULL;
21934 }
21935
21936
21937 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21938 PyObject *resultobj;
21939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21940 wxImageList *arg2 = (wxImageList *) 0 ;
21941 PyObject * obj0 = 0 ;
21942 PyObject * obj1 = 0 ;
21943 char *kwnames[] = {
21944 (char *) "self",(char *) "imageList", NULL
21945 };
21946
21947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21950 {
21951 PyThreadState* __tstate = wxPyBeginAllowThreads();
21952 (arg1)->AssignStateImageList(arg2);
21953
21954 wxPyEndAllowThreads(__tstate);
21955 if (PyErr_Occurred()) SWIG_fail;
21956 }
21957 Py_INCREF(Py_None); resultobj = Py_None;
21958 return resultobj;
21959 fail:
21960 return NULL;
21961 }
21962
21963
21964 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21965 PyObject *resultobj;
21966 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21967 wxTreeItemId *arg2 = 0 ;
21968 wxString result;
21969 PyObject * obj0 = 0 ;
21970 PyObject * obj1 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "self",(char *) "item", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21978 if (arg2 == NULL) {
21979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21980 }
21981 {
21982 PyThreadState* __tstate = wxPyBeginAllowThreads();
21983 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21984
21985 wxPyEndAllowThreads(__tstate);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 }
21988 {
21989 #if wxUSE_UNICODE
21990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21991 #else
21992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21993 #endif
21994 }
21995 return resultobj;
21996 fail:
21997 return NULL;
21998 }
21999
22000
22001 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22004 wxTreeItemId *arg2 = 0 ;
22005 int arg3 = (int) wxTreeItemIcon_Normal ;
22006 int result;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self",(char *) "item",(char *) "which", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
22014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22016 if (arg2 == NULL) {
22017 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22018 }
22019 {
22020 PyThreadState* __tstate = wxPyBeginAllowThreads();
22021 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
22022
22023 wxPyEndAllowThreads(__tstate);
22024 if (PyErr_Occurred()) SWIG_fail;
22025 }
22026 resultobj = PyInt_FromLong((long)result);
22027 return resultobj;
22028 fail:
22029 return NULL;
22030 }
22031
22032
22033 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22034 PyObject *resultobj;
22035 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22036 wxTreeItemId *arg2 = 0 ;
22037 wxPyTreeItemData *result;
22038 PyObject * obj0 = 0 ;
22039 PyObject * obj1 = 0 ;
22040 char *kwnames[] = {
22041 (char *) "self",(char *) "item", NULL
22042 };
22043
22044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22047 if (arg2 == NULL) {
22048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22049 }
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
22058 return resultobj;
22059 fail:
22060 return NULL;
22061 }
22062
22063
22064 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22065 PyObject *resultobj;
22066 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22067 wxTreeItemId *arg2 = 0 ;
22068 PyObject *result;
22069 PyObject * obj0 = 0 ;
22070 PyObject * obj1 = 0 ;
22071 char *kwnames[] = {
22072 (char *) "self",(char *) "item", NULL
22073 };
22074
22075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
22076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22078 if (arg2 == NULL) {
22079 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22080 }
22081 {
22082 PyThreadState* __tstate = wxPyBeginAllowThreads();
22083 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
22084
22085 wxPyEndAllowThreads(__tstate);
22086 if (PyErr_Occurred()) SWIG_fail;
22087 }
22088 resultobj = result;
22089 return resultobj;
22090 fail:
22091 return NULL;
22092 }
22093
22094
22095 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22096 PyObject *resultobj;
22097 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22098 wxTreeItemId *arg2 = 0 ;
22099 wxColour result;
22100 PyObject * obj0 = 0 ;
22101 PyObject * obj1 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "item", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22109 if (arg2 == NULL) {
22110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22111 }
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
22119 {
22120 wxColour * resultptr;
22121 resultptr = new wxColour((wxColour &) result);
22122 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22123 }
22124 return resultobj;
22125 fail:
22126 return NULL;
22127 }
22128
22129
22130 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22131 PyObject *resultobj;
22132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22133 wxTreeItemId *arg2 = 0 ;
22134 wxColour result;
22135 PyObject * obj0 = 0 ;
22136 PyObject * obj1 = 0 ;
22137 char *kwnames[] = {
22138 (char *) "self",(char *) "item", NULL
22139 };
22140
22141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22144 if (arg2 == NULL) {
22145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22146 }
22147 {
22148 PyThreadState* __tstate = wxPyBeginAllowThreads();
22149 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
22150
22151 wxPyEndAllowThreads(__tstate);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 wxColour * resultptr;
22156 resultptr = new wxColour((wxColour &) result);
22157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22158 }
22159 return resultobj;
22160 fail:
22161 return NULL;
22162 }
22163
22164
22165 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22166 PyObject *resultobj;
22167 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22168 wxTreeItemId *arg2 = 0 ;
22169 wxFont result;
22170 PyObject * obj0 = 0 ;
22171 PyObject * obj1 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "self",(char *) "item", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22179 if (arg2 == NULL) {
22180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22181 }
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 {
22190 wxFont * resultptr;
22191 resultptr = new wxFont((wxFont &) result);
22192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
22193 }
22194 return resultobj;
22195 fail:
22196 return NULL;
22197 }
22198
22199
22200 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
22201 PyObject *resultobj;
22202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22203 wxTreeItemId *arg2 = 0 ;
22204 wxString *arg3 = 0 ;
22205 bool temp3 = False ;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 PyObject * obj2 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self",(char *) "item",(char *) "text", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
22221 if (arg3 == NULL) SWIG_fail;
22222 temp3 = True;
22223 }
22224 {
22225 PyThreadState* __tstate = wxPyBeginAllowThreads();
22226 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
22227
22228 wxPyEndAllowThreads(__tstate);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 Py_INCREF(Py_None); resultobj = Py_None;
22232 {
22233 if (temp3)
22234 delete arg3;
22235 }
22236 return resultobj;
22237 fail:
22238 {
22239 if (temp3)
22240 delete arg3;
22241 }
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22249 wxTreeItemId *arg2 = 0 ;
22250 int arg3 ;
22251 int arg4 = (int) wxTreeItemIcon_Normal ;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 char *kwnames[] = {
22255 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22256 };
22257
22258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
22259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22261 if (arg2 == NULL) {
22262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22263 }
22264 {
22265 PyThreadState* __tstate = wxPyBeginAllowThreads();
22266 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
22267
22268 wxPyEndAllowThreads(__tstate);
22269 if (PyErr_Occurred()) SWIG_fail;
22270 }
22271 Py_INCREF(Py_None); resultobj = Py_None;
22272 return resultobj;
22273 fail:
22274 return NULL;
22275 }
22276
22277
22278 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22279 PyObject *resultobj;
22280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22281 wxTreeItemId *arg2 = 0 ;
22282 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
22283 PyObject * obj0 = 0 ;
22284 PyObject * obj1 = 0 ;
22285 PyObject * obj2 = 0 ;
22286 char *kwnames[] = {
22287 (char *) "self",(char *) "item",(char *) "data", NULL
22288 };
22289
22290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22293 if (arg2 == NULL) {
22294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22295 }
22296 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 Py_INCREF(Py_None); resultobj = Py_None;
22305 return resultobj;
22306 fail:
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22314 wxTreeItemId *arg2 = 0 ;
22315 PyObject *arg3 = (PyObject *) 0 ;
22316 PyObject * obj0 = 0 ;
22317 PyObject * obj1 = 0 ;
22318 PyObject * obj2 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self",(char *) "item",(char *) "obj", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22326 if (arg2 == NULL) {
22327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22328 }
22329 arg3 = obj2;
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
22337 Py_INCREF(Py_None); resultobj = Py_None;
22338 return resultobj;
22339 fail:
22340 return NULL;
22341 }
22342
22343
22344 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22347 wxTreeItemId *arg2 = 0 ;
22348 bool arg3 = (bool) True ;
22349 PyObject * obj0 = 0 ;
22350 PyObject * obj1 = 0 ;
22351 PyObject * obj2 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "item",(char *) "has", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22358 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22359 if (arg2 == NULL) {
22360 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22361 }
22362 if (obj2) {
22363 {
22364 arg3 = (bool) SPyObj_AsBool(obj2);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
22367 }
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 Py_INCREF(Py_None); resultobj = Py_None;
22376 return resultobj;
22377 fail:
22378 return NULL;
22379 }
22380
22381
22382 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22385 wxTreeItemId *arg2 = 0 ;
22386 bool arg3 = (bool) True ;
22387 PyObject * obj0 = 0 ;
22388 PyObject * obj1 = 0 ;
22389 PyObject * obj2 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self",(char *) "item",(char *) "bold", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22397 if (arg2 == NULL) {
22398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22399 }
22400 if (obj2) {
22401 {
22402 arg3 = (bool) SPyObj_AsBool(obj2);
22403 if (PyErr_Occurred()) SWIG_fail;
22404 }
22405 }
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 Py_INCREF(Py_None); resultobj = Py_None;
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22423 wxTreeItemId *arg2 = 0 ;
22424 bool arg3 = (bool) True ;
22425 PyObject * obj0 = 0 ;
22426 PyObject * obj1 = 0 ;
22427 PyObject * obj2 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self",(char *) "item",(char *) "highlight", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
22433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22435 if (arg2 == NULL) {
22436 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22437 }
22438 if (obj2) {
22439 {
22440 arg3 = (bool) SPyObj_AsBool(obj2);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 }
22444 {
22445 PyThreadState* __tstate = wxPyBeginAllowThreads();
22446 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
22447
22448 wxPyEndAllowThreads(__tstate);
22449 if (PyErr_Occurred()) SWIG_fail;
22450 }
22451 Py_INCREF(Py_None); resultobj = Py_None;
22452 return resultobj;
22453 fail:
22454 return NULL;
22455 }
22456
22457
22458 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22461 wxTreeItemId *arg2 = 0 ;
22462 wxColour *arg3 = 0 ;
22463 wxColour temp3 ;
22464 PyObject * obj0 = 0 ;
22465 PyObject * obj1 = 0 ;
22466 PyObject * obj2 = 0 ;
22467 char *kwnames[] = {
22468 (char *) "self",(char *) "item",(char *) "col", NULL
22469 };
22470
22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22474 if (arg2 == NULL) {
22475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22476 }
22477 {
22478 arg3 = &temp3;
22479 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22480 }
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22498 wxTreeItemId *arg2 = 0 ;
22499 wxColour *arg3 = 0 ;
22500 wxColour temp3 ;
22501 PyObject * obj0 = 0 ;
22502 PyObject * obj1 = 0 ;
22503 PyObject * obj2 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self",(char *) "item",(char *) "col", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22511 if (arg2 == NULL) {
22512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22513 }
22514 {
22515 arg3 = &temp3;
22516 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22517 }
22518 {
22519 PyThreadState* __tstate = wxPyBeginAllowThreads();
22520 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22521
22522 wxPyEndAllowThreads(__tstate);
22523 if (PyErr_Occurred()) SWIG_fail;
22524 }
22525 Py_INCREF(Py_None); resultobj = Py_None;
22526 return resultobj;
22527 fail:
22528 return NULL;
22529 }
22530
22531
22532 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22533 PyObject *resultobj;
22534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22535 wxTreeItemId *arg2 = 0 ;
22536 wxFont *arg3 = 0 ;
22537 PyObject * obj0 = 0 ;
22538 PyObject * obj1 = 0 ;
22539 PyObject * obj2 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "item",(char *) "font", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22547 if (arg2 == NULL) {
22548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22549 }
22550 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 if (arg3 == NULL) {
22552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22553 }
22554 {
22555 PyThreadState* __tstate = wxPyBeginAllowThreads();
22556 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22557
22558 wxPyEndAllowThreads(__tstate);
22559 if (PyErr_Occurred()) SWIG_fail;
22560 }
22561 Py_INCREF(Py_None); resultobj = Py_None;
22562 return resultobj;
22563 fail:
22564 return NULL;
22565 }
22566
22567
22568 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22569 PyObject *resultobj;
22570 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22571 wxTreeItemId *arg2 = 0 ;
22572 bool result;
22573 PyObject * obj0 = 0 ;
22574 PyObject * obj1 = 0 ;
22575 char *kwnames[] = {
22576 (char *) "self",(char *) "item", NULL
22577 };
22578
22579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22582 if (arg2 == NULL) {
22583 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22584 }
22585 {
22586 PyThreadState* __tstate = wxPyBeginAllowThreads();
22587 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22588
22589 wxPyEndAllowThreads(__tstate);
22590 if (PyErr_Occurred()) SWIG_fail;
22591 }
22592 resultobj = PyInt_FromLong((long)result);
22593 return resultobj;
22594 fail:
22595 return NULL;
22596 }
22597
22598
22599 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22602 wxTreeItemId *arg2 = 0 ;
22603 bool result;
22604 PyObject * obj0 = 0 ;
22605 PyObject * obj1 = 0 ;
22606 char *kwnames[] = {
22607 (char *) "self",(char *) "item", NULL
22608 };
22609
22610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22613 if (arg2 == NULL) {
22614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22615 }
22616 {
22617 PyThreadState* __tstate = wxPyBeginAllowThreads();
22618 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22619
22620 wxPyEndAllowThreads(__tstate);
22621 if (PyErr_Occurred()) SWIG_fail;
22622 }
22623 resultobj = PyInt_FromLong((long)result);
22624 return resultobj;
22625 fail:
22626 return NULL;
22627 }
22628
22629
22630 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22631 PyObject *resultobj;
22632 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22633 wxTreeItemId *arg2 = 0 ;
22634 bool result;
22635 PyObject * obj0 = 0 ;
22636 PyObject * obj1 = 0 ;
22637 char *kwnames[] = {
22638 (char *) "self",(char *) "item", NULL
22639 };
22640
22641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22644 if (arg2 == NULL) {
22645 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22646 }
22647 {
22648 PyThreadState* __tstate = wxPyBeginAllowThreads();
22649 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22650
22651 wxPyEndAllowThreads(__tstate);
22652 if (PyErr_Occurred()) SWIG_fail;
22653 }
22654 resultobj = PyInt_FromLong((long)result);
22655 return resultobj;
22656 fail:
22657 return NULL;
22658 }
22659
22660
22661 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22662 PyObject *resultobj;
22663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22664 wxTreeItemId *arg2 = 0 ;
22665 bool result;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "item", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 if (arg2 == NULL) {
22676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 resultobj = PyInt_FromLong((long)result);
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22695 wxTreeItemId *arg2 = 0 ;
22696 bool result;
22697 PyObject * obj0 = 0 ;
22698 PyObject * obj1 = 0 ;
22699 char *kwnames[] = {
22700 (char *) "self",(char *) "item", NULL
22701 };
22702
22703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22706 if (arg2 == NULL) {
22707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22708 }
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 resultobj = PyInt_FromLong((long)result);
22717 return resultobj;
22718 fail:
22719 return NULL;
22720 }
22721
22722
22723 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22726 wxTreeItemId *arg2 = 0 ;
22727 bool arg3 = (bool) True ;
22728 size_t result;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 PyObject * obj2 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self",(char *) "item",(char *) "recursively", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22739 if (arg2 == NULL) {
22740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22741 }
22742 if (obj2) {
22743 {
22744 arg3 = (bool) SPyObj_AsBool(obj2);
22745 if (PyErr_Occurred()) SWIG_fail;
22746 }
22747 }
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22765 wxTreeItemId result;
22766 PyObject * obj0 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 wxTreeItemId * resultptr;
22782 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22783 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22784 }
22785 return resultobj;
22786 fail:
22787 return NULL;
22788 }
22789
22790
22791 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22792 PyObject *resultobj;
22793 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22794 wxTreeItemId result;
22795 PyObject * obj0 = 0 ;
22796 char *kwnames[] = {
22797 (char *) "self", NULL
22798 };
22799
22800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 {
22803 PyThreadState* __tstate = wxPyBeginAllowThreads();
22804 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22805
22806 wxPyEndAllowThreads(__tstate);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 {
22810 wxTreeItemId * resultptr;
22811 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22812 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22813 }
22814 return resultobj;
22815 fail:
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22823 PyObject *result;
22824 PyObject * obj0 = 0 ;
22825 char *kwnames[] = {
22826 (char *) "self", NULL
22827 };
22828
22829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 resultobj = result;
22839 return resultobj;
22840 fail:
22841 return NULL;
22842 }
22843
22844
22845 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22848 wxTreeItemId *arg2 = 0 ;
22849 wxTreeItemId result;
22850 PyObject * obj0 = 0 ;
22851 PyObject * obj1 = 0 ;
22852 char *kwnames[] = {
22853 (char *) "self",(char *) "item", NULL
22854 };
22855
22856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22859 if (arg2 == NULL) {
22860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22861 }
22862 {
22863 PyThreadState* __tstate = wxPyBeginAllowThreads();
22864 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22865
22866 wxPyEndAllowThreads(__tstate);
22867 if (PyErr_Occurred()) SWIG_fail;
22868 }
22869 {
22870 wxTreeItemId * resultptr;
22871 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22872 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22873 }
22874 return resultobj;
22875 fail:
22876 return NULL;
22877 }
22878
22879
22880 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22881 PyObject *resultobj;
22882 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22883 wxTreeItemId *arg2 = 0 ;
22884 PyObject *result;
22885 PyObject * obj0 = 0 ;
22886 PyObject * obj1 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self",(char *) "item", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22894 if (arg2 == NULL) {
22895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22896 }
22897 {
22898 PyThreadState* __tstate = wxPyBeginAllowThreads();
22899 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22900
22901 wxPyEndAllowThreads(__tstate);
22902 if (PyErr_Occurred()) SWIG_fail;
22903 }
22904 resultobj = result;
22905 return resultobj;
22906 fail:
22907 return NULL;
22908 }
22909
22910
22911 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22912 PyObject *resultobj;
22913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22914 wxTreeItemId *arg2 = 0 ;
22915 wxTreeItemIdValue *arg3 = 0 ;
22916 PyObject *result;
22917 PyObject * obj0 = 0 ;
22918 PyObject * obj1 = 0 ;
22919 PyObject * obj2 = 0 ;
22920 char *kwnames[] = {
22921 (char *) "self",(char *) "item",(char *) "cookie", NULL
22922 };
22923
22924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22927 if (arg2 == NULL) {
22928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22929 }
22930 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 if (arg3 == NULL) {
22932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22933 }
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 resultobj = result;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22951 wxTreeItemId *arg2 = 0 ;
22952 wxTreeItemId result;
22953 PyObject * obj0 = 0 ;
22954 PyObject * obj1 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self",(char *) "item", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 if (arg2 == NULL) {
22963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22964 }
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 {
22973 wxTreeItemId * resultptr;
22974 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22975 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22976 }
22977 return resultobj;
22978 fail:
22979 return NULL;
22980 }
22981
22982
22983 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22984 PyObject *resultobj;
22985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22986 wxTreeItemId *arg2 = 0 ;
22987 wxTreeItemId result;
22988 PyObject * obj0 = 0 ;
22989 PyObject * obj1 = 0 ;
22990 char *kwnames[] = {
22991 (char *) "self",(char *) "item", NULL
22992 };
22993
22994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22997 if (arg2 == NULL) {
22998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22999 }
23000 {
23001 PyThreadState* __tstate = wxPyBeginAllowThreads();
23002 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
23003
23004 wxPyEndAllowThreads(__tstate);
23005 if (PyErr_Occurred()) SWIG_fail;
23006 }
23007 {
23008 wxTreeItemId * resultptr;
23009 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23010 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23011 }
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23021 wxTreeItemId *arg2 = 0 ;
23022 wxTreeItemId result;
23023 PyObject * obj0 = 0 ;
23024 PyObject * obj1 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "item", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 if (arg2 == NULL) {
23033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23034 }
23035 {
23036 PyThreadState* __tstate = wxPyBeginAllowThreads();
23037 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
23038
23039 wxPyEndAllowThreads(__tstate);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 }
23042 {
23043 wxTreeItemId * resultptr;
23044 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23045 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23046 }
23047 return resultobj;
23048 fail:
23049 return NULL;
23050 }
23051
23052
23053 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23056 wxTreeItemId result;
23057 PyObject * obj0 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072 wxTreeItemId * resultptr;
23073 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23075 }
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23085 wxTreeItemId *arg2 = 0 ;
23086 wxTreeItemId result;
23087 PyObject * obj0 = 0 ;
23088 PyObject * obj1 = 0 ;
23089 char *kwnames[] = {
23090 (char *) "self",(char *) "item", NULL
23091 };
23092
23093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
23094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23096 if (arg2 == NULL) {
23097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23098 }
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 {
23107 wxTreeItemId * resultptr;
23108 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23110 }
23111 return resultobj;
23112 fail:
23113 return NULL;
23114 }
23115
23116
23117 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj;
23119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23120 wxTreeItemId *arg2 = 0 ;
23121 wxTreeItemId result;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "item", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
23129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23131 if (arg2 == NULL) {
23132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23133 }
23134 {
23135 PyThreadState* __tstate = wxPyBeginAllowThreads();
23136 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
23137
23138 wxPyEndAllowThreads(__tstate);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 {
23142 wxTreeItemId * resultptr;
23143 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23145 }
23146 return resultobj;
23147 fail:
23148 return NULL;
23149 }
23150
23151
23152 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
23153 PyObject *resultobj;
23154 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23155 wxString *arg2 = 0 ;
23156 int arg3 = (int) -1 ;
23157 int arg4 = (int) -1 ;
23158 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
23159 wxTreeItemId result;
23160 bool temp2 = False ;
23161 PyObject * obj0 = 0 ;
23162 PyObject * obj1 = 0 ;
23163 PyObject * obj4 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
23169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23170 {
23171 arg2 = wxString_in_helper(obj1);
23172 if (arg2 == NULL) SWIG_fail;
23173 temp2 = True;
23174 }
23175 if (obj4) {
23176 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23177 }
23178 {
23179 PyThreadState* __tstate = wxPyBeginAllowThreads();
23180 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
23181
23182 wxPyEndAllowThreads(__tstate);
23183 if (PyErr_Occurred()) SWIG_fail;
23184 }
23185 {
23186 wxTreeItemId * resultptr;
23187 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23189 }
23190 {
23191 if (temp2)
23192 delete arg2;
23193 }
23194 return resultobj;
23195 fail:
23196 {
23197 if (temp2)
23198 delete arg2;
23199 }
23200 return NULL;
23201 }
23202
23203
23204 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23205 PyObject *resultobj;
23206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23207 wxTreeItemId *arg2 = 0 ;
23208 wxString *arg3 = 0 ;
23209 int arg4 = (int) -1 ;
23210 int arg5 = (int) -1 ;
23211 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23212 wxTreeItemId result;
23213 bool temp3 = False ;
23214 PyObject * obj0 = 0 ;
23215 PyObject * obj1 = 0 ;
23216 PyObject * obj2 = 0 ;
23217 PyObject * obj5 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23225 if (arg2 == NULL) {
23226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23227 }
23228 {
23229 arg3 = wxString_in_helper(obj2);
23230 if (arg3 == NULL) SWIG_fail;
23231 temp3 = True;
23232 }
23233 if (obj5) {
23234 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23235 }
23236 {
23237 PyThreadState* __tstate = wxPyBeginAllowThreads();
23238 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23239
23240 wxPyEndAllowThreads(__tstate);
23241 if (PyErr_Occurred()) SWIG_fail;
23242 }
23243 {
23244 wxTreeItemId * resultptr;
23245 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23246 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23247 }
23248 {
23249 if (temp3)
23250 delete arg3;
23251 }
23252 return resultobj;
23253 fail:
23254 {
23255 if (temp3)
23256 delete arg3;
23257 }
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23265 wxTreeItemId *arg2 = 0 ;
23266 wxTreeItemId *arg3 = 0 ;
23267 wxString *arg4 = 0 ;
23268 int arg5 = (int) -1 ;
23269 int arg6 = (int) -1 ;
23270 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23271 wxTreeItemId result;
23272 bool temp4 = False ;
23273 PyObject * obj0 = 0 ;
23274 PyObject * obj1 = 0 ;
23275 PyObject * obj2 = 0 ;
23276 PyObject * obj3 = 0 ;
23277 PyObject * obj6 = 0 ;
23278 char *kwnames[] = {
23279 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23280 };
23281
23282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) 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 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23289 if (arg3 == NULL) {
23290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23291 }
23292 {
23293 arg4 = wxString_in_helper(obj3);
23294 if (arg4 == NULL) SWIG_fail;
23295 temp4 = True;
23296 }
23297 if (obj6) {
23298 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23299 }
23300 {
23301 PyThreadState* __tstate = wxPyBeginAllowThreads();
23302 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23303
23304 wxPyEndAllowThreads(__tstate);
23305 if (PyErr_Occurred()) SWIG_fail;
23306 }
23307 {
23308 wxTreeItemId * resultptr;
23309 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23311 }
23312 {
23313 if (temp4)
23314 delete arg4;
23315 }
23316 return resultobj;
23317 fail:
23318 {
23319 if (temp4)
23320 delete arg4;
23321 }
23322 return NULL;
23323 }
23324
23325
23326 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23329 wxTreeItemId *arg2 = 0 ;
23330 size_t arg3 ;
23331 wxString *arg4 = 0 ;
23332 int arg5 = (int) -1 ;
23333 int arg6 = (int) -1 ;
23334 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23335 wxTreeItemId result;
23336 bool temp4 = False ;
23337 PyObject * obj0 = 0 ;
23338 PyObject * obj1 = 0 ;
23339 PyObject * obj2 = 0 ;
23340 PyObject * obj3 = 0 ;
23341 PyObject * obj6 = 0 ;
23342 char *kwnames[] = {
23343 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23344 };
23345
23346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23348 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23349 if (arg2 == NULL) {
23350 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23351 }
23352 {
23353 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 {
23357 arg4 = wxString_in_helper(obj3);
23358 if (arg4 == NULL) SWIG_fail;
23359 temp4 = True;
23360 }
23361 if (obj6) {
23362 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23363 }
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
23371 {
23372 wxTreeItemId * resultptr;
23373 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23375 }
23376 {
23377 if (temp4)
23378 delete arg4;
23379 }
23380 return resultobj;
23381 fail:
23382 {
23383 if (temp4)
23384 delete arg4;
23385 }
23386 return NULL;
23387 }
23388
23389
23390 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23393 wxTreeItemId *arg2 = 0 ;
23394 wxString *arg3 = 0 ;
23395 int arg4 = (int) -1 ;
23396 int arg5 = (int) -1 ;
23397 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23398 wxTreeItemId result;
23399 bool temp3 = False ;
23400 PyObject * obj0 = 0 ;
23401 PyObject * obj1 = 0 ;
23402 PyObject * obj2 = 0 ;
23403 PyObject * obj5 = 0 ;
23404 char *kwnames[] = {
23405 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23406 };
23407
23408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23411 if (arg2 == NULL) {
23412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23413 }
23414 {
23415 arg3 = wxString_in_helper(obj2);
23416 if (arg3 == NULL) SWIG_fail;
23417 temp3 = True;
23418 }
23419 if (obj5) {
23420 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 }
23422 {
23423 PyThreadState* __tstate = wxPyBeginAllowThreads();
23424 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23425
23426 wxPyEndAllowThreads(__tstate);
23427 if (PyErr_Occurred()) SWIG_fail;
23428 }
23429 {
23430 wxTreeItemId * resultptr;
23431 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23432 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23433 }
23434 {
23435 if (temp3)
23436 delete arg3;
23437 }
23438 return resultobj;
23439 fail:
23440 {
23441 if (temp3)
23442 delete arg3;
23443 }
23444 return NULL;
23445 }
23446
23447
23448 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23451 wxTreeItemId *arg2 = 0 ;
23452 PyObject * obj0 = 0 ;
23453 PyObject * obj1 = 0 ;
23454 char *kwnames[] = {
23455 (char *) "self",(char *) "item", NULL
23456 };
23457
23458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23461 if (arg2 == NULL) {
23462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23463 }
23464 {
23465 PyThreadState* __tstate = wxPyBeginAllowThreads();
23466 (arg1)->Delete((wxTreeItemId const &)*arg2);
23467
23468 wxPyEndAllowThreads(__tstate);
23469 if (PyErr_Occurred()) SWIG_fail;
23470 }
23471 Py_INCREF(Py_None); resultobj = Py_None;
23472 return resultobj;
23473 fail:
23474 return NULL;
23475 }
23476
23477
23478 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23479 PyObject *resultobj;
23480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23481 wxTreeItemId *arg2 = 0 ;
23482 PyObject * obj0 = 0 ;
23483 PyObject * obj1 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self",(char *) "item", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23491 if (arg2 == NULL) {
23492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23493 }
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 Py_INCREF(Py_None); resultobj = Py_None;
23502 return resultobj;
23503 fail:
23504 return NULL;
23505 }
23506
23507
23508 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj;
23510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23511 PyObject * obj0 = 0 ;
23512 char *kwnames[] = {
23513 (char *) "self", NULL
23514 };
23515
23516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23518 {
23519 PyThreadState* __tstate = wxPyBeginAllowThreads();
23520 (arg1)->DeleteAllItems();
23521
23522 wxPyEndAllowThreads(__tstate);
23523 if (PyErr_Occurred()) SWIG_fail;
23524 }
23525 Py_INCREF(Py_None); resultobj = Py_None;
23526 return resultobj;
23527 fail:
23528 return NULL;
23529 }
23530
23531
23532 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23533 PyObject *resultobj;
23534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23535 wxTreeItemId *arg2 = 0 ;
23536 PyObject * obj0 = 0 ;
23537 PyObject * obj1 = 0 ;
23538 char *kwnames[] = {
23539 (char *) "self",(char *) "item", NULL
23540 };
23541
23542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23545 if (arg2 == NULL) {
23546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23547 }
23548 {
23549 PyThreadState* __tstate = wxPyBeginAllowThreads();
23550 (arg1)->Expand((wxTreeItemId const &)*arg2);
23551
23552 wxPyEndAllowThreads(__tstate);
23553 if (PyErr_Occurred()) SWIG_fail;
23554 }
23555 Py_INCREF(Py_None); resultobj = Py_None;
23556 return resultobj;
23557 fail:
23558 return NULL;
23559 }
23560
23561
23562 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23563 PyObject *resultobj;
23564 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23565 wxTreeItemId *arg2 = 0 ;
23566 PyObject * obj0 = 0 ;
23567 PyObject * obj1 = 0 ;
23568 char *kwnames[] = {
23569 (char *) "self",(char *) "item", NULL
23570 };
23571
23572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23575 if (arg2 == NULL) {
23576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23577 }
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 Py_INCREF(Py_None); resultobj = Py_None;
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23595 wxTreeItemId *arg2 = 0 ;
23596 PyObject * obj0 = 0 ;
23597 PyObject * obj1 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self",(char *) "item", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23605 if (arg2 == NULL) {
23606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619 }
23620
23621
23622 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23625 wxTreeItemId *arg2 = 0 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "item", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23635 if (arg2 == NULL) {
23636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23637 }
23638 {
23639 PyThreadState* __tstate = wxPyBeginAllowThreads();
23640 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23641
23642 wxPyEndAllowThreads(__tstate);
23643 if (PyErr_Occurred()) SWIG_fail;
23644 }
23645 Py_INCREF(Py_None); resultobj = Py_None;
23646 return resultobj;
23647 fail:
23648 return NULL;
23649 }
23650
23651
23652 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23655 PyObject * obj0 = 0 ;
23656 char *kwnames[] = {
23657 (char *) "self", NULL
23658 };
23659
23660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 (arg1)->Unselect();
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 Py_INCREF(Py_None); resultobj = Py_None;
23670 return resultobj;
23671 fail:
23672 return NULL;
23673 }
23674
23675
23676 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23677 PyObject *resultobj;
23678 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23679 PyObject * obj0 = 0 ;
23680 char *kwnames[] = {
23681 (char *) "self", NULL
23682 };
23683
23684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23686 {
23687 PyThreadState* __tstate = wxPyBeginAllowThreads();
23688 (arg1)->UnselectAll();
23689
23690 wxPyEndAllowThreads(__tstate);
23691 if (PyErr_Occurred()) SWIG_fail;
23692 }
23693 Py_INCREF(Py_None); resultobj = Py_None;
23694 return resultobj;
23695 fail:
23696 return NULL;
23697 }
23698
23699
23700 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23701 PyObject *resultobj;
23702 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23703 wxTreeItemId *arg2 = 0 ;
23704 PyObject * obj0 = 0 ;
23705 PyObject * obj1 = 0 ;
23706 char *kwnames[] = {
23707 (char *) "self",(char *) "item", NULL
23708 };
23709
23710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23713 if (arg2 == NULL) {
23714 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23715 }
23716 {
23717 PyThreadState* __tstate = wxPyBeginAllowThreads();
23718 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23719
23720 wxPyEndAllowThreads(__tstate);
23721 if (PyErr_Occurred()) SWIG_fail;
23722 }
23723 Py_INCREF(Py_None); resultobj = Py_None;
23724 return resultobj;
23725 fail:
23726 return NULL;
23727 }
23728
23729
23730 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23731 PyObject *resultobj;
23732 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23733 wxTreeItemId *arg2 = 0 ;
23734 PyObject * obj0 = 0 ;
23735 PyObject * obj1 = 0 ;
23736 char *kwnames[] = {
23737 (char *) "self",(char *) "item", NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23742 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23743 if (arg2 == NULL) {
23744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23745 }
23746 {
23747 PyThreadState* __tstate = wxPyBeginAllowThreads();
23748 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23749
23750 wxPyEndAllowThreads(__tstate);
23751 if (PyErr_Occurred()) SWIG_fail;
23752 }
23753 Py_INCREF(Py_None); resultobj = Py_None;
23754 return resultobj;
23755 fail:
23756 return NULL;
23757 }
23758
23759
23760 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23763 wxTreeItemId *arg2 = 0 ;
23764 PyObject * obj0 = 0 ;
23765 PyObject * obj1 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self",(char *) "item", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23773 if (arg2 == NULL) {
23774 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23775 }
23776 {
23777 PyThreadState* __tstate = wxPyBeginAllowThreads();
23778 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23779
23780 wxPyEndAllowThreads(__tstate);
23781 if (PyErr_Occurred()) SWIG_fail;
23782 }
23783 Py_INCREF(Py_None); resultobj = Py_None;
23784 return resultobj;
23785 fail:
23786 return NULL;
23787 }
23788
23789
23790 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23791 PyObject *resultobj;
23792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23793 wxTreeItemId *arg2 = 0 ;
23794 PyObject * obj0 = 0 ;
23795 PyObject * obj1 = 0 ;
23796 char *kwnames[] = {
23797 (char *) "self",(char *) "item", NULL
23798 };
23799
23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23803 if (arg2 == NULL) {
23804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23805 }
23806 {
23807 PyThreadState* __tstate = wxPyBeginAllowThreads();
23808 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23809
23810 wxPyEndAllowThreads(__tstate);
23811 if (PyErr_Occurred()) SWIG_fail;
23812 }
23813 Py_INCREF(Py_None); resultobj = Py_None;
23814 return resultobj;
23815 fail:
23816 return NULL;
23817 }
23818
23819
23820 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23821 PyObject *resultobj;
23822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23823 wxTextCtrl *result;
23824 PyObject * obj0 = 0 ;
23825 char *kwnames[] = {
23826 (char *) "self", NULL
23827 };
23828
23829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23834
23835 wxPyEndAllowThreads(__tstate);
23836 if (PyErr_Occurred()) SWIG_fail;
23837 }
23838 {
23839 resultobj = wxPyMake_wxObject(result);
23840 }
23841 return resultobj;
23842 fail:
23843 return NULL;
23844 }
23845
23846
23847 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23848 PyObject *resultobj;
23849 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23850 wxTreeItemId *arg2 = 0 ;
23851 bool arg3 = (bool) False ;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 PyObject * obj2 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23861 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23862 if (arg2 == NULL) {
23863 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23864 }
23865 if (obj2) {
23866 {
23867 arg3 = (bool) SPyObj_AsBool(obj2);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 }
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 Py_INCREF(Py_None); resultobj = Py_None;
23879 return resultobj;
23880 fail:
23881 return NULL;
23882 }
23883
23884
23885 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23886 PyObject *resultobj;
23887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23888 wxTreeItemId *arg2 = 0 ;
23889 PyObject * obj0 = 0 ;
23890 PyObject * obj1 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self",(char *) "item", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23898 if (arg2 == NULL) {
23899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23900 }
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 Py_INCREF(Py_None); resultobj = Py_None;
23909 return resultobj;
23910 fail:
23911 return NULL;
23912 }
23913
23914
23915 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23918 wxPoint *arg2 = 0 ;
23919 int *arg3 = 0 ;
23920 wxTreeItemId result;
23921 wxPoint temp2 ;
23922 int temp3 ;
23923 PyObject * obj0 = 0 ;
23924 PyObject * obj1 = 0 ;
23925 char *kwnames[] = {
23926 (char *) "self",(char *) "point", NULL
23927 };
23928
23929 arg3 = &temp3;
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23932 {
23933 arg2 = &temp2;
23934 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23935 }
23936 {
23937 PyThreadState* __tstate = wxPyBeginAllowThreads();
23938 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23939
23940 wxPyEndAllowThreads(__tstate);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 {
23944 wxTreeItemId * resultptr;
23945 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23947 }
23948 {
23949 PyObject *o = PyInt_FromLong((long) (*arg3));
23950 resultobj = t_output_helper(resultobj,o);
23951 }
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23961 wxTreeItemId *arg2 = 0 ;
23962 bool arg3 = (bool) False ;
23963 PyObject *result;
23964 PyObject * obj0 = 0 ;
23965 PyObject * obj1 = 0 ;
23966 PyObject * obj2 = 0 ;
23967 char *kwnames[] = {
23968 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23969 };
23970
23971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23974 if (arg2 == NULL) {
23975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23976 }
23977 if (obj2) {
23978 {
23979 arg3 = (bool) SPyObj_AsBool(obj2);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 }
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 resultobj = result;
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23998 PyObject *obj;
23999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
24001 Py_INCREF(obj);
24002 return Py_BuildValue((char *)"");
24003 }
24004 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
24005 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
24006 return 1;
24007 }
24008
24009
24010 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
24011 PyObject *pyobj;
24012
24013 {
24014 #if wxUSE_UNICODE
24015 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
24016 #else
24017 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
24018 #endif
24019 }
24020 return pyobj;
24021 }
24022
24023
24024 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxWindow *arg1 = (wxWindow *) 0 ;
24027 int arg2 = (int) (int)-1 ;
24028 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
24029 wxString *arg3 = (wxString *) &arg3_defvalue ;
24030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24032 wxSize const &arg5_defvalue = wxDefaultSize ;
24033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24034 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
24035 wxString const &arg7_defvalue = wxPyEmptyString ;
24036 wxString *arg7 = (wxString *) &arg7_defvalue ;
24037 int arg8 = (int) 0 ;
24038 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
24039 wxString *arg9 = (wxString *) &arg9_defvalue ;
24040 wxGenericDirCtrl *result;
24041 bool temp3 = False ;
24042 wxPoint temp4 ;
24043 wxSize temp5 ;
24044 bool temp7 = False ;
24045 bool temp9 = False ;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj2 = 0 ;
24048 PyObject * obj3 = 0 ;
24049 PyObject * obj4 = 0 ;
24050 PyObject * obj6 = 0 ;
24051 PyObject * obj8 = 0 ;
24052 char *kwnames[] = {
24053 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24054 };
24055
24056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
24057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24058 if (obj2) {
24059 {
24060 arg3 = wxString_in_helper(obj2);
24061 if (arg3 == NULL) SWIG_fail;
24062 temp3 = True;
24063 }
24064 }
24065 if (obj3) {
24066 {
24067 arg4 = &temp4;
24068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24069 }
24070 }
24071 if (obj4) {
24072 {
24073 arg5 = &temp5;
24074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24075 }
24076 }
24077 if (obj6) {
24078 {
24079 arg7 = wxString_in_helper(obj6);
24080 if (arg7 == NULL) SWIG_fail;
24081 temp7 = True;
24082 }
24083 }
24084 if (obj8) {
24085 {
24086 arg9 = wxString_in_helper(obj8);
24087 if (arg9 == NULL) SWIG_fail;
24088 temp9 = True;
24089 }
24090 }
24091 {
24092 PyThreadState* __tstate = wxPyBeginAllowThreads();
24093 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
24094
24095 wxPyEndAllowThreads(__tstate);
24096 if (PyErr_Occurred()) SWIG_fail;
24097 }
24098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
24099 {
24100 if (temp3)
24101 delete arg3;
24102 }
24103 {
24104 if (temp7)
24105 delete arg7;
24106 }
24107 {
24108 if (temp9)
24109 delete arg9;
24110 }
24111 return resultobj;
24112 fail:
24113 {
24114 if (temp3)
24115 delete arg3;
24116 }
24117 {
24118 if (temp7)
24119 delete arg7;
24120 }
24121 {
24122 if (temp9)
24123 delete arg9;
24124 }
24125 return NULL;
24126 }
24127
24128
24129 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj;
24131 wxGenericDirCtrl *result;
24132 char *kwnames[] = {
24133 NULL
24134 };
24135
24136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
24137 {
24138 PyThreadState* __tstate = wxPyBeginAllowThreads();
24139 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
24140
24141 wxPyEndAllowThreads(__tstate);
24142 if (PyErr_Occurred()) SWIG_fail;
24143 }
24144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
24145 return resultobj;
24146 fail:
24147 return NULL;
24148 }
24149
24150
24151 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24152 PyObject *resultobj;
24153 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24154 wxWindow *arg2 = (wxWindow *) 0 ;
24155 int arg3 = (int) (int)-1 ;
24156 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
24157 wxString *arg4 = (wxString *) &arg4_defvalue ;
24158 wxPoint const &arg5_defvalue = wxDefaultPosition ;
24159 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
24160 wxSize const &arg6_defvalue = wxDefaultSize ;
24161 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
24162 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
24163 wxString const &arg8_defvalue = wxPyEmptyString ;
24164 wxString *arg8 = (wxString *) &arg8_defvalue ;
24165 int arg9 = (int) 0 ;
24166 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
24167 wxString *arg10 = (wxString *) &arg10_defvalue ;
24168 bool result;
24169 bool temp4 = False ;
24170 wxPoint temp5 ;
24171 wxSize temp6 ;
24172 bool temp8 = False ;
24173 bool temp10 = False ;
24174 PyObject * obj0 = 0 ;
24175 PyObject * obj1 = 0 ;
24176 PyObject * obj3 = 0 ;
24177 PyObject * obj4 = 0 ;
24178 PyObject * obj5 = 0 ;
24179 PyObject * obj7 = 0 ;
24180 PyObject * obj9 = 0 ;
24181 char *kwnames[] = {
24182 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24183 };
24184
24185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
24186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24188 if (obj3) {
24189 {
24190 arg4 = wxString_in_helper(obj3);
24191 if (arg4 == NULL) SWIG_fail;
24192 temp4 = True;
24193 }
24194 }
24195 if (obj4) {
24196 {
24197 arg5 = &temp5;
24198 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
24199 }
24200 }
24201 if (obj5) {
24202 {
24203 arg6 = &temp6;
24204 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
24205 }
24206 }
24207 if (obj7) {
24208 {
24209 arg8 = wxString_in_helper(obj7);
24210 if (arg8 == NULL) SWIG_fail;
24211 temp8 = True;
24212 }
24213 }
24214 if (obj9) {
24215 {
24216 arg10 = wxString_in_helper(obj9);
24217 if (arg10 == NULL) SWIG_fail;
24218 temp10 = True;
24219 }
24220 }
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 resultobj = PyInt_FromLong((long)result);
24229 {
24230 if (temp4)
24231 delete arg4;
24232 }
24233 {
24234 if (temp8)
24235 delete arg8;
24236 }
24237 {
24238 if (temp10)
24239 delete arg10;
24240 }
24241 return resultobj;
24242 fail:
24243 {
24244 if (temp4)
24245 delete arg4;
24246 }
24247 {
24248 if (temp8)
24249 delete arg8;
24250 }
24251 {
24252 if (temp10)
24253 delete arg10;
24254 }
24255 return NULL;
24256 }
24257
24258
24259 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24262 wxString *arg2 = 0 ;
24263 bool result;
24264 bool temp2 = False ;
24265 PyObject * obj0 = 0 ;
24266 PyObject * obj1 = 0 ;
24267 char *kwnames[] = {
24268 (char *) "self",(char *) "path", NULL
24269 };
24270
24271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
24272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24273 {
24274 arg2 = wxString_in_helper(obj1);
24275 if (arg2 == NULL) SWIG_fail;
24276 temp2 = True;
24277 }
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 resultobj = PyInt_FromLong((long)result);
24286 {
24287 if (temp2)
24288 delete arg2;
24289 }
24290 return resultobj;
24291 fail:
24292 {
24293 if (temp2)
24294 delete arg2;
24295 }
24296 return NULL;
24297 }
24298
24299
24300 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24301 PyObject *resultobj;
24302 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24303 wxString result;
24304 PyObject * obj0 = 0 ;
24305 char *kwnames[] = {
24306 (char *) "self", NULL
24307 };
24308
24309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
24310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24311 {
24312 PyThreadState* __tstate = wxPyBeginAllowThreads();
24313 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
24314
24315 wxPyEndAllowThreads(__tstate);
24316 if (PyErr_Occurred()) SWIG_fail;
24317 }
24318 {
24319 #if wxUSE_UNICODE
24320 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24321 #else
24322 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24323 #endif
24324 }
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24332 PyObject *resultobj;
24333 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24334 wxString *arg2 = 0 ;
24335 bool temp2 = False ;
24336 PyObject * obj0 = 0 ;
24337 PyObject * obj1 = 0 ;
24338 char *kwnames[] = {
24339 (char *) "self",(char *) "path", NULL
24340 };
24341
24342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
24343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24344 {
24345 arg2 = wxString_in_helper(obj1);
24346 if (arg2 == NULL) SWIG_fail;
24347 temp2 = True;
24348 }
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 (arg1)->SetDefaultPath((wxString const &)*arg2);
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 Py_INCREF(Py_None); resultobj = Py_None;
24357 {
24358 if (temp2)
24359 delete arg2;
24360 }
24361 return resultobj;
24362 fail:
24363 {
24364 if (temp2)
24365 delete arg2;
24366 }
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24374 wxString result;
24375 PyObject * obj0 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24382 {
24383 PyThreadState* __tstate = wxPyBeginAllowThreads();
24384 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 {
24390 #if wxUSE_UNICODE
24391 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24392 #else
24393 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24394 #endif
24395 }
24396 return resultobj;
24397 fail:
24398 return NULL;
24399 }
24400
24401
24402 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24403 PyObject *resultobj;
24404 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24405 wxString result;
24406 PyObject * obj0 = 0 ;
24407 char *kwnames[] = {
24408 (char *) "self", NULL
24409 };
24410
24411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24416
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 {
24421 #if wxUSE_UNICODE
24422 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24423 #else
24424 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24425 #endif
24426 }
24427 return resultobj;
24428 fail:
24429 return NULL;
24430 }
24431
24432
24433 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24436 wxString *arg2 = 0 ;
24437 bool temp2 = False ;
24438 PyObject * obj0 = 0 ;
24439 PyObject * obj1 = 0 ;
24440 char *kwnames[] = {
24441 (char *) "self",(char *) "path", NULL
24442 };
24443
24444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24446 {
24447 arg2 = wxString_in_helper(obj1);
24448 if (arg2 == NULL) SWIG_fail;
24449 temp2 = True;
24450 }
24451 {
24452 PyThreadState* __tstate = wxPyBeginAllowThreads();
24453 (arg1)->SetPath((wxString const &)*arg2);
24454
24455 wxPyEndAllowThreads(__tstate);
24456 if (PyErr_Occurred()) SWIG_fail;
24457 }
24458 Py_INCREF(Py_None); resultobj = Py_None;
24459 {
24460 if (temp2)
24461 delete arg2;
24462 }
24463 return resultobj;
24464 fail:
24465 {
24466 if (temp2)
24467 delete arg2;
24468 }
24469 return NULL;
24470 }
24471
24472
24473 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24474 PyObject *resultobj;
24475 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24476 bool arg2 ;
24477 PyObject * obj0 = 0 ;
24478 PyObject * obj1 = 0 ;
24479 char *kwnames[] = {
24480 (char *) "self",(char *) "show", NULL
24481 };
24482
24483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24485 {
24486 arg2 = (bool) SPyObj_AsBool(obj1);
24487 if (PyErr_Occurred()) SWIG_fail;
24488 }
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 (arg1)->ShowHidden(arg2);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 Py_INCREF(Py_None); resultobj = Py_None;
24497 return resultobj;
24498 fail:
24499 return NULL;
24500 }
24501
24502
24503 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24504 PyObject *resultobj;
24505 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24506 bool result;
24507 PyObject * obj0 = 0 ;
24508 char *kwnames[] = {
24509 (char *) "self", NULL
24510 };
24511
24512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 result = (bool)(arg1)->GetShowHidden();
24517
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 resultobj = PyInt_FromLong((long)result);
24522 return resultobj;
24523 fail:
24524 return NULL;
24525 }
24526
24527
24528 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj;
24530 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24531 wxString result;
24532 PyObject * obj0 = 0 ;
24533 char *kwnames[] = {
24534 (char *) "self", NULL
24535 };
24536
24537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24542
24543 wxPyEndAllowThreads(__tstate);
24544 if (PyErr_Occurred()) SWIG_fail;
24545 }
24546 {
24547 #if wxUSE_UNICODE
24548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24549 #else
24550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24551 #endif
24552 }
24553 return resultobj;
24554 fail:
24555 return NULL;
24556 }
24557
24558
24559 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24560 PyObject *resultobj;
24561 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24562 wxString *arg2 = 0 ;
24563 bool temp2 = False ;
24564 PyObject * obj0 = 0 ;
24565 PyObject * obj1 = 0 ;
24566 char *kwnames[] = {
24567 (char *) "self",(char *) "filter", NULL
24568 };
24569
24570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24572 {
24573 arg2 = wxString_in_helper(obj1);
24574 if (arg2 == NULL) SWIG_fail;
24575 temp2 = True;
24576 }
24577 {
24578 PyThreadState* __tstate = wxPyBeginAllowThreads();
24579 (arg1)->SetFilter((wxString const &)*arg2);
24580
24581 wxPyEndAllowThreads(__tstate);
24582 if (PyErr_Occurred()) SWIG_fail;
24583 }
24584 Py_INCREF(Py_None); resultobj = Py_None;
24585 {
24586 if (temp2)
24587 delete arg2;
24588 }
24589 return resultobj;
24590 fail:
24591 {
24592 if (temp2)
24593 delete arg2;
24594 }
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24602 int result;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 {
24611 PyThreadState* __tstate = wxPyBeginAllowThreads();
24612 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24613
24614 wxPyEndAllowThreads(__tstate);
24615 if (PyErr_Occurred()) SWIG_fail;
24616 }
24617 resultobj = PyInt_FromLong((long)result);
24618 return resultobj;
24619 fail:
24620 return NULL;
24621 }
24622
24623
24624 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24625 PyObject *resultobj;
24626 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24627 int arg2 ;
24628 PyObject * obj0 = 0 ;
24629 char *kwnames[] = {
24630 (char *) "self",(char *) "n", NULL
24631 };
24632
24633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 (arg1)->SetFilterIndex(arg2);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
24642 Py_INCREF(Py_None); resultobj = Py_None;
24643 return resultobj;
24644 fail:
24645 return NULL;
24646 }
24647
24648
24649 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24652 wxTreeItemId result;
24653 PyObject * obj0 = 0 ;
24654 char *kwnames[] = {
24655 (char *) "self", NULL
24656 };
24657
24658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24660 {
24661 PyThreadState* __tstate = wxPyBeginAllowThreads();
24662 result = (arg1)->GetRootId();
24663
24664 wxPyEndAllowThreads(__tstate);
24665 if (PyErr_Occurred()) SWIG_fail;
24666 }
24667 {
24668 wxTreeItemId * resultptr;
24669 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24670 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24671 }
24672 return resultobj;
24673 fail:
24674 return NULL;
24675 }
24676
24677
24678 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24681 wxPyTreeCtrl *result;
24682 PyObject * obj0 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 {
24697 resultobj = wxPyMake_wxObject(result);
24698 }
24699 return resultobj;
24700 fail:
24701 return NULL;
24702 }
24703
24704
24705 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24706 PyObject *resultobj;
24707 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24708 wxDirFilterListCtrl *result;
24709 PyObject * obj0 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24719
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24724 return resultobj;
24725 fail:
24726 return NULL;
24727 }
24728
24729
24730 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24731 PyObject *resultobj;
24732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24733 wxTreeItemId arg2 ;
24734 wxString *arg3 = 0 ;
24735 bool *arg4 = 0 ;
24736 wxTreeItemId result;
24737 wxTreeItemId *argp2 ;
24738 bool temp3 = False ;
24739 bool temp4 ;
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 PyObject * obj2 = 0 ;
24743 char *kwnames[] = {
24744 (char *) "self",(char *) "parentId",(char *) "path", NULL
24745 };
24746
24747 arg4 = &temp4;
24748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24750 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24751 arg2 = *argp2;
24752 {
24753 arg3 = wxString_in_helper(obj2);
24754 if (arg3 == NULL) SWIG_fail;
24755 temp3 = True;
24756 }
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 {
24765 wxTreeItemId * resultptr;
24766 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24768 }
24769 {
24770 PyObject *o = PyInt_FromLong((long) (*arg4));
24771 resultobj = t_output_helper(resultobj,o);
24772 }
24773 {
24774 if (temp3)
24775 delete arg3;
24776 }
24777 return resultobj;
24778 fail:
24779 {
24780 if (temp3)
24781 delete arg3;
24782 }
24783 return NULL;
24784 }
24785
24786
24787 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24788 PyObject *resultobj;
24789 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24790 PyObject * obj0 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24797 {
24798 PyThreadState* __tstate = wxPyBeginAllowThreads();
24799 (arg1)->DoResize();
24800
24801 wxPyEndAllowThreads(__tstate);
24802 if (PyErr_Occurred()) SWIG_fail;
24803 }
24804 Py_INCREF(Py_None); resultobj = Py_None;
24805 return resultobj;
24806 fail:
24807 return NULL;
24808 }
24809
24810
24811 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24812 PyObject *resultobj;
24813 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24814 PyObject * obj0 = 0 ;
24815 char *kwnames[] = {
24816 (char *) "self", NULL
24817 };
24818
24819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24821 {
24822 PyThreadState* __tstate = wxPyBeginAllowThreads();
24823 (arg1)->ReCreateTree();
24824
24825 wxPyEndAllowThreads(__tstate);
24826 if (PyErr_Occurred()) SWIG_fail;
24827 }
24828 Py_INCREF(Py_None); resultobj = Py_None;
24829 return resultobj;
24830 fail:
24831 return NULL;
24832 }
24833
24834
24835 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24836 PyObject *obj;
24837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24838 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24839 Py_INCREF(obj);
24840 return Py_BuildValue((char *)"");
24841 }
24842 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24843 PyObject *resultobj;
24844 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24845 int arg2 = (int) (int)-1 ;
24846 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24847 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24848 wxSize const &arg4_defvalue = wxDefaultSize ;
24849 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24850 long arg5 = (long) 0 ;
24851 wxDirFilterListCtrl *result;
24852 wxPoint temp3 ;
24853 wxSize temp4 ;
24854 PyObject * obj0 = 0 ;
24855 PyObject * obj2 = 0 ;
24856 PyObject * obj3 = 0 ;
24857 char *kwnames[] = {
24858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24859 };
24860
24861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24863 if (obj2) {
24864 {
24865 arg3 = &temp3;
24866 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24867 }
24868 }
24869 if (obj3) {
24870 {
24871 arg4 = &temp4;
24872 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24873 }
24874 }
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj;
24891 wxDirFilterListCtrl *result;
24892 char *kwnames[] = {
24893 NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24905 return resultobj;
24906 fail:
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24914 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24915 int arg3 = (int) (int)-1 ;
24916 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24917 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24918 wxSize const &arg5_defvalue = wxDefaultSize ;
24919 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24920 long arg6 = (long) 0 ;
24921 bool result;
24922 wxPoint temp4 ;
24923 wxSize temp5 ;
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 PyObject * obj3 = 0 ;
24927 PyObject * obj4 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24935 if (obj3) {
24936 {
24937 arg4 = &temp4;
24938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24939 }
24940 }
24941 if (obj4) {
24942 {
24943 arg5 = &temp5;
24944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24945 }
24946 }
24947 {
24948 PyThreadState* __tstate = wxPyBeginAllowThreads();
24949 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24950
24951 wxPyEndAllowThreads(__tstate);
24952 if (PyErr_Occurred()) SWIG_fail;
24953 }
24954 resultobj = PyInt_FromLong((long)result);
24955 return resultobj;
24956 fail:
24957 return NULL;
24958 }
24959
24960
24961 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24962 PyObject *resultobj;
24963 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24964 wxString *arg2 = 0 ;
24965 int arg3 ;
24966 bool temp2 = False ;
24967 PyObject * obj0 = 0 ;
24968 PyObject * obj1 = 0 ;
24969 char *kwnames[] = {
24970 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24971 };
24972
24973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24975 {
24976 arg2 = wxString_in_helper(obj1);
24977 if (arg2 == NULL) SWIG_fail;
24978 temp2 = True;
24979 }
24980 {
24981 PyThreadState* __tstate = wxPyBeginAllowThreads();
24982 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24983
24984 wxPyEndAllowThreads(__tstate);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 Py_INCREF(Py_None); resultobj = Py_None;
24988 {
24989 if (temp2)
24990 delete arg2;
24991 }
24992 return resultobj;
24993 fail:
24994 {
24995 if (temp2)
24996 delete arg2;
24997 }
24998 return NULL;
24999 }
25000
25001
25002 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
25003 PyObject *obj;
25004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
25006 Py_INCREF(obj);
25007 return Py_BuildValue((char *)"");
25008 }
25009 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxWindow *arg1 = (wxWindow *) 0 ;
25012 int arg2 ;
25013 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25014 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25015 wxSize const &arg4_defvalue = wxDefaultSize ;
25016 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25017 long arg5 = (long) 0 ;
25018 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25019 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25020 wxString const &arg7_defvalue = wxPyControlNameStr ;
25021 wxString *arg7 = (wxString *) &arg7_defvalue ;
25022 wxPyControl *result;
25023 wxPoint temp3 ;
25024 wxSize temp4 ;
25025 bool temp7 = False ;
25026 PyObject * obj0 = 0 ;
25027 PyObject * obj2 = 0 ;
25028 PyObject * obj3 = 0 ;
25029 PyObject * obj5 = 0 ;
25030 PyObject * obj6 = 0 ;
25031 char *kwnames[] = {
25032 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25033 };
25034
25035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
25036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25037 if (obj2) {
25038 {
25039 arg3 = &temp3;
25040 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25041 }
25042 }
25043 if (obj3) {
25044 {
25045 arg4 = &temp4;
25046 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25047 }
25048 }
25049 if (obj5) {
25050 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25051 if (arg6 == NULL) {
25052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25053 }
25054 }
25055 if (obj6) {
25056 {
25057 arg7 = wxString_in_helper(obj6);
25058 if (arg7 == NULL) SWIG_fail;
25059 temp7 = True;
25060 }
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
25070 {
25071 if (temp7)
25072 delete arg7;
25073 }
25074 return resultobj;
25075 fail:
25076 {
25077 if (temp7)
25078 delete arg7;
25079 }
25080 return NULL;
25081 }
25082
25083
25084 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxPyControl *arg1 = (wxPyControl *) 0 ;
25087 PyObject *arg2 = (PyObject *) 0 ;
25088 PyObject *arg3 = (PyObject *) 0 ;
25089 PyObject * obj0 = 0 ;
25090 PyObject * obj1 = 0 ;
25091 PyObject * obj2 = 0 ;
25092 char *kwnames[] = {
25093 (char *) "self",(char *) "self",(char *) "_class", NULL
25094 };
25095
25096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25098 arg2 = obj1;
25099 arg3 = obj2;
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 (arg1)->_setCallbackInfo(arg2,arg3);
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 Py_INCREF(Py_None); resultobj = Py_None;
25108 return resultobj;
25109 fail:
25110 return NULL;
25111 }
25112
25113
25114 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25115 PyObject *resultobj;
25116 wxPyControl *arg1 = (wxPyControl *) 0 ;
25117 int arg2 ;
25118 int arg3 ;
25119 int arg4 ;
25120 int arg5 ;
25121 PyObject * obj0 = 0 ;
25122 char *kwnames[] = {
25123 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25124 };
25125
25126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
25127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
25131
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
25135 Py_INCREF(Py_None); resultobj = Py_None;
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25143 PyObject *resultobj;
25144 wxPyControl *arg1 = (wxPyControl *) 0 ;
25145 int arg2 ;
25146 int arg3 ;
25147 int arg4 ;
25148 int arg5 ;
25149 int arg6 = (int) wxSIZE_AUTO ;
25150 PyObject * obj0 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25157 {
25158 PyThreadState* __tstate = wxPyBeginAllowThreads();
25159 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
25160
25161 wxPyEndAllowThreads(__tstate);
25162 if (PyErr_Occurred()) SWIG_fail;
25163 }
25164 Py_INCREF(Py_None); resultobj = Py_None;
25165 return resultobj;
25166 fail:
25167 return NULL;
25168 }
25169
25170
25171 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25172 PyObject *resultobj;
25173 wxPyControl *arg1 = (wxPyControl *) 0 ;
25174 int arg2 ;
25175 int arg3 ;
25176 PyObject * obj0 = 0 ;
25177 char *kwnames[] = {
25178 (char *) "self",(char *) "width",(char *) "height", NULL
25179 };
25180
25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->base_DoSetClientSize(arg2,arg3);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxPyControl *arg1 = (wxPyControl *) 0 ;
25200 int arg2 ;
25201 int arg3 ;
25202 PyObject * obj0 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self",(char *) "x",(char *) "y", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 (arg1)->base_DoSetVirtualSize(arg2,arg3);
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 Py_INCREF(Py_None); resultobj = Py_None;
25217 return resultobj;
25218 fail:
25219 return NULL;
25220 }
25221
25222
25223 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxPyControl *arg1 = (wxPyControl *) 0 ;
25226 int *arg2 = (int *) 0 ;
25227 int *arg3 = (int *) 0 ;
25228 int temp2 ;
25229 int temp3 ;
25230 PyObject * obj0 = 0 ;
25231 char *kwnames[] = {
25232 (char *) "self", NULL
25233 };
25234
25235 arg2 = &temp2;
25236 arg3 = &temp3;
25237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
25238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 Py_INCREF(Py_None); resultobj = Py_None;
25247 {
25248 PyObject *o = PyInt_FromLong((long) (*arg2));
25249 resultobj = t_output_helper(resultobj,o);
25250 }
25251 {
25252 PyObject *o = PyInt_FromLong((long) (*arg3));
25253 resultobj = t_output_helper(resultobj,o);
25254 }
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxPyControl *arg1 = (wxPyControl *) 0 ;
25264 int *arg2 = (int *) 0 ;
25265 int *arg3 = (int *) 0 ;
25266 int temp2 ;
25267 int temp3 ;
25268 PyObject * obj0 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self", NULL
25271 };
25272
25273 arg2 = &temp2;
25274 arg3 = &temp3;
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
25276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 Py_INCREF(Py_None); resultobj = Py_None;
25285 {
25286 PyObject *o = PyInt_FromLong((long) (*arg2));
25287 resultobj = t_output_helper(resultobj,o);
25288 }
25289 {
25290 PyObject *o = PyInt_FromLong((long) (*arg3));
25291 resultobj = t_output_helper(resultobj,o);
25292 }
25293 return resultobj;
25294 fail:
25295 return NULL;
25296 }
25297
25298
25299 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25300 PyObject *resultobj;
25301 wxPyControl *arg1 = (wxPyControl *) 0 ;
25302 int *arg2 = (int *) 0 ;
25303 int *arg3 = (int *) 0 ;
25304 int temp2 ;
25305 int temp3 ;
25306 PyObject * obj0 = 0 ;
25307 char *kwnames[] = {
25308 (char *) "self", NULL
25309 };
25310
25311 arg2 = &temp2;
25312 arg3 = &temp3;
25313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
25314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 Py_INCREF(Py_None); resultobj = Py_None;
25323 {
25324 PyObject *o = PyInt_FromLong((long) (*arg2));
25325 resultobj = t_output_helper(resultobj,o);
25326 }
25327 {
25328 PyObject *o = PyInt_FromLong((long) (*arg3));
25329 resultobj = t_output_helper(resultobj,o);
25330 }
25331 return resultobj;
25332 fail:
25333 return NULL;
25334 }
25335
25336
25337 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25338 PyObject *resultobj;
25339 wxPyControl *arg1 = (wxPyControl *) 0 ;
25340 wxSize result;
25341 PyObject * obj0 = 0 ;
25342 char *kwnames[] = {
25343 (char *) "self", NULL
25344 };
25345
25346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
25347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25348 {
25349 PyThreadState* __tstate = wxPyBeginAllowThreads();
25350 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
25351
25352 wxPyEndAllowThreads(__tstate);
25353 if (PyErr_Occurred()) SWIG_fail;
25354 }
25355 {
25356 wxSize * resultptr;
25357 resultptr = new wxSize((wxSize &) result);
25358 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25359 }
25360 return resultobj;
25361 fail:
25362 return NULL;
25363 }
25364
25365
25366 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25367 PyObject *resultobj;
25368 wxPyControl *arg1 = (wxPyControl *) 0 ;
25369 wxSize result;
25370 PyObject * obj0 = 0 ;
25371 char *kwnames[] = {
25372 (char *) "self", NULL
25373 };
25374
25375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25377 {
25378 PyThreadState* __tstate = wxPyBeginAllowThreads();
25379 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25380
25381 wxPyEndAllowThreads(__tstate);
25382 if (PyErr_Occurred()) SWIG_fail;
25383 }
25384 {
25385 wxSize * resultptr;
25386 resultptr = new wxSize((wxSize &) result);
25387 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25388 }
25389 return resultobj;
25390 fail:
25391 return NULL;
25392 }
25393
25394
25395 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyControl *arg1 = (wxPyControl *) 0 ;
25398 PyObject * obj0 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "self", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 (arg1)->base_InitDialog();
25408
25409 wxPyEndAllowThreads(__tstate);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 Py_INCREF(Py_None); resultobj = Py_None;
25413 return resultobj;
25414 fail:
25415 return NULL;
25416 }
25417
25418
25419 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25420 PyObject *resultobj;
25421 wxPyControl *arg1 = (wxPyControl *) 0 ;
25422 bool result;
25423 PyObject * obj0 = 0 ;
25424 char *kwnames[] = {
25425 (char *) "self", NULL
25426 };
25427
25428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25430 {
25431 PyThreadState* __tstate = wxPyBeginAllowThreads();
25432 result = (bool)(arg1)->base_TransferDataToWindow();
25433
25434 wxPyEndAllowThreads(__tstate);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 resultobj = PyInt_FromLong((long)result);
25438 return resultobj;
25439 fail:
25440 return NULL;
25441 }
25442
25443
25444 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25445 PyObject *resultobj;
25446 wxPyControl *arg1 = (wxPyControl *) 0 ;
25447 bool result;
25448 PyObject * obj0 = 0 ;
25449 char *kwnames[] = {
25450 (char *) "self", NULL
25451 };
25452
25453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 result = (bool)(arg1)->base_TransferDataFromWindow();
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 resultobj = PyInt_FromLong((long)result);
25463 return resultobj;
25464 fail:
25465 return NULL;
25466 }
25467
25468
25469 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj;
25471 wxPyControl *arg1 = (wxPyControl *) 0 ;
25472 bool result;
25473 PyObject * obj0 = 0 ;
25474 char *kwnames[] = {
25475 (char *) "self", NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25480 {
25481 PyThreadState* __tstate = wxPyBeginAllowThreads();
25482 result = (bool)(arg1)->base_Validate();
25483
25484 wxPyEndAllowThreads(__tstate);
25485 if (PyErr_Occurred()) SWIG_fail;
25486 }
25487 resultobj = PyInt_FromLong((long)result);
25488 return resultobj;
25489 fail:
25490 return NULL;
25491 }
25492
25493
25494 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxPyControl *arg1 = (wxPyControl *) 0 ;
25497 bool result;
25498 PyObject * obj0 = 0 ;
25499 char *kwnames[] = {
25500 (char *) "self", NULL
25501 };
25502
25503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25505 {
25506 PyThreadState* __tstate = wxPyBeginAllowThreads();
25507 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25508
25509 wxPyEndAllowThreads(__tstate);
25510 if (PyErr_Occurred()) SWIG_fail;
25511 }
25512 resultobj = PyInt_FromLong((long)result);
25513 return resultobj;
25514 fail:
25515 return NULL;
25516 }
25517
25518
25519 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25520 PyObject *resultobj;
25521 wxPyControl *arg1 = (wxPyControl *) 0 ;
25522 bool result;
25523 PyObject * obj0 = 0 ;
25524 char *kwnames[] = {
25525 (char *) "self", NULL
25526 };
25527
25528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25530 {
25531 PyThreadState* __tstate = wxPyBeginAllowThreads();
25532 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25533
25534 wxPyEndAllowThreads(__tstate);
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
25537 resultobj = PyInt_FromLong((long)result);
25538 return resultobj;
25539 fail:
25540 return NULL;
25541 }
25542
25543
25544 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj;
25546 wxPyControl *arg1 = (wxPyControl *) 0 ;
25547 wxSize result;
25548 PyObject * obj0 = 0 ;
25549 char *kwnames[] = {
25550 (char *) "self", NULL
25551 };
25552
25553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25555 {
25556 PyThreadState* __tstate = wxPyBeginAllowThreads();
25557 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25558
25559 wxPyEndAllowThreads(__tstate);
25560 if (PyErr_Occurred()) SWIG_fail;
25561 }
25562 {
25563 wxSize * resultptr;
25564 resultptr = new wxSize((wxSize &) result);
25565 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25566 }
25567 return resultobj;
25568 fail:
25569 return NULL;
25570 }
25571
25572
25573 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25574 PyObject *resultobj;
25575 wxPyControl *arg1 = (wxPyControl *) 0 ;
25576 wxWindow *arg2 = (wxWindow *) 0 ;
25577 PyObject * obj0 = 0 ;
25578 PyObject * obj1 = 0 ;
25579 char *kwnames[] = {
25580 (char *) "self",(char *) "child", NULL
25581 };
25582
25583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25586 {
25587 PyThreadState* __tstate = wxPyBeginAllowThreads();
25588 (arg1)->base_AddChild(arg2);
25589
25590 wxPyEndAllowThreads(__tstate);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 Py_INCREF(Py_None); resultobj = Py_None;
25594 return resultobj;
25595 fail:
25596 return NULL;
25597 }
25598
25599
25600 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25601 PyObject *resultobj;
25602 wxPyControl *arg1 = (wxPyControl *) 0 ;
25603 wxWindow *arg2 = (wxWindow *) 0 ;
25604 PyObject * obj0 = 0 ;
25605 PyObject * obj1 = 0 ;
25606 char *kwnames[] = {
25607 (char *) "self",(char *) "child", NULL
25608 };
25609
25610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25613 {
25614 PyThreadState* __tstate = wxPyBeginAllowThreads();
25615 (arg1)->base_RemoveChild(arg2);
25616
25617 wxPyEndAllowThreads(__tstate);
25618 if (PyErr_Occurred()) SWIG_fail;
25619 }
25620 Py_INCREF(Py_None); resultobj = Py_None;
25621 return resultobj;
25622 fail:
25623 return NULL;
25624 }
25625
25626
25627 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25628 PyObject *obj;
25629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25630 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25631 Py_INCREF(obj);
25632 return Py_BuildValue((char *)"");
25633 }
25634 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25635 PyObject *resultobj;
25636 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25637 int arg2 = (int) 0 ;
25638 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25639 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25640 wxHelpEvent *result;
25641 wxPoint temp3 ;
25642 PyObject * obj2 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "type",(char *) "winid",(char *) "pt", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25648 if (obj2) {
25649 {
25650 arg3 = &temp3;
25651 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25652 }
25653 }
25654 {
25655 PyThreadState* __tstate = wxPyBeginAllowThreads();
25656 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25657
25658 wxPyEndAllowThreads(__tstate);
25659 if (PyErr_Occurred()) SWIG_fail;
25660 }
25661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25662 return resultobj;
25663 fail:
25664 return NULL;
25665 }
25666
25667
25668 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25671 wxPoint *result;
25672 PyObject * obj0 = 0 ;
25673 char *kwnames[] = {
25674 (char *) "self", NULL
25675 };
25676
25677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25679 {
25680 PyThreadState* __tstate = wxPyBeginAllowThreads();
25681 {
25682 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25683 result = (wxPoint *) &_result_ref;
25684 }
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25699 wxPoint *arg2 = 0 ;
25700 wxPoint temp2 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "pos", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25709 {
25710 arg2 = &temp2;
25711 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25712 }
25713 {
25714 PyThreadState* __tstate = wxPyBeginAllowThreads();
25715 (arg1)->SetPosition((wxPoint const &)*arg2);
25716
25717 wxPyEndAllowThreads(__tstate);
25718 if (PyErr_Occurred()) SWIG_fail;
25719 }
25720 Py_INCREF(Py_None); resultobj = Py_None;
25721 return resultobj;
25722 fail:
25723 return NULL;
25724 }
25725
25726
25727 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25728 PyObject *resultobj;
25729 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25730 wxString *result;
25731 PyObject * obj0 = 0 ;
25732 char *kwnames[] = {
25733 (char *) "self", NULL
25734 };
25735
25736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25738 {
25739 PyThreadState* __tstate = wxPyBeginAllowThreads();
25740 {
25741 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25742 result = (wxString *) &_result_ref;
25743 }
25744
25745 wxPyEndAllowThreads(__tstate);
25746 if (PyErr_Occurred()) SWIG_fail;
25747 }
25748 {
25749 #if wxUSE_UNICODE
25750 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25751 #else
25752 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25753 #endif
25754 }
25755 return resultobj;
25756 fail:
25757 return NULL;
25758 }
25759
25760
25761 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25762 PyObject *resultobj;
25763 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25764 wxString *arg2 = 0 ;
25765 bool temp2 = False ;
25766 PyObject * obj0 = 0 ;
25767 PyObject * obj1 = 0 ;
25768 char *kwnames[] = {
25769 (char *) "self",(char *) "link", NULL
25770 };
25771
25772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25774 {
25775 arg2 = wxString_in_helper(obj1);
25776 if (arg2 == NULL) SWIG_fail;
25777 temp2 = True;
25778 }
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 (arg1)->SetLink((wxString const &)*arg2);
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
25786 Py_INCREF(Py_None); resultobj = Py_None;
25787 {
25788 if (temp2)
25789 delete arg2;
25790 }
25791 return resultobj;
25792 fail:
25793 {
25794 if (temp2)
25795 delete arg2;
25796 }
25797 return NULL;
25798 }
25799
25800
25801 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25802 PyObject *resultobj;
25803 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25804 wxString *result;
25805 PyObject * obj0 = 0 ;
25806 char *kwnames[] = {
25807 (char *) "self", NULL
25808 };
25809
25810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 {
25815 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25816 result = (wxString *) &_result_ref;
25817 }
25818
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 {
25823 #if wxUSE_UNICODE
25824 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25825 #else
25826 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25827 #endif
25828 }
25829 return resultobj;
25830 fail:
25831 return NULL;
25832 }
25833
25834
25835 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25836 PyObject *resultobj;
25837 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25838 wxString *arg2 = 0 ;
25839 bool temp2 = False ;
25840 PyObject * obj0 = 0 ;
25841 PyObject * obj1 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "target", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25848 {
25849 arg2 = wxString_in_helper(obj1);
25850 if (arg2 == NULL) SWIG_fail;
25851 temp2 = True;
25852 }
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 (arg1)->SetTarget((wxString const &)*arg2);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 Py_INCREF(Py_None); resultobj = Py_None;
25861 {
25862 if (temp2)
25863 delete arg2;
25864 }
25865 return resultobj;
25866 fail:
25867 {
25868 if (temp2)
25869 delete arg2;
25870 }
25871 return NULL;
25872 }
25873
25874
25875 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25876 PyObject *obj;
25877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25878 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25879 Py_INCREF(obj);
25880 return Py_BuildValue((char *)"");
25881 }
25882 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25883 PyObject *resultobj;
25884 wxWindow *arg1 = (wxWindow *) NULL ;
25885 bool arg2 = (bool) True ;
25886 wxContextHelp *result;
25887 PyObject * obj0 = 0 ;
25888 PyObject * obj1 = 0 ;
25889 char *kwnames[] = {
25890 (char *) "window",(char *) "doNow", NULL
25891 };
25892
25893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25894 if (obj0) {
25895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25896 }
25897 if (obj1) {
25898 {
25899 arg2 = (bool) SPyObj_AsBool(obj1);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 }
25903 {
25904 PyThreadState* __tstate = wxPyBeginAllowThreads();
25905 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25906
25907 wxPyEndAllowThreads(__tstate);
25908 if (PyErr_Occurred()) SWIG_fail;
25909 }
25910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25911 return resultobj;
25912 fail:
25913 return NULL;
25914 }
25915
25916
25917 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25918 PyObject *resultobj;
25919 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25920 PyObject * obj0 = 0 ;
25921 char *kwnames[] = {
25922 (char *) "self", NULL
25923 };
25924
25925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25927 {
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 delete arg1;
25930
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 Py_INCREF(Py_None); resultobj = Py_None;
25935 return resultobj;
25936 fail:
25937 return NULL;
25938 }
25939
25940
25941 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25942 PyObject *resultobj;
25943 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25944 wxWindow *arg2 = (wxWindow *) NULL ;
25945 bool result;
25946 PyObject * obj0 = 0 ;
25947 PyObject * obj1 = 0 ;
25948 char *kwnames[] = {
25949 (char *) "self",(char *) "window", NULL
25950 };
25951
25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25954 if (obj1) {
25955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25956 }
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (bool)(arg1)->BeginContextHelp(arg2);
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 resultobj = PyInt_FromLong((long)result);
25965 return resultobj;
25966 fail:
25967 return NULL;
25968 }
25969
25970
25971 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj;
25973 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25974 bool result;
25975 PyObject * obj0 = 0 ;
25976 char *kwnames[] = {
25977 (char *) "self", NULL
25978 };
25979
25980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25982 {
25983 PyThreadState* __tstate = wxPyBeginAllowThreads();
25984 result = (bool)(arg1)->EndContextHelp();
25985
25986 wxPyEndAllowThreads(__tstate);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 resultobj = PyInt_FromLong((long)result);
25990 return resultobj;
25991 fail:
25992 return NULL;
25993 }
25994
25995
25996 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25997 PyObject *obj;
25998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25999 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
26000 Py_INCREF(obj);
26001 return Py_BuildValue((char *)"");
26002 }
26003 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
26004 PyObject *resultobj;
26005 wxWindow *arg1 = (wxWindow *) 0 ;
26006 int arg2 = (int) wxID_CONTEXT_HELP ;
26007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26009 wxSize const &arg4_defvalue = wxDefaultSize ;
26010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26011 long arg5 = (long) wxBU_AUTODRAW ;
26012 wxContextHelpButton *result;
26013 wxPoint temp3 ;
26014 wxSize temp4 ;
26015 PyObject * obj0 = 0 ;
26016 PyObject * obj2 = 0 ;
26017 PyObject * obj3 = 0 ;
26018 char *kwnames[] = {
26019 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26020 };
26021
26022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
26023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26024 if (obj2) {
26025 {
26026 arg3 = &temp3;
26027 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26028 }
26029 }
26030 if (obj3) {
26031 {
26032 arg4 = &temp4;
26033 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26034 }
26035 }
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
26039
26040 wxPyEndAllowThreads(__tstate);
26041 if (PyErr_Occurred()) SWIG_fail;
26042 }
26043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
26044 return resultobj;
26045 fail:
26046 return NULL;
26047 }
26048
26049
26050 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
26051 PyObject *obj;
26052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26053 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
26054 Py_INCREF(obj);
26055 return Py_BuildValue((char *)"");
26056 }
26057 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj;
26059 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26060 wxHelpProvider *result;
26061 PyObject * obj0 = 0 ;
26062 char *kwnames[] = {
26063 (char *) "helpProvider", NULL
26064 };
26065
26066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
26067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26068 {
26069 PyThreadState* __tstate = wxPyBeginAllowThreads();
26070 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
26071
26072 wxPyEndAllowThreads(__tstate);
26073 if (PyErr_Occurred()) SWIG_fail;
26074 }
26075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
26076 return resultobj;
26077 fail:
26078 return NULL;
26079 }
26080
26081
26082 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
26083 PyObject *resultobj;
26084 wxHelpProvider *result;
26085 char *kwnames[] = {
26086 NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
26090 {
26091 PyThreadState* __tstate = wxPyBeginAllowThreads();
26092 result = (wxHelpProvider *)wxHelpProvider::Get();
26093
26094 wxPyEndAllowThreads(__tstate);
26095 if (PyErr_Occurred()) SWIG_fail;
26096 }
26097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26105 PyObject *resultobj;
26106 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26107 wxWindow *arg2 = (wxWindow *) 0 ;
26108 wxString result;
26109 PyObject * obj0 = 0 ;
26110 PyObject * obj1 = 0 ;
26111 char *kwnames[] = {
26112 (char *) "self",(char *) "window", NULL
26113 };
26114
26115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
26116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26118 {
26119 PyThreadState* __tstate = wxPyBeginAllowThreads();
26120 result = (arg1)->GetHelp((wxWindow const *)arg2);
26121
26122 wxPyEndAllowThreads(__tstate);
26123 if (PyErr_Occurred()) SWIG_fail;
26124 }
26125 {
26126 #if wxUSE_UNICODE
26127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26128 #else
26129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26130 #endif
26131 }
26132 return resultobj;
26133 fail:
26134 return NULL;
26135 }
26136
26137
26138 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26139 PyObject *resultobj;
26140 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26141 wxWindow *arg2 = (wxWindow *) 0 ;
26142 bool result;
26143 PyObject * obj0 = 0 ;
26144 PyObject * obj1 = 0 ;
26145 char *kwnames[] = {
26146 (char *) "self",(char *) "window", NULL
26147 };
26148
26149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
26150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (bool)(arg1)->ShowHelp(arg2);
26155
26156 wxPyEndAllowThreads(__tstate);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 }
26159 resultobj = PyInt_FromLong((long)result);
26160 return resultobj;
26161 fail:
26162 return NULL;
26163 }
26164
26165
26166 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26167 PyObject *resultobj;
26168 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26169 wxWindow *arg2 = (wxWindow *) 0 ;
26170 wxString *arg3 = 0 ;
26171 bool temp3 = False ;
26172 PyObject * obj0 = 0 ;
26173 PyObject * obj1 = 0 ;
26174 PyObject * obj2 = 0 ;
26175 char *kwnames[] = {
26176 (char *) "self",(char *) "window",(char *) "text", NULL
26177 };
26178
26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
26180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26182 {
26183 arg3 = wxString_in_helper(obj2);
26184 if (arg3 == NULL) SWIG_fail;
26185 temp3 = True;
26186 }
26187 {
26188 PyThreadState* __tstate = wxPyBeginAllowThreads();
26189 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
26190
26191 wxPyEndAllowThreads(__tstate);
26192 if (PyErr_Occurred()) SWIG_fail;
26193 }
26194 Py_INCREF(Py_None); resultobj = Py_None;
26195 {
26196 if (temp3)
26197 delete arg3;
26198 }
26199 return resultobj;
26200 fail:
26201 {
26202 if (temp3)
26203 delete arg3;
26204 }
26205 return NULL;
26206 }
26207
26208
26209 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
26210 PyObject *resultobj;
26211 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26212 int arg2 ;
26213 wxString *arg3 = 0 ;
26214 bool temp3 = False ;
26215 PyObject * obj0 = 0 ;
26216 PyObject * obj2 = 0 ;
26217 char *kwnames[] = {
26218 (char *) "self",(char *) "id",(char *) "text", NULL
26219 };
26220
26221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
26222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26223 {
26224 arg3 = wxString_in_helper(obj2);
26225 if (arg3 == NULL) SWIG_fail;
26226 temp3 = True;
26227 }
26228 {
26229 PyThreadState* __tstate = wxPyBeginAllowThreads();
26230 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
26231
26232 wxPyEndAllowThreads(__tstate);
26233 if (PyErr_Occurred()) SWIG_fail;
26234 }
26235 Py_INCREF(Py_None); resultobj = Py_None;
26236 {
26237 if (temp3)
26238 delete arg3;
26239 }
26240 return resultobj;
26241 fail:
26242 {
26243 if (temp3)
26244 delete arg3;
26245 }
26246 return NULL;
26247 }
26248
26249
26250 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
26251 PyObject *resultobj;
26252 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26253 PyObject * obj0 = 0 ;
26254 char *kwnames[] = {
26255 (char *) "self", NULL
26256 };
26257
26258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
26259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26260 {
26261 PyThreadState* __tstate = wxPyBeginAllowThreads();
26262 wxHelpProvider_Destroy(arg1);
26263
26264 wxPyEndAllowThreads(__tstate);
26265 if (PyErr_Occurred()) SWIG_fail;
26266 }
26267 Py_INCREF(Py_None); resultobj = Py_None;
26268 return resultobj;
26269 fail:
26270 return NULL;
26271 }
26272
26273
26274 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
26275 PyObject *obj;
26276 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26277 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
26278 Py_INCREF(obj);
26279 return Py_BuildValue((char *)"");
26280 }
26281 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
26282 PyObject *resultobj;
26283 wxSimpleHelpProvider *result;
26284 char *kwnames[] = {
26285 NULL
26286 };
26287
26288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
26289 {
26290 PyThreadState* __tstate = wxPyBeginAllowThreads();
26291 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
26292
26293 wxPyEndAllowThreads(__tstate);
26294 if (PyErr_Occurred()) SWIG_fail;
26295 }
26296 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
26297 return resultobj;
26298 fail:
26299 return NULL;
26300 }
26301
26302
26303 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
26304 PyObject *obj;
26305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26306 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
26307 Py_INCREF(obj);
26308 return Py_BuildValue((char *)"");
26309 }
26310 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26311 PyObject *resultobj;
26312 wxBitmap *arg1 = 0 ;
26313 wxCursor const &arg2_defvalue = wxNullCursor ;
26314 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26315 wxGenericDragImage *result;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "image",(char *) "cursor", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
26323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26324 if (arg1 == NULL) {
26325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26326 }
26327 if (obj1) {
26328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26329 if (arg2 == NULL) {
26330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26331 }
26332 }
26333 {
26334 PyThreadState* __tstate = wxPyBeginAllowThreads();
26335 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
26336
26337 wxPyEndAllowThreads(__tstate);
26338 if (PyErr_Occurred()) SWIG_fail;
26339 }
26340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26341 return resultobj;
26342 fail:
26343 return NULL;
26344 }
26345
26346
26347 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
26348 PyObject *resultobj;
26349 wxIcon *arg1 = 0 ;
26350 wxCursor const &arg2_defvalue = wxNullCursor ;
26351 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26352 wxGenericDragImage *result;
26353 PyObject * obj0 = 0 ;
26354 PyObject * obj1 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "image",(char *) "cursor", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
26360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26361 if (arg1 == NULL) {
26362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26363 }
26364 if (obj1) {
26365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26366 if (arg2 == NULL) {
26367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26368 }
26369 }
26370 {
26371 PyThreadState* __tstate = wxPyBeginAllowThreads();
26372 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26373
26374 wxPyEndAllowThreads(__tstate);
26375 if (PyErr_Occurred()) SWIG_fail;
26376 }
26377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26378 return resultobj;
26379 fail:
26380 return NULL;
26381 }
26382
26383
26384 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26385 PyObject *resultobj;
26386 wxString *arg1 = 0 ;
26387 wxCursor const &arg2_defvalue = wxNullCursor ;
26388 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26389 wxGenericDragImage *result;
26390 bool temp1 = False ;
26391 PyObject * obj0 = 0 ;
26392 PyObject * obj1 = 0 ;
26393 char *kwnames[] = {
26394 (char *) "str",(char *) "cursor", NULL
26395 };
26396
26397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26398 {
26399 arg1 = wxString_in_helper(obj0);
26400 if (arg1 == NULL) SWIG_fail;
26401 temp1 = True;
26402 }
26403 if (obj1) {
26404 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26405 if (arg2 == NULL) {
26406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26407 }
26408 }
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26412
26413 wxPyEndAllowThreads(__tstate);
26414 if (PyErr_Occurred()) SWIG_fail;
26415 }
26416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26417 {
26418 if (temp1)
26419 delete arg1;
26420 }
26421 return resultobj;
26422 fail:
26423 {
26424 if (temp1)
26425 delete arg1;
26426 }
26427 return NULL;
26428 }
26429
26430
26431 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26432 PyObject *resultobj;
26433 wxPyTreeCtrl *arg1 = 0 ;
26434 wxTreeItemId *arg2 = 0 ;
26435 wxGenericDragImage *result;
26436 PyObject * obj0 = 0 ;
26437 PyObject * obj1 = 0 ;
26438 char *kwnames[] = {
26439 (char *) "treeCtrl",(char *) "id", NULL
26440 };
26441
26442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26444 if (arg1 == NULL) {
26445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26446 }
26447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26448 if (arg2 == NULL) {
26449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26450 }
26451 {
26452 PyThreadState* __tstate = wxPyBeginAllowThreads();
26453 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26454
26455 wxPyEndAllowThreads(__tstate);
26456 if (PyErr_Occurred()) SWIG_fail;
26457 }
26458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26459 return resultobj;
26460 fail:
26461 return NULL;
26462 }
26463
26464
26465 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26466 PyObject *resultobj;
26467 wxPyListCtrl *arg1 = 0 ;
26468 long arg2 ;
26469 wxGenericDragImage *result;
26470 PyObject * obj0 = 0 ;
26471 char *kwnames[] = {
26472 (char *) "listCtrl",(char *) "id", NULL
26473 };
26474
26475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26477 if (arg1 == NULL) {
26478 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26479 }
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26495 PyObject *resultobj;
26496 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26497 PyObject * obj0 = 0 ;
26498 char *kwnames[] = {
26499 (char *) "self", NULL
26500 };
26501
26502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26504 {
26505 PyThreadState* __tstate = wxPyBeginAllowThreads();
26506 delete arg1;
26507
26508 wxPyEndAllowThreads(__tstate);
26509 if (PyErr_Occurred()) SWIG_fail;
26510 }
26511 Py_INCREF(Py_None); resultobj = Py_None;
26512 return resultobj;
26513 fail:
26514 return NULL;
26515 }
26516
26517
26518 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26519 PyObject *resultobj;
26520 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26521 wxBitmap *arg2 = (wxBitmap *) 0 ;
26522 PyObject * obj0 = 0 ;
26523 PyObject * obj1 = 0 ;
26524 char *kwnames[] = {
26525 (char *) "self",(char *) "bitmap", NULL
26526 };
26527
26528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26531 {
26532 PyThreadState* __tstate = wxPyBeginAllowThreads();
26533 (arg1)->SetBackingBitmap(arg2);
26534
26535 wxPyEndAllowThreads(__tstate);
26536 if (PyErr_Occurred()) SWIG_fail;
26537 }
26538 Py_INCREF(Py_None); resultobj = Py_None;
26539 return resultobj;
26540 fail:
26541 return NULL;
26542 }
26543
26544
26545 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj;
26547 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26548 wxPoint *arg2 = 0 ;
26549 wxWindow *arg3 = (wxWindow *) 0 ;
26550 bool arg4 = (bool) False ;
26551 wxRect *arg5 = (wxRect *) NULL ;
26552 bool result;
26553 wxPoint temp2 ;
26554 PyObject * obj0 = 0 ;
26555 PyObject * obj1 = 0 ;
26556 PyObject * obj2 = 0 ;
26557 PyObject * obj3 = 0 ;
26558 PyObject * obj4 = 0 ;
26559 char *kwnames[] = {
26560 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26561 };
26562
26563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26565 {
26566 arg2 = &temp2;
26567 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26568 }
26569 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26570 if (obj3) {
26571 {
26572 arg4 = (bool) SPyObj_AsBool(obj3);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 }
26576 if (obj4) {
26577 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26578 }
26579 {
26580 PyThreadState* __tstate = wxPyBeginAllowThreads();
26581 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26582
26583 wxPyEndAllowThreads(__tstate);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 }
26586 resultobj = PyInt_FromLong((long)result);
26587 return resultobj;
26588 fail:
26589 return NULL;
26590 }
26591
26592
26593 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26594 PyObject *resultobj;
26595 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26596 wxPoint *arg2 = 0 ;
26597 wxWindow *arg3 = (wxWindow *) 0 ;
26598 wxWindow *arg4 = (wxWindow *) 0 ;
26599 bool result;
26600 wxPoint temp2 ;
26601 PyObject * obj0 = 0 ;
26602 PyObject * obj1 = 0 ;
26603 PyObject * obj2 = 0 ;
26604 PyObject * obj3 = 0 ;
26605 char *kwnames[] = {
26606 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26607 };
26608
26609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26611 {
26612 arg2 = &temp2;
26613 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26614 }
26615 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26616 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 resultobj = PyInt_FromLong((long)result);
26625 return resultobj;
26626 fail:
26627 return NULL;
26628 }
26629
26630
26631 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26632 PyObject *resultobj;
26633 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26634 bool result;
26635 PyObject * obj0 = 0 ;
26636 char *kwnames[] = {
26637 (char *) "self", NULL
26638 };
26639
26640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26642 {
26643 PyThreadState* __tstate = wxPyBeginAllowThreads();
26644 result = (bool)(arg1)->EndDrag();
26645
26646 wxPyEndAllowThreads(__tstate);
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 resultobj = PyInt_FromLong((long)result);
26650 return resultobj;
26651 fail:
26652 return NULL;
26653 }
26654
26655
26656 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26657 PyObject *resultobj;
26658 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26659 wxPoint *arg2 = 0 ;
26660 bool result;
26661 wxPoint temp2 ;
26662 PyObject * obj0 = 0 ;
26663 PyObject * obj1 = 0 ;
26664 char *kwnames[] = {
26665 (char *) "self",(char *) "pt", NULL
26666 };
26667
26668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26670 {
26671 arg2 = &temp2;
26672 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26673 }
26674 {
26675 PyThreadState* __tstate = wxPyBeginAllowThreads();
26676 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26677
26678 wxPyEndAllowThreads(__tstate);
26679 if (PyErr_Occurred()) SWIG_fail;
26680 }
26681 resultobj = PyInt_FromLong((long)result);
26682 return resultobj;
26683 fail:
26684 return NULL;
26685 }
26686
26687
26688 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26689 PyObject *resultobj;
26690 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26691 bool result;
26692 PyObject * obj0 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26699 {
26700 PyThreadState* __tstate = wxPyBeginAllowThreads();
26701 result = (bool)(arg1)->Show();
26702
26703 wxPyEndAllowThreads(__tstate);
26704 if (PyErr_Occurred()) SWIG_fail;
26705 }
26706 resultobj = PyInt_FromLong((long)result);
26707 return resultobj;
26708 fail:
26709 return NULL;
26710 }
26711
26712
26713 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26714 PyObject *resultobj;
26715 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26716 bool result;
26717 PyObject * obj0 = 0 ;
26718 char *kwnames[] = {
26719 (char *) "self", NULL
26720 };
26721
26722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26724 {
26725 PyThreadState* __tstate = wxPyBeginAllowThreads();
26726 result = (bool)(arg1)->Hide();
26727
26728 wxPyEndAllowThreads(__tstate);
26729 if (PyErr_Occurred()) SWIG_fail;
26730 }
26731 resultobj = PyInt_FromLong((long)result);
26732 return resultobj;
26733 fail:
26734 return NULL;
26735 }
26736
26737
26738 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26739 PyObject *resultobj;
26740 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26741 wxPoint *arg2 = 0 ;
26742 wxRect result;
26743 wxPoint temp2 ;
26744 PyObject * obj0 = 0 ;
26745 PyObject * obj1 = 0 ;
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "pos", NULL
26748 };
26749
26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26752 {
26753 arg2 = &temp2;
26754 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26755 }
26756 {
26757 PyThreadState* __tstate = wxPyBeginAllowThreads();
26758 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26759
26760 wxPyEndAllowThreads(__tstate);
26761 if (PyErr_Occurred()) SWIG_fail;
26762 }
26763 {
26764 wxRect * resultptr;
26765 resultptr = new wxRect((wxRect &) result);
26766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26767 }
26768 return resultobj;
26769 fail:
26770 return NULL;
26771 }
26772
26773
26774 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26775 PyObject *resultobj;
26776 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26777 wxDC *arg2 = 0 ;
26778 wxPoint *arg3 = 0 ;
26779 bool result;
26780 wxPoint temp3 ;
26781 PyObject * obj0 = 0 ;
26782 PyObject * obj1 = 0 ;
26783 PyObject * obj2 = 0 ;
26784 char *kwnames[] = {
26785 (char *) "self",(char *) "dc",(char *) "pos", NULL
26786 };
26787
26788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26790 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26791 if (arg2 == NULL) {
26792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26793 }
26794 {
26795 arg3 = &temp3;
26796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26797 }
26798 {
26799 PyThreadState* __tstate = wxPyBeginAllowThreads();
26800 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26801
26802 wxPyEndAllowThreads(__tstate);
26803 if (PyErr_Occurred()) SWIG_fail;
26804 }
26805 resultobj = PyInt_FromLong((long)result);
26806 return resultobj;
26807 fail:
26808 return NULL;
26809 }
26810
26811
26812 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26813 PyObject *resultobj;
26814 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26815 wxDC *arg2 = 0 ;
26816 wxMemoryDC *arg3 = 0 ;
26817 wxRect *arg4 = 0 ;
26818 wxRect *arg5 = 0 ;
26819 bool result;
26820 wxRect temp4 ;
26821 wxRect temp5 ;
26822 PyObject * obj0 = 0 ;
26823 PyObject * obj1 = 0 ;
26824 PyObject * obj2 = 0 ;
26825 PyObject * obj3 = 0 ;
26826 PyObject * obj4 = 0 ;
26827 char *kwnames[] = {
26828 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26829 };
26830
26831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26834 if (arg2 == NULL) {
26835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26836 }
26837 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26838 if (arg3 == NULL) {
26839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26840 }
26841 {
26842 arg4 = &temp4;
26843 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26844 }
26845 {
26846 arg5 = &temp5;
26847 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26848 }
26849 {
26850 PyThreadState* __tstate = wxPyBeginAllowThreads();
26851 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26852
26853 wxPyEndAllowThreads(__tstate);
26854 if (PyErr_Occurred()) SWIG_fail;
26855 }
26856 resultobj = PyInt_FromLong((long)result);
26857 return resultobj;
26858 fail:
26859 return NULL;
26860 }
26861
26862
26863 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26864 PyObject *resultobj;
26865 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26866 wxPoint *arg2 = 0 ;
26867 wxPoint *arg3 = 0 ;
26868 bool arg4 ;
26869 bool arg5 ;
26870 bool result;
26871 wxPoint temp2 ;
26872 wxPoint temp3 ;
26873 PyObject * obj0 = 0 ;
26874 PyObject * obj1 = 0 ;
26875 PyObject * obj2 = 0 ;
26876 PyObject * obj3 = 0 ;
26877 PyObject * obj4 = 0 ;
26878 char *kwnames[] = {
26879 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26880 };
26881
26882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26884 {
26885 arg2 = &temp2;
26886 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26887 }
26888 {
26889 arg3 = &temp3;
26890 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26891 }
26892 {
26893 arg4 = (bool) SPyObj_AsBool(obj3);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
26896 {
26897 arg5 = (bool) SPyObj_AsBool(obj4);
26898 if (PyErr_Occurred()) SWIG_fail;
26899 }
26900 {
26901 PyThreadState* __tstate = wxPyBeginAllowThreads();
26902 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26903
26904 wxPyEndAllowThreads(__tstate);
26905 if (PyErr_Occurred()) SWIG_fail;
26906 }
26907 resultobj = PyInt_FromLong((long)result);
26908 return resultobj;
26909 fail:
26910 return NULL;
26911 }
26912
26913
26914 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26915 PyObject *obj;
26916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26917 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26918 Py_INCREF(obj);
26919 return Py_BuildValue((char *)"");
26920 }
26921 static PyMethodDef SwigMethods[] = {
26922 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26930 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26945 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26956 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26965 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26983 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26996 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
27000 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
27006 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
27010 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
27017 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
27036 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
27045 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
27046 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
27074 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
27129 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
27134 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
27145 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
27157 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
27168 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
27172 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
27189 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
27195 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
27220 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
27227 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
27247 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
27253 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
27263 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
27265 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
27270 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
27272 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
27277 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
27282 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
27312 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
27357 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
27362 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27374 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27379 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27426 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27428 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27439 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27452 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27453 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27456 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27457 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27458 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27459 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27460 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27461 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27462 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27463 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27464 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27465 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27466 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27467 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27468 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27469 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27470 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27471 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27472 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27473 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27474 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27475 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27476 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27477 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27478 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27479 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27480 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27481 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27482 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27483 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27484 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27485 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27486 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27487 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27488 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27489 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27490 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27491 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27492 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27493 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27494 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27495 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27496 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27497 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27498 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27499 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27500 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27501 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27502 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27503 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27504 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27505 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27506 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27507 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27508 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27509 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27510 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27511 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27512 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27513 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27514 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27515 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27516 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27517 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27518 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27519 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27520 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27521 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27522 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27523 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27524 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27525 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27526 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27527 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27528 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27529 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27530 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27531 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27532 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27533 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27534 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27535 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27536 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27537 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27538 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27539 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27540 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27541 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27542 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27543 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27544 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27545 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27546 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27547 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27548 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27549 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27550 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27551 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27552 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27553 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27554 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27555 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27556 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27557 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27558 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27559 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27560 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27561 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27562 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27563 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27564 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27565 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27566 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27567 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27568 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27569 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27570 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27571 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27572 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27573 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27574 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27575 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27576 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27577 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27578 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27579 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27580 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27581 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27582 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27583 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27584 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27585 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27586 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27587 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27588 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27589 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27590 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27591 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27592 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27593 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27594 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
27595 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27596 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27597 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27598 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27599 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27600 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27601 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27602 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27603 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27604 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27605 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27606 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27607 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27608 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27609 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27610 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27611 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27612 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27613 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27614 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27615 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27616 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27617 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27618 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27619 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27620 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27621 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27622 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27623 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27624 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27625 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27626 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27627 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27628 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27629 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27630 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27631 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27632 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27633 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27634 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27635 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27636 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27637 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27638 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27639 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27640 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27641 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27642 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27643 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27644 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27645 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27646 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27647 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27648 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27649 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27650 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27651 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27652 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27653 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27654 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27655 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27656 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27657 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27658 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27659 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27660 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27661 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27662 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27663 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27664 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27665 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27666 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27667 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27668 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27669 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27670 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27671 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27672 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27673 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27674 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27675 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27676 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27677 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27678 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27679 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27680 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27681 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27682 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27683 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27684 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27685 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27686 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27687 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27688 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27689 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27690 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27691 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27692 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27693 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27694 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27695 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27696 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27697 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27698 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27699 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27700 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27701 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27702 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27703 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27704 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27705 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27706 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27707 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27708 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27709 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27710 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27711 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27712 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27713 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27714 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27715 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27716 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27717 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27718 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27719 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27720 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27721 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27722 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27723 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27724 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27725 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27726 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27727 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27728 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27729 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27730 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27731 { NULL, NULL }
27732 };
27733
27734
27735 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27736
27737 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27738 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27739 }
27740 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27741 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27742 }
27743 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27744 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27745 }
27746 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27747 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27748 }
27749 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27750 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27751 }
27752 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27753 return (void *)((wxSizer *) ((wxGridSizer *) x));
27754 }
27755 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27756 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27757 }
27758 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27759 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27760 }
27761 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27762 return (void *)((wxSizer *) ((wxPySizer *) x));
27763 }
27764 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27765 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27766 }
27767 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27768 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27769 }
27770 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27771 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27772 }
27773 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27774 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27775 }
27776 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27777 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27778 }
27779 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27780 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27781 }
27782 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27783 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27784 }
27785 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27786 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27787 }
27788 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27789 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27790 }
27791 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27793 }
27794 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27796 }
27797 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27798 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27799 }
27800 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27801 return (void *)((wxEvent *) ((wxPyEvent *) x));
27802 }
27803 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27805 }
27806 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27807 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27808 }
27809 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27810 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27811 }
27812 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27813 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27814 }
27815 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27816 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27817 }
27818 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27819 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27820 }
27821 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27822 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27823 }
27824 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27825 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27826 }
27827 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27828 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27829 }
27830 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27831 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27832 }
27833 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27834 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27835 }
27836 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27837 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27838 }
27839 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27840 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27841 }
27842 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27843 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27844 }
27845 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27846 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27847 }
27848 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27849 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27850 }
27851 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27852 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27853 }
27854 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27855 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27856 }
27857 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27858 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27859 }
27860 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27861 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27862 }
27863 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27864 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27865 }
27866 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27867 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27868 }
27869 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27871 }
27872 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27873 return (void *)((wxEvent *) ((wxShowEvent *) x));
27874 }
27875 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27876 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27877 }
27878 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27880 }
27881 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27882 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27883 }
27884 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27885 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27886 }
27887 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27888 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27889 }
27890 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27891 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27892 }
27893 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27894 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27895 }
27896 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27897 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27898 }
27899 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27900 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27901 }
27902 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27903 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27904 }
27905 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27906 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27907 }
27908 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27909 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27910 }
27911 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27912 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27913 }
27914 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27915 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27916 }
27917 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27918 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27919 }
27920 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27921 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27922 }
27923 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27924 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27925 }
27926 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27927 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27928 }
27929 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27930 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27931 }
27932 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27933 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27934 }
27935 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27936 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27937 }
27938 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27939 return (void *)((wxControl *) ((wxStaticBox *) x));
27940 }
27941 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27942 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27943 }
27944 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27945 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27946 }
27947 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27948 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27949 }
27950 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27951 return (void *)((wxControl *) ((wxScrollBar *) x));
27952 }
27953 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27954 return (void *)((wxControl *) ((wxBookCtrl *) x));
27955 }
27956 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27957 return (void *)((wxControl *) ((wxRadioButton *) x));
27958 }
27959 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27960 return (void *)((wxControl *) ((wxToggleButton *) x));
27961 }
27962 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27963 return (void *)((wxControl *) ((wxGauge *) x));
27964 }
27965 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27966 return (void *)((wxControl *) ((wxToolBarBase *) x));
27967 }
27968 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27969 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27970 }
27971 static void *_p_wxButtonTo_p_wxControl(void *x) {
27972 return (void *)((wxControl *) ((wxButton *) x));
27973 }
27974 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27975 return (void *)((wxControl *) ((wxSpinButton *) x));
27976 }
27977 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27978 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27979 }
27980 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27981 return (void *)((wxControl *) ((wxControlWithItems *) x));
27982 }
27983 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27984 return (void *)((wxControl *) ((wxRadioBox *) x));
27985 }
27986 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27987 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27988 }
27989 static void *_p_wxListbookTo_p_wxControl(void *x) {
27990 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27991 }
27992 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27993 return (void *)((wxControl *) ((wxCheckBox *) x));
27994 }
27995 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27996 return (void *)((wxControl *) ((wxTextCtrl *) x));
27997 }
27998 static void *_p_wxListViewTo_p_wxControl(void *x) {
27999 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
28000 }
28001 static void *_p_wxSliderTo_p_wxControl(void *x) {
28002 return (void *)((wxControl *) ((wxSlider *) x));
28003 }
28004 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
28005 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
28006 }
28007 static void *_p_wxPyControlTo_p_wxControl(void *x) {
28008 return (void *)((wxControl *) ((wxPyControl *) x));
28009 }
28010 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
28011 return (void *)((wxControl *) ((wxStaticLine *) x));
28012 }
28013 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
28014 return (void *)((wxControl *) ((wxStaticText *) x));
28015 }
28016 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
28017 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
28018 }
28019 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
28020 return (void *)((wxChoice *) ((wxComboBox *) x));
28021 }
28022 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
28023 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
28024 }
28025 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
28026 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
28027 }
28028 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
28029 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28030 }
28031 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
28032 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
28033 }
28034 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
28035 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
28036 }
28037 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
28038 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28039 }
28040 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
28041 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
28042 }
28043 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
28044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28045 }
28046 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28047 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28048 }
28049 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28050 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28051 }
28052 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28053 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28054 }
28055 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
28056 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28057 }
28058 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28059 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28060 }
28061 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
28062 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
28063 }
28064 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
28065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
28066 }
28067 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28068 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28069 }
28070 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28071 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28072 }
28073 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
28074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28075 }
28076 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
28077 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
28078 }
28079 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
28080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28081 }
28082 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
28083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28084 }
28085 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
28086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
28087 }
28088 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28089 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28090 }
28091 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
28092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
28093 }
28094 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
28095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
28096 }
28097 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28099 }
28100 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
28101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
28102 }
28103 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
28104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
28105 }
28106 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
28107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28108 }
28109 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
28110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
28111 }
28112 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
28113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
28114 }
28115 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
28116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
28117 }
28118 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
28119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28120 }
28121 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
28122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28123 }
28124 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
28125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28126 }
28127 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
28128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28129 }
28130 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
28131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28132 }
28133 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
28134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28135 }
28136 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
28137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28138 }
28139 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
28140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
28141 }
28142 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
28143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
28144 }
28145 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
28146 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
28147 }
28148 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
28149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
28150 }
28151 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
28152 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
28153 }
28154 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
28155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28156 }
28157 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
28158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28159 }
28160 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
28161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28162 }
28163 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
28164 return (void *)((wxListBox *) ((wxCheckListBox *) x));
28165 }
28166 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
28167 return (void *)((wxBookCtrl *) ((wxListbook *) x));
28168 }
28169 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
28170 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
28171 }
28172 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
28173 return (void *)((wxButton *) ((wxBitmapButton *) x));
28174 }
28175 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
28176 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
28177 }
28178 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
28179 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
28180 }
28181 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
28182 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
28183 }
28184 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28185 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28186 }
28187 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28188 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28189 }
28190 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28191 return (void *)((wxObject *) ((wxSizerItem *) x));
28192 }
28193 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28195 }
28196 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28197 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28198 }
28199 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
28200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
28201 }
28202 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
28203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28204 }
28205 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28206 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28207 }
28208 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28209 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28210 }
28211 static void *_p_wxSizerTo_p_wxObject(void *x) {
28212 return (void *)((wxObject *) ((wxSizer *) x));
28213 }
28214 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28215 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28216 }
28217 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
28218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
28219 }
28220 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
28221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
28222 }
28223 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28225 }
28226 static void *_p_wxEventTo_p_wxObject(void *x) {
28227 return (void *)((wxObject *) ((wxEvent *) x));
28228 }
28229 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28230 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28231 }
28232 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28233 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28234 }
28235 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28236 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28237 }
28238 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
28239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
28240 }
28241 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
28242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
28243 }
28244 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
28245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28246 }
28247 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28248 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28249 }
28250 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28251 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28252 }
28253 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28254 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28255 }
28256 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28257 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28258 }
28259 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28260 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28261 }
28262 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28263 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28264 }
28265 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
28266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
28267 }
28268 static void *_p_wxControlTo_p_wxObject(void *x) {
28269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28270 }
28271 static void *_p_wxPyControlTo_p_wxObject(void *x) {
28272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
28273 }
28274 static void *_p_wxGaugeTo_p_wxObject(void *x) {
28275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
28276 }
28277 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
28278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
28279 }
28280 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
28281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
28282 }
28283 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
28284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28285 }
28286 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28287 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28288 }
28289 static void *_p_wxChoiceTo_p_wxObject(void *x) {
28290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28291 }
28292 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28293 return (void *)((wxObject *) ((wxFSFile *) x));
28294 }
28295 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28296 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28297 }
28298 static void *_p_wxListViewTo_p_wxObject(void *x) {
28299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28300 }
28301 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
28302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28303 }
28304 static void *_p_wxNotebookTo_p_wxObject(void *x) {
28305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28306 }
28307 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28308 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28309 }
28310 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28312 }
28313 static void *_p_wxListbookTo_p_wxObject(void *x) {
28314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28315 }
28316 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28317 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28318 }
28319 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
28320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28321 }
28322 static void *_p_wxSliderTo_p_wxObject(void *x) {
28323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
28324 }
28325 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28326 return (void *)((wxObject *) ((wxMenuItem *) x));
28327 }
28328 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28329 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28330 }
28331 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28332 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28333 }
28334 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28335 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28336 }
28337 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28338 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28339 }
28340 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28341 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28342 }
28343 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28344 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28345 }
28346 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28347 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28348 }
28349 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28350 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28351 }
28352 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
28353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
28354 }
28355 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
28356 return (void *)((wxObject *) ((wxContextHelp *) x));
28357 }
28358 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28359 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28360 }
28361 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28362 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28363 }
28364 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28365 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28366 }
28367 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28368 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28369 }
28370 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28371 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28372 }
28373 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28374 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28375 }
28376 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28377 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28378 }
28379 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28380 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28381 }
28382 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28383 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28384 }
28385 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28386 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28387 }
28388 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28389 return (void *)((wxObject *) ((wxImageHandler *) x));
28390 }
28391 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28392 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28393 }
28394 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28395 return (void *)((wxObject *) ((wxEvtHandler *) x));
28396 }
28397 static void *_p_wxListEventTo_p_wxObject(void *x) {
28398 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28399 }
28400 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28402 }
28403 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28405 }
28406 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28408 }
28409 static void *_p_wxButtonTo_p_wxObject(void *x) {
28410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28411 }
28412 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28414 }
28415 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28417 }
28418 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28420 }
28421 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28422 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28423 }
28424 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28426 }
28427 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28428 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28429 }
28430 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28432 }
28433 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28435 }
28436 static void *_p_wxListItemTo_p_wxObject(void *x) {
28437 return (void *)((wxObject *) ((wxListItem *) x));
28438 }
28439 static void *_p_wxImageTo_p_wxObject(void *x) {
28440 return (void *)((wxObject *) ((wxImage *) x));
28441 }
28442 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28443 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28444 }
28445 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28446 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28447 }
28448 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
28449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
28450 }
28451 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28452 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28453 }
28454 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28456 }
28457 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28459 }
28460 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28462 }
28463 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28464 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28465 }
28466 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28467 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28468 }
28469 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28470 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28471 }
28472 static void *_p_wxWindowTo_p_wxObject(void *x) {
28473 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28474 }
28475 static void *_p_wxMenuTo_p_wxObject(void *x) {
28476 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28477 }
28478 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28479 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28480 }
28481 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28482 return (void *)((wxObject *) ((wxFileSystem *) x));
28483 }
28484 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28485 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28486 }
28487 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28488 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28489 }
28490 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28491 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28492 }
28493 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28494 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28495 }
28496 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28497 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28498 }
28499 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28500 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28501 }
28502 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28503 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28504 }
28505 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28506 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28507 }
28508 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28509 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28510 }
28511 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28513 }
28514 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28515 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28516 }
28517 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28518 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28519 }
28520 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28521 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28522 }
28523 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28525 }
28526 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28527 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28528 }
28529 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28531 }
28532 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28533 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28534 }
28535 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28536 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28537 }
28538 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28539 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28540 }
28541 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28542 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28543 }
28544 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28545 return (void *)((wxWindow *) ((wxMenuBar *) x));
28546 }
28547 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28548 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28549 }
28550 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28551 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28552 }
28553 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28554 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28555 }
28556 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28557 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28558 }
28559 static void *_p_wxControlTo_p_wxWindow(void *x) {
28560 return (void *)((wxWindow *) ((wxControl *) x));
28561 }
28562 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28563 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28564 }
28565 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28566 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28567 }
28568 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28569 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28570 }
28571 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28572 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28573 }
28574 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28575 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28576 }
28577 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28578 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28579 }
28580 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28581 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28582 }
28583 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28584 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28585 }
28586 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28587 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28588 }
28589 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28590 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28591 }
28592 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28593 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28594 }
28595 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28596 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28597 }
28598 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28599 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28600 }
28601 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28602 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28603 }
28604 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28605 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28606 }
28607 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28608 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28609 }
28610 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28611 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28612 }
28613 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28614 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28615 }
28616 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28617 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28618 }
28619 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28620 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28621 }
28622 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28623 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28624 }
28625 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28626 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28627 }
28628 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28629 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28630 }
28631 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28632 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28633 }
28634 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28635 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28636 }
28637 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28638 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28639 }
28640 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28641 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28642 }
28643 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28644 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28645 }
28646 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28647 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28648 }
28649 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28650 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28651 }
28652 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28653 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28654 }
28655 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28656 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28657 }
28658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28659 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28660 }
28661 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28662 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28663 }
28664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28665 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28666 }
28667 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28668 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28669 }
28670 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28671 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28672 }
28673 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28674 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28675 }
28676 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28677 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28678 }
28679 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28680 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28681 }
28682 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28683 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28684 }
28685 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28686 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28687 }
28688 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28689 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28690 }
28691 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28692 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28693 }
28694 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
28695 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
28696 }
28697 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28698 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28699 }
28700 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28701 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28702 }
28703 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28704 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28705 }
28706 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28707 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28708 }
28709 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28710 return (void *)((wxValidator *) ((wxPyValidator *) x));
28711 }
28712 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28713 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}};
28714 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}};
28715 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28716 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28717 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28718 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28719 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}};
28720 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28721 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28722 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28723 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}};
28724 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28725 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28726 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28727 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}};
28728 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28729 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28730 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28731 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28732 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28733 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28734 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28735 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28736 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28737 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28738 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28739 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28740 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28741 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28742 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28743 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28744 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}};
28745 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28746 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28747 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28748 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28749 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28750 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28751 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28752 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28753 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}};
28754 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28755 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28756 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28757 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}};
28758 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28759 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}};
28760 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28761 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28762 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28763 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28764 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28765 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28766 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28767 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28768 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28769 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28770 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28771 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28772 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28773 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28774 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28775 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28776 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28777 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28778 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28779 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28780 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}};
28781 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28782 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28783 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}};
28784 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28785 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28786 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28787 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28788 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}};
28789 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28790 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
28791 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28792 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28793 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28794 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28795 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28796
28797 static swig_type_info *swig_types_initial[] = {
28798 _swigt__p_wxTextUrlEvent,
28799 _swigt__p_wxBookCtrlEvent,
28800 _swigt__p_wxSizer,
28801 _swigt__p_wxTreeItemIdValue,
28802 _swigt__wxTreeItemIdValue,
28803 _swigt__p_wxCheckBox,
28804 _swigt__p_wxPyTreeCtrl,
28805 _swigt__p_wxEvent,
28806 _swigt__p_wxGenericDirCtrl,
28807 _swigt__p_bool,
28808 _swigt__p_wxPyTreeItemData,
28809 _swigt__p_wxItemContainer,
28810 _swigt__p_wxDirFilterListCtrl,
28811 _swigt__p_wxPyListCtrl,
28812 _swigt__p_wxStaticLine,
28813 _swigt__p_wxControl,
28814 _swigt__p_wxPyControl,
28815 _swigt__p_wxGauge,
28816 _swigt__p_wxToolBarBase,
28817 _swigt__p_wxFont,
28818 _swigt__p_wxToggleButton,
28819 _swigt__p_wxRadioButton,
28820 _swigt__p_wxChoice,
28821 _swigt__p_wxMemoryDC,
28822 _swigt__p_wxListItemAttr,
28823 _swigt__p_int,
28824 _swigt__p_wxSize,
28825 _swigt__p_wxDC,
28826 _swigt__p_wxListView,
28827 _swigt__p_wxIcon,
28828 _swigt__p_wxTextCtrl,
28829 _swigt__p_wxNotebook,
28830 _swigt__p_wxNotifyEvent,
28831 _swigt__p_wxArrayString,
28832 _swigt__p_wxListbook,
28833 _swigt__p_wxStaticBitmap,
28834 _swigt__p_wxSlider,
28835 _swigt__p_wxStaticBox,
28836 _swigt__p_wxArrayInt,
28837 _swigt__p_wxContextHelp,
28838 _swigt__p_long,
28839 _swigt__p_wxEvtHandler,
28840 _swigt__p_wxListEvent,
28841 _swigt__p_wxListBox,
28842 _swigt__p_wxCheckListBox,
28843 _swigt__p_wxBookCtrl,
28844 _swigt__p_wxSpinButton,
28845 _swigt__p_wxButton,
28846 _swigt__p_wxBitmapButton,
28847 _swigt__p_wxRect,
28848 _swigt__p_wxContextHelpButton,
28849 _swigt__p_wxRadioBox,
28850 _swigt__p_wxScrollBar,
28851 _swigt__p_wxTreeItemId,
28852 _swigt__p_wxComboBox,
28853 _swigt__p_wxHelpEvent,
28854 _swigt__p_wxListItem,
28855 _swigt__p_wxNotebookSizer,
28856 _swigt__p_wxSpinEvent,
28857 _swigt__p_wxGenericDragImage,
28858 _swigt__p_wxSpinCtrl,
28859 _swigt__p_wxImageList,
28860 _swigt__p_wxHelpProvider,
28861 _swigt__p_wxTextAttr,
28862 _swigt__p_wxSimpleHelpProvider,
28863 _swigt__p_wxPoint,
28864 _swigt__p_wxListbookEvent,
28865 _swigt__p_wxNotebookEvent,
28866 _swigt__p_wxObject,
28867 _swigt__p_wxCursor,
28868 _swigt__p_wxKeyEvent,
28869 _swigt__p_wxWindow,
28870 _swigt__p_wxString,
28871 _swigt__p_wxBitmap,
28872 _swigt__p_wxTreeEvent,
28873 _swigt__p_wxMouseEvent,
28874 _swigt__p_wxCommandEvent,
28875 _swigt__p_wxStaticText,
28876 _swigt__p_wxControlWithItems,
28877 _swigt__p_wxToolBarToolBase,
28878 _swigt__p_wxColour,
28879 _swigt__p_wxToolBar,
28880 _swigt__p_wxBookCtrlSizer,
28881 _swigt__p_wxValidator,
28882 0
28883 };
28884
28885
28886 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28887
28888 static swig_const_info swig_const_table[] = {
28889 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28890 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28891 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28892 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28893 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28894 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28895 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28896 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28897 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28898 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28899 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28900 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28901 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28902 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28903 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28904 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28905 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28906 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28907 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28908 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28909 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28910 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28911 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28912 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28913 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28914 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28915 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28916 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28917 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28918 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28919 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28920 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28921 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28922 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28923 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28924 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28925 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28926 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28927 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28928 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28929 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28930 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28931 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28932 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28933 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28934 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28935 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28936 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28937 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28938 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28939 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28940 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28941 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28942 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28943 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28944 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28945 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28946 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28947 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28948 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28949 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28950 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28951 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28952 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28953 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28954 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28955 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28956 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28957 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28958 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28959 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28960 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28961 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28962 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28963 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28964 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28965 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28966 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28967 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28968 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28969 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28970 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28971 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28972 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28973 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28974 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28975 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28976 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28977 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28978 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28979 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28980 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28981 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28982 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28983 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28984 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28985 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28986 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28987 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28988 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28989 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28990 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28991 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28992 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28993 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28994 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28995 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28996 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28997 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28998 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28999 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
29000 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
29001 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
29002 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
29003 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
29004 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
29005 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
29006 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
29007 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
29008 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
29009 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
29010 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
29011 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
29012 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
29013 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
29014 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
29015 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
29016 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
29017 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
29018 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
29019 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
29020 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
29021 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
29022 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
29023 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
29024 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
29025 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
29026 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
29027 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
29028 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
29029 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
29030 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
29031 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
29032 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
29033 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
29034 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
29035 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
29036 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
29037 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
29038 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
29039 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
29040 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
29041 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
29042 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
29043 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
29044 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
29045 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
29046 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
29047 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
29048 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
29049 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
29050 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
29051 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
29052 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
29053 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
29054 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
29055 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
29056 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
29057 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
29058 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
29059 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
29060 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
29061 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
29062 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
29063 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
29064 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
29065 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
29066 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
29067 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
29068 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
29069 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
29070 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
29071 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
29072 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
29073 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
29074 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
29075 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
29076 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
29077 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
29078 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
29079 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
29080 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
29081 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
29082 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
29083 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
29084 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
29085 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
29086 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
29087 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
29088 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
29089 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
29090 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
29091 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
29092 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
29093 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
29094 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
29095 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
29096 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
29097 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
29098 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
29099 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
29100 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
29101 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
29102 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
29103 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
29104 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
29105 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
29106 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
29107 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
29108 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
29109 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
29110 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
29111 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
29112 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
29113 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
29114 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
29115 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
29116 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
29117 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
29118 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
29119 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
29120 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
29121 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
29122 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
29123 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
29124 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
29125 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
29126 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
29127 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
29128 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
29129 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
29130 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
29131 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
29132 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
29133 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
29134 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
29135 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
29136 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
29137 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
29138 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
29139 {0}};
29140
29141 #ifdef __cplusplus
29142 }
29143 #endif
29144
29145 #ifdef __cplusplus
29146 extern "C"
29147 #endif
29148 SWIGEXPORT(void) SWIG_init(void) {
29149 static PyObject *SWIG_globals = 0;
29150 static int typeinit = 0;
29151 PyObject *m, *d;
29152 int i;
29153 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29154 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29155 d = PyModule_GetDict(m);
29156
29157 if (!typeinit) {
29158 for (i = 0; swig_types_initial[i]; i++) {
29159 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29160 }
29161 typeinit = 1;
29162 }
29163 SWIG_InstallConstants(d,swig_const_table);
29164
29165 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29166 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
29167 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
29168 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
29169 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
29170 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
29171 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
29172 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
29173 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
29174 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
29175 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
29176 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
29177 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
29178 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
29179 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
29180 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
29181 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
29182 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
29183 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
29184 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
29185 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
29186 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
29187 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
29188 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
29189 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
29190 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
29191 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
29192 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
29193 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
29194 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
29195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
29196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
29197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
29198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
29199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
29200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
29201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
29202 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
29203 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
29204 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
29205 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
29206 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
29207 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
29208 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
29209 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
29210 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
29211 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
29212 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
29213 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
29214 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
29215 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
29216 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
29217
29218 // Map renamed classes back to their common name for OOR
29219 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
29220
29221 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
29222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
29223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
29224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
29225 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
29226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
29227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
29228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
29229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
29230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
29231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
29232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
29233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
29234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
29235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
29236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
29237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
29238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
29239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
29240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
29241 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
29242
29243 // Map renamed classes back to their common name for OOR
29244 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
29245 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
29246
29247 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
29248 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
29249 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
29250
29251 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
29252
29253 }
29254