]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
f8eb6d8383958aae438a79c8f21e1f4d9929baf5
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
385 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
386 #define SWIGTYPE_p_wxSizer swig_types[2]
387 #define SWIGTYPE_p_wxCheckBox swig_types[3]
388 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
389 #define SWIGTYPE_p_wxEvent swig_types[5]
390 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
391 #define SWIGTYPE_p_bool swig_types[7]
392 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
393 #define SWIGTYPE_p_wxItemContainer swig_types[9]
394 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
395 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
396 #define SWIGTYPE_p_wxStaticLine swig_types[12]
397 #define SWIGTYPE_p_wxControl swig_types[13]
398 #define SWIGTYPE_p_wxPyControl swig_types[14]
399 #define SWIGTYPE_p_wxGauge swig_types[15]
400 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
401 #define SWIGTYPE_p_wxFont swig_types[17]
402 #define SWIGTYPE_p_wxToggleButton swig_types[18]
403 #define SWIGTYPE_p_wxRadioButton swig_types[19]
404 #define SWIGTYPE_p_wxChoice swig_types[20]
405 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
406 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
407 #define SWIGTYPE_p_void swig_types[23]
408 #define SWIGTYPE_p_int swig_types[24]
409 #define SWIGTYPE_p_wxSize swig_types[25]
410 #define SWIGTYPE_p_wxDC swig_types[26]
411 #define SWIGTYPE_p_wxListView swig_types[27]
412 #define SWIGTYPE_p_wxIcon swig_types[28]
413 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
414 #define SWIGTYPE_p_wxNotebook swig_types[30]
415 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
416 #define SWIGTYPE_p_wxArrayString swig_types[32]
417 #define SWIGTYPE_p_wxListbook swig_types[33]
418 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
419 #define SWIGTYPE_p_wxSlider swig_types[35]
420 #define SWIGTYPE_p_wxStaticBox swig_types[36]
421 #define SWIGTYPE_p_wxArrayInt swig_types[37]
422 #define SWIGTYPE_p_wxContextHelp swig_types[38]
423 #define SWIGTYPE_p_long swig_types[39]
424 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
425 #define SWIGTYPE_p_wxListEvent swig_types[41]
426 #define SWIGTYPE_p_wxListBox swig_types[42]
427 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
428 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
429 #define SWIGTYPE_p_wxSpinButton swig_types[45]
430 #define SWIGTYPE_p_wxButton swig_types[46]
431 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
432 #define SWIGTYPE_p_wxRect swig_types[48]
433 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
434 #define SWIGTYPE_p_wxRadioBox swig_types[50]
435 #define SWIGTYPE_p_wxScrollBar swig_types[51]
436 #define SWIGTYPE_p_wxTreeItemId swig_types[52]
437 #define SWIGTYPE_p_wxComboBox swig_types[53]
438 #define SWIGTYPE_p_wxHelpEvent swig_types[54]
439 #define SWIGTYPE_p_wxListItem swig_types[55]
440 #define SWIGTYPE_p_wxNotebookSizer swig_types[56]
441 #define SWIGTYPE_p_wxSpinEvent swig_types[57]
442 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
443 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
444 #define SWIGTYPE_p_wxImageList swig_types[60]
445 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
446 #define SWIGTYPE_p_wxTextAttr swig_types[62]
447 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
448 #define SWIGTYPE_p_wxPoint swig_types[64]
449 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
450 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
451 #define SWIGTYPE_p_wxObject swig_types[67]
452 #define SWIGTYPE_p_wxCursor swig_types[68]
453 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
454 #define SWIGTYPE_p_wxWindow swig_types[70]
455 #define SWIGTYPE_p_wxString swig_types[71]
456 #define SWIGTYPE_p_wxBitmap swig_types[72]
457 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
458 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxStaticText swig_types[76]
461 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
462 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
463 #define SWIGTYPE_p_wxColour swig_types[79]
464 #define SWIGTYPE_p_wxToolBar swig_types[80]
465 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
466 #define SWIGTYPE_p_wxValidator swig_types[82]
467 static swig_type_info *swig_types[84];
468
469 /* -------- TYPES TABLE (END) -------- */
470
471
472 /*-----------------------------------------------
473 @(target):= _controls.so
474 ------------------------------------------------*/
475 #define SWIG_init init_controls
476
477 #define SWIG_name "_controls"
478
479 #include "wx/wxPython/wxPython.h"
480 #include "wx/wxPython/pyclasses.h"
481
482 static const wxString wxPyPanelNameStr(wxPanelNameStr);
483 static const wxString wxPyEmptyString(wxEmptyString);
484 static const wxString wxPyControlNameStr(wxControlNameStr);
485 static const wxString wxPyButtonNameStr(wxButtonNameStr);
486 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
487 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
488 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
489 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
490 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
491 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
492 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
493
494 #include <wx/checklst.h>
495
496
497 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
498 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
499 if (clientData) {
500 wxPyClientData* data = new wxPyClientData(clientData);
501 self->Insert(item, pos, data);
502 } else
503 self->Insert(item, pos);
504 }
505 PyObject *wxListBox_GetSelections(wxListBox *self){
506 wxArrayInt lst;
507 self->GetSelections(lst);
508 PyObject *tup = PyTuple_New(lst.GetCount());
509 for(size_t i=0; i<lst.GetCount(); i++) {
510 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
511 }
512 return tup;
513 }
514 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
515
516 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
517 PyObject* o2;
518 PyObject* o3;
519
520 if (!target) {
521 target = o;
522 } else if (target == Py_None) {
523 Py_DECREF(Py_None);
524 target = o;
525 } else {
526 if (!PyTuple_Check(target)) {
527 o2 = target;
528 target = PyTuple_New(1);
529 PyTuple_SetItem(target, 0, o2);
530 }
531 o3 = PyTuple_New(1);
532 PyTuple_SetItem(o3, 0, o);
533
534 o2 = target;
535 target = PySequence_Concat(o2, o3);
536 Py_DECREF(o2);
537 Py_DECREF(o3);
538 }
539 return target;
540 }
541
542 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
543 self->AppendText(text);
544 }
545 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
546 return self->GetValue().Mid(from, to - from);
547 }
548 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
549 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
550 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
551 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
552 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
553 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
554 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
555 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
556
557 #include <wx/slider.h>
558
559
560 static const wxString wxPySliderNameStr(wxSliderNameStr);
561 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
562
563 #if defined(__WXMAC__) || defined(__WXX11__)
564 // implement dummy classes and such for wxMac
565
566 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
567
568 class wxToggleButton : public wxControl
569 {
570 public:
571 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
572 const wxPoint&, const wxSize&, long,
573 const wxValidator&, const wxString&)
574 { wxPyRaiseNotImplemented(); }
575
576 wxToggleButton()
577 { wxPyRaiseNotImplemented(); }
578 };
579 #endif
580
581 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
582 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
583 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
584 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
585 if (udata) {
586 Py_INCREF(udata->m_obj);
587 return udata->m_obj;
588 } else {
589 Py_INCREF(Py_None);
590 return Py_None;
591 }
592 }
593 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
594 self->SetClientData(new wxPyUserData(clientData));
595 }
596 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){
597 wxPyUserData* udata = NULL;
598 if (clientData && clientData != Py_None)
599 udata = new wxPyUserData(clientData);
600 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
601 shortHelp, longHelp, udata);
602 }
603 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){
604 wxPyUserData* udata = NULL;
605 if (clientData && clientData != Py_None)
606 udata = new wxPyUserData(clientData);
607 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
608 shortHelp, longHelp, udata);
609 }
610 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
611 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
612 if (udata) {
613 Py_INCREF(udata->m_obj);
614 return udata->m_obj;
615 } else {
616 Py_INCREF(Py_None);
617 return Py_None;
618 }
619 }
620 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
621 self->SetToolClientData(id, new wxPyUserData(clientData));
622 }
623
624 #include <wx/listctrl.h>
625
626
627 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
628 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
629 // Python aware sorting function for wxPyListCtrl
630 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
631 int retval = 0;
632 PyObject* func = (PyObject*)funcPtr;
633 wxPyBeginBlockThreads();
634
635 PyObject* args = Py_BuildValue("(ii)", item1, item2);
636 PyObject* result = PyEval_CallObject(func, args);
637 Py_DECREF(args);
638 if (result) {
639 retval = PyInt_AsLong(result);
640 Py_DECREF(result);
641 }
642
643 wxPyEndBlockThreads();
644 return retval;
645 }
646
647 // C++ Version of a Python aware class
648 class wxPyListCtrl : public wxListCtrl {
649 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
650 public:
651 wxPyListCtrl() : wxListCtrl() {}
652 wxPyListCtrl(wxWindow* parent, wxWindowID id,
653 const wxPoint& pos,
654 const wxSize& size,
655 long style,
656 const wxValidator& validator,
657 const wxString& name) :
658 wxListCtrl(parent, id, pos, size, style, validator, name) {}
659
660 bool Create(wxWindow* parent, wxWindowID id,
661 const wxPoint& pos,
662 const wxSize& size,
663 long style,
664 const wxValidator& validator,
665 const wxString& name) {
666 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
667 }
668
669 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
670 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
671 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
672
673 PYPRIVATE;
674 };
675
676 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
677
678 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
679 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
680 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
681
682 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
683 wxListItem item;
684 item.SetMask( wxLIST_MASK_STATE |
685 wxLIST_MASK_TEXT |
686 wxLIST_MASK_IMAGE |
687 wxLIST_MASK_DATA |
688 wxLIST_SET_ITEM |
689 wxLIST_MASK_WIDTH |
690 wxLIST_MASK_FORMAT
691 );
692 if (self->GetColumn(col, item))
693 return new wxListItem(item);
694 else
695 return NULL;
696 }
697 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
698 wxListItem* info = new wxListItem;
699 info->m_itemId = itemId;
700 info->m_col = col;
701 info->m_mask = 0xFFFF;
702 self->GetItem(*info);
703 return info;
704 }
705 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
706 wxPoint pos;
707 self->GetItemPosition(item, pos);
708 return pos;
709 }
710 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
711 wxRect rect;
712 self->GetItemRect(item, rect, code);
713 return rect;
714 }
715 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
716 if (!PyCallable_Check(func))
717 return False;
718 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
719 }
720 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
721
722
723
724 return (wxWindow*)self->m_mainWin;
725
726 }
727
728 #include <wx/treectrl.h>
729 #include "wx/wxPython/pytree.h"
730
731 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
732 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
733 if (!other) return False;
734 return *self == *other;
735 }
736 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
737 if (!other) return True;
738 return *self != *other;
739 }
740 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
741 // C++ version of Python aware wxTreeCtrl
742 class wxPyTreeCtrl : public wxTreeCtrl {
743 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
744 public:
745 wxPyTreeCtrl() : wxTreeCtrl() {}
746 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
747 const wxPoint& pos,
748 const wxSize& size,
749 long style,
750 const wxValidator& validator,
751 const wxString& name) :
752 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
753
754 bool Create(wxWindow *parent, wxWindowID id,
755 const wxPoint& pos,
756 const wxSize& size,
757 long style,
758 const wxValidator& validator,
759 const wxString& name) {
760 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
761 }
762
763
764 int OnCompareItems(const wxTreeItemId& item1,
765 const wxTreeItemId& item2) {
766 int rval = 0;
767 bool found;
768 wxPyBeginBlockThreads();
769 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
770 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
771 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
772 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
773 Py_DECREF(o1);
774 Py_DECREF(o2);
775 }
776 wxPyEndBlockThreads();
777 if (! found)
778 rval = wxTreeCtrl::OnCompareItems(item1, item2);
779 return rval;
780 }
781 PYPRIVATE;
782 };
783
784 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
785
786
787 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
788 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
789 if (data == NULL) {
790 data = new wxPyTreeItemData();
791 data->SetId(item); // set the id
792 self->SetItemData(item, data);
793 }
794 return data;
795 }
796 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
797 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
798 if (data == NULL) {
799 data = new wxPyTreeItemData();
800 data->SetId(item); // set the id
801 self->SetItemData(item, data);
802 }
803 return data->GetData();
804 }
805 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
806 data->SetId(item); // set the id
807 self->SetItemData(item, data);
808 }
809 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
810 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
811 if (data == NULL) {
812 data = new wxPyTreeItemData(obj);
813 data->SetId(item); // set the id
814 self->SetItemData(item, data);
815 } else
816 data->SetData(obj);
817 }
818 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
819 wxPyBeginBlockThreads();
820 PyObject* rval = PyList_New(0);
821 wxArrayTreeItemIds array;
822 size_t num, x;
823 num = self->GetSelections(array);
824 for (x=0; x < num; x++) {
825 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
826 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
827 PyList_Append(rval, item);
828 }
829 wxPyEndBlockThreads();
830 return rval;
831 }
832 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
833 void* cookie = 0;
834 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
835 wxPyBeginBlockThreads();
836 PyObject* tup = PyTuple_New(2);
837 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
838 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
839 wxPyEndBlockThreads();
840 return tup;
841 }
842 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
843 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
844 wxPyBeginBlockThreads();
845 PyObject* tup = PyTuple_New(2);
846 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
847 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
848 wxPyEndBlockThreads();
849 return tup;
850 }
851 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
852 wxRect rect;
853 if (self->GetBoundingRect(item, rect, textOnly)) {
854 wxPyBeginBlockThreads();
855 wxRect* r = new wxRect(rect);
856 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
857 wxPyEndBlockThreads();
858 return val;
859 }
860 else
861 RETURN_NONE();
862 }
863 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
864 // C++ version of Python aware wxControl
865 class wxPyControl : public wxControl
866 {
867 DECLARE_DYNAMIC_CLASS(wxPyControl)
868 public:
869 wxPyControl() : wxControl() {}
870 wxPyControl(wxWindow* parent, const wxWindowID id,
871 const wxPoint& pos = wxDefaultPosition,
872 const wxSize& size = wxDefaultSize,
873 long style = 0,
874 const wxValidator& validator=wxDefaultValidator,
875 const wxString& name = wxPyControlNameStr)
876 : wxControl(parent, id, pos, size, style, validator, name) {}
877
878
879 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
880 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
881 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
882 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
883
884 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
885 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
886 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
887
888 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
889 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
890
891 DEC_PYCALLBACK__(InitDialog);
892 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
893 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
894 DEC_PYCALLBACK_BOOL_(Validate);
895
896 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
897 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
898 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
899
900 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
901 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
902
903 PYPRIVATE;
904 };
905
906 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
907
908 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
909 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
910 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
911 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
912
913 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
914 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
915 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
916
917 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
918 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
919
920 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
921 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
922 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
923 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
924
925 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
926 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
927 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
928
929 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
930 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
931
932
933
934
935 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
936
937 #include <wx/generic/dragimgg.h>
938
939 #ifdef __cplusplus
940 extern "C" {
941 #endif
942 static int _wrap_ButtonNameStr_set(PyObject *_val) {
943 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
944 return 1;
945 }
946
947
948 static PyObject *_wrap_ButtonNameStr_get() {
949 PyObject *pyobj;
950
951 {
952 #if wxUSE_UNICODE
953 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
954 #else
955 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
956 #endif
957 }
958 return pyobj;
959 }
960
961
962 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
963 PyObject *resultobj;
964 wxWindow *arg1 = (wxWindow *) 0 ;
965 int arg2 ;
966 wxString *arg3 = 0 ;
967 wxPoint const &arg4_defvalue = wxDefaultPosition ;
968 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
969 wxSize const &arg5_defvalue = wxDefaultSize ;
970 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
971 long arg6 = (long) 0 ;
972 wxValidator const &arg7_defvalue = wxDefaultValidator ;
973 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
974 wxString const &arg8_defvalue = wxPyButtonNameStr ;
975 wxString *arg8 = (wxString *) &arg8_defvalue ;
976 wxButton *result;
977 bool temp3 = False ;
978 wxPoint temp4 ;
979 wxSize temp5 ;
980 bool temp8 = False ;
981 PyObject * obj0 = 0 ;
982 PyObject * obj2 = 0 ;
983 PyObject * obj3 = 0 ;
984 PyObject * obj4 = 0 ;
985 PyObject * obj6 = 0 ;
986 PyObject * obj7 = 0 ;
987 char *kwnames[] = {
988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
989 };
990
991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
993 {
994 arg3 = wxString_in_helper(obj2);
995 if (arg3 == NULL) SWIG_fail;
996 temp3 = True;
997 }
998 if (obj3) {
999 {
1000 arg4 = &temp4;
1001 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1002 }
1003 }
1004 if (obj4) {
1005 {
1006 arg5 = &temp5;
1007 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1008 }
1009 }
1010 if (obj6) {
1011 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1012 if (arg7 == NULL) {
1013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1014 }
1015 }
1016 if (obj7) {
1017 {
1018 arg8 = wxString_in_helper(obj7);
1019 if (arg8 == NULL) SWIG_fail;
1020 temp8 = True;
1021 }
1022 }
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 {
1031 resultobj = wxPyMake_wxObject(result);
1032 }
1033 {
1034 if (temp3)
1035 delete arg3;
1036 }
1037 {
1038 if (temp8)
1039 delete arg8;
1040 }
1041 return resultobj;
1042 fail:
1043 {
1044 if (temp3)
1045 delete arg3;
1046 }
1047 {
1048 if (temp8)
1049 delete arg8;
1050 }
1051 return NULL;
1052 }
1053
1054
1055 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1056 PyObject *resultobj;
1057 wxButton *result;
1058 char *kwnames[] = {
1059 NULL
1060 };
1061
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1063 {
1064 PyThreadState* __tstate = wxPyBeginAllowThreads();
1065 result = (wxButton *)new wxButton();
1066
1067 wxPyEndAllowThreads(__tstate);
1068 if (PyErr_Occurred()) SWIG_fail;
1069 }
1070 {
1071 resultobj = wxPyMake_wxObject(result);
1072 }
1073 return resultobj;
1074 fail:
1075 return NULL;
1076 }
1077
1078
1079 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1080 PyObject *resultobj;
1081 wxButton *arg1 = (wxButton *) 0 ;
1082 wxWindow *arg2 = (wxWindow *) 0 ;
1083 int arg3 ;
1084 wxString *arg4 = 0 ;
1085 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1086 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1087 wxSize const &arg6_defvalue = wxDefaultSize ;
1088 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1089 long arg7 = (long) 0 ;
1090 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1091 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1092 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1093 wxString *arg9 = (wxString *) &arg9_defvalue ;
1094 bool result;
1095 bool temp4 = False ;
1096 wxPoint temp5 ;
1097 wxSize temp6 ;
1098 bool temp9 = False ;
1099 PyObject * obj0 = 0 ;
1100 PyObject * obj1 = 0 ;
1101 PyObject * obj3 = 0 ;
1102 PyObject * obj4 = 0 ;
1103 PyObject * obj5 = 0 ;
1104 PyObject * obj7 = 0 ;
1105 PyObject * obj8 = 0 ;
1106 char *kwnames[] = {
1107 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1108 };
1109
1110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1113 {
1114 arg4 = wxString_in_helper(obj3);
1115 if (arg4 == NULL) SWIG_fail;
1116 temp4 = True;
1117 }
1118 if (obj4) {
1119 {
1120 arg5 = &temp5;
1121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1122 }
1123 }
1124 if (obj5) {
1125 {
1126 arg6 = &temp6;
1127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1128 }
1129 }
1130 if (obj7) {
1131 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1132 if (arg8 == NULL) {
1133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1134 }
1135 }
1136 if (obj8) {
1137 {
1138 arg9 = wxString_in_helper(obj8);
1139 if (arg9 == NULL) SWIG_fail;
1140 temp9 = True;
1141 }
1142 }
1143 {
1144 PyThreadState* __tstate = wxPyBeginAllowThreads();
1145 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1146
1147 wxPyEndAllowThreads(__tstate);
1148 if (PyErr_Occurred()) SWIG_fail;
1149 }
1150 resultobj = PyInt_FromLong((long)result);
1151 {
1152 if (temp4)
1153 delete arg4;
1154 }
1155 {
1156 if (temp9)
1157 delete arg9;
1158 }
1159 return resultobj;
1160 fail:
1161 {
1162 if (temp4)
1163 delete arg4;
1164 }
1165 {
1166 if (temp9)
1167 delete arg9;
1168 }
1169 return NULL;
1170 }
1171
1172
1173 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1174 PyObject *resultobj;
1175 wxButton *arg1 = (wxButton *) 0 ;
1176 PyObject * obj0 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "self", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 {
1184 PyThreadState* __tstate = wxPyBeginAllowThreads();
1185 (arg1)->SetDefault();
1186
1187 wxPyEndAllowThreads(__tstate);
1188 if (PyErr_Occurred()) SWIG_fail;
1189 }
1190 Py_INCREF(Py_None); resultobj = Py_None;
1191 return resultobj;
1192 fail:
1193 return NULL;
1194 }
1195
1196
1197 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1198 PyObject *resultobj;
1199 wxSize result;
1200 char *kwnames[] = {
1201 NULL
1202 };
1203
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1205 {
1206 PyThreadState* __tstate = wxPyBeginAllowThreads();
1207 result = wxButton::GetDefaultSize();
1208
1209 wxPyEndAllowThreads(__tstate);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 {
1213 wxSize * resultptr;
1214 resultptr = new wxSize((wxSize &) result);
1215 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1216 }
1217 return resultobj;
1218 fail:
1219 return NULL;
1220 }
1221
1222
1223 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1224 PyObject *obj;
1225 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1226 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1227 Py_INCREF(obj);
1228 return Py_BuildValue((char *)"");
1229 }
1230 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1231 PyObject *resultobj;
1232 wxWindow *arg1 = (wxWindow *) 0 ;
1233 int arg2 ;
1234 wxBitmap *arg3 = 0 ;
1235 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1236 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1237 wxSize const &arg5_defvalue = wxDefaultSize ;
1238 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1239 long arg6 = (long) wxBU_AUTODRAW ;
1240 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1241 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1242 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1243 wxString *arg8 = (wxString *) &arg8_defvalue ;
1244 wxBitmapButton *result;
1245 wxPoint temp4 ;
1246 wxSize temp5 ;
1247 bool temp8 = False ;
1248 PyObject * obj0 = 0 ;
1249 PyObject * obj2 = 0 ;
1250 PyObject * obj3 = 0 ;
1251 PyObject * obj4 = 0 ;
1252 PyObject * obj6 = 0 ;
1253 PyObject * obj7 = 0 ;
1254 char *kwnames[] = {
1255 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1256 };
1257
1258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1260 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1261 if (arg3 == NULL) {
1262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1263 }
1264 if (obj3) {
1265 {
1266 arg4 = &temp4;
1267 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1268 }
1269 }
1270 if (obj4) {
1271 {
1272 arg5 = &temp5;
1273 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1274 }
1275 }
1276 if (obj6) {
1277 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 if (arg7 == NULL) {
1279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1280 }
1281 }
1282 if (obj7) {
1283 {
1284 arg8 = wxString_in_helper(obj7);
1285 if (arg8 == NULL) SWIG_fail;
1286 temp8 = True;
1287 }
1288 }
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 {
1297 resultobj = wxPyMake_wxObject(result);
1298 }
1299 {
1300 if (temp8)
1301 delete arg8;
1302 }
1303 return resultobj;
1304 fail:
1305 {
1306 if (temp8)
1307 delete arg8;
1308 }
1309 return NULL;
1310 }
1311
1312
1313 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1314 PyObject *resultobj;
1315 wxBitmapButton *result;
1316 char *kwnames[] = {
1317 NULL
1318 };
1319
1320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1321 {
1322 PyThreadState* __tstate = wxPyBeginAllowThreads();
1323 result = (wxBitmapButton *)new wxBitmapButton();
1324
1325 wxPyEndAllowThreads(__tstate);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 {
1329 resultobj = wxPyMake_wxObject(result);
1330 }
1331 return resultobj;
1332 fail:
1333 return NULL;
1334 }
1335
1336
1337 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1338 PyObject *resultobj;
1339 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1340 wxWindow *arg2 = (wxWindow *) 0 ;
1341 int arg3 ;
1342 wxBitmap *arg4 = 0 ;
1343 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1344 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1345 wxSize const &arg6_defvalue = wxDefaultSize ;
1346 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1347 long arg7 = (long) wxBU_AUTODRAW ;
1348 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1349 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1350 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1351 wxString *arg9 = (wxString *) &arg9_defvalue ;
1352 bool result;
1353 wxPoint temp5 ;
1354 wxSize temp6 ;
1355 bool temp9 = False ;
1356 PyObject * obj0 = 0 ;
1357 PyObject * obj1 = 0 ;
1358 PyObject * obj3 = 0 ;
1359 PyObject * obj4 = 0 ;
1360 PyObject * obj5 = 0 ;
1361 PyObject * obj7 = 0 ;
1362 PyObject * obj8 = 0 ;
1363 char *kwnames[] = {
1364 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1365 };
1366
1367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1370 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1371 if (arg4 == NULL) {
1372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1373 }
1374 if (obj4) {
1375 {
1376 arg5 = &temp5;
1377 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1378 }
1379 }
1380 if (obj5) {
1381 {
1382 arg6 = &temp6;
1383 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1384 }
1385 }
1386 if (obj7) {
1387 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1388 if (arg8 == NULL) {
1389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1390 }
1391 }
1392 if (obj8) {
1393 {
1394 arg9 = wxString_in_helper(obj8);
1395 if (arg9 == NULL) SWIG_fail;
1396 temp9 = True;
1397 }
1398 }
1399 {
1400 PyThreadState* __tstate = wxPyBeginAllowThreads();
1401 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1402
1403 wxPyEndAllowThreads(__tstate);
1404 if (PyErr_Occurred()) SWIG_fail;
1405 }
1406 resultobj = PyInt_FromLong((long)result);
1407 {
1408 if (temp9)
1409 delete arg9;
1410 }
1411 return resultobj;
1412 fail:
1413 {
1414 if (temp9)
1415 delete arg9;
1416 }
1417 return NULL;
1418 }
1419
1420
1421 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1422 PyObject *resultobj;
1423 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1424 wxBitmap result;
1425 PyObject * obj0 = 0 ;
1426 char *kwnames[] = {
1427 (char *) "self", NULL
1428 };
1429
1430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1432 {
1433 PyThreadState* __tstate = wxPyBeginAllowThreads();
1434 result = (arg1)->GetBitmapLabel();
1435
1436 wxPyEndAllowThreads(__tstate);
1437 if (PyErr_Occurred()) SWIG_fail;
1438 }
1439 {
1440 wxBitmap * resultptr;
1441 resultptr = new wxBitmap((wxBitmap &) result);
1442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1443 }
1444 return resultobj;
1445 fail:
1446 return NULL;
1447 }
1448
1449
1450 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1451 PyObject *resultobj;
1452 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1453 wxBitmap result;
1454 PyObject * obj0 = 0 ;
1455 char *kwnames[] = {
1456 (char *) "self", NULL
1457 };
1458
1459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1461 {
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 result = (arg1)->GetBitmapDisabled();
1464
1465 wxPyEndAllowThreads(__tstate);
1466 if (PyErr_Occurred()) SWIG_fail;
1467 }
1468 {
1469 wxBitmap * resultptr;
1470 resultptr = new wxBitmap((wxBitmap &) result);
1471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1472 }
1473 return resultobj;
1474 fail:
1475 return NULL;
1476 }
1477
1478
1479 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1480 PyObject *resultobj;
1481 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1482 wxBitmap result;
1483 PyObject * obj0 = 0 ;
1484 char *kwnames[] = {
1485 (char *) "self", NULL
1486 };
1487
1488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1490 {
1491 PyThreadState* __tstate = wxPyBeginAllowThreads();
1492 result = (arg1)->GetBitmapFocus();
1493
1494 wxPyEndAllowThreads(__tstate);
1495 if (PyErr_Occurred()) SWIG_fail;
1496 }
1497 {
1498 wxBitmap * resultptr;
1499 resultptr = new wxBitmap((wxBitmap &) result);
1500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1501 }
1502 return resultobj;
1503 fail:
1504 return NULL;
1505 }
1506
1507
1508 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1509 PyObject *resultobj;
1510 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1511 wxBitmap result;
1512 PyObject * obj0 = 0 ;
1513 char *kwnames[] = {
1514 (char *) "self", NULL
1515 };
1516
1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1519 {
1520 PyThreadState* __tstate = wxPyBeginAllowThreads();
1521 result = (arg1)->GetBitmapSelected();
1522
1523 wxPyEndAllowThreads(__tstate);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 {
1527 wxBitmap * resultptr;
1528 resultptr = new wxBitmap((wxBitmap &) result);
1529 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1530 }
1531 return resultobj;
1532 fail:
1533 return NULL;
1534 }
1535
1536
1537 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1538 PyObject *resultobj;
1539 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1540 wxBitmap *arg2 = 0 ;
1541 PyObject * obj0 = 0 ;
1542 PyObject * obj1 = 0 ;
1543 char *kwnames[] = {
1544 (char *) "self",(char *) "bitmap", NULL
1545 };
1546
1547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1550 if (arg2 == NULL) {
1551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1552 }
1553 {
1554 PyThreadState* __tstate = wxPyBeginAllowThreads();
1555 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1556
1557 wxPyEndAllowThreads(__tstate);
1558 if (PyErr_Occurred()) SWIG_fail;
1559 }
1560 Py_INCREF(Py_None); resultobj = Py_None;
1561 return resultobj;
1562 fail:
1563 return NULL;
1564 }
1565
1566
1567 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1568 PyObject *resultobj;
1569 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1570 wxBitmap *arg2 = 0 ;
1571 PyObject * obj0 = 0 ;
1572 PyObject * obj1 = 0 ;
1573 char *kwnames[] = {
1574 (char *) "self",(char *) "bitmap", NULL
1575 };
1576
1577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 if (arg2 == NULL) {
1581 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1582 }
1583 {
1584 PyThreadState* __tstate = wxPyBeginAllowThreads();
1585 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1586
1587 wxPyEndAllowThreads(__tstate);
1588 if (PyErr_Occurred()) SWIG_fail;
1589 }
1590 Py_INCREF(Py_None); resultobj = Py_None;
1591 return resultobj;
1592 fail:
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1600 wxBitmap *arg2 = 0 ;
1601 PyObject * obj0 = 0 ;
1602 PyObject * obj1 = 0 ;
1603 char *kwnames[] = {
1604 (char *) "self",(char *) "bitmap", NULL
1605 };
1606
1607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1610 if (arg2 == NULL) {
1611 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1612 }
1613 {
1614 PyThreadState* __tstate = wxPyBeginAllowThreads();
1615 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1616
1617 wxPyEndAllowThreads(__tstate);
1618 if (PyErr_Occurred()) SWIG_fail;
1619 }
1620 Py_INCREF(Py_None); resultobj = Py_None;
1621 return resultobj;
1622 fail:
1623 return NULL;
1624 }
1625
1626
1627 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1628 PyObject *resultobj;
1629 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1630 wxBitmap *arg2 = 0 ;
1631 PyObject * obj0 = 0 ;
1632 PyObject * obj1 = 0 ;
1633 char *kwnames[] = {
1634 (char *) "self",(char *) "bitmap", NULL
1635 };
1636
1637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1640 if (arg2 == NULL) {
1641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1642 }
1643 {
1644 PyThreadState* __tstate = wxPyBeginAllowThreads();
1645 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1646
1647 wxPyEndAllowThreads(__tstate);
1648 if (PyErr_Occurred()) SWIG_fail;
1649 }
1650 Py_INCREF(Py_None); resultobj = Py_None;
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1660 int arg2 ;
1661 int arg3 ;
1662 PyObject * obj0 = 0 ;
1663 char *kwnames[] = {
1664 (char *) "self",(char *) "x",(char *) "y", NULL
1665 };
1666
1667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1669 {
1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
1671 (arg1)->SetMargins(arg2,arg3);
1672
1673 wxPyEndAllowThreads(__tstate);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 Py_INCREF(Py_None); resultobj = Py_None;
1677 return resultobj;
1678 fail:
1679 return NULL;
1680 }
1681
1682
1683 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1684 PyObject *resultobj;
1685 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1686 int result;
1687 PyObject * obj0 = 0 ;
1688 char *kwnames[] = {
1689 (char *) "self", NULL
1690 };
1691
1692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 resultobj = PyInt_FromLong((long)result);
1702 return resultobj;
1703 fail:
1704 return NULL;
1705 }
1706
1707
1708 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1709 PyObject *resultobj;
1710 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1711 int result;
1712 PyObject * obj0 = 0 ;
1713 char *kwnames[] = {
1714 (char *) "self", NULL
1715 };
1716
1717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 resultobj = PyInt_FromLong((long)result);
1727 return resultobj;
1728 fail:
1729 return NULL;
1730 }
1731
1732
1733 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1734 PyObject *obj;
1735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1736 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1737 Py_INCREF(obj);
1738 return Py_BuildValue((char *)"");
1739 }
1740 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1741 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1742 return 1;
1743 }
1744
1745
1746 static PyObject *_wrap_CheckBoxNameStr_get() {
1747 PyObject *pyobj;
1748
1749 {
1750 #if wxUSE_UNICODE
1751 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1752 #else
1753 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1754 #endif
1755 }
1756 return pyobj;
1757 }
1758
1759
1760 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxWindow *arg1 = (wxWindow *) 0 ;
1763 int arg2 ;
1764 wxString *arg3 = 0 ;
1765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1767 wxSize const &arg5_defvalue = wxDefaultSize ;
1768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1769 long arg6 = (long) 0 ;
1770 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1771 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1772 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1773 wxString *arg8 = (wxString *) &arg8_defvalue ;
1774 wxCheckBox *result;
1775 bool temp3 = False ;
1776 wxPoint temp4 ;
1777 wxSize temp5 ;
1778 bool temp8 = False ;
1779 PyObject * obj0 = 0 ;
1780 PyObject * obj2 = 0 ;
1781 PyObject * obj3 = 0 ;
1782 PyObject * obj4 = 0 ;
1783 PyObject * obj6 = 0 ;
1784 PyObject * obj7 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1791 {
1792 arg3 = wxString_in_helper(obj2);
1793 if (arg3 == NULL) SWIG_fail;
1794 temp3 = True;
1795 }
1796 if (obj3) {
1797 {
1798 arg4 = &temp4;
1799 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1800 }
1801 }
1802 if (obj4) {
1803 {
1804 arg5 = &temp5;
1805 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1806 }
1807 }
1808 if (obj6) {
1809 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1810 if (arg7 == NULL) {
1811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1812 }
1813 }
1814 if (obj7) {
1815 {
1816 arg8 = wxString_in_helper(obj7);
1817 if (arg8 == NULL) SWIG_fail;
1818 temp8 = True;
1819 }
1820 }
1821 {
1822 PyThreadState* __tstate = wxPyBeginAllowThreads();
1823 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1824
1825 wxPyEndAllowThreads(__tstate);
1826 if (PyErr_Occurred()) SWIG_fail;
1827 }
1828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1829 {
1830 if (temp3)
1831 delete arg3;
1832 }
1833 {
1834 if (temp8)
1835 delete arg8;
1836 }
1837 return resultobj;
1838 fail:
1839 {
1840 if (temp3)
1841 delete arg3;
1842 }
1843 {
1844 if (temp8)
1845 delete arg8;
1846 }
1847 return NULL;
1848 }
1849
1850
1851 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1852 PyObject *resultobj;
1853 wxCheckBox *result;
1854 char *kwnames[] = {
1855 NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 result = (wxCheckBox *)new wxCheckBox();
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1867 return resultobj;
1868 fail:
1869 return NULL;
1870 }
1871
1872
1873 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1876 wxWindow *arg2 = (wxWindow *) 0 ;
1877 int arg3 ;
1878 wxString *arg4 = 0 ;
1879 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1880 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1881 wxSize const &arg6_defvalue = wxDefaultSize ;
1882 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1883 long arg7 = (long) 0 ;
1884 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1885 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1886 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1887 wxString *arg9 = (wxString *) &arg9_defvalue ;
1888 bool result;
1889 bool temp4 = False ;
1890 wxPoint temp5 ;
1891 wxSize temp6 ;
1892 bool temp9 = False ;
1893 PyObject * obj0 = 0 ;
1894 PyObject * obj1 = 0 ;
1895 PyObject * obj3 = 0 ;
1896 PyObject * obj4 = 0 ;
1897 PyObject * obj5 = 0 ;
1898 PyObject * obj7 = 0 ;
1899 PyObject * obj8 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1907 {
1908 arg4 = wxString_in_helper(obj3);
1909 if (arg4 == NULL) SWIG_fail;
1910 temp4 = True;
1911 }
1912 if (obj4) {
1913 {
1914 arg5 = &temp5;
1915 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1916 }
1917 }
1918 if (obj5) {
1919 {
1920 arg6 = &temp6;
1921 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1922 }
1923 }
1924 if (obj7) {
1925 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1926 if (arg8 == NULL) {
1927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1928 }
1929 }
1930 if (obj8) {
1931 {
1932 arg9 = wxString_in_helper(obj8);
1933 if (arg9 == NULL) SWIG_fail;
1934 temp9 = True;
1935 }
1936 }
1937 {
1938 PyThreadState* __tstate = wxPyBeginAllowThreads();
1939 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1940
1941 wxPyEndAllowThreads(__tstate);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 resultobj = PyInt_FromLong((long)result);
1945 {
1946 if (temp4)
1947 delete arg4;
1948 }
1949 {
1950 if (temp9)
1951 delete arg9;
1952 }
1953 return resultobj;
1954 fail:
1955 {
1956 if (temp4)
1957 delete arg4;
1958 }
1959 {
1960 if (temp9)
1961 delete arg9;
1962 }
1963 return NULL;
1964 }
1965
1966
1967 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1968 PyObject *resultobj;
1969 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1970 bool result;
1971 PyObject * obj0 = 0 ;
1972 char *kwnames[] = {
1973 (char *) "self", NULL
1974 };
1975
1976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1978 {
1979 PyThreadState* __tstate = wxPyBeginAllowThreads();
1980 result = (bool)(arg1)->GetValue();
1981
1982 wxPyEndAllowThreads(__tstate);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 resultobj = PyInt_FromLong((long)result);
1986 return resultobj;
1987 fail:
1988 return NULL;
1989 }
1990
1991
1992 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1993 PyObject *resultobj;
1994 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1995 bool result;
1996 PyObject * obj0 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "self", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2003 {
2004 PyThreadState* __tstate = wxPyBeginAllowThreads();
2005 result = (bool)(arg1)->IsChecked();
2006
2007 wxPyEndAllowThreads(__tstate);
2008 if (PyErr_Occurred()) SWIG_fail;
2009 }
2010 resultobj = PyInt_FromLong((long)result);
2011 return resultobj;
2012 fail:
2013 return NULL;
2014 }
2015
2016
2017 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2018 PyObject *resultobj;
2019 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2020 bool arg2 ;
2021 PyObject * obj0 = 0 ;
2022 PyObject * obj1 = 0 ;
2023 char *kwnames[] = {
2024 (char *) "self",(char *) "state", NULL
2025 };
2026
2027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029 {
2030 arg2 = (bool const) SPyObj_AsBool(obj1);
2031 if (PyErr_Occurred()) SWIG_fail;
2032 }
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 (arg1)->SetValue(arg2);
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 Py_INCREF(Py_None); resultobj = Py_None;
2041 return resultobj;
2042 fail:
2043 return NULL;
2044 }
2045
2046
2047 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2048 PyObject *resultobj;
2049 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2050 int result;
2051 PyObject * obj0 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "self", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 {
2059 PyThreadState* __tstate = wxPyBeginAllowThreads();
2060 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2061
2062 wxPyEndAllowThreads(__tstate);
2063 if (PyErr_Occurred()) SWIG_fail;
2064 }
2065 resultobj = PyInt_FromLong((long)result);
2066 return resultobj;
2067 fail:
2068 return NULL;
2069 }
2070
2071
2072 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2073 PyObject *resultobj;
2074 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2075 int arg2 ;
2076 PyObject * obj0 = 0 ;
2077 char *kwnames[] = {
2078 (char *) "self",(char *) "state", NULL
2079 };
2080
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
2082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2083 {
2084 PyThreadState* __tstate = wxPyBeginAllowThreads();
2085 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2086
2087 wxPyEndAllowThreads(__tstate);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 Py_INCREF(Py_None); resultobj = Py_None;
2091 return resultobj;
2092 fail:
2093 return NULL;
2094 }
2095
2096
2097 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject *resultobj;
2099 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2100 bool result;
2101 PyObject * obj0 = 0 ;
2102 char *kwnames[] = {
2103 (char *) "self", NULL
2104 };
2105
2106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2108 {
2109 PyThreadState* __tstate = wxPyBeginAllowThreads();
2110 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2111
2112 wxPyEndAllowThreads(__tstate);
2113 if (PyErr_Occurred()) SWIG_fail;
2114 }
2115 resultobj = PyInt_FromLong((long)result);
2116 return resultobj;
2117 fail:
2118 return NULL;
2119 }
2120
2121
2122 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2123 PyObject *resultobj;
2124 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2125 bool result;
2126 PyObject * obj0 = 0 ;
2127 char *kwnames[] = {
2128 (char *) "self", NULL
2129 };
2130
2131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = PyInt_FromLong((long)result);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2148 PyObject *obj;
2149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2150 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2151 Py_INCREF(obj);
2152 return Py_BuildValue((char *)"");
2153 }
2154 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2155 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2156 return 1;
2157 }
2158
2159
2160 static PyObject *_wrap_ChoiceNameStr_get() {
2161 PyObject *pyobj;
2162
2163 {
2164 #if wxUSE_UNICODE
2165 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2166 #else
2167 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2168 #endif
2169 }
2170 return pyobj;
2171 }
2172
2173
2174 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2175 PyObject *resultobj;
2176 wxWindow *arg1 = (wxWindow *) 0 ;
2177 int arg2 ;
2178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2180 wxSize const &arg4_defvalue = wxDefaultSize ;
2181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2182 int arg5 = (int) 0 ;
2183 wxString *arg6 = (wxString *) NULL ;
2184 long arg7 = (long) 0 ;
2185 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2186 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2187 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2188 wxString *arg9 = (wxString *) &arg9_defvalue ;
2189 wxChoice *result;
2190 wxPoint temp3 ;
2191 wxSize temp4 ;
2192 bool temp8 = False ;
2193 PyObject * obj0 = 0 ;
2194 PyObject * obj2 = 0 ;
2195 PyObject * obj3 = 0 ;
2196 PyObject * obj4 = 0 ;
2197 PyObject * obj6 = 0 ;
2198 PyObject * obj7 = 0 ;
2199 char *kwnames[] = {
2200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2205 if (obj2) {
2206 {
2207 arg3 = &temp3;
2208 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2209 }
2210 }
2211 if (obj3) {
2212 {
2213 arg4 = &temp4;
2214 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2215 }
2216 }
2217 if (obj4) {
2218 {
2219 arg5 = PyList_Size(obj4);
2220 arg6 = wxString_LIST_helper(obj4);
2221 if (arg6 == NULL) SWIG_fail;
2222 }
2223 }
2224 if (obj6) {
2225 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if (arg8 == NULL) {
2227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2228 }
2229 }
2230 if (obj7) {
2231 {
2232 arg9 = wxString_in_helper(obj7);
2233 if (arg9 == NULL) SWIG_fail;
2234 temp8 = True;
2235 }
2236 }
2237 {
2238 PyThreadState* __tstate = wxPyBeginAllowThreads();
2239 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2240
2241 wxPyEndAllowThreads(__tstate);
2242 if (PyErr_Occurred()) SWIG_fail;
2243 }
2244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2245 {
2246 if (arg6) delete [] arg6;
2247 }
2248 {
2249 if (temp8)
2250 delete arg9;
2251 }
2252 return resultobj;
2253 fail:
2254 {
2255 if (arg6) delete [] arg6;
2256 }
2257 {
2258 if (temp8)
2259 delete arg9;
2260 }
2261 return NULL;
2262 }
2263
2264
2265 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2266 PyObject *resultobj;
2267 wxChoice *result;
2268 char *kwnames[] = {
2269 NULL
2270 };
2271
2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2273 {
2274 PyThreadState* __tstate = wxPyBeginAllowThreads();
2275 result = (wxChoice *)new wxChoice();
2276
2277 wxPyEndAllowThreads(__tstate);
2278 if (PyErr_Occurred()) SWIG_fail;
2279 }
2280 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2281 return resultobj;
2282 fail:
2283 return NULL;
2284 }
2285
2286
2287 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxChoice *arg1 = (wxChoice *) 0 ;
2290 wxWindow *arg2 = (wxWindow *) 0 ;
2291 int arg3 ;
2292 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2293 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2294 wxSize const &arg5_defvalue = wxDefaultSize ;
2295 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2296 int arg6 = (int) 0 ;
2297 wxString *arg7 = (wxString *) NULL ;
2298 long arg8 = (long) 0 ;
2299 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2300 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2301 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2302 wxString *arg10 = (wxString *) &arg10_defvalue ;
2303 bool result;
2304 wxPoint temp4 ;
2305 wxSize temp5 ;
2306 bool temp9 = False ;
2307 PyObject * obj0 = 0 ;
2308 PyObject * obj1 = 0 ;
2309 PyObject * obj3 = 0 ;
2310 PyObject * obj4 = 0 ;
2311 PyObject * obj5 = 0 ;
2312 PyObject * obj7 = 0 ;
2313 PyObject * obj8 = 0 ;
2314 char *kwnames[] = {
2315 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2316 };
2317
2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2321 if (obj3) {
2322 {
2323 arg4 = &temp4;
2324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2325 }
2326 }
2327 if (obj4) {
2328 {
2329 arg5 = &temp5;
2330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2331 }
2332 }
2333 if (obj5) {
2334 {
2335 arg6 = PyList_Size(obj5);
2336 arg7 = wxString_LIST_helper(obj5);
2337 if (arg7 == NULL) SWIG_fail;
2338 }
2339 }
2340 if (obj7) {
2341 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2342 if (arg9 == NULL) {
2343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2344 }
2345 }
2346 if (obj8) {
2347 {
2348 arg10 = wxString_in_helper(obj8);
2349 if (arg10 == NULL) SWIG_fail;
2350 temp9 = True;
2351 }
2352 }
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 resultobj = PyInt_FromLong((long)result);
2361 {
2362 if (arg7) delete [] arg7;
2363 }
2364 {
2365 if (temp9)
2366 delete arg10;
2367 }
2368 return resultobj;
2369 fail:
2370 {
2371 if (arg7) delete [] arg7;
2372 }
2373 {
2374 if (temp9)
2375 delete arg10;
2376 }
2377 return NULL;
2378 }
2379
2380
2381 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxChoice *arg1 = (wxChoice *) 0 ;
2384 int result;
2385 PyObject * obj0 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2392 {
2393 PyThreadState* __tstate = wxPyBeginAllowThreads();
2394 result = (int)(arg1)->GetColumns();
2395
2396 wxPyEndAllowThreads(__tstate);
2397 if (PyErr_Occurred()) SWIG_fail;
2398 }
2399 resultobj = PyInt_FromLong((long)result);
2400 return resultobj;
2401 fail:
2402 return NULL;
2403 }
2404
2405
2406 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2407 PyObject *resultobj;
2408 wxChoice *arg1 = (wxChoice *) 0 ;
2409 int arg2 = (int) (int)1 ;
2410 PyObject * obj0 = 0 ;
2411 char *kwnames[] = {
2412 (char *) "self",(char *) "n", NULL
2413 };
2414
2415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2417 {
2418 PyThreadState* __tstate = wxPyBeginAllowThreads();
2419 (arg1)->SetColumns(arg2);
2420
2421 wxPyEndAllowThreads(__tstate);
2422 if (PyErr_Occurred()) SWIG_fail;
2423 }
2424 Py_INCREF(Py_None); resultobj = Py_None;
2425 return resultobj;
2426 fail:
2427 return NULL;
2428 }
2429
2430
2431 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2432 PyObject *resultobj;
2433 wxChoice *arg1 = (wxChoice *) 0 ;
2434 int arg2 ;
2435 PyObject * obj0 = 0 ;
2436 char *kwnames[] = {
2437 (char *) "self",(char *) "n", NULL
2438 };
2439
2440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2442 {
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 (arg1)->SetSelection(arg2);
2445
2446 wxPyEndAllowThreads(__tstate);
2447 if (PyErr_Occurred()) SWIG_fail;
2448 }
2449 Py_INCREF(Py_None); resultobj = Py_None;
2450 return resultobj;
2451 fail:
2452 return NULL;
2453 }
2454
2455
2456 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject *resultobj;
2458 wxChoice *arg1 = (wxChoice *) 0 ;
2459 wxString *arg2 = 0 ;
2460 bool temp2 = False ;
2461 PyObject * obj0 = 0 ;
2462 PyObject * obj1 = 0 ;
2463 char *kwnames[] = {
2464 (char *) "self",(char *) "string", NULL
2465 };
2466
2467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2469 {
2470 arg2 = wxString_in_helper(obj1);
2471 if (arg2 == NULL) SWIG_fail;
2472 temp2 = True;
2473 }
2474 {
2475 PyThreadState* __tstate = wxPyBeginAllowThreads();
2476 (arg1)->SetStringSelection((wxString const &)*arg2);
2477
2478 wxPyEndAllowThreads(__tstate);
2479 if (PyErr_Occurred()) SWIG_fail;
2480 }
2481 Py_INCREF(Py_None); resultobj = Py_None;
2482 {
2483 if (temp2)
2484 delete arg2;
2485 }
2486 return resultobj;
2487 fail:
2488 {
2489 if (temp2)
2490 delete arg2;
2491 }
2492 return NULL;
2493 }
2494
2495
2496 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2497 PyObject *resultobj;
2498 wxChoice *arg1 = (wxChoice *) 0 ;
2499 int arg2 ;
2500 wxString *arg3 = 0 ;
2501 bool temp3 = False ;
2502 PyObject * obj0 = 0 ;
2503 PyObject * obj2 = 0 ;
2504 char *kwnames[] = {
2505 (char *) "self",(char *) "n",(char *) "s", NULL
2506 };
2507
2508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2510 {
2511 arg3 = wxString_in_helper(obj2);
2512 if (arg3 == NULL) SWIG_fail;
2513 temp3 = True;
2514 }
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 (arg1)->SetString(arg2,(wxString const &)*arg3);
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 Py_INCREF(Py_None); resultobj = Py_None;
2523 {
2524 if (temp3)
2525 delete arg3;
2526 }
2527 return resultobj;
2528 fail:
2529 {
2530 if (temp3)
2531 delete arg3;
2532 }
2533 return NULL;
2534 }
2535
2536
2537 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2538 PyObject *obj;
2539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2540 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2541 Py_INCREF(obj);
2542 return Py_BuildValue((char *)"");
2543 }
2544 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2545 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2546 return 1;
2547 }
2548
2549
2550 static PyObject *_wrap_ComboBoxNameStr_get() {
2551 PyObject *pyobj;
2552
2553 {
2554 #if wxUSE_UNICODE
2555 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2556 #else
2557 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2558 #endif
2559 }
2560 return pyobj;
2561 }
2562
2563
2564 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2565 PyObject *resultobj;
2566 wxWindow *arg1 = (wxWindow *) 0 ;
2567 int arg2 ;
2568 wxString const &arg3_defvalue = wxPyEmptyString ;
2569 wxString *arg3 = (wxString *) &arg3_defvalue ;
2570 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2571 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2572 wxSize const &arg5_defvalue = wxDefaultSize ;
2573 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2574 int arg6 = (int) 0 ;
2575 wxString *arg7 = (wxString *) NULL ;
2576 long arg8 = (long) 0 ;
2577 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2578 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2579 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2580 wxString *arg10 = (wxString *) &arg10_defvalue ;
2581 wxComboBox *result;
2582 bool temp3 = False ;
2583 wxPoint temp4 ;
2584 wxSize temp5 ;
2585 bool temp9 = False ;
2586 PyObject * obj0 = 0 ;
2587 PyObject * obj2 = 0 ;
2588 PyObject * obj3 = 0 ;
2589 PyObject * obj4 = 0 ;
2590 PyObject * obj5 = 0 ;
2591 PyObject * obj7 = 0 ;
2592 PyObject * obj8 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599 if (obj2) {
2600 {
2601 arg3 = wxString_in_helper(obj2);
2602 if (arg3 == NULL) SWIG_fail;
2603 temp3 = True;
2604 }
2605 }
2606 if (obj3) {
2607 {
2608 arg4 = &temp4;
2609 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2610 }
2611 }
2612 if (obj4) {
2613 {
2614 arg5 = &temp5;
2615 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2616 }
2617 }
2618 if (obj5) {
2619 {
2620 arg6 = PyList_Size(obj5);
2621 arg7 = wxString_LIST_helper(obj5);
2622 if (arg7 == NULL) SWIG_fail;
2623 }
2624 }
2625 if (obj7) {
2626 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2627 if (arg9 == NULL) {
2628 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2629 }
2630 }
2631 if (obj8) {
2632 {
2633 arg10 = wxString_in_helper(obj8);
2634 if (arg10 == NULL) SWIG_fail;
2635 temp9 = True;
2636 }
2637 }
2638 {
2639 PyThreadState* __tstate = wxPyBeginAllowThreads();
2640 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2641
2642 wxPyEndAllowThreads(__tstate);
2643 if (PyErr_Occurred()) SWIG_fail;
2644 }
2645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2646 {
2647 if (temp3)
2648 delete arg3;
2649 }
2650 {
2651 if (arg7) delete [] arg7;
2652 }
2653 {
2654 if (temp9)
2655 delete arg10;
2656 }
2657 return resultobj;
2658 fail:
2659 {
2660 if (temp3)
2661 delete arg3;
2662 }
2663 {
2664 if (arg7) delete [] arg7;
2665 }
2666 {
2667 if (temp9)
2668 delete arg10;
2669 }
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxComboBox *result;
2677 char *kwnames[] = {
2678 NULL
2679 };
2680
2681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2682 {
2683 PyThreadState* __tstate = wxPyBeginAllowThreads();
2684 result = (wxComboBox *)new wxComboBox();
2685
2686 wxPyEndAllowThreads(__tstate);
2687 if (PyErr_Occurred()) SWIG_fail;
2688 }
2689 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2690 return resultobj;
2691 fail:
2692 return NULL;
2693 }
2694
2695
2696 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2697 PyObject *resultobj;
2698 wxComboBox *arg1 = (wxComboBox *) 0 ;
2699 wxWindow *arg2 = (wxWindow *) 0 ;
2700 int arg3 ;
2701 wxString const &arg4_defvalue = wxPyEmptyString ;
2702 wxString *arg4 = (wxString *) &arg4_defvalue ;
2703 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2704 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2705 wxSize const &arg6_defvalue = wxDefaultSize ;
2706 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2707 int arg7 = (int) 0 ;
2708 wxString *arg8 = (wxString *) NULL ;
2709 long arg9 = (long) 0 ;
2710 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2711 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2712 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2713 wxString *arg11 = (wxString *) &arg11_defvalue ;
2714 bool result;
2715 bool temp4 = False ;
2716 wxPoint temp5 ;
2717 wxSize temp6 ;
2718 bool temp10 = False ;
2719 PyObject * obj0 = 0 ;
2720 PyObject * obj1 = 0 ;
2721 PyObject * obj3 = 0 ;
2722 PyObject * obj4 = 0 ;
2723 PyObject * obj5 = 0 ;
2724 PyObject * obj6 = 0 ;
2725 PyObject * obj8 = 0 ;
2726 PyObject * obj9 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2734 if (obj3) {
2735 {
2736 arg4 = wxString_in_helper(obj3);
2737 if (arg4 == NULL) SWIG_fail;
2738 temp4 = True;
2739 }
2740 }
2741 if (obj4) {
2742 {
2743 arg5 = &temp5;
2744 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2745 }
2746 }
2747 if (obj5) {
2748 {
2749 arg6 = &temp6;
2750 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2751 }
2752 }
2753 if (obj6) {
2754 {
2755 arg7 = PyList_Size(obj6);
2756 arg8 = wxString_LIST_helper(obj6);
2757 if (arg8 == NULL) SWIG_fail;
2758 }
2759 }
2760 if (obj8) {
2761 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2762 if (arg10 == NULL) {
2763 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2764 }
2765 }
2766 if (obj9) {
2767 {
2768 arg11 = wxString_in_helper(obj9);
2769 if (arg11 == NULL) SWIG_fail;
2770 temp10 = True;
2771 }
2772 }
2773 {
2774 PyThreadState* __tstate = wxPyBeginAllowThreads();
2775 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2776
2777 wxPyEndAllowThreads(__tstate);
2778 if (PyErr_Occurred()) SWIG_fail;
2779 }
2780 resultobj = PyInt_FromLong((long)result);
2781 {
2782 if (temp4)
2783 delete arg4;
2784 }
2785 {
2786 if (arg8) delete [] arg8;
2787 }
2788 {
2789 if (temp10)
2790 delete arg11;
2791 }
2792 return resultobj;
2793 fail:
2794 {
2795 if (temp4)
2796 delete arg4;
2797 }
2798 {
2799 if (arg8) delete [] arg8;
2800 }
2801 {
2802 if (temp10)
2803 delete arg11;
2804 }
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxComboBox *arg1 = (wxComboBox *) 0 ;
2812 wxString result;
2813 PyObject * obj0 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2820 {
2821 PyThreadState* __tstate = wxPyBeginAllowThreads();
2822 result = ((wxComboBox const *)arg1)->GetValue();
2823
2824 wxPyEndAllowThreads(__tstate);
2825 if (PyErr_Occurred()) SWIG_fail;
2826 }
2827 {
2828 #if wxUSE_UNICODE
2829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2830 #else
2831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2832 #endif
2833 }
2834 return resultobj;
2835 fail:
2836 return NULL;
2837 }
2838
2839
2840 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2841 PyObject *resultobj;
2842 wxComboBox *arg1 = (wxComboBox *) 0 ;
2843 wxString *arg2 = 0 ;
2844 bool temp2 = False ;
2845 PyObject * obj0 = 0 ;
2846 PyObject * obj1 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self",(char *) "value", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 arg2 = wxString_in_helper(obj1);
2855 if (arg2 == NULL) SWIG_fail;
2856 temp2 = True;
2857 }
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 (arg1)->SetValue((wxString const &)*arg2);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 Py_INCREF(Py_None); resultobj = Py_None;
2866 {
2867 if (temp2)
2868 delete arg2;
2869 }
2870 return resultobj;
2871 fail:
2872 {
2873 if (temp2)
2874 delete arg2;
2875 }
2876 return NULL;
2877 }
2878
2879
2880 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2881 PyObject *resultobj;
2882 wxComboBox *arg1 = (wxComboBox *) 0 ;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "self", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2890 {
2891 PyThreadState* __tstate = wxPyBeginAllowThreads();
2892 (arg1)->Copy();
2893
2894 wxPyEndAllowThreads(__tstate);
2895 if (PyErr_Occurred()) SWIG_fail;
2896 }
2897 Py_INCREF(Py_None); resultobj = Py_None;
2898 return resultobj;
2899 fail:
2900 return NULL;
2901 }
2902
2903
2904 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2905 PyObject *resultobj;
2906 wxComboBox *arg1 = (wxComboBox *) 0 ;
2907 PyObject * obj0 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 (arg1)->Cut();
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 Py_INCREF(Py_None); resultobj = Py_None;
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxComboBox *arg1 = (wxComboBox *) 0 ;
2931 PyObject * obj0 = 0 ;
2932 char *kwnames[] = {
2933 (char *) "self", NULL
2934 };
2935
2936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2938 {
2939 PyThreadState* __tstate = wxPyBeginAllowThreads();
2940 (arg1)->Paste();
2941
2942 wxPyEndAllowThreads(__tstate);
2943 if (PyErr_Occurred()) SWIG_fail;
2944 }
2945 Py_INCREF(Py_None); resultobj = Py_None;
2946 return resultobj;
2947 fail:
2948 return NULL;
2949 }
2950
2951
2952 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2953 PyObject *resultobj;
2954 wxComboBox *arg1 = (wxComboBox *) 0 ;
2955 long arg2 ;
2956 PyObject * obj0 = 0 ;
2957 char *kwnames[] = {
2958 (char *) "self",(char *) "pos", NULL
2959 };
2960
2961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2963 {
2964 PyThreadState* __tstate = wxPyBeginAllowThreads();
2965 (arg1)->SetInsertionPoint(arg2);
2966
2967 wxPyEndAllowThreads(__tstate);
2968 if (PyErr_Occurred()) SWIG_fail;
2969 }
2970 Py_INCREF(Py_None); resultobj = Py_None;
2971 return resultobj;
2972 fail:
2973 return NULL;
2974 }
2975
2976
2977 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2978 PyObject *resultobj;
2979 wxComboBox *arg1 = (wxComboBox *) 0 ;
2980 long result;
2981 PyObject * obj0 = 0 ;
2982 char *kwnames[] = {
2983 (char *) "self", NULL
2984 };
2985
2986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2988 {
2989 PyThreadState* __tstate = wxPyBeginAllowThreads();
2990 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2991
2992 wxPyEndAllowThreads(__tstate);
2993 if (PyErr_Occurred()) SWIG_fail;
2994 }
2995 resultobj = PyInt_FromLong((long)result);
2996 return resultobj;
2997 fail:
2998 return NULL;
2999 }
3000
3001
3002 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3003 PyObject *resultobj;
3004 wxComboBox *arg1 = (wxComboBox *) 0 ;
3005 long result;
3006 PyObject * obj0 = 0 ;
3007 char *kwnames[] = {
3008 (char *) "self", NULL
3009 };
3010
3011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3013 {
3014 PyThreadState* __tstate = wxPyBeginAllowThreads();
3015 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3016
3017 wxPyEndAllowThreads(__tstate);
3018 if (PyErr_Occurred()) SWIG_fail;
3019 }
3020 resultobj = PyInt_FromLong((long)result);
3021 return resultobj;
3022 fail:
3023 return NULL;
3024 }
3025
3026
3027 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3028 PyObject *resultobj;
3029 wxComboBox *arg1 = (wxComboBox *) 0 ;
3030 long arg2 ;
3031 long arg3 ;
3032 wxString *arg4 = 0 ;
3033 bool temp4 = False ;
3034 PyObject * obj0 = 0 ;
3035 PyObject * obj3 = 0 ;
3036 char *kwnames[] = {
3037 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3038 };
3039
3040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3042 {
3043 arg4 = wxString_in_helper(obj3);
3044 if (arg4 == NULL) SWIG_fail;
3045 temp4 = True;
3046 }
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 Py_INCREF(Py_None); resultobj = Py_None;
3055 {
3056 if (temp4)
3057 delete arg4;
3058 }
3059 return resultobj;
3060 fail:
3061 {
3062 if (temp4)
3063 delete arg4;
3064 }
3065 return NULL;
3066 }
3067
3068
3069 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3070 PyObject *resultobj;
3071 wxComboBox *arg1 = (wxComboBox *) 0 ;
3072 int arg2 ;
3073 PyObject * obj0 = 0 ;
3074 char *kwnames[] = {
3075 (char *) "self",(char *) "n", NULL
3076 };
3077
3078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
3079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 (arg1)->SetSelection(arg2);
3083
3084 wxPyEndAllowThreads(__tstate);
3085 if (PyErr_Occurred()) SWIG_fail;
3086 }
3087 Py_INCREF(Py_None); resultobj = Py_None;
3088 return resultobj;
3089 fail:
3090 return NULL;
3091 }
3092
3093
3094 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3095 PyObject *resultobj;
3096 wxComboBox *arg1 = (wxComboBox *) 0 ;
3097 long arg2 ;
3098 long arg3 ;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self",(char *) "from",(char *) "to", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 (arg1)->SetSelection(arg2,arg3);
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 Py_INCREF(Py_None); resultobj = Py_None;
3114 return resultobj;
3115 fail:
3116 return NULL;
3117 }
3118
3119
3120 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject *resultobj;
3122 wxComboBox *arg1 = (wxComboBox *) 0 ;
3123 bool arg2 ;
3124 PyObject * obj0 = 0 ;
3125 PyObject * obj1 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "editable", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 arg2 = (bool) SPyObj_AsBool(obj1);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 {
3137 PyThreadState* __tstate = wxPyBeginAllowThreads();
3138 (arg1)->SetEditable(arg2);
3139
3140 wxPyEndAllowThreads(__tstate);
3141 if (PyErr_Occurred()) SWIG_fail;
3142 }
3143 Py_INCREF(Py_None); resultobj = Py_None;
3144 return resultobj;
3145 fail:
3146 return NULL;
3147 }
3148
3149
3150 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3151 PyObject *resultobj;
3152 wxComboBox *arg1 = (wxComboBox *) 0 ;
3153 PyObject * obj0 = 0 ;
3154 char *kwnames[] = {
3155 (char *) "self", NULL
3156 };
3157
3158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) 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)->SetInsertionPointEnd();
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_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxComboBox *arg1 = (wxComboBox *) 0 ;
3177 long arg2 ;
3178 long arg3 ;
3179 PyObject * obj0 = 0 ;
3180 char *kwnames[] = {
3181 (char *) "self",(char *) "from",(char *) "to", NULL
3182 };
3183
3184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 (arg1)->Remove(arg2,arg3);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 Py_INCREF(Py_None); resultobj = Py_None;
3194 return resultobj;
3195 fail:
3196 return NULL;
3197 }
3198
3199
3200 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3201 PyObject *obj;
3202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3203 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3204 Py_INCREF(obj);
3205 return Py_BuildValue((char *)"");
3206 }
3207 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3208 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3209 return 1;
3210 }
3211
3212
3213 static PyObject *_wrap_GaugeNameStr_get() {
3214 PyObject *pyobj;
3215
3216 {
3217 #if wxUSE_UNICODE
3218 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3219 #else
3220 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3221 #endif
3222 }
3223 return pyobj;
3224 }
3225
3226
3227 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxWindow *arg1 = (wxWindow *) 0 ;
3230 int arg2 ;
3231 int arg3 ;
3232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3234 wxSize const &arg5_defvalue = wxDefaultSize ;
3235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3236 long arg6 = (long) wxGA_HORIZONTAL ;
3237 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3238 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3239 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3240 wxString *arg8 = (wxString *) &arg8_defvalue ;
3241 wxGauge *result;
3242 wxPoint temp4 ;
3243 wxSize temp5 ;
3244 bool temp8 = False ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj3 = 0 ;
3247 PyObject * obj4 = 0 ;
3248 PyObject * obj6 = 0 ;
3249 PyObject * obj7 = 0 ;
3250 char *kwnames[] = {
3251 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3252 };
3253
3254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3256 if (obj3) {
3257 {
3258 arg4 = &temp4;
3259 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3260 }
3261 }
3262 if (obj4) {
3263 {
3264 arg5 = &temp5;
3265 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3266 }
3267 }
3268 if (obj6) {
3269 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3270 if (arg7 == NULL) {
3271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3272 }
3273 }
3274 if (obj7) {
3275 {
3276 arg8 = wxString_in_helper(obj7);
3277 if (arg8 == NULL) SWIG_fail;
3278 temp8 = True;
3279 }
3280 }
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3284
3285 wxPyEndAllowThreads(__tstate);
3286 if (PyErr_Occurred()) SWIG_fail;
3287 }
3288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3289 {
3290 if (temp8)
3291 delete arg8;
3292 }
3293 return resultobj;
3294 fail:
3295 {
3296 if (temp8)
3297 delete arg8;
3298 }
3299 return NULL;
3300 }
3301
3302
3303 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj;
3305 wxGauge *result;
3306 char *kwnames[] = {
3307 NULL
3308 };
3309
3310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 result = (wxGauge *)new wxGauge();
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3319 return resultobj;
3320 fail:
3321 return NULL;
3322 }
3323
3324
3325 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3326 PyObject *resultobj;
3327 wxGauge *arg1 = (wxGauge *) 0 ;
3328 wxWindow *arg2 = (wxWindow *) 0 ;
3329 int arg3 ;
3330 int arg4 ;
3331 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3332 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3333 wxSize const &arg6_defvalue = wxDefaultSize ;
3334 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3335 long arg7 = (long) wxGA_HORIZONTAL ;
3336 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3337 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3338 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3339 wxString *arg9 = (wxString *) &arg9_defvalue ;
3340 bool result;
3341 wxPoint temp5 ;
3342 wxSize temp6 ;
3343 bool temp9 = False ;
3344 PyObject * obj0 = 0 ;
3345 PyObject * obj1 = 0 ;
3346 PyObject * obj4 = 0 ;
3347 PyObject * obj5 = 0 ;
3348 PyObject * obj7 = 0 ;
3349 PyObject * obj8 = 0 ;
3350 char *kwnames[] = {
3351 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3352 };
3353
3354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3357 if (obj4) {
3358 {
3359 arg5 = &temp5;
3360 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3361 }
3362 }
3363 if (obj5) {
3364 {
3365 arg6 = &temp6;
3366 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3367 }
3368 }
3369 if (obj7) {
3370 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371 if (arg8 == NULL) {
3372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3373 }
3374 }
3375 if (obj8) {
3376 {
3377 arg9 = wxString_in_helper(obj8);
3378 if (arg9 == NULL) SWIG_fail;
3379 temp9 = True;
3380 }
3381 }
3382 {
3383 PyThreadState* __tstate = wxPyBeginAllowThreads();
3384 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3385
3386 wxPyEndAllowThreads(__tstate);
3387 if (PyErr_Occurred()) SWIG_fail;
3388 }
3389 resultobj = PyInt_FromLong((long)result);
3390 {
3391 if (temp9)
3392 delete arg9;
3393 }
3394 return resultobj;
3395 fail:
3396 {
3397 if (temp9)
3398 delete arg9;
3399 }
3400 return NULL;
3401 }
3402
3403
3404 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3405 PyObject *resultobj;
3406 wxGauge *arg1 = (wxGauge *) 0 ;
3407 int arg2 ;
3408 PyObject * obj0 = 0 ;
3409 char *kwnames[] = {
3410 (char *) "self",(char *) "range", NULL
3411 };
3412
3413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3415 {
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 (arg1)->SetRange(arg2);
3418
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 Py_INCREF(Py_None); resultobj = Py_None;
3423 return resultobj;
3424 fail:
3425 return NULL;
3426 }
3427
3428
3429 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxGauge *arg1 = (wxGauge *) 0 ;
3432 int result;
3433 PyObject * obj0 = 0 ;
3434 char *kwnames[] = {
3435 (char *) "self", NULL
3436 };
3437
3438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (int)((wxGauge const *)arg1)->GetRange();
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 resultobj = PyInt_FromLong((long)result);
3448 return resultobj;
3449 fail:
3450 return NULL;
3451 }
3452
3453
3454 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxGauge *arg1 = (wxGauge *) 0 ;
3457 int arg2 ;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self",(char *) "pos", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3465 {
3466 PyThreadState* __tstate = wxPyBeginAllowThreads();
3467 (arg1)->SetValue(arg2);
3468
3469 wxPyEndAllowThreads(__tstate);
3470 if (PyErr_Occurred()) SWIG_fail;
3471 }
3472 Py_INCREF(Py_None); resultobj = Py_None;
3473 return resultobj;
3474 fail:
3475 return NULL;
3476 }
3477
3478
3479 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3480 PyObject *resultobj;
3481 wxGauge *arg1 = (wxGauge *) 0 ;
3482 int result;
3483 PyObject * obj0 = 0 ;
3484 char *kwnames[] = {
3485 (char *) "self", NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 result = (int)((wxGauge const *)arg1)->GetValue();
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 resultobj = PyInt_FromLong((long)result);
3498 return resultobj;
3499 fail:
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxGauge *arg1 = (wxGauge *) 0 ;
3507 bool result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3515 {
3516 PyThreadState* __tstate = wxPyBeginAllowThreads();
3517 result = (bool)((wxGauge const *)arg1)->IsVertical();
3518
3519 wxPyEndAllowThreads(__tstate);
3520 if (PyErr_Occurred()) SWIG_fail;
3521 }
3522 resultobj = PyInt_FromLong((long)result);
3523 return resultobj;
3524 fail:
3525 return NULL;
3526 }
3527
3528
3529 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxGauge *arg1 = (wxGauge *) 0 ;
3532 int arg2 ;
3533 PyObject * obj0 = 0 ;
3534 char *kwnames[] = {
3535 (char *) "self",(char *) "w", NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 (arg1)->SetShadowWidth(arg2);
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 Py_INCREF(Py_None); resultobj = Py_None;
3548 return resultobj;
3549 fail:
3550 return NULL;
3551 }
3552
3553
3554 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj;
3556 wxGauge *arg1 = (wxGauge *) 0 ;
3557 int result;
3558 PyObject * obj0 = 0 ;
3559 char *kwnames[] = {
3560 (char *) "self", NULL
3561 };
3562
3563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3565 {
3566 PyThreadState* __tstate = wxPyBeginAllowThreads();
3567 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3568
3569 wxPyEndAllowThreads(__tstate);
3570 if (PyErr_Occurred()) SWIG_fail;
3571 }
3572 resultobj = PyInt_FromLong((long)result);
3573 return resultobj;
3574 fail:
3575 return NULL;
3576 }
3577
3578
3579 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3580 PyObject *resultobj;
3581 wxGauge *arg1 = (wxGauge *) 0 ;
3582 int arg2 ;
3583 PyObject * obj0 = 0 ;
3584 char *kwnames[] = {
3585 (char *) "self",(char *) "w", NULL
3586 };
3587
3588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 (arg1)->SetBezelFace(arg2);
3593
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 Py_INCREF(Py_None); resultobj = Py_None;
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj;
3606 wxGauge *arg1 = (wxGauge *) 0 ;
3607 int result;
3608 PyObject * obj0 = 0 ;
3609 char *kwnames[] = {
3610 (char *) "self", NULL
3611 };
3612
3613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 resultobj = PyInt_FromLong((long)result);
3623 return resultobj;
3624 fail:
3625 return NULL;
3626 }
3627
3628
3629 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3630 PyObject *obj;
3631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3632 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3633 Py_INCREF(obj);
3634 return Py_BuildValue((char *)"");
3635 }
3636 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3637 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3638 return 1;
3639 }
3640
3641
3642 static PyObject *_wrap_StaticBitmapNameStr_get() {
3643 PyObject *pyobj;
3644
3645 {
3646 #if wxUSE_UNICODE
3647 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3648 #else
3649 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3650 #endif
3651 }
3652 return pyobj;
3653 }
3654
3655
3656 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3657 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3658 return 1;
3659 }
3660
3661
3662 static PyObject *_wrap_StaticBoxNameStr_get() {
3663 PyObject *pyobj;
3664
3665 {
3666 #if wxUSE_UNICODE
3667 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3668 #else
3669 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3670 #endif
3671 }
3672 return pyobj;
3673 }
3674
3675
3676 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3677 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3678 return 1;
3679 }
3680
3681
3682 static PyObject *_wrap_StaticTextNameStr_get() {
3683 PyObject *pyobj;
3684
3685 {
3686 #if wxUSE_UNICODE
3687 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3688 #else
3689 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3690 #endif
3691 }
3692 return pyobj;
3693 }
3694
3695
3696 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3697 PyObject *resultobj;
3698 wxWindow *arg1 = (wxWindow *) 0 ;
3699 int arg2 ;
3700 wxString *arg3 = 0 ;
3701 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3702 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3703 wxSize const &arg5_defvalue = wxDefaultSize ;
3704 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3705 long arg6 = (long) 0 ;
3706 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3707 wxString *arg7 = (wxString *) &arg7_defvalue ;
3708 wxStaticBox *result;
3709 bool temp3 = False ;
3710 wxPoint temp4 ;
3711 wxSize temp5 ;
3712 bool temp7 = False ;
3713 PyObject * obj0 = 0 ;
3714 PyObject * obj2 = 0 ;
3715 PyObject * obj3 = 0 ;
3716 PyObject * obj4 = 0 ;
3717 PyObject * obj6 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 {
3725 arg3 = wxString_in_helper(obj2);
3726 if (arg3 == NULL) SWIG_fail;
3727 temp3 = True;
3728 }
3729 if (obj3) {
3730 {
3731 arg4 = &temp4;
3732 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3733 }
3734 }
3735 if (obj4) {
3736 {
3737 arg5 = &temp5;
3738 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3739 }
3740 }
3741 if (obj6) {
3742 {
3743 arg7 = wxString_in_helper(obj6);
3744 if (arg7 == NULL) SWIG_fail;
3745 temp7 = True;
3746 }
3747 }
3748 {
3749 PyThreadState* __tstate = wxPyBeginAllowThreads();
3750 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3751
3752 wxPyEndAllowThreads(__tstate);
3753 if (PyErr_Occurred()) SWIG_fail;
3754 }
3755 {
3756 resultobj = wxPyMake_wxObject(result);
3757 }
3758 {
3759 if (temp3)
3760 delete arg3;
3761 }
3762 {
3763 if (temp7)
3764 delete arg7;
3765 }
3766 return resultobj;
3767 fail:
3768 {
3769 if (temp3)
3770 delete arg3;
3771 }
3772 {
3773 if (temp7)
3774 delete arg7;
3775 }
3776 return NULL;
3777 }
3778
3779
3780 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3781 PyObject *resultobj;
3782 wxStaticBox *result;
3783 char *kwnames[] = {
3784 NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (wxStaticBox *)new wxStaticBox();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 {
3796 resultobj = wxPyMake_wxObject(result);
3797 }
3798 return resultobj;
3799 fail:
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3807 wxWindow *arg2 = (wxWindow *) 0 ;
3808 int arg3 ;
3809 wxString *arg4 = 0 ;
3810 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3811 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3812 wxSize const &arg6_defvalue = wxDefaultSize ;
3813 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3814 long arg7 = (long) 0 ;
3815 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3816 wxString *arg8 = (wxString *) &arg8_defvalue ;
3817 bool result;
3818 bool temp4 = False ;
3819 wxPoint temp5 ;
3820 wxSize temp6 ;
3821 bool temp8 = False ;
3822 PyObject * obj0 = 0 ;
3823 PyObject * obj1 = 0 ;
3824 PyObject * obj3 = 0 ;
3825 PyObject * obj4 = 0 ;
3826 PyObject * obj5 = 0 ;
3827 PyObject * obj7 = 0 ;
3828 char *kwnames[] = {
3829 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 {
3836 arg4 = wxString_in_helper(obj3);
3837 if (arg4 == NULL) SWIG_fail;
3838 temp4 = True;
3839 }
3840 if (obj4) {
3841 {
3842 arg5 = &temp5;
3843 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3844 }
3845 }
3846 if (obj5) {
3847 {
3848 arg6 = &temp6;
3849 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3850 }
3851 }
3852 if (obj7) {
3853 {
3854 arg8 = wxString_in_helper(obj7);
3855 if (arg8 == NULL) SWIG_fail;
3856 temp8 = True;
3857 }
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 resultobj = PyInt_FromLong((long)result);
3867 {
3868 if (temp4)
3869 delete arg4;
3870 }
3871 {
3872 if (temp8)
3873 delete arg8;
3874 }
3875 return resultobj;
3876 fail:
3877 {
3878 if (temp4)
3879 delete arg4;
3880 }
3881 {
3882 if (temp8)
3883 delete arg8;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3890 PyObject *obj;
3891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3892 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3893 Py_INCREF(obj);
3894 return Py_BuildValue((char *)"");
3895 }
3896 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxWindow *arg1 = (wxWindow *) 0 ;
3899 int arg2 ;
3900 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3901 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3902 wxSize const &arg4_defvalue = wxDefaultSize ;
3903 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3904 long arg5 = (long) wxLI_HORIZONTAL ;
3905 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3906 wxString *arg6 = (wxString *) &arg6_defvalue ;
3907 wxStaticLine *result;
3908 wxPoint temp3 ;
3909 wxSize temp4 ;
3910 bool temp6 = False ;
3911 PyObject * obj0 = 0 ;
3912 PyObject * obj2 = 0 ;
3913 PyObject * obj3 = 0 ;
3914 PyObject * obj5 = 0 ;
3915 char *kwnames[] = {
3916 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3917 };
3918
3919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3921 if (obj2) {
3922 {
3923 arg3 = &temp3;
3924 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3925 }
3926 }
3927 if (obj3) {
3928 {
3929 arg4 = &temp4;
3930 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3931 }
3932 }
3933 if (obj5) {
3934 {
3935 arg6 = wxString_in_helper(obj5);
3936 if (arg6 == NULL) SWIG_fail;
3937 temp6 = True;
3938 }
3939 }
3940 {
3941 PyThreadState* __tstate = wxPyBeginAllowThreads();
3942 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3943
3944 wxPyEndAllowThreads(__tstate);
3945 if (PyErr_Occurred()) SWIG_fail;
3946 }
3947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3948 {
3949 if (temp6)
3950 delete arg6;
3951 }
3952 return resultobj;
3953 fail:
3954 {
3955 if (temp6)
3956 delete arg6;
3957 }
3958 return NULL;
3959 }
3960
3961
3962 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3963 PyObject *resultobj;
3964 wxStaticLine *result;
3965 char *kwnames[] = {
3966 NULL
3967 };
3968
3969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3970 {
3971 PyThreadState* __tstate = wxPyBeginAllowThreads();
3972 result = (wxStaticLine *)new wxStaticLine();
3973
3974 wxPyEndAllowThreads(__tstate);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
3977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3978 return resultobj;
3979 fail:
3980 return NULL;
3981 }
3982
3983
3984 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3985 PyObject *resultobj;
3986 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3987 wxWindow *arg2 = (wxWindow *) 0 ;
3988 int arg3 ;
3989 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3990 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3991 wxSize const &arg5_defvalue = wxDefaultSize ;
3992 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3993 long arg6 = (long) wxLI_HORIZONTAL ;
3994 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3995 wxString *arg7 = (wxString *) &arg7_defvalue ;
3996 bool result;
3997 wxPoint temp4 ;
3998 wxSize temp5 ;
3999 bool temp7 = False ;
4000 PyObject * obj0 = 0 ;
4001 PyObject * obj1 = 0 ;
4002 PyObject * obj3 = 0 ;
4003 PyObject * obj4 = 0 ;
4004 PyObject * obj6 = 0 ;
4005 char *kwnames[] = {
4006 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4007 };
4008
4009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 if (obj3) {
4013 {
4014 arg4 = &temp4;
4015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4016 }
4017 }
4018 if (obj4) {
4019 {
4020 arg5 = &temp5;
4021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4022 }
4023 }
4024 if (obj6) {
4025 {
4026 arg7 = wxString_in_helper(obj6);
4027 if (arg7 == NULL) SWIG_fail;
4028 temp7 = True;
4029 }
4030 }
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 resultobj = PyInt_FromLong((long)result);
4039 {
4040 if (temp7)
4041 delete arg7;
4042 }
4043 return resultobj;
4044 fail:
4045 {
4046 if (temp7)
4047 delete arg7;
4048 }
4049 return NULL;
4050 }
4051
4052
4053 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4056 bool result;
4057 PyObject * obj0 = 0 ;
4058 char *kwnames[] = {
4059 (char *) "self", NULL
4060 };
4061
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4064 {
4065 PyThreadState* __tstate = wxPyBeginAllowThreads();
4066 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4067
4068 wxPyEndAllowThreads(__tstate);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 }
4071 resultobj = PyInt_FromLong((long)result);
4072 return resultobj;
4073 fail:
4074 return NULL;
4075 }
4076
4077
4078 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4079 PyObject *resultobj;
4080 int result;
4081 char *kwnames[] = {
4082 NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (int)wxStaticLine::GetDefaultSize();
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = PyInt_FromLong((long)result);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4101 PyObject *obj;
4102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4103 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4104 Py_INCREF(obj);
4105 return Py_BuildValue((char *)"");
4106 }
4107 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxWindow *arg1 = (wxWindow *) 0 ;
4110 int arg2 ;
4111 wxString *arg3 = 0 ;
4112 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4113 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4114 wxSize const &arg5_defvalue = wxDefaultSize ;
4115 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4116 long arg6 = (long) 0 ;
4117 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4118 wxString *arg7 = (wxString *) &arg7_defvalue ;
4119 wxStaticText *result;
4120 bool temp3 = False ;
4121 wxPoint temp4 ;
4122 wxSize temp5 ;
4123 bool temp7 = False ;
4124 PyObject * obj0 = 0 ;
4125 PyObject * obj2 = 0 ;
4126 PyObject * obj3 = 0 ;
4127 PyObject * obj4 = 0 ;
4128 PyObject * obj6 = 0 ;
4129 char *kwnames[] = {
4130 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4135 {
4136 arg3 = wxString_in_helper(obj2);
4137 if (arg3 == NULL) SWIG_fail;
4138 temp3 = True;
4139 }
4140 if (obj3) {
4141 {
4142 arg4 = &temp4;
4143 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4144 }
4145 }
4146 if (obj4) {
4147 {
4148 arg5 = &temp5;
4149 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4150 }
4151 }
4152 if (obj6) {
4153 {
4154 arg7 = wxString_in_helper(obj6);
4155 if (arg7 == NULL) SWIG_fail;
4156 temp7 = True;
4157 }
4158 }
4159 {
4160 PyThreadState* __tstate = wxPyBeginAllowThreads();
4161 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4162
4163 wxPyEndAllowThreads(__tstate);
4164 if (PyErr_Occurred()) SWIG_fail;
4165 }
4166 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4167 {
4168 if (temp3)
4169 delete arg3;
4170 }
4171 {
4172 if (temp7)
4173 delete arg7;
4174 }
4175 return resultobj;
4176 fail:
4177 {
4178 if (temp3)
4179 delete arg3;
4180 }
4181 {
4182 if (temp7)
4183 delete arg7;
4184 }
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxStaticText *result;
4192 char *kwnames[] = {
4193 NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4197 {
4198 PyThreadState* __tstate = wxPyBeginAllowThreads();
4199 result = (wxStaticText *)new wxStaticText();
4200
4201 wxPyEndAllowThreads(__tstate);
4202 if (PyErr_Occurred()) SWIG_fail;
4203 }
4204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4205 return resultobj;
4206 fail:
4207 return NULL;
4208 }
4209
4210
4211 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4212 PyObject *resultobj;
4213 wxStaticText *arg1 = (wxStaticText *) 0 ;
4214 wxWindow *arg2 = (wxWindow *) 0 ;
4215 int arg3 ;
4216 wxString *arg4 = 0 ;
4217 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4218 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4219 wxSize const &arg6_defvalue = wxDefaultSize ;
4220 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4221 long arg7 = (long) 0 ;
4222 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4223 wxString *arg8 = (wxString *) &arg8_defvalue ;
4224 bool result;
4225 bool temp4 = False ;
4226 wxPoint temp5 ;
4227 wxSize temp6 ;
4228 bool temp8 = False ;
4229 PyObject * obj0 = 0 ;
4230 PyObject * obj1 = 0 ;
4231 PyObject * obj3 = 0 ;
4232 PyObject * obj4 = 0 ;
4233 PyObject * obj5 = 0 ;
4234 PyObject * obj7 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4242 {
4243 arg4 = wxString_in_helper(obj3);
4244 if (arg4 == NULL) SWIG_fail;
4245 temp4 = True;
4246 }
4247 if (obj4) {
4248 {
4249 arg5 = &temp5;
4250 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4251 }
4252 }
4253 if (obj5) {
4254 {
4255 arg6 = &temp6;
4256 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4257 }
4258 }
4259 if (obj7) {
4260 {
4261 arg8 = wxString_in_helper(obj7);
4262 if (arg8 == NULL) SWIG_fail;
4263 temp8 = True;
4264 }
4265 }
4266 {
4267 PyThreadState* __tstate = wxPyBeginAllowThreads();
4268 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4269
4270 wxPyEndAllowThreads(__tstate);
4271 if (PyErr_Occurred()) SWIG_fail;
4272 }
4273 resultobj = PyInt_FromLong((long)result);
4274 {
4275 if (temp4)
4276 delete arg4;
4277 }
4278 {
4279 if (temp8)
4280 delete arg8;
4281 }
4282 return resultobj;
4283 fail:
4284 {
4285 if (temp4)
4286 delete arg4;
4287 }
4288 {
4289 if (temp8)
4290 delete arg8;
4291 }
4292 return NULL;
4293 }
4294
4295
4296 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4297 PyObject *obj;
4298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4299 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4300 Py_INCREF(obj);
4301 return Py_BuildValue((char *)"");
4302 }
4303 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4304 PyObject *resultobj;
4305 wxWindow *arg1 = (wxWindow *) 0 ;
4306 int arg2 ;
4307 wxBitmap *arg3 = 0 ;
4308 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4309 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4310 wxSize const &arg5_defvalue = wxDefaultSize ;
4311 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4312 long arg6 = (long) 0 ;
4313 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4314 wxString *arg7 = (wxString *) &arg7_defvalue ;
4315 wxStaticBitmap *result;
4316 wxPoint temp4 ;
4317 wxSize temp5 ;
4318 bool temp7 = False ;
4319 PyObject * obj0 = 0 ;
4320 PyObject * obj2 = 0 ;
4321 PyObject * obj3 = 0 ;
4322 PyObject * obj4 = 0 ;
4323 PyObject * obj6 = 0 ;
4324 char *kwnames[] = {
4325 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4326 };
4327
4328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4330 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4331 if (arg3 == NULL) {
4332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4333 }
4334 if (obj3) {
4335 {
4336 arg4 = &temp4;
4337 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4338 }
4339 }
4340 if (obj4) {
4341 {
4342 arg5 = &temp5;
4343 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4344 }
4345 }
4346 if (obj6) {
4347 {
4348 arg7 = wxString_in_helper(obj6);
4349 if (arg7 == NULL) SWIG_fail;
4350 temp7 = True;
4351 }
4352 }
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4356
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4361 {
4362 if (temp7)
4363 delete arg7;
4364 }
4365 return resultobj;
4366 fail:
4367 {
4368 if (temp7)
4369 delete arg7;
4370 }
4371 return NULL;
4372 }
4373
4374
4375 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4376 PyObject *resultobj;
4377 wxStaticBitmap *result;
4378 char *kwnames[] = {
4379 NULL
4380 };
4381
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 result = (wxStaticBitmap *)new wxStaticBitmap();
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4391 return resultobj;
4392 fail:
4393 return NULL;
4394 }
4395
4396
4397 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4398 PyObject *resultobj;
4399 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4400 wxWindow *arg2 = (wxWindow *) 0 ;
4401 int arg3 ;
4402 wxBitmap *arg4 = 0 ;
4403 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4404 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4405 wxSize const &arg6_defvalue = wxDefaultSize ;
4406 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4407 long arg7 = (long) 0 ;
4408 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4409 wxString *arg8 = (wxString *) &arg8_defvalue ;
4410 bool result;
4411 wxPoint temp5 ;
4412 wxSize temp6 ;
4413 bool temp8 = False ;
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
4416 PyObject * obj3 = 0 ;
4417 PyObject * obj4 = 0 ;
4418 PyObject * obj5 = 0 ;
4419 PyObject * obj7 = 0 ;
4420 char *kwnames[] = {
4421 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 };
4423
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4427 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4428 if (arg4 == NULL) {
4429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4430 }
4431 if (obj4) {
4432 {
4433 arg5 = &temp5;
4434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4435 }
4436 }
4437 if (obj5) {
4438 {
4439 arg6 = &temp6;
4440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4441 }
4442 }
4443 if (obj7) {
4444 {
4445 arg8 = wxString_in_helper(obj7);
4446 if (arg8 == NULL) SWIG_fail;
4447 temp8 = True;
4448 }
4449 }
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 resultobj = PyInt_FromLong((long)result);
4458 {
4459 if (temp8)
4460 delete arg8;
4461 }
4462 return resultobj;
4463 fail:
4464 {
4465 if (temp8)
4466 delete arg8;
4467 }
4468 return NULL;
4469 }
4470
4471
4472 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4475 wxBitmap result;
4476 PyObject * obj0 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 result = (arg1)->GetBitmap();
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 {
4491 wxBitmap * resultptr;
4492 resultptr = new wxBitmap((wxBitmap &) result);
4493 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4494 }
4495 return resultobj;
4496 fail:
4497 return NULL;
4498 }
4499
4500
4501 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4502 PyObject *resultobj;
4503 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4504 wxBitmap *arg2 = 0 ;
4505 PyObject * obj0 = 0 ;
4506 PyObject * obj1 = 0 ;
4507 char *kwnames[] = {
4508 (char *) "self",(char *) "bitmap", NULL
4509 };
4510
4511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4514 if (arg2 == NULL) {
4515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4516 }
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528 }
4529
4530
4531 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4534 wxIcon *arg2 = 0 ;
4535 PyObject * obj0 = 0 ;
4536 PyObject * obj1 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "icon", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4544 if (arg2 == NULL) {
4545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4546 }
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
4549 (arg1)->SetIcon((wxIcon const &)*arg2);
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
4554 Py_INCREF(Py_None); resultobj = Py_None;
4555 return resultobj;
4556 fail:
4557 return NULL;
4558 }
4559
4560
4561 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4562 PyObject *obj;
4563 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4564 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4565 Py_INCREF(obj);
4566 return Py_BuildValue((char *)"");
4567 }
4568 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4569 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4570 return 1;
4571 }
4572
4573
4574 static PyObject *_wrap_ListBoxNameStr_get() {
4575 PyObject *pyobj;
4576
4577 {
4578 #if wxUSE_UNICODE
4579 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4580 #else
4581 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4582 #endif
4583 }
4584 return pyobj;
4585 }
4586
4587
4588 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj;
4590 wxWindow *arg1 = (wxWindow *) 0 ;
4591 int arg2 ;
4592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4594 wxSize const &arg4_defvalue = wxDefaultSize ;
4595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4596 int arg5 = (int) 0 ;
4597 wxString *arg6 = (wxString *) NULL ;
4598 long arg7 = (long) 0 ;
4599 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4600 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4601 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4602 wxString *arg9 = (wxString *) &arg9_defvalue ;
4603 wxListBox *result;
4604 wxPoint temp3 ;
4605 wxSize temp4 ;
4606 bool temp8 = False ;
4607 PyObject * obj0 = 0 ;
4608 PyObject * obj2 = 0 ;
4609 PyObject * obj3 = 0 ;
4610 PyObject * obj4 = 0 ;
4611 PyObject * obj6 = 0 ;
4612 PyObject * obj7 = 0 ;
4613 char *kwnames[] = {
4614 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4615 };
4616
4617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4619 if (obj2) {
4620 {
4621 arg3 = &temp3;
4622 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4623 }
4624 }
4625 if (obj3) {
4626 {
4627 arg4 = &temp4;
4628 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4629 }
4630 }
4631 if (obj4) {
4632 {
4633 arg5 = PyList_Size(obj4);
4634 arg6 = wxString_LIST_helper(obj4);
4635 if (arg6 == NULL) SWIG_fail;
4636 }
4637 }
4638 if (obj6) {
4639 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4640 if (arg8 == NULL) {
4641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4642 }
4643 }
4644 if (obj7) {
4645 {
4646 arg9 = wxString_in_helper(obj7);
4647 if (arg9 == NULL) SWIG_fail;
4648 temp8 = True;
4649 }
4650 }
4651 {
4652 PyThreadState* __tstate = wxPyBeginAllowThreads();
4653 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4654
4655 wxPyEndAllowThreads(__tstate);
4656 if (PyErr_Occurred()) SWIG_fail;
4657 }
4658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4659 {
4660 if (arg6) delete [] arg6;
4661 }
4662 {
4663 if (temp8)
4664 delete arg9;
4665 }
4666 return resultobj;
4667 fail:
4668 {
4669 if (arg6) delete [] arg6;
4670 }
4671 {
4672 if (temp8)
4673 delete arg9;
4674 }
4675 return NULL;
4676 }
4677
4678
4679 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4680 PyObject *resultobj;
4681 wxListBox *result;
4682 char *kwnames[] = {
4683 NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 result = (wxListBox *)new wxListBox();
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxListBox *arg1 = (wxListBox *) 0 ;
4704 wxWindow *arg2 = (wxWindow *) 0 ;
4705 int arg3 ;
4706 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4707 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4708 wxSize const &arg5_defvalue = wxDefaultSize ;
4709 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4710 int arg6 = (int) 0 ;
4711 wxString *arg7 = (wxString *) NULL ;
4712 long arg8 = (long) 0 ;
4713 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4714 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4715 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4716 wxString *arg10 = (wxString *) &arg10_defvalue ;
4717 bool result;
4718 wxPoint temp4 ;
4719 wxSize temp5 ;
4720 bool temp9 = False ;
4721 PyObject * obj0 = 0 ;
4722 PyObject * obj1 = 0 ;
4723 PyObject * obj3 = 0 ;
4724 PyObject * obj4 = 0 ;
4725 PyObject * obj5 = 0 ;
4726 PyObject * obj7 = 0 ;
4727 PyObject * obj8 = 0 ;
4728 char *kwnames[] = {
4729 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4730 };
4731
4732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4735 if (obj3) {
4736 {
4737 arg4 = &temp4;
4738 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4739 }
4740 }
4741 if (obj4) {
4742 {
4743 arg5 = &temp5;
4744 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4745 }
4746 }
4747 if (obj5) {
4748 {
4749 arg6 = PyList_Size(obj5);
4750 arg7 = wxString_LIST_helper(obj5);
4751 if (arg7 == NULL) SWIG_fail;
4752 }
4753 }
4754 if (obj7) {
4755 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4756 if (arg9 == NULL) {
4757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4758 }
4759 }
4760 if (obj8) {
4761 {
4762 arg10 = wxString_in_helper(obj8);
4763 if (arg10 == NULL) SWIG_fail;
4764 temp9 = True;
4765 }
4766 }
4767 {
4768 PyThreadState* __tstate = wxPyBeginAllowThreads();
4769 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4770
4771 wxPyEndAllowThreads(__tstate);
4772 if (PyErr_Occurred()) SWIG_fail;
4773 }
4774 resultobj = PyInt_FromLong((long)result);
4775 {
4776 if (arg7) delete [] arg7;
4777 }
4778 {
4779 if (temp9)
4780 delete arg10;
4781 }
4782 return resultobj;
4783 fail:
4784 {
4785 if (arg7) delete [] arg7;
4786 }
4787 {
4788 if (temp9)
4789 delete arg10;
4790 }
4791 return NULL;
4792 }
4793
4794
4795 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4796 PyObject *resultobj;
4797 wxListBox *arg1 = (wxListBox *) 0 ;
4798 wxString *arg2 = 0 ;
4799 int arg3 ;
4800 PyObject *arg4 = (PyObject *) NULL ;
4801 bool temp2 = False ;
4802 PyObject * obj0 = 0 ;
4803 PyObject * obj1 = 0 ;
4804 PyObject * obj3 = 0 ;
4805 char *kwnames[] = {
4806 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4807 };
4808
4809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4811 {
4812 arg2 = wxString_in_helper(obj1);
4813 if (arg2 == NULL) SWIG_fail;
4814 temp2 = True;
4815 }
4816 if (obj3) {
4817 arg4 = obj3;
4818 }
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 Py_INCREF(Py_None); resultobj = Py_None;
4827 {
4828 if (temp2)
4829 delete arg2;
4830 }
4831 return resultobj;
4832 fail:
4833 {
4834 if (temp2)
4835 delete arg2;
4836 }
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxListBox *arg1 = (wxListBox *) 0 ;
4844 wxArrayString *arg2 = 0 ;
4845 int arg3 ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self",(char *) "items",(char *) "pos", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4854 {
4855 if (! PySequence_Check(obj1)) {
4856 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4857 SWIG_fail;
4858 }
4859 arg2 = new wxArrayString;
4860 int i, len=PySequence_Length(obj1);
4861 for (i=0; i<len; i++) {
4862 PyObject* item = PySequence_GetItem(obj1, i);
4863 #if wxUSE_UNICODE
4864 PyObject* str = PyObject_Unicode(item);
4865 #else
4866 PyObject* str = PyObject_Str(item);
4867 #endif
4868 arg2->Add(Py2wxString(str));
4869 Py_DECREF(item);
4870 Py_DECREF(str);
4871 }
4872 }
4873 {
4874 PyThreadState* __tstate = wxPyBeginAllowThreads();
4875 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4876
4877 wxPyEndAllowThreads(__tstate);
4878 if (PyErr_Occurred()) SWIG_fail;
4879 }
4880 Py_INCREF(Py_None); resultobj = Py_None;
4881 {
4882 if (arg2) delete arg2;
4883 }
4884 return resultobj;
4885 fail:
4886 {
4887 if (arg2) delete arg2;
4888 }
4889 return NULL;
4890 }
4891
4892
4893 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj;
4895 wxListBox *arg1 = (wxListBox *) 0 ;
4896 wxArrayString *arg2 = 0 ;
4897 PyObject * obj0 = 0 ;
4898 PyObject * obj1 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "items", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4905 {
4906 if (! PySequence_Check(obj1)) {
4907 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4908 SWIG_fail;
4909 }
4910 arg2 = new wxArrayString;
4911 int i, len=PySequence_Length(obj1);
4912 for (i=0; i<len; i++) {
4913 PyObject* item = PySequence_GetItem(obj1, i);
4914 #if wxUSE_UNICODE
4915 PyObject* str = PyObject_Unicode(item);
4916 #else
4917 PyObject* str = PyObject_Str(item);
4918 #endif
4919 arg2->Add(Py2wxString(str));
4920 Py_DECREF(item);
4921 Py_DECREF(str);
4922 }
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 (arg1)->Set((wxArrayString const &)*arg2);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 Py_INCREF(Py_None); resultobj = Py_None;
4932 {
4933 if (arg2) delete arg2;
4934 }
4935 return resultobj;
4936 fail:
4937 {
4938 if (arg2) delete arg2;
4939 }
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxListBox *arg1 = (wxListBox *) 0 ;
4947 int arg2 ;
4948 bool result;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self",(char *) "n", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 resultobj = PyInt_FromLong((long)result);
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxListBox *arg1 = (wxListBox *) 0 ;
4973 int arg2 ;
4974 bool arg3 = (bool) True ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj2 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "n",(char *) "select", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4983 if (obj2) {
4984 {
4985 arg3 = (bool) SPyObj_AsBool(obj2);
4986 if (PyErr_Occurred()) SWIG_fail;
4987 }
4988 }
4989 {
4990 PyThreadState* __tstate = wxPyBeginAllowThreads();
4991 (arg1)->SetSelection(arg2,arg3);
4992
4993 wxPyEndAllowThreads(__tstate);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 }
4996 Py_INCREF(Py_None); resultobj = Py_None;
4997 return resultobj;
4998 fail:
4999 return NULL;
5000 }
5001
5002
5003 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject *resultobj;
5005 wxListBox *arg1 = (wxListBox *) 0 ;
5006 int arg2 ;
5007 PyObject * obj0 = 0 ;
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "n", NULL
5010 };
5011
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
5013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5014 {
5015 PyThreadState* __tstate = wxPyBeginAllowThreads();
5016 (arg1)->Select(arg2);
5017
5018 wxPyEndAllowThreads(__tstate);
5019 if (PyErr_Occurred()) SWIG_fail;
5020 }
5021 Py_INCREF(Py_None); resultobj = Py_None;
5022 return resultobj;
5023 fail:
5024 return NULL;
5025 }
5026
5027
5028 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxListBox *arg1 = (wxListBox *) 0 ;
5031 int arg2 ;
5032 PyObject * obj0 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "self",(char *) "n", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
5038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 (arg1)->Deselect(arg2);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 Py_INCREF(Py_None); resultobj = Py_None;
5047 return resultobj;
5048 fail:
5049 return NULL;
5050 }
5051
5052
5053 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxListBox *arg1 = (wxListBox *) 0 ;
5056 int arg2 = (int) -1 ;
5057 PyObject * obj0 = 0 ;
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "itemToLeaveSelected", NULL
5060 };
5061
5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
5063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 (arg1)->DeselectAll(arg2);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 Py_INCREF(Py_None); resultobj = Py_None;
5072 return resultobj;
5073 fail:
5074 return NULL;
5075 }
5076
5077
5078 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj;
5080 wxListBox *arg1 = (wxListBox *) 0 ;
5081 wxString *arg2 = 0 ;
5082 bool arg3 = (bool) True ;
5083 bool result;
5084 bool temp2 = False ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 char *kwnames[] = {
5089 (char *) "self",(char *) "s",(char *) "select", NULL
5090 };
5091
5092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5094 {
5095 arg2 = wxString_in_helper(obj1);
5096 if (arg2 == NULL) SWIG_fail;
5097 temp2 = True;
5098 }
5099 if (obj2) {
5100 {
5101 arg3 = (bool) SPyObj_AsBool(obj2);
5102 if (PyErr_Occurred()) SWIG_fail;
5103 }
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 resultobj = PyInt_FromLong((long)result);
5113 {
5114 if (temp2)
5115 delete arg2;
5116 }
5117 return resultobj;
5118 fail:
5119 {
5120 if (temp2)
5121 delete arg2;
5122 }
5123 return NULL;
5124 }
5125
5126
5127 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj;
5129 wxListBox *arg1 = (wxListBox *) 0 ;
5130 PyObject *result;
5131 PyObject * obj0 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "self", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 {
5139 PyThreadState* __tstate = wxPyBeginAllowThreads();
5140 result = (PyObject *)wxListBox_GetSelections(arg1);
5141
5142 wxPyEndAllowThreads(__tstate);
5143 if (PyErr_Occurred()) SWIG_fail;
5144 }
5145 resultobj = result;
5146 return resultobj;
5147 fail:
5148 return NULL;
5149 }
5150
5151
5152 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxListBox *arg1 = (wxListBox *) 0 ;
5155 int arg2 ;
5156 PyObject * obj0 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "n", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 (arg1)->SetFirstItem(arg2);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 Py_INCREF(Py_None); resultobj = Py_None;
5171 return resultobj;
5172 fail:
5173 return NULL;
5174 }
5175
5176
5177 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5178 PyObject *resultobj;
5179 wxListBox *arg1 = (wxListBox *) 0 ;
5180 wxString *arg2 = 0 ;
5181 bool temp2 = False ;
5182 PyObject * obj0 = 0 ;
5183 PyObject * obj1 = 0 ;
5184 char *kwnames[] = {
5185 (char *) "self",(char *) "s", NULL
5186 };
5187
5188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5190 {
5191 arg2 = wxString_in_helper(obj1);
5192 if (arg2 == NULL) SWIG_fail;
5193 temp2 = True;
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
5197 (arg1)->SetFirstItem((wxString const &)*arg2);
5198
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 Py_INCREF(Py_None); resultobj = Py_None;
5203 {
5204 if (temp2)
5205 delete arg2;
5206 }
5207 return resultobj;
5208 fail:
5209 {
5210 if (temp2)
5211 delete arg2;
5212 }
5213 return NULL;
5214 }
5215
5216
5217 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5218 PyObject *resultobj;
5219 wxListBox *arg1 = (wxListBox *) 0 ;
5220 int arg2 ;
5221 PyObject * obj0 = 0 ;
5222 char *kwnames[] = {
5223 (char *) "self",(char *) "n", NULL
5224 };
5225
5226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 (arg1)->EnsureVisible(arg2);
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 Py_INCREF(Py_None); resultobj = Py_None;
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5243 PyObject *resultobj;
5244 wxListBox *arg1 = (wxListBox *) 0 ;
5245 wxString *arg2 = 0 ;
5246 bool temp2 = False ;
5247 PyObject * obj0 = 0 ;
5248 PyObject * obj1 = 0 ;
5249 char *kwnames[] = {
5250 (char *) "self",(char *) "s", NULL
5251 };
5252
5253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5255 {
5256 arg2 = wxString_in_helper(obj1);
5257 if (arg2 == NULL) SWIG_fail;
5258 temp2 = True;
5259 }
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 Py_INCREF(Py_None); resultobj = Py_None;
5268 {
5269 if (temp2)
5270 delete arg2;
5271 }
5272 return resultobj;
5273 fail:
5274 {
5275 if (temp2)
5276 delete arg2;
5277 }
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxListBox *arg1 = (wxListBox *) 0 ;
5285 bool result;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (bool)((wxListBox const *)arg1)->IsSorted();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = PyInt_FromLong((long)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5308 PyObject *obj;
5309 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5310 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5311 Py_INCREF(obj);
5312 return Py_BuildValue((char *)"");
5313 }
5314 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5315 PyObject *resultobj;
5316 wxWindow *arg1 = (wxWindow *) 0 ;
5317 int arg2 ;
5318 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5319 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5320 wxSize const &arg4_defvalue = wxDefaultSize ;
5321 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5322 int arg5 = (int) 0 ;
5323 wxString *arg6 = (wxString *) NULL ;
5324 long arg7 = (long) 0 ;
5325 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5326 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5327 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5328 wxString *arg9 = (wxString *) &arg9_defvalue ;
5329 wxCheckListBox *result;
5330 wxPoint temp3 ;
5331 wxSize temp4 ;
5332 bool temp8 = False ;
5333 PyObject * obj0 = 0 ;
5334 PyObject * obj2 = 0 ;
5335 PyObject * obj3 = 0 ;
5336 PyObject * obj4 = 0 ;
5337 PyObject * obj6 = 0 ;
5338 PyObject * obj7 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5345 if (obj2) {
5346 {
5347 arg3 = &temp3;
5348 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5349 }
5350 }
5351 if (obj3) {
5352 {
5353 arg4 = &temp4;
5354 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5355 }
5356 }
5357 if (obj4) {
5358 {
5359 arg5 = PyList_Size(obj4);
5360 arg6 = wxString_LIST_helper(obj4);
5361 if (arg6 == NULL) SWIG_fail;
5362 }
5363 }
5364 if (obj6) {
5365 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5366 if (arg8 == NULL) {
5367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5368 }
5369 }
5370 if (obj7) {
5371 {
5372 arg9 = wxString_in_helper(obj7);
5373 if (arg9 == NULL) SWIG_fail;
5374 temp8 = True;
5375 }
5376 }
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5385 {
5386 if (arg6) delete [] arg6;
5387 }
5388 {
5389 if (temp8)
5390 delete arg9;
5391 }
5392 return resultobj;
5393 fail:
5394 {
5395 if (arg6) delete [] arg6;
5396 }
5397 {
5398 if (temp8)
5399 delete arg9;
5400 }
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxCheckListBox *result;
5408 char *kwnames[] = {
5409 NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5413 {
5414 PyThreadState* __tstate = wxPyBeginAllowThreads();
5415 result = (wxCheckListBox *)new wxCheckListBox();
5416
5417 wxPyEndAllowThreads(__tstate);
5418 if (PyErr_Occurred()) SWIG_fail;
5419 }
5420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5421 return resultobj;
5422 fail:
5423 return NULL;
5424 }
5425
5426
5427 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5428 PyObject *resultobj;
5429 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5430 wxWindow *arg2 = (wxWindow *) 0 ;
5431 int arg3 ;
5432 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5433 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5434 wxSize const &arg5_defvalue = wxDefaultSize ;
5435 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5436 int arg6 = (int) 0 ;
5437 wxString *arg7 = (wxString *) NULL ;
5438 long arg8 = (long) 0 ;
5439 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5440 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5441 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5442 wxString *arg10 = (wxString *) &arg10_defvalue ;
5443 bool result;
5444 wxPoint temp4 ;
5445 wxSize temp5 ;
5446 bool temp9 = False ;
5447 PyObject * obj0 = 0 ;
5448 PyObject * obj1 = 0 ;
5449 PyObject * obj3 = 0 ;
5450 PyObject * obj4 = 0 ;
5451 PyObject * obj5 = 0 ;
5452 PyObject * obj7 = 0 ;
5453 PyObject * obj8 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5461 if (obj3) {
5462 {
5463 arg4 = &temp4;
5464 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5465 }
5466 }
5467 if (obj4) {
5468 {
5469 arg5 = &temp5;
5470 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5471 }
5472 }
5473 if (obj5) {
5474 {
5475 arg6 = PyList_Size(obj5);
5476 arg7 = wxString_LIST_helper(obj5);
5477 if (arg7 == NULL) SWIG_fail;
5478 }
5479 }
5480 if (obj7) {
5481 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5482 if (arg9 == NULL) {
5483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5484 }
5485 }
5486 if (obj8) {
5487 {
5488 arg10 = wxString_in_helper(obj8);
5489 if (arg10 == NULL) SWIG_fail;
5490 temp9 = True;
5491 }
5492 }
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5496
5497 wxPyEndAllowThreads(__tstate);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 }
5500 resultobj = PyInt_FromLong((long)result);
5501 {
5502 if (arg7) delete [] arg7;
5503 }
5504 {
5505 if (temp9)
5506 delete arg10;
5507 }
5508 return resultobj;
5509 fail:
5510 {
5511 if (arg7) delete [] arg7;
5512 }
5513 {
5514 if (temp9)
5515 delete arg10;
5516 }
5517 return NULL;
5518 }
5519
5520
5521 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5522 PyObject *resultobj;
5523 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5524 int arg2 ;
5525 bool result;
5526 PyObject * obj0 = 0 ;
5527 char *kwnames[] = {
5528 (char *) "self",(char *) "index", NULL
5529 };
5530
5531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5533 {
5534 PyThreadState* __tstate = wxPyBeginAllowThreads();
5535 result = (bool)(arg1)->IsChecked(arg2);
5536
5537 wxPyEndAllowThreads(__tstate);
5538 if (PyErr_Occurred()) SWIG_fail;
5539 }
5540 resultobj = PyInt_FromLong((long)result);
5541 return resultobj;
5542 fail:
5543 return NULL;
5544 }
5545
5546
5547 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5548 PyObject *resultobj;
5549 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5550 int arg2 ;
5551 int arg3 = (int) True ;
5552 PyObject * obj0 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "index",(char *) "check", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->Check(arg2,arg3);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570 }
5571
5572
5573 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5576 int result;
5577 PyObject * obj0 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5584 {
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (int)(arg1)->GetItemHeight();
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 resultobj = PyInt_FromLong((long)result);
5592 return resultobj;
5593 fail:
5594 return NULL;
5595 }
5596
5597
5598 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5599 PyObject *resultobj;
5600 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5601 wxPoint *arg2 = 0 ;
5602 int result;
5603 wxPoint temp2 ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "pt", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5612 {
5613 arg2 = &temp2;
5614 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 resultobj = PyInt_FromLong((long)result);
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5633 int arg2 ;
5634 int arg3 ;
5635 int result;
5636 PyObject * obj0 = 0 ;
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "x",(char *) "y", NULL
5639 };
5640
5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5643 {
5644 PyThreadState* __tstate = wxPyBeginAllowThreads();
5645 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5646
5647 wxPyEndAllowThreads(__tstate);
5648 if (PyErr_Occurred()) SWIG_fail;
5649 }
5650 resultobj = PyInt_FromLong((long)result);
5651 return resultobj;
5652 fail:
5653 return NULL;
5654 }
5655
5656
5657 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5658 PyObject *obj;
5659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5660 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5661 Py_INCREF(obj);
5662 return Py_BuildValue((char *)"");
5663 }
5664 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5665 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5666 return 1;
5667 }
5668
5669
5670 static PyObject *_wrap_TextCtrlNameStr_get() {
5671 PyObject *pyobj;
5672
5673 {
5674 #if wxUSE_UNICODE
5675 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5676 #else
5677 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5678 #endif
5679 }
5680 return pyobj;
5681 }
5682
5683
5684 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5685 PyObject *resultobj;
5686 wxTextAttr *result;
5687
5688 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 result = (wxTextAttr *)new wxTextAttr();
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5697 return resultobj;
5698 fail:
5699 return NULL;
5700 }
5701
5702
5703 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5704 PyObject *resultobj;
5705 wxColour *arg1 = 0 ;
5706 wxColour const &arg2_defvalue = wxNullColour ;
5707 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5708 wxFont const &arg3_defvalue = wxNullFont ;
5709 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5710 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5711 wxTextAttr *result;
5712 wxColour temp1 ;
5713 wxColour temp2 ;
5714 PyObject * obj0 = 0 ;
5715 PyObject * obj1 = 0 ;
5716 PyObject * obj2 = 0 ;
5717
5718 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5719 {
5720 arg1 = &temp1;
5721 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5722 }
5723 if (obj1) {
5724 {
5725 arg2 = &temp2;
5726 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5727 }
5728 }
5729 if (obj2) {
5730 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 if (arg3 == NULL) {
5732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5733 }
5734 }
5735 {
5736 PyThreadState* __tstate = wxPyBeginAllowThreads();
5737 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5738
5739 wxPyEndAllowThreads(__tstate);
5740 if (PyErr_Occurred()) SWIG_fail;
5741 }
5742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5743 return resultobj;
5744 fail:
5745 return NULL;
5746 }
5747
5748
5749 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5750 int argc;
5751 PyObject *argv[5];
5752 int ii;
5753
5754 argc = PyObject_Length(args);
5755 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5756 argv[ii] = PyTuple_GetItem(args,ii);
5757 }
5758 if (argc == 0) {
5759 return _wrap_new_TextAttr__SWIG_0(self,args);
5760 }
5761 if ((argc >= 1) && (argc <= 4)) {
5762 int _v;
5763 {
5764 _v = wxColour_typecheck(argv[0]);
5765 }
5766 if (_v) {
5767 if (argc <= 1) {
5768 return _wrap_new_TextAttr__SWIG_1(self,args);
5769 }
5770 {
5771 _v = wxColour_typecheck(argv[1]);
5772 }
5773 if (_v) {
5774 if (argc <= 2) {
5775 return _wrap_new_TextAttr__SWIG_1(self,args);
5776 }
5777 {
5778 void *ptr;
5779 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5780 _v = 0;
5781 PyErr_Clear();
5782 } else {
5783 _v = 1;
5784 }
5785 }
5786 if (_v) {
5787 if (argc <= 3) {
5788 return _wrap_new_TextAttr__SWIG_1(self,args);
5789 }
5790 return _wrap_new_TextAttr__SWIG_1(self,args);
5791 }
5792 }
5793 }
5794 }
5795
5796 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 (arg1)->Init();
5814
5815 wxPyEndAllowThreads(__tstate);
5816 if (PyErr_Occurred()) SWIG_fail;
5817 }
5818 Py_INCREF(Py_None); resultobj = Py_None;
5819 return resultobj;
5820 fail:
5821 return NULL;
5822 }
5823
5824
5825 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5826 PyObject *resultobj;
5827 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5828 wxColour *arg2 = 0 ;
5829 wxColour temp2 ;
5830 PyObject * obj0 = 0 ;
5831 PyObject * obj1 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self",(char *) "colText", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 arg2 = &temp2;
5840 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5841 }
5842 {
5843 PyThreadState* __tstate = wxPyBeginAllowThreads();
5844 (arg1)->SetTextColour((wxColour const &)*arg2);
5845
5846 wxPyEndAllowThreads(__tstate);
5847 if (PyErr_Occurred()) SWIG_fail;
5848 }
5849 Py_INCREF(Py_None); resultobj = Py_None;
5850 return resultobj;
5851 fail:
5852 return NULL;
5853 }
5854
5855
5856 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5857 PyObject *resultobj;
5858 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5859 wxColour *arg2 = 0 ;
5860 wxColour temp2 ;
5861 PyObject * obj0 = 0 ;
5862 PyObject * obj1 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self",(char *) "colBack", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5869 {
5870 arg2 = &temp2;
5871 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 Py_INCREF(Py_None); resultobj = Py_None;
5881 return resultobj;
5882 fail:
5883 return NULL;
5884 }
5885
5886
5887 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5890 wxFont *arg2 = 0 ;
5891 long arg3 = (long) wxTEXT_ATTR_FONT ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self",(char *) "font",(char *) "flags", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 if (arg2 == NULL) {
5902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5903 }
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
5911 Py_INCREF(Py_None); resultobj = Py_None;
5912 return resultobj;
5913 fail:
5914 return NULL;
5915 }
5916
5917
5918 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5921 int arg2 ;
5922 PyObject * obj0 = 0 ;
5923 char *kwnames[] = {
5924 (char *) "self",(char *) "alignment", NULL
5925 };
5926
5927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5929 {
5930 PyThreadState* __tstate = wxPyBeginAllowThreads();
5931 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 Py_INCREF(Py_None); resultobj = Py_None;
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5946 wxArrayInt *arg2 = 0 ;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char *kwnames[] = {
5950 (char *) "self",(char *) "tabs", NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5955 {
5956 if (! PySequence_Check(obj1)) {
5957 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5958 SWIG_fail;
5959 }
5960 arg2 = new wxArrayInt;
5961 int i, len=PySequence_Length(obj1);
5962 for (i=0; i<len; i++) {
5963 PyObject* item = PySequence_GetItem(obj1, i);
5964 PyObject* number = PyNumber_Int(item);
5965 arg2->Add(PyInt_AS_LONG(number));
5966 Py_DECREF(item);
5967 Py_DECREF(number);
5968 }
5969 }
5970 {
5971 PyThreadState* __tstate = wxPyBeginAllowThreads();
5972 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 Py_INCREF(Py_None); resultobj = Py_None;
5978 {
5979 if (arg2) delete arg2;
5980 }
5981 return resultobj;
5982 fail:
5983 {
5984 if (arg2) delete arg2;
5985 }
5986 return NULL;
5987 }
5988
5989
5990 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5993 int arg2 ;
5994 PyObject * obj0 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self",(char *) "indent", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
6000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 (arg1)->SetLeftIndent(arg2);
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 Py_INCREF(Py_None); resultobj = Py_None;
6009 return resultobj;
6010 fail:
6011 return NULL;
6012 }
6013
6014
6015 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6016 PyObject *resultobj;
6017 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6018 int arg2 ;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self",(char *) "indent", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->SetRightIndent(arg2);
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 Py_INCREF(Py_None); resultobj = Py_None;
6034 return resultobj;
6035 fail:
6036 return NULL;
6037 }
6038
6039
6040 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6043 long arg2 ;
6044 PyObject * obj0 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self",(char *) "flags", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 (arg1)->SetFlags(arg2);
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 Py_INCREF(Py_None); resultobj = Py_None;
6059 return resultobj;
6060 fail:
6061 return NULL;
6062 }
6063
6064
6065 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6068 bool result;
6069 PyObject * obj0 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 resultobj = PyInt_FromLong((long)result);
6084 return resultobj;
6085 fail:
6086 return NULL;
6087 }
6088
6089
6090 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6093 bool result;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 resultobj = PyInt_FromLong((long)result);
6109 return resultobj;
6110 fail:
6111 return NULL;
6112 }
6113
6114
6115 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6118 bool result;
6119 PyObject * obj0 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = PyInt_FromLong((long)result);
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6143 bool result;
6144 PyObject * obj0 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "self", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 resultobj = PyInt_FromLong((long)result);
6159 return resultobj;
6160 fail:
6161 return NULL;
6162 }
6163
6164
6165 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6168 bool result;
6169 PyObject * obj0 = 0 ;
6170 char *kwnames[] = {
6171 (char *) "self", NULL
6172 };
6173
6174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 resultobj = PyInt_FromLong((long)result);
6184 return resultobj;
6185 fail:
6186 return NULL;
6187 }
6188
6189
6190 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6191 PyObject *resultobj;
6192 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6193 bool result;
6194 PyObject * obj0 = 0 ;
6195 char *kwnames[] = {
6196 (char *) "self", NULL
6197 };
6198
6199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6201 {
6202 PyThreadState* __tstate = wxPyBeginAllowThreads();
6203 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6204
6205 wxPyEndAllowThreads(__tstate);
6206 if (PyErr_Occurred()) SWIG_fail;
6207 }
6208 resultobj = PyInt_FromLong((long)result);
6209 return resultobj;
6210 fail:
6211 return NULL;
6212 }
6213
6214
6215 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6218 bool result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 resultobj = PyInt_FromLong((long)result);
6234 return resultobj;
6235 fail:
6236 return NULL;
6237 }
6238
6239
6240 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6243 long arg2 ;
6244 bool result;
6245 PyObject * obj0 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "flag", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = PyInt_FromLong((long)result);
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6269 wxColour *result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 {
6280 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6281 result = (wxColour *) &_result_ref;
6282 }
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6297 wxColour *result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 {
6308 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6309 result = (wxColour *) &_result_ref;
6310 }
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6325 wxFont *result;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 {
6336 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6337 result = (wxFont *) &_result_ref;
6338 }
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6344 return resultobj;
6345 fail:
6346 return NULL;
6347 }
6348
6349
6350 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6351 PyObject *resultobj;
6352 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6353 int result;
6354 PyObject * obj0 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = PyInt_FromLong((long)result);
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj;
6377 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6378 wxArrayInt *result;
6379 PyObject * obj0 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 {
6389 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6390 result = (wxArrayInt *) &_result_ref;
6391 }
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 {
6397 resultobj = PyList_New(0);
6398 size_t idx;
6399 for (idx = 0; idx < result->GetCount(); idx += 1) {
6400 PyObject* val = PyInt_FromLong( result->Item(idx) );
6401 PyList_Append(resultobj, val);
6402 Py_DECREF(val);
6403 }
6404 }
6405 return resultobj;
6406 fail:
6407 return NULL;
6408 }
6409
6410
6411 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6412 PyObject *resultobj;
6413 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6414 long result;
6415 PyObject * obj0 = 0 ;
6416 char *kwnames[] = {
6417 (char *) "self", NULL
6418 };
6419
6420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
6429 resultobj = PyInt_FromLong((long)result);
6430 return resultobj;
6431 fail:
6432 return NULL;
6433 }
6434
6435
6436 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6437 PyObject *resultobj;
6438 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6439 long result;
6440 PyObject * obj0 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self", NULL
6443 };
6444
6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6447 {
6448 PyThreadState* __tstate = wxPyBeginAllowThreads();
6449 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6450
6451 wxPyEndAllowThreads(__tstate);
6452 if (PyErr_Occurred()) SWIG_fail;
6453 }
6454 resultobj = PyInt_FromLong((long)result);
6455 return resultobj;
6456 fail:
6457 return NULL;
6458 }
6459
6460
6461 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6462 PyObject *resultobj;
6463 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6464 long result;
6465 PyObject * obj0 = 0 ;
6466 char *kwnames[] = {
6467 (char *) "self", NULL
6468 };
6469
6470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6475
6476 wxPyEndAllowThreads(__tstate);
6477 if (PyErr_Occurred()) SWIG_fail;
6478 }
6479 resultobj = PyInt_FromLong((long)result);
6480 return resultobj;
6481 fail:
6482 return NULL;
6483 }
6484
6485
6486 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6487 PyObject *resultobj;
6488 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6489 bool result;
6490 PyObject * obj0 = 0 ;
6491 char *kwnames[] = {
6492 (char *) "self", NULL
6493 };
6494
6495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 resultobj = PyInt_FromLong((long)result);
6505 return resultobj;
6506 fail:
6507 return NULL;
6508 }
6509
6510
6511 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 wxTextAttr *arg1 = 0 ;
6514 wxTextAttr *arg2 = 0 ;
6515 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6516 wxTextAttr result;
6517 PyObject * obj0 = 0 ;
6518 PyObject * obj1 = 0 ;
6519 PyObject * obj2 = 0 ;
6520 char *kwnames[] = {
6521 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6522 };
6523
6524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6526 if (arg1 == NULL) {
6527 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6528 }
6529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6530 if (arg2 == NULL) {
6531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6532 }
6533 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 {
6542 wxTextAttr * resultptr;
6543 resultptr = new wxTextAttr((wxTextAttr &) result);
6544 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6545 }
6546 return resultobj;
6547 fail:
6548 return NULL;
6549 }
6550
6551
6552 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6553 PyObject *obj;
6554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6555 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6556 Py_INCREF(obj);
6557 return Py_BuildValue((char *)"");
6558 }
6559 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxWindow *arg1 = (wxWindow *) 0 ;
6562 int arg2 ;
6563 wxString const &arg3_defvalue = wxPyEmptyString ;
6564 wxString *arg3 = (wxString *) &arg3_defvalue ;
6565 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6566 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6567 wxSize const &arg5_defvalue = wxDefaultSize ;
6568 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6569 long arg6 = (long) 0 ;
6570 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6571 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6572 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6573 wxString *arg8 = (wxString *) &arg8_defvalue ;
6574 wxTextCtrl *result;
6575 bool temp3 = False ;
6576 wxPoint temp4 ;
6577 wxSize temp5 ;
6578 bool temp8 = False ;
6579 PyObject * obj0 = 0 ;
6580 PyObject * obj2 = 0 ;
6581 PyObject * obj3 = 0 ;
6582 PyObject * obj4 = 0 ;
6583 PyObject * obj6 = 0 ;
6584 PyObject * obj7 = 0 ;
6585 char *kwnames[] = {
6586 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6587 };
6588
6589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6591 if (obj2) {
6592 {
6593 arg3 = wxString_in_helper(obj2);
6594 if (arg3 == NULL) SWIG_fail;
6595 temp3 = True;
6596 }
6597 }
6598 if (obj3) {
6599 {
6600 arg4 = &temp4;
6601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6602 }
6603 }
6604 if (obj4) {
6605 {
6606 arg5 = &temp5;
6607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6608 }
6609 }
6610 if (obj6) {
6611 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6612 if (arg7 == NULL) {
6613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6614 }
6615 }
6616 if (obj7) {
6617 {
6618 arg8 = wxString_in_helper(obj7);
6619 if (arg8 == NULL) SWIG_fail;
6620 temp8 = True;
6621 }
6622 }
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 {
6631 resultobj = wxPyMake_wxObject(result);
6632 }
6633 {
6634 if (temp3)
6635 delete arg3;
6636 }
6637 {
6638 if (temp8)
6639 delete arg8;
6640 }
6641 return resultobj;
6642 fail:
6643 {
6644 if (temp3)
6645 delete arg3;
6646 }
6647 {
6648 if (temp8)
6649 delete arg8;
6650 }
6651 return NULL;
6652 }
6653
6654
6655 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6656 PyObject *resultobj;
6657 wxTextCtrl *result;
6658 char *kwnames[] = {
6659 NULL
6660 };
6661
6662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6663 {
6664 PyThreadState* __tstate = wxPyBeginAllowThreads();
6665 result = (wxTextCtrl *)new wxTextCtrl();
6666
6667 wxPyEndAllowThreads(__tstate);
6668 if (PyErr_Occurred()) SWIG_fail;
6669 }
6670 {
6671 resultobj = wxPyMake_wxObject(result);
6672 }
6673 return resultobj;
6674 fail:
6675 return NULL;
6676 }
6677
6678
6679 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6682 wxWindow *arg2 = (wxWindow *) 0 ;
6683 int arg3 ;
6684 wxString const &arg4_defvalue = wxPyEmptyString ;
6685 wxString *arg4 = (wxString *) &arg4_defvalue ;
6686 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6687 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6688 wxSize const &arg6_defvalue = wxDefaultSize ;
6689 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6690 long arg7 = (long) 0 ;
6691 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6692 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6693 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6694 wxString *arg9 = (wxString *) &arg9_defvalue ;
6695 bool result;
6696 bool temp4 = False ;
6697 wxPoint temp5 ;
6698 wxSize temp6 ;
6699 bool temp9 = False ;
6700 PyObject * obj0 = 0 ;
6701 PyObject * obj1 = 0 ;
6702 PyObject * obj3 = 0 ;
6703 PyObject * obj4 = 0 ;
6704 PyObject * obj5 = 0 ;
6705 PyObject * obj7 = 0 ;
6706 PyObject * obj8 = 0 ;
6707 char *kwnames[] = {
6708 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6709 };
6710
6711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 if (obj3) {
6715 {
6716 arg4 = wxString_in_helper(obj3);
6717 if (arg4 == NULL) SWIG_fail;
6718 temp4 = True;
6719 }
6720 }
6721 if (obj4) {
6722 {
6723 arg5 = &temp5;
6724 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6725 }
6726 }
6727 if (obj5) {
6728 {
6729 arg6 = &temp6;
6730 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6731 }
6732 }
6733 if (obj7) {
6734 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6735 if (arg8 == NULL) {
6736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6737 }
6738 }
6739 if (obj8) {
6740 {
6741 arg9 = wxString_in_helper(obj8);
6742 if (arg9 == NULL) SWIG_fail;
6743 temp9 = True;
6744 }
6745 }
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 resultobj = PyInt_FromLong((long)result);
6754 {
6755 if (temp4)
6756 delete arg4;
6757 }
6758 {
6759 if (temp9)
6760 delete arg9;
6761 }
6762 return resultobj;
6763 fail:
6764 {
6765 if (temp4)
6766 delete arg4;
6767 }
6768 {
6769 if (temp9)
6770 delete arg9;
6771 }
6772 return NULL;
6773 }
6774
6775
6776 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6779 wxString result;
6780 PyObject * obj0 = 0 ;
6781 char *kwnames[] = {
6782 (char *) "self", NULL
6783 };
6784
6785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6787 {
6788 PyThreadState* __tstate = wxPyBeginAllowThreads();
6789 result = ((wxTextCtrl const *)arg1)->GetValue();
6790
6791 wxPyEndAllowThreads(__tstate);
6792 if (PyErr_Occurred()) SWIG_fail;
6793 }
6794 {
6795 #if wxUSE_UNICODE
6796 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6797 #else
6798 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6799 #endif
6800 }
6801 return resultobj;
6802 fail:
6803 return NULL;
6804 }
6805
6806
6807 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6810 wxString *arg2 = 0 ;
6811 bool temp2 = False ;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self",(char *) "value", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 {
6821 arg2 = wxString_in_helper(obj1);
6822 if (arg2 == NULL) SWIG_fail;
6823 temp2 = True;
6824 }
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 (arg1)->SetValue((wxString const &)*arg2);
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 Py_INCREF(Py_None); resultobj = Py_None;
6833 {
6834 if (temp2)
6835 delete arg2;
6836 }
6837 return resultobj;
6838 fail:
6839 {
6840 if (temp2)
6841 delete arg2;
6842 }
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6850 long arg2 ;
6851 long arg3 ;
6852 wxString result;
6853 PyObject * obj0 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self",(char *) "from",(char *) "to", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6860 {
6861 PyThreadState* __tstate = wxPyBeginAllowThreads();
6862 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6863
6864 wxPyEndAllowThreads(__tstate);
6865 if (PyErr_Occurred()) SWIG_fail;
6866 }
6867 {
6868 #if wxUSE_UNICODE
6869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6870 #else
6871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6872 #endif
6873 }
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6881 PyObject *resultobj;
6882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6883 long arg2 ;
6884 int result;
6885 PyObject * obj0 = 0 ;
6886 char *kwnames[] = {
6887 (char *) "self",(char *) "lineNo", NULL
6888 };
6889
6890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = PyInt_FromLong((long)result);
6900 return resultobj;
6901 fail:
6902 return NULL;
6903 }
6904
6905
6906 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6907 PyObject *resultobj;
6908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6909 long arg2 ;
6910 wxString result;
6911 PyObject * obj0 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "lineNo", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6918 {
6919 PyThreadState* __tstate = wxPyBeginAllowThreads();
6920 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6921
6922 wxPyEndAllowThreads(__tstate);
6923 if (PyErr_Occurred()) SWIG_fail;
6924 }
6925 {
6926 #if wxUSE_UNICODE
6927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6928 #else
6929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6930 #endif
6931 }
6932 return resultobj;
6933 fail:
6934 return NULL;
6935 }
6936
6937
6938 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6941 int result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = PyInt_FromLong((long)result);
6957 return resultobj;
6958 fail:
6959 return NULL;
6960 }
6961
6962
6963 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6966 bool result;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = PyInt_FromLong((long)result);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985 }
6986
6987
6988 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6991 bool result;
6992 PyObject * obj0 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = PyInt_FromLong((long)result);
7007 return resultobj;
7008 fail:
7009 return NULL;
7010 }
7011
7012
7013 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj;
7015 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7016 bool result;
7017 PyObject * obj0 = 0 ;
7018 char *kwnames[] = {
7019 (char *) "self", NULL
7020 };
7021
7022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7024 {
7025 PyThreadState* __tstate = wxPyBeginAllowThreads();
7026 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7027
7028 wxPyEndAllowThreads(__tstate);
7029 if (PyErr_Occurred()) SWIG_fail;
7030 }
7031 resultobj = PyInt_FromLong((long)result);
7032 return resultobj;
7033 fail:
7034 return NULL;
7035 }
7036
7037
7038 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7039 PyObject *resultobj;
7040 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7041 bool result;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 resultobj = PyInt_FromLong((long)result);
7057 return resultobj;
7058 fail:
7059 return NULL;
7060 }
7061
7062
7063 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj;
7065 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7066 long *arg2 = (long *) 0 ;
7067 long *arg3 = (long *) 0 ;
7068 long temp2 ;
7069 long temp3 ;
7070 PyObject * obj0 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "self", NULL
7073 };
7074
7075 arg2 = &temp2;
7076 arg3 = &temp3;
7077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7079 {
7080 PyThreadState* __tstate = wxPyBeginAllowThreads();
7081 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7082
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 Py_INCREF(Py_None); resultobj = Py_None;
7087 {
7088 PyObject *o = PyInt_FromLong((long) (*arg2));
7089 resultobj = t_output_helper(resultobj,o);
7090 }
7091 {
7092 PyObject *o = PyInt_FromLong((long) (*arg3));
7093 resultobj = t_output_helper(resultobj,o);
7094 }
7095 return resultobj;
7096 fail:
7097 return NULL;
7098 }
7099
7100
7101 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj;
7103 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7104 wxString result;
7105 PyObject * obj0 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 {
7120 #if wxUSE_UNICODE
7121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7122 #else
7123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7124 #endif
7125 }
7126 return resultobj;
7127 fail:
7128 return NULL;
7129 }
7130
7131
7132 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7135 PyObject * obj0 = 0 ;
7136 char *kwnames[] = {
7137 (char *) "self", NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
7144 (arg1)->Clear();
7145
7146 wxPyEndAllowThreads(__tstate);
7147 if (PyErr_Occurred()) SWIG_fail;
7148 }
7149 Py_INCREF(Py_None); resultobj = Py_None;
7150 return resultobj;
7151 fail:
7152 return NULL;
7153 }
7154
7155
7156 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7157 PyObject *resultobj;
7158 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7159 long arg2 ;
7160 long arg3 ;
7161 wxString *arg4 = 0 ;
7162 bool temp4 = False ;
7163 PyObject * obj0 = 0 ;
7164 PyObject * obj3 = 0 ;
7165 char *kwnames[] = {
7166 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7167 };
7168
7169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7171 {
7172 arg4 = wxString_in_helper(obj3);
7173 if (arg4 == NULL) SWIG_fail;
7174 temp4 = True;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 {
7185 if (temp4)
7186 delete arg4;
7187 }
7188 return resultobj;
7189 fail:
7190 {
7191 if (temp4)
7192 delete arg4;
7193 }
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7201 long arg2 ;
7202 long arg3 ;
7203 PyObject * obj0 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "from",(char *) "to", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 (arg1)->Remove(arg2,arg3);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 Py_INCREF(Py_None); resultobj = Py_None;
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7227 wxString *arg2 = 0 ;
7228 bool result;
7229 bool temp2 = False ;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "file", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 {
7239 arg2 = wxString_in_helper(obj1);
7240 if (arg2 == NULL) SWIG_fail;
7241 temp2 = True;
7242 }
7243 {
7244 PyThreadState* __tstate = wxPyBeginAllowThreads();
7245 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7246
7247 wxPyEndAllowThreads(__tstate);
7248 if (PyErr_Occurred()) SWIG_fail;
7249 }
7250 resultobj = PyInt_FromLong((long)result);
7251 {
7252 if (temp2)
7253 delete arg2;
7254 }
7255 return resultobj;
7256 fail:
7257 {
7258 if (temp2)
7259 delete arg2;
7260 }
7261 return NULL;
7262 }
7263
7264
7265 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7266 PyObject *resultobj;
7267 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7268 wxString const &arg2_defvalue = wxPyEmptyString ;
7269 wxString *arg2 = (wxString *) &arg2_defvalue ;
7270 bool result;
7271 bool temp2 = False ;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 char *kwnames[] = {
7275 (char *) "self",(char *) "file", NULL
7276 };
7277
7278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7280 if (obj1) {
7281 {
7282 arg2 = wxString_in_helper(obj1);
7283 if (arg2 == NULL) SWIG_fail;
7284 temp2 = True;
7285 }
7286 }
7287 {
7288 PyThreadState* __tstate = wxPyBeginAllowThreads();
7289 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7290
7291 wxPyEndAllowThreads(__tstate);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 resultobj = PyInt_FromLong((long)result);
7295 {
7296 if (temp2)
7297 delete arg2;
7298 }
7299 return resultobj;
7300 fail:
7301 {
7302 if (temp2)
7303 delete arg2;
7304 }
7305 return NULL;
7306 }
7307
7308
7309 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7312 PyObject * obj0 = 0 ;
7313 char *kwnames[] = {
7314 (char *) "self", NULL
7315 };
7316
7317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 (arg1)->MarkDirty();
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 Py_INCREF(Py_None); resultobj = Py_None;
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7336 PyObject * obj0 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7343 {
7344 PyThreadState* __tstate = wxPyBeginAllowThreads();
7345 (arg1)->DiscardEdits();
7346
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 Py_INCREF(Py_None); resultobj = Py_None;
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj;
7359 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7360 unsigned long arg2 ;
7361 PyObject * obj0 = 0 ;
7362 PyObject * obj1 = 0 ;
7363 char *kwnames[] = {
7364 (char *) "self",(char *) "len", NULL
7365 };
7366
7367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7369 {
7370 arg2 = (unsigned long) SPyObj_AsUnsignedLong(obj1);
7371 if (PyErr_Occurred()) SWIG_fail;
7372 }
7373 {
7374 PyThreadState* __tstate = wxPyBeginAllowThreads();
7375 (arg1)->SetMaxLength(arg2);
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_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7388 PyObject *resultobj;
7389 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7390 wxString *arg2 = 0 ;
7391 bool temp2 = False ;
7392 PyObject * obj0 = 0 ;
7393 PyObject * obj1 = 0 ;
7394 char *kwnames[] = {
7395 (char *) "self",(char *) "text", NULL
7396 };
7397
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7400 {
7401 arg2 = wxString_in_helper(obj1);
7402 if (arg2 == NULL) SWIG_fail;
7403 temp2 = True;
7404 }
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 (arg1)->WriteText((wxString const &)*arg2);
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 Py_INCREF(Py_None); resultobj = Py_None;
7413 {
7414 if (temp2)
7415 delete arg2;
7416 }
7417 return resultobj;
7418 fail:
7419 {
7420 if (temp2)
7421 delete arg2;
7422 }
7423 return NULL;
7424 }
7425
7426
7427 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7428 PyObject *resultobj;
7429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7430 wxString *arg2 = 0 ;
7431 bool temp2 = False ;
7432 PyObject * obj0 = 0 ;
7433 PyObject * obj1 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self",(char *) "text", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7440 {
7441 arg2 = wxString_in_helper(obj1);
7442 if (arg2 == NULL) SWIG_fail;
7443 temp2 = True;
7444 }
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 (arg1)->AppendText((wxString const &)*arg2);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 Py_INCREF(Py_None); resultobj = Py_None;
7453 {
7454 if (temp2)
7455 delete arg2;
7456 }
7457 return resultobj;
7458 fail:
7459 {
7460 if (temp2)
7461 delete arg2;
7462 }
7463 return NULL;
7464 }
7465
7466
7467 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7468 PyObject *resultobj;
7469 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7470 wxKeyEvent *arg2 = 0 ;
7471 bool result;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self",(char *) "event", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 if (arg2 == NULL) {
7482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7483 }
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 resultobj = PyInt_FromLong((long)result);
7492 return resultobj;
7493 fail:
7494 return NULL;
7495 }
7496
7497
7498 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7499 PyObject *resultobj;
7500 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7501 long arg2 ;
7502 long arg3 ;
7503 wxTextAttr *arg4 = 0 ;
7504 bool result;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj3 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7514 if (arg4 == NULL) {
7515 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7516 }
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 resultobj = PyInt_FromLong((long)result);
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7534 long arg2 ;
7535 wxTextAttr *arg3 = 0 ;
7536 bool result;
7537 PyObject * obj0 = 0 ;
7538 PyObject * obj2 = 0 ;
7539 char *kwnames[] = {
7540 (char *) "self",(char *) "position",(char *) "style", NULL
7541 };
7542
7543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7545 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 if (arg3 == NULL) {
7547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7548 }
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 resultobj = PyInt_FromLong((long)result);
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7566 wxTextAttr *arg2 = 0 ;
7567 bool result;
7568 PyObject * obj0 = 0 ;
7569 PyObject * obj1 = 0 ;
7570 char *kwnames[] = {
7571 (char *) "self",(char *) "style", NULL
7572 };
7573
7574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 if (arg2 == NULL) {
7578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7579 }
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = PyInt_FromLong((long)result);
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7597 wxTextAttr *result;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 {
7608 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7609 result = (wxTextAttr *) &_result_ref;
7610 }
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7625 long arg2 ;
7626 long arg3 ;
7627 long result;
7628 PyObject * obj0 = 0 ;
7629 char *kwnames[] = {
7630 (char *) "self",(char *) "x",(char *) "y", NULL
7631 };
7632
7633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7635 {
7636 PyThreadState* __tstate = wxPyBeginAllowThreads();
7637 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7638
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = PyInt_FromLong((long)result);
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj;
7651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7652 long arg2 ;
7653 long *arg3 = (long *) 0 ;
7654 long *arg4 = (long *) 0 ;
7655 long temp3 ;
7656 long temp4 ;
7657 PyObject * obj0 = 0 ;
7658 char *kwnames[] = {
7659 (char *) "self",(char *) "pos", NULL
7660 };
7661
7662 arg3 = &temp3;
7663 arg4 = &temp4;
7664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7666 {
7667 PyThreadState* __tstate = wxPyBeginAllowThreads();
7668 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7669
7670 wxPyEndAllowThreads(__tstate);
7671 if (PyErr_Occurred()) SWIG_fail;
7672 }
7673 Py_INCREF(Py_None); resultobj = Py_None;
7674 {
7675 PyObject *o = PyInt_FromLong((long) (*arg3));
7676 resultobj = t_output_helper(resultobj,o);
7677 }
7678 {
7679 PyObject *o = PyInt_FromLong((long) (*arg4));
7680 resultobj = t_output_helper(resultobj,o);
7681 }
7682 return resultobj;
7683 fail:
7684 return NULL;
7685 }
7686
7687
7688 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7689 PyObject *resultobj;
7690 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7691 long arg2 ;
7692 PyObject * obj0 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "pos", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->ShowPosition(arg2);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7716 PyObject * obj0 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->Copy();
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 Py_INCREF(Py_None); resultobj = Py_None;
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7740 PyObject * obj0 = 0 ;
7741 char *kwnames[] = {
7742 (char *) "self", NULL
7743 };
7744
7745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7747 {
7748 PyThreadState* __tstate = wxPyBeginAllowThreads();
7749 (arg1)->Cut();
7750
7751 wxPyEndAllowThreads(__tstate);
7752 if (PyErr_Occurred()) SWIG_fail;
7753 }
7754 Py_INCREF(Py_None); resultobj = Py_None;
7755 return resultobj;
7756 fail:
7757 return NULL;
7758 }
7759
7760
7761 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7762 PyObject *resultobj;
7763 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7764 PyObject * obj0 = 0 ;
7765 char *kwnames[] = {
7766 (char *) "self", NULL
7767 };
7768
7769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7771 {
7772 PyThreadState* __tstate = wxPyBeginAllowThreads();
7773 (arg1)->Paste();
7774
7775 wxPyEndAllowThreads(__tstate);
7776 if (PyErr_Occurred()) SWIG_fail;
7777 }
7778 Py_INCREF(Py_None); resultobj = Py_None;
7779 return resultobj;
7780 fail:
7781 return NULL;
7782 }
7783
7784
7785 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7786 PyObject *resultobj;
7787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7788 bool result;
7789 PyObject * obj0 = 0 ;
7790 char *kwnames[] = {
7791 (char *) "self", NULL
7792 };
7793
7794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 resultobj = PyInt_FromLong((long)result);
7804 return resultobj;
7805 fail:
7806 return NULL;
7807 }
7808
7809
7810 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7813 bool result;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7821 {
7822 PyThreadState* __tstate = wxPyBeginAllowThreads();
7823 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7824
7825 wxPyEndAllowThreads(__tstate);
7826 if (PyErr_Occurred()) SWIG_fail;
7827 }
7828 resultobj = PyInt_FromLong((long)result);
7829 return resultobj;
7830 fail:
7831 return NULL;
7832 }
7833
7834
7835 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7838 bool result;
7839 PyObject * obj0 = 0 ;
7840 char *kwnames[] = {
7841 (char *) "self", NULL
7842 };
7843
7844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7846 {
7847 PyThreadState* __tstate = wxPyBeginAllowThreads();
7848 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7849
7850 wxPyEndAllowThreads(__tstate);
7851 if (PyErr_Occurred()) SWIG_fail;
7852 }
7853 resultobj = PyInt_FromLong((long)result);
7854 return resultobj;
7855 fail:
7856 return NULL;
7857 }
7858
7859
7860 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7861 PyObject *resultobj;
7862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7863 PyObject * obj0 = 0 ;
7864 char *kwnames[] = {
7865 (char *) "self", NULL
7866 };
7867
7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7870 {
7871 PyThreadState* __tstate = wxPyBeginAllowThreads();
7872 (arg1)->Undo();
7873
7874 wxPyEndAllowThreads(__tstate);
7875 if (PyErr_Occurred()) SWIG_fail;
7876 }
7877 Py_INCREF(Py_None); resultobj = Py_None;
7878 return resultobj;
7879 fail:
7880 return NULL;
7881 }
7882
7883
7884 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7885 PyObject *resultobj;
7886 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->Redo();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 Py_INCREF(Py_None); resultobj = Py_None;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 bool result;
7912 PyObject * obj0 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = PyInt_FromLong((long)result);
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7936 bool result;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 resultobj = PyInt_FromLong((long)result);
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7961 long arg2 ;
7962 PyObject * obj0 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "pos", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 (arg1)->SetInsertionPoint(arg2);
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 Py_INCREF(Py_None); resultobj = Py_None;
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7984 PyObject *resultobj;
7985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7993 {
7994 PyThreadState* __tstate = wxPyBeginAllowThreads();
7995 (arg1)->SetInsertionPointEnd();
7996
7997 wxPyEndAllowThreads(__tstate);
7998 if (PyErr_Occurred()) SWIG_fail;
7999 }
8000 Py_INCREF(Py_None); resultobj = Py_None;
8001 return resultobj;
8002 fail:
8003 return NULL;
8004 }
8005
8006
8007 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8008 PyObject *resultobj;
8009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8010 long result;
8011 PyObject * obj0 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8021
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 resultobj = PyInt_FromLong((long)result);
8026 return resultobj;
8027 fail:
8028 return NULL;
8029 }
8030
8031
8032 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj;
8034 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8035 long result;
8036 PyObject * obj0 = 0 ;
8037 char *kwnames[] = {
8038 (char *) "self", NULL
8039 };
8040
8041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = PyInt_FromLong((long)result);
8051 return resultobj;
8052 fail:
8053 return NULL;
8054 }
8055
8056
8057 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8058 PyObject *resultobj;
8059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8060 long arg2 ;
8061 long arg3 ;
8062 PyObject * obj0 = 0 ;
8063 char *kwnames[] = {
8064 (char *) "self",(char *) "from",(char *) "to", NULL
8065 };
8066
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
8068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8069 {
8070 PyThreadState* __tstate = wxPyBeginAllowThreads();
8071 (arg1)->SetSelection(arg2,arg3);
8072
8073 wxPyEndAllowThreads(__tstate);
8074 if (PyErr_Occurred()) SWIG_fail;
8075 }
8076 Py_INCREF(Py_None); resultobj = Py_None;
8077 return resultobj;
8078 fail:
8079 return NULL;
8080 }
8081
8082
8083 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8086 PyObject * obj0 = 0 ;
8087 char *kwnames[] = {
8088 (char *) "self", NULL
8089 };
8090
8091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 (arg1)->SelectAll();
8096
8097 wxPyEndAllowThreads(__tstate);
8098 if (PyErr_Occurred()) SWIG_fail;
8099 }
8100 Py_INCREF(Py_None); resultobj = Py_None;
8101 return resultobj;
8102 fail:
8103 return NULL;
8104 }
8105
8106
8107 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8108 PyObject *resultobj;
8109 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8110 bool arg2 ;
8111 PyObject * obj0 = 0 ;
8112 PyObject * obj1 = 0 ;
8113 char *kwnames[] = {
8114 (char *) "self",(char *) "editable", NULL
8115 };
8116
8117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 {
8120 arg2 = (bool) SPyObj_AsBool(obj1);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 {
8124 PyThreadState* __tstate = wxPyBeginAllowThreads();
8125 (arg1)->SetEditable(arg2);
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_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8138 PyObject *resultobj;
8139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8140 wxString *arg2 = 0 ;
8141 bool temp2 = False ;
8142 PyObject * obj0 = 0 ;
8143 PyObject * obj1 = 0 ;
8144 char *kwnames[] = {
8145 (char *) "self",(char *) "text", NULL
8146 };
8147
8148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8150 {
8151 arg2 = wxString_in_helper(obj1);
8152 if (arg2 == NULL) SWIG_fail;
8153 temp2 = True;
8154 }
8155 {
8156 PyThreadState* __tstate = wxPyBeginAllowThreads();
8157 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8158
8159 wxPyEndAllowThreads(__tstate);
8160 if (PyErr_Occurred()) SWIG_fail;
8161 }
8162 Py_INCREF(Py_None); resultobj = Py_None;
8163 {
8164 if (temp2)
8165 delete arg2;
8166 }
8167 return resultobj;
8168 fail:
8169 {
8170 if (temp2)
8171 delete arg2;
8172 }
8173 return NULL;
8174 }
8175
8176
8177 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8178 PyObject *resultobj;
8179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8180 long arg2 ;
8181 long arg3 ;
8182 wxString result;
8183 PyObject * obj0 = 0 ;
8184 char *kwnames[] = {
8185 (char *) "self",(char *) "from",(char *) "to", NULL
8186 };
8187
8188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 {
8198 #if wxUSE_UNICODE
8199 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8200 #else
8201 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8202 #endif
8203 }
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8211 PyObject *obj;
8212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8213 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8214 Py_INCREF(obj);
8215 return Py_BuildValue((char *)"");
8216 }
8217 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8218 PyObject *resultobj;
8219 int arg1 ;
8220 wxMouseEvent *arg2 = 0 ;
8221 long arg3 ;
8222 long arg4 ;
8223 wxTextUrlEvent *result;
8224 PyObject * obj1 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8230 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 if (arg2 == NULL) {
8232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8233 }
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8251 wxMouseEvent *result;
8252 PyObject * obj0 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 {
8262 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8263 result = (wxMouseEvent *) &_result_ref;
8264 }
8265
8266 wxPyEndAllowThreads(__tstate);
8267 if (PyErr_Occurred()) SWIG_fail;
8268 }
8269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8270 return resultobj;
8271 fail:
8272 return NULL;
8273 }
8274
8275
8276 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8277 PyObject *resultobj;
8278 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8279 long result;
8280 PyObject * obj0 = 0 ;
8281 char *kwnames[] = {
8282 (char *) "self", NULL
8283 };
8284
8285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8287 {
8288 PyThreadState* __tstate = wxPyBeginAllowThreads();
8289 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8290
8291 wxPyEndAllowThreads(__tstate);
8292 if (PyErr_Occurred()) SWIG_fail;
8293 }
8294 resultobj = PyInt_FromLong((long)result);
8295 return resultobj;
8296 fail:
8297 return NULL;
8298 }
8299
8300
8301 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8302 PyObject *resultobj;
8303 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8304 long result;
8305 PyObject * obj0 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "self", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
8319 resultobj = PyInt_FromLong((long)result);
8320 return resultobj;
8321 fail:
8322 return NULL;
8323 }
8324
8325
8326 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8327 PyObject *obj;
8328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8329 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8330 Py_INCREF(obj);
8331 return Py_BuildValue((char *)"");
8332 }
8333 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8334 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8335 return 1;
8336 }
8337
8338
8339 static PyObject *_wrap_ScrollBarNameStr_get() {
8340 PyObject *pyobj;
8341
8342 {
8343 #if wxUSE_UNICODE
8344 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8345 #else
8346 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8347 #endif
8348 }
8349 return pyobj;
8350 }
8351
8352
8353 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxWindow *arg1 = (wxWindow *) 0 ;
8356 int arg2 = (int) -1 ;
8357 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8358 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8359 wxSize const &arg4_defvalue = wxDefaultSize ;
8360 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8361 long arg5 = (long) wxSB_HORIZONTAL ;
8362 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8363 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8364 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8365 wxString *arg7 = (wxString *) &arg7_defvalue ;
8366 wxScrollBar *result;
8367 wxPoint temp3 ;
8368 wxSize temp4 ;
8369 bool temp7 = False ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj2 = 0 ;
8372 PyObject * obj3 = 0 ;
8373 PyObject * obj5 = 0 ;
8374 PyObject * obj6 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8381 if (obj2) {
8382 {
8383 arg3 = &temp3;
8384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8385 }
8386 }
8387 if (obj3) {
8388 {
8389 arg4 = &temp4;
8390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8391 }
8392 }
8393 if (obj5) {
8394 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8395 if (arg6 == NULL) {
8396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8397 }
8398 }
8399 if (obj6) {
8400 {
8401 arg7 = wxString_in_helper(obj6);
8402 if (arg7 == NULL) SWIG_fail;
8403 temp7 = True;
8404 }
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8414 {
8415 if (temp7)
8416 delete arg7;
8417 }
8418 return resultobj;
8419 fail:
8420 {
8421 if (temp7)
8422 delete arg7;
8423 }
8424 return NULL;
8425 }
8426
8427
8428 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxScrollBar *result;
8431 char *kwnames[] = {
8432 NULL
8433 };
8434
8435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (wxScrollBar *)new wxScrollBar();
8439
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8444 return resultobj;
8445 fail:
8446 return NULL;
8447 }
8448
8449
8450 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8453 wxWindow *arg2 = (wxWindow *) 0 ;
8454 int arg3 = (int) -1 ;
8455 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8456 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8457 wxSize const &arg5_defvalue = wxDefaultSize ;
8458 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8459 long arg6 = (long) wxSB_HORIZONTAL ;
8460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8462 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8463 wxString *arg8 = (wxString *) &arg8_defvalue ;
8464 bool result;
8465 wxPoint temp4 ;
8466 wxSize temp5 ;
8467 bool temp8 = False ;
8468 PyObject * obj0 = 0 ;
8469 PyObject * obj1 = 0 ;
8470 PyObject * obj3 = 0 ;
8471 PyObject * obj4 = 0 ;
8472 PyObject * obj6 = 0 ;
8473 PyObject * obj7 = 0 ;
8474 char *kwnames[] = {
8475 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8476 };
8477
8478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8481 if (obj3) {
8482 {
8483 arg4 = &temp4;
8484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8485 }
8486 }
8487 if (obj4) {
8488 {
8489 arg5 = &temp5;
8490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8491 }
8492 }
8493 if (obj6) {
8494 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 if (arg7 == NULL) {
8496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8497 }
8498 }
8499 if (obj7) {
8500 {
8501 arg8 = wxString_in_helper(obj7);
8502 if (arg8 == NULL) SWIG_fail;
8503 temp8 = True;
8504 }
8505 }
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
8513 resultobj = PyInt_FromLong((long)result);
8514 {
8515 if (temp8)
8516 delete arg8;
8517 }
8518 return resultobj;
8519 fail:
8520 {
8521 if (temp8)
8522 delete arg8;
8523 }
8524 return NULL;
8525 }
8526
8527
8528 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8531 int result;
8532 PyObject * obj0 = 0 ;
8533 char *kwnames[] = {
8534 (char *) "self", NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8542
8543 wxPyEndAllowThreads(__tstate);
8544 if (PyErr_Occurred()) SWIG_fail;
8545 }
8546 resultobj = PyInt_FromLong((long)result);
8547 return resultobj;
8548 fail:
8549 return NULL;
8550 }
8551
8552
8553 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8554 PyObject *resultobj;
8555 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8556 int result;
8557 PyObject * obj0 = 0 ;
8558 char *kwnames[] = {
8559 (char *) "self", NULL
8560 };
8561
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 resultobj = PyInt_FromLong((long)result);
8572 return resultobj;
8573 fail:
8574 return NULL;
8575 }
8576
8577
8578 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8581 int result;
8582 PyObject * obj0 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8589 {
8590 PyThreadState* __tstate = wxPyBeginAllowThreads();
8591 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8592
8593 wxPyEndAllowThreads(__tstate);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 }
8596 resultobj = PyInt_FromLong((long)result);
8597 return resultobj;
8598 fail:
8599 return NULL;
8600 }
8601
8602
8603 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8604 PyObject *resultobj;
8605 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8606 int result;
8607 PyObject * obj0 = 0 ;
8608 char *kwnames[] = {
8609 (char *) "self", NULL
8610 };
8611
8612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 result = (int)((wxScrollBar const *)arg1)->GetRange();
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 resultobj = PyInt_FromLong((long)result);
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8631 bool result;
8632 PyObject * obj0 = 0 ;
8633 char *kwnames[] = {
8634 (char *) "self", NULL
8635 };
8636
8637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8642
8643 wxPyEndAllowThreads(__tstate);
8644 if (PyErr_Occurred()) SWIG_fail;
8645 }
8646 resultobj = PyInt_FromLong((long)result);
8647 return resultobj;
8648 fail:
8649 return NULL;
8650 }
8651
8652
8653 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8654 PyObject *resultobj;
8655 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8656 int arg2 ;
8657 PyObject * obj0 = 0 ;
8658 char *kwnames[] = {
8659 (char *) "self",(char *) "viewStart", NULL
8660 };
8661
8662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 (arg1)->SetThumbPosition(arg2);
8667
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 Py_INCREF(Py_None); resultobj = Py_None;
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8679 PyObject *resultobj;
8680 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8681 int arg2 ;
8682 int arg3 ;
8683 int arg4 ;
8684 int arg5 ;
8685 bool arg6 = (bool) True ;
8686 PyObject * obj0 = 0 ;
8687 PyObject * obj5 = 0 ;
8688 char *kwnames[] = {
8689 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8690 };
8691
8692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8694 if (obj5) {
8695 {
8696 arg6 = (bool) SPyObj_AsBool(obj5);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 }
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 Py_INCREF(Py_None); resultobj = Py_None;
8708 return resultobj;
8709 fail:
8710 return NULL;
8711 }
8712
8713
8714 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8715 PyObject *obj;
8716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8717 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8718 Py_INCREF(obj);
8719 return Py_BuildValue((char *)"");
8720 }
8721 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8722 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8723 return 1;
8724 }
8725
8726
8727 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8728 PyObject *pyobj;
8729
8730 {
8731 #if wxUSE_UNICODE
8732 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8733 #else
8734 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8735 #endif
8736 }
8737 return pyobj;
8738 }
8739
8740
8741 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8742 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8743 return 1;
8744 }
8745
8746
8747 static PyObject *_wrap_SpinCtrlNameStr_get() {
8748 PyObject *pyobj;
8749
8750 {
8751 #if wxUSE_UNICODE
8752 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8753 #else
8754 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8755 #endif
8756 }
8757 return pyobj;
8758 }
8759
8760
8761 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8762 PyObject *resultobj;
8763 wxWindow *arg1 = (wxWindow *) 0 ;
8764 int arg2 = (int) -1 ;
8765 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8766 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8767 wxSize const &arg4_defvalue = wxDefaultSize ;
8768 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8769 long arg5 = (long) wxSP_HORIZONTAL ;
8770 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8771 wxString *arg6 = (wxString *) &arg6_defvalue ;
8772 wxSpinButton *result;
8773 wxPoint temp3 ;
8774 wxSize temp4 ;
8775 bool temp6 = False ;
8776 PyObject * obj0 = 0 ;
8777 PyObject * obj2 = 0 ;
8778 PyObject * obj3 = 0 ;
8779 PyObject * obj5 = 0 ;
8780 char *kwnames[] = {
8781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8782 };
8783
8784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8786 if (obj2) {
8787 {
8788 arg3 = &temp3;
8789 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8790 }
8791 }
8792 if (obj3) {
8793 {
8794 arg4 = &temp4;
8795 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8796 }
8797 }
8798 if (obj5) {
8799 {
8800 arg6 = wxString_in_helper(obj5);
8801 if (arg6 == NULL) SWIG_fail;
8802 temp6 = True;
8803 }
8804 }
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8813 {
8814 if (temp6)
8815 delete arg6;
8816 }
8817 return resultobj;
8818 fail:
8819 {
8820 if (temp6)
8821 delete arg6;
8822 }
8823 return NULL;
8824 }
8825
8826
8827 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8828 PyObject *resultobj;
8829 wxSpinButton *result;
8830 char *kwnames[] = {
8831 NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (wxSpinButton *)new wxSpinButton();
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8843 return resultobj;
8844 fail:
8845 return NULL;
8846 }
8847
8848
8849 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj;
8851 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8852 wxWindow *arg2 = (wxWindow *) 0 ;
8853 int arg3 = (int) -1 ;
8854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8856 wxSize const &arg5_defvalue = wxDefaultSize ;
8857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8858 long arg6 = (long) wxSP_HORIZONTAL ;
8859 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8860 wxString *arg7 = (wxString *) &arg7_defvalue ;
8861 bool result;
8862 wxPoint temp4 ;
8863 wxSize temp5 ;
8864 bool temp7 = False ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj3 = 0 ;
8868 PyObject * obj4 = 0 ;
8869 PyObject * obj6 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8877 if (obj3) {
8878 {
8879 arg4 = &temp4;
8880 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8881 }
8882 }
8883 if (obj4) {
8884 {
8885 arg5 = &temp5;
8886 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8887 }
8888 }
8889 if (obj6) {
8890 {
8891 arg7 = wxString_in_helper(obj6);
8892 if (arg7 == NULL) SWIG_fail;
8893 temp7 = True;
8894 }
8895 }
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 resultobj = PyInt_FromLong((long)result);
8904 {
8905 if (temp7)
8906 delete arg7;
8907 }
8908 return resultobj;
8909 fail:
8910 {
8911 if (temp7)
8912 delete arg7;
8913 }
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8921 int result;
8922 PyObject * obj0 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 result = (int)((wxSpinButton const *)arg1)->GetValue();
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = PyInt_FromLong((long)result);
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8946 int result;
8947 PyObject * obj0 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 {
8955 PyThreadState* __tstate = wxPyBeginAllowThreads();
8956 result = (int)((wxSpinButton const *)arg1)->GetMin();
8957
8958 wxPyEndAllowThreads(__tstate);
8959 if (PyErr_Occurred()) SWIG_fail;
8960 }
8961 resultobj = PyInt_FromLong((long)result);
8962 return resultobj;
8963 fail:
8964 return NULL;
8965 }
8966
8967
8968 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8969 PyObject *resultobj;
8970 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8971 int result;
8972 PyObject * obj0 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (int)((wxSpinButton const *)arg1)->GetMax();
8982
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = PyInt_FromLong((long)result);
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8996 int arg2 ;
8997 PyObject * obj0 = 0 ;
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "val", NULL
9000 };
9001
9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
9003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9004 {
9005 PyThreadState* __tstate = wxPyBeginAllowThreads();
9006 (arg1)->SetValue(arg2);
9007
9008 wxPyEndAllowThreads(__tstate);
9009 if (PyErr_Occurred()) SWIG_fail;
9010 }
9011 Py_INCREF(Py_None); resultobj = Py_None;
9012 return resultobj;
9013 fail:
9014 return NULL;
9015 }
9016
9017
9018 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9019 PyObject *resultobj;
9020 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9021 int arg2 ;
9022 PyObject * obj0 = 0 ;
9023 char *kwnames[] = {
9024 (char *) "self",(char *) "minVal", NULL
9025 };
9026
9027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
9028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9029 {
9030 PyThreadState* __tstate = wxPyBeginAllowThreads();
9031 (arg1)->SetMin(arg2);
9032
9033 wxPyEndAllowThreads(__tstate);
9034 if (PyErr_Occurred()) SWIG_fail;
9035 }
9036 Py_INCREF(Py_None); resultobj = Py_None;
9037 return resultobj;
9038 fail:
9039 return NULL;
9040 }
9041
9042
9043 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9044 PyObject *resultobj;
9045 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9046 int arg2 ;
9047 PyObject * obj0 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "maxVal", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 (arg1)->SetMax(arg2);
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 Py_INCREF(Py_None); resultobj = Py_None;
9062 return resultobj;
9063 fail:
9064 return NULL;
9065 }
9066
9067
9068 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9071 int arg2 ;
9072 int arg3 ;
9073 PyObject * obj0 = 0 ;
9074 char *kwnames[] = {
9075 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9076 };
9077
9078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 (arg1)->SetRange(arg2,arg3);
9083
9084 wxPyEndAllowThreads(__tstate);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 }
9087 Py_INCREF(Py_None); resultobj = Py_None;
9088 return resultobj;
9089 fail:
9090 return NULL;
9091 }
9092
9093
9094 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9095 PyObject *resultobj;
9096 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9097 bool result;
9098 PyObject * obj0 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self", NULL
9101 };
9102
9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9108
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 resultobj = PyInt_FromLong((long)result);
9113 return resultobj;
9114 fail:
9115 return NULL;
9116 }
9117
9118
9119 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9120 PyObject *obj;
9121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9122 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9123 Py_INCREF(obj);
9124 return Py_BuildValue((char *)"");
9125 }
9126 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxWindow *arg1 = (wxWindow *) 0 ;
9129 int arg2 = (int) -1 ;
9130 wxString const &arg3_defvalue = wxPyEmptyString ;
9131 wxString *arg3 = (wxString *) &arg3_defvalue ;
9132 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9133 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9134 wxSize const &arg5_defvalue = wxDefaultSize ;
9135 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9136 long arg6 = (long) wxSP_ARROW_KEYS ;
9137 int arg7 = (int) 0 ;
9138 int arg8 = (int) 100 ;
9139 int arg9 = (int) 0 ;
9140 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9141 wxString *arg10 = (wxString *) &arg10_defvalue ;
9142 wxSpinCtrl *result;
9143 bool temp3 = False ;
9144 wxPoint temp4 ;
9145 wxSize temp5 ;
9146 bool temp10 = False ;
9147 PyObject * obj0 = 0 ;
9148 PyObject * obj2 = 0 ;
9149 PyObject * obj3 = 0 ;
9150 PyObject * obj4 = 0 ;
9151 PyObject * obj9 = 0 ;
9152 char *kwnames[] = {
9153 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9154 };
9155
9156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9158 if (obj2) {
9159 {
9160 arg3 = wxString_in_helper(obj2);
9161 if (arg3 == NULL) SWIG_fail;
9162 temp3 = True;
9163 }
9164 }
9165 if (obj3) {
9166 {
9167 arg4 = &temp4;
9168 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9169 }
9170 }
9171 if (obj4) {
9172 {
9173 arg5 = &temp5;
9174 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9175 }
9176 }
9177 if (obj9) {
9178 {
9179 arg10 = wxString_in_helper(obj9);
9180 if (arg10 == NULL) SWIG_fail;
9181 temp10 = True;
9182 }
9183 }
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9192 {
9193 if (temp3)
9194 delete arg3;
9195 }
9196 {
9197 if (temp10)
9198 delete arg10;
9199 }
9200 return resultobj;
9201 fail:
9202 {
9203 if (temp3)
9204 delete arg3;
9205 }
9206 {
9207 if (temp10)
9208 delete arg10;
9209 }
9210 return NULL;
9211 }
9212
9213
9214 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9215 PyObject *resultobj;
9216 wxSpinCtrl *result;
9217 char *kwnames[] = {
9218 NULL
9219 };
9220
9221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9222 {
9223 PyThreadState* __tstate = wxPyBeginAllowThreads();
9224 result = (wxSpinCtrl *)new wxSpinCtrl();
9225
9226 wxPyEndAllowThreads(__tstate);
9227 if (PyErr_Occurred()) SWIG_fail;
9228 }
9229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9230 return resultobj;
9231 fail:
9232 return NULL;
9233 }
9234
9235
9236 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9237 PyObject *resultobj;
9238 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9239 wxWindow *arg2 = (wxWindow *) 0 ;
9240 int arg3 = (int) -1 ;
9241 wxString const &arg4_defvalue = wxPyEmptyString ;
9242 wxString *arg4 = (wxString *) &arg4_defvalue ;
9243 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9244 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9245 wxSize const &arg6_defvalue = wxDefaultSize ;
9246 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9247 long arg7 = (long) wxSP_ARROW_KEYS ;
9248 int arg8 = (int) 0 ;
9249 int arg9 = (int) 100 ;
9250 int arg10 = (int) 0 ;
9251 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9252 wxString *arg11 = (wxString *) &arg11_defvalue ;
9253 bool result;
9254 bool temp4 = False ;
9255 wxPoint temp5 ;
9256 wxSize temp6 ;
9257 bool temp11 = False ;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj1 = 0 ;
9260 PyObject * obj3 = 0 ;
9261 PyObject * obj4 = 0 ;
9262 PyObject * obj5 = 0 ;
9263 PyObject * obj10 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(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 *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 if (obj3) {
9272 {
9273 arg4 = wxString_in_helper(obj3);
9274 if (arg4 == NULL) SWIG_fail;
9275 temp4 = True;
9276 }
9277 }
9278 if (obj4) {
9279 {
9280 arg5 = &temp5;
9281 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9282 }
9283 }
9284 if (obj5) {
9285 {
9286 arg6 = &temp6;
9287 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9288 }
9289 }
9290 if (obj10) {
9291 {
9292 arg11 = wxString_in_helper(obj10);
9293 if (arg11 == NULL) SWIG_fail;
9294 temp11 = True;
9295 }
9296 }
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = PyInt_FromLong((long)result);
9305 {
9306 if (temp4)
9307 delete arg4;
9308 }
9309 {
9310 if (temp11)
9311 delete arg11;
9312 }
9313 return resultobj;
9314 fail:
9315 {
9316 if (temp4)
9317 delete arg4;
9318 }
9319 {
9320 if (temp11)
9321 delete arg11;
9322 }
9323 return NULL;
9324 }
9325
9326
9327 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj;
9329 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9330 int result;
9331 PyObject * obj0 = 0 ;
9332 char *kwnames[] = {
9333 (char *) "self", NULL
9334 };
9335
9336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9338 {
9339 PyThreadState* __tstate = wxPyBeginAllowThreads();
9340 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9341
9342 wxPyEndAllowThreads(__tstate);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 }
9345 resultobj = PyInt_FromLong((long)result);
9346 return resultobj;
9347 fail:
9348 return NULL;
9349 }
9350
9351
9352 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9355 int arg2 ;
9356 PyObject * obj0 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self",(char *) "value", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 (arg1)->SetValue(arg2);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 Py_INCREF(Py_None); resultobj = Py_None;
9371 return resultobj;
9372 fail:
9373 return NULL;
9374 }
9375
9376
9377 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9378 PyObject *resultobj;
9379 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9380 wxString *arg2 = 0 ;
9381 bool temp2 = False ;
9382 PyObject * obj0 = 0 ;
9383 PyObject * obj1 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self",(char *) "text", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9390 {
9391 arg2 = wxString_in_helper(obj1);
9392 if (arg2 == NULL) SWIG_fail;
9393 temp2 = True;
9394 }
9395 {
9396 PyThreadState* __tstate = wxPyBeginAllowThreads();
9397 (arg1)->SetValue((wxString const &)*arg2);
9398
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 Py_INCREF(Py_None); resultobj = Py_None;
9403 {
9404 if (temp2)
9405 delete arg2;
9406 }
9407 return resultobj;
9408 fail:
9409 {
9410 if (temp2)
9411 delete arg2;
9412 }
9413 return NULL;
9414 }
9415
9416
9417 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9420 int arg2 ;
9421 int arg3 ;
9422 PyObject * obj0 = 0 ;
9423 char *kwnames[] = {
9424 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 {
9430 PyThreadState* __tstate = wxPyBeginAllowThreads();
9431 (arg1)->SetRange(arg2,arg3);
9432
9433 wxPyEndAllowThreads(__tstate);
9434 if (PyErr_Occurred()) SWIG_fail;
9435 }
9436 Py_INCREF(Py_None); resultobj = Py_None;
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9446 int result;
9447 PyObject * obj0 = 0 ;
9448 char *kwnames[] = {
9449 (char *) "self", NULL
9450 };
9451
9452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9454 {
9455 PyThreadState* __tstate = wxPyBeginAllowThreads();
9456 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9457
9458 wxPyEndAllowThreads(__tstate);
9459 if (PyErr_Occurred()) SWIG_fail;
9460 }
9461 resultobj = PyInt_FromLong((long)result);
9462 return resultobj;
9463 fail:
9464 return NULL;
9465 }
9466
9467
9468 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9469 PyObject *resultobj;
9470 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9471 int result;
9472 PyObject * obj0 = 0 ;
9473 char *kwnames[] = {
9474 (char *) "self", NULL
9475 };
9476
9477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = PyInt_FromLong((long)result);
9487 return resultobj;
9488 fail:
9489 return NULL;
9490 }
9491
9492
9493 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9496 long arg2 ;
9497 long arg3 ;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self",(char *) "from",(char *) "to", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 (arg1)->SetSelection(arg2,arg3);
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 Py_INCREF(Py_None); resultobj = Py_None;
9513 return resultobj;
9514 fail:
9515 return NULL;
9516 }
9517
9518
9519 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9520 PyObject *obj;
9521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9522 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9523 Py_INCREF(obj);
9524 return Py_BuildValue((char *)"");
9525 }
9526 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9527 PyObject *resultobj;
9528 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9529 int arg2 = (int) 0 ;
9530 wxSpinEvent *result;
9531 char *kwnames[] = {
9532 (char *) "commandType",(char *) "winid", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
9543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9553 int result;
9554 PyObject * obj0 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9564
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = PyInt_FromLong((long)result);
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj;
9577 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9578 int arg2 ;
9579 PyObject * obj0 = 0 ;
9580 char *kwnames[] = {
9581 (char *) "self",(char *) "pos", NULL
9582 };
9583
9584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->SetPosition(arg2);
9589
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 Py_INCREF(Py_None); resultobj = Py_None;
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9601 PyObject *obj;
9602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9603 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9604 Py_INCREF(obj);
9605 return Py_BuildValue((char *)"");
9606 }
9607 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9608 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9609 return 1;
9610 }
9611
9612
9613 static PyObject *_wrap_RadioBoxNameStr_get() {
9614 PyObject *pyobj;
9615
9616 {
9617 #if wxUSE_UNICODE
9618 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9619 #else
9620 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9621 #endif
9622 }
9623 return pyobj;
9624 }
9625
9626
9627 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9628 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9629 return 1;
9630 }
9631
9632
9633 static PyObject *_wrap_RadioButtonNameStr_get() {
9634 PyObject *pyobj;
9635
9636 {
9637 #if wxUSE_UNICODE
9638 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9639 #else
9640 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9641 #endif
9642 }
9643 return pyobj;
9644 }
9645
9646
9647 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9648 PyObject *resultobj;
9649 wxWindow *arg1 = (wxWindow *) 0 ;
9650 int arg2 ;
9651 wxString *arg3 = 0 ;
9652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9654 wxSize const &arg5_defvalue = wxDefaultSize ;
9655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9656 int arg6 = (int) 0 ;
9657 wxString *arg7 = (wxString *) NULL ;
9658 int arg8 = (int) 0 ;
9659 long arg9 = (long) wxRA_HORIZONTAL ;
9660 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9661 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9662 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9663 wxString *arg11 = (wxString *) &arg11_defvalue ;
9664 wxRadioBox *result;
9665 bool temp3 = False ;
9666 wxPoint temp4 ;
9667 wxSize temp5 ;
9668 bool temp10 = False ;
9669 PyObject * obj0 = 0 ;
9670 PyObject * obj2 = 0 ;
9671 PyObject * obj3 = 0 ;
9672 PyObject * obj4 = 0 ;
9673 PyObject * obj5 = 0 ;
9674 PyObject * obj8 = 0 ;
9675 PyObject * obj9 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9682 {
9683 arg3 = wxString_in_helper(obj2);
9684 if (arg3 == NULL) SWIG_fail;
9685 temp3 = True;
9686 }
9687 if (obj3) {
9688 {
9689 arg4 = &temp4;
9690 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9691 }
9692 }
9693 if (obj4) {
9694 {
9695 arg5 = &temp5;
9696 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9697 }
9698 }
9699 if (obj5) {
9700 {
9701 arg6 = PyList_Size(obj5);
9702 arg7 = wxString_LIST_helper(obj5);
9703 if (arg7 == NULL) SWIG_fail;
9704 }
9705 }
9706 if (obj8) {
9707 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9708 if (arg10 == NULL) {
9709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9710 }
9711 }
9712 if (obj9) {
9713 {
9714 arg11 = wxString_in_helper(obj9);
9715 if (arg11 == NULL) SWIG_fail;
9716 temp10 = True;
9717 }
9718 }
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 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);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9727 {
9728 if (temp3)
9729 delete arg3;
9730 }
9731 {
9732 if (arg7) delete [] arg7;
9733 }
9734 {
9735 if (temp10)
9736 delete arg11;
9737 }
9738 return resultobj;
9739 fail:
9740 {
9741 if (temp3)
9742 delete arg3;
9743 }
9744 {
9745 if (arg7) delete [] arg7;
9746 }
9747 {
9748 if (temp10)
9749 delete arg11;
9750 }
9751 return NULL;
9752 }
9753
9754
9755 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxRadioBox *result;
9758 char *kwnames[] = {
9759 NULL
9760 };
9761
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 result = (wxRadioBox *)new wxRadioBox();
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9771 return resultobj;
9772 fail:
9773 return NULL;
9774 }
9775
9776
9777 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9780 wxWindow *arg2 = (wxWindow *) 0 ;
9781 int arg3 ;
9782 wxString *arg4 = 0 ;
9783 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9784 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9785 wxSize const &arg6_defvalue = wxDefaultSize ;
9786 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9787 int arg7 = (int) 0 ;
9788 wxString *arg8 = (wxString *) NULL ;
9789 int arg9 = (int) 0 ;
9790 long arg10 = (long) wxRA_HORIZONTAL ;
9791 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9792 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9793 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9794 wxString *arg12 = (wxString *) &arg12_defvalue ;
9795 bool result;
9796 bool temp4 = False ;
9797 wxPoint temp5 ;
9798 wxSize temp6 ;
9799 bool temp11 = False ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802 PyObject * obj3 = 0 ;
9803 PyObject * obj4 = 0 ;
9804 PyObject * obj5 = 0 ;
9805 PyObject * obj6 = 0 ;
9806 PyObject * obj9 = 0 ;
9807 PyObject * obj10 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9815 {
9816 arg4 = wxString_in_helper(obj3);
9817 if (arg4 == NULL) SWIG_fail;
9818 temp4 = True;
9819 }
9820 if (obj4) {
9821 {
9822 arg5 = &temp5;
9823 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9824 }
9825 }
9826 if (obj5) {
9827 {
9828 arg6 = &temp6;
9829 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9830 }
9831 }
9832 if (obj6) {
9833 {
9834 arg7 = PyList_Size(obj6);
9835 arg8 = wxString_LIST_helper(obj6);
9836 if (arg8 == NULL) SWIG_fail;
9837 }
9838 }
9839 if (obj9) {
9840 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9841 if (arg11 == NULL) {
9842 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9843 }
9844 }
9845 if (obj10) {
9846 {
9847 arg12 = wxString_in_helper(obj10);
9848 if (arg12 == NULL) SWIG_fail;
9849 temp11 = True;
9850 }
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 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);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = PyInt_FromLong((long)result);
9860 {
9861 if (temp4)
9862 delete arg4;
9863 }
9864 {
9865 if (arg8) delete [] arg8;
9866 }
9867 {
9868 if (temp11)
9869 delete arg12;
9870 }
9871 return resultobj;
9872 fail:
9873 {
9874 if (temp4)
9875 delete arg4;
9876 }
9877 {
9878 if (arg8) delete [] arg8;
9879 }
9880 {
9881 if (temp11)
9882 delete arg12;
9883 }
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9891 int arg2 ;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self",(char *) "n", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9899 {
9900 PyThreadState* __tstate = wxPyBeginAllowThreads();
9901 (arg1)->SetSelection(arg2);
9902
9903 wxPyEndAllowThreads(__tstate);
9904 if (PyErr_Occurred()) SWIG_fail;
9905 }
9906 Py_INCREF(Py_None); resultobj = Py_None;
9907 return resultobj;
9908 fail:
9909 return NULL;
9910 }
9911
9912
9913 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9914 PyObject *resultobj;
9915 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9916 int result;
9917 PyObject * obj0 = 0 ;
9918 char *kwnames[] = {
9919 (char *) "self", NULL
9920 };
9921
9922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 {
9925 PyThreadState* __tstate = wxPyBeginAllowThreads();
9926 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9927
9928 wxPyEndAllowThreads(__tstate);
9929 if (PyErr_Occurred()) SWIG_fail;
9930 }
9931 resultobj = PyInt_FromLong((long)result);
9932 return resultobj;
9933 fail:
9934 return NULL;
9935 }
9936
9937
9938 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9939 PyObject *resultobj;
9940 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9941 wxString result;
9942 PyObject * obj0 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9949 {
9950 PyThreadState* __tstate = wxPyBeginAllowThreads();
9951 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9952
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 {
9957 #if wxUSE_UNICODE
9958 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9959 #else
9960 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9961 #endif
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9972 wxString *arg2 = 0 ;
9973 bool result;
9974 bool temp2 = False ;
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self",(char *) "s", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9983 {
9984 arg2 = wxString_in_helper(obj1);
9985 if (arg2 == NULL) SWIG_fail;
9986 temp2 = True;
9987 }
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 resultobj = PyInt_FromLong((long)result);
9996 {
9997 if (temp2)
9998 delete arg2;
9999 }
10000 return resultobj;
10001 fail:
10002 {
10003 if (temp2)
10004 delete arg2;
10005 }
10006 return NULL;
10007 }
10008
10009
10010 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10013 int result;
10014 PyObject * obj0 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 result = (int)((wxRadioBox const *)arg1)->GetCount();
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 resultobj = PyInt_FromLong((long)result);
10029 return resultobj;
10030 fail:
10031 return NULL;
10032 }
10033
10034
10035 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10036 PyObject *resultobj;
10037 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10038 wxString *arg2 = 0 ;
10039 int result;
10040 bool temp2 = False ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char *kwnames[] = {
10044 (char *) "self",(char *) "s", NULL
10045 };
10046
10047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10049 {
10050 arg2 = wxString_in_helper(obj1);
10051 if (arg2 == NULL) SWIG_fail;
10052 temp2 = True;
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = PyInt_FromLong((long)result);
10062 {
10063 if (temp2)
10064 delete arg2;
10065 }
10066 return resultobj;
10067 fail:
10068 {
10069 if (temp2)
10070 delete arg2;
10071 }
10072 return NULL;
10073 }
10074
10075
10076 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10077 PyObject *resultobj;
10078 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10079 int arg2 ;
10080 wxString result;
10081 PyObject * obj0 = 0 ;
10082 char *kwnames[] = {
10083 (char *) "self",(char *) "n", NULL
10084 };
10085
10086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
10087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10091
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 {
10096 #if wxUSE_UNICODE
10097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10098 #else
10099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10100 #endif
10101 }
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10111 int arg2 ;
10112 wxString *arg3 = 0 ;
10113 bool temp3 = False ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj2 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "n",(char *) "label", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 {
10123 arg3 = wxString_in_helper(obj2);
10124 if (arg3 == NULL) SWIG_fail;
10125 temp3 = True;
10126 }
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 (arg1)->SetString(arg2,(wxString const &)*arg3);
10130
10131 wxPyEndAllowThreads(__tstate);
10132 if (PyErr_Occurred()) SWIG_fail;
10133 }
10134 Py_INCREF(Py_None); resultobj = Py_None;
10135 {
10136 if (temp3)
10137 delete arg3;
10138 }
10139 return resultobj;
10140 fail:
10141 {
10142 if (temp3)
10143 delete arg3;
10144 }
10145 return NULL;
10146 }
10147
10148
10149 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10150 PyObject *resultobj;
10151 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10152 int arg2 ;
10153 bool arg3 = (bool) True ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj2 = 0 ;
10156 char *kwnames[] = {
10157 (char *) "self",(char *) "n",(char *) "enable", NULL
10158 };
10159
10160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10162 if (obj2) {
10163 {
10164 arg3 = (bool) SPyObj_AsBool(obj2);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
10167 }
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 (arg1)->Enable(arg2,arg3);
10171
10172 wxPyEndAllowThreads(__tstate);
10173 if (PyErr_Occurred()) SWIG_fail;
10174 }
10175 Py_INCREF(Py_None); resultobj = Py_None;
10176 return resultobj;
10177 fail:
10178 return NULL;
10179 }
10180
10181
10182 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10183 PyObject *resultobj;
10184 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10185 int arg2 ;
10186 bool arg3 = (bool) True ;
10187 PyObject * obj0 = 0 ;
10188 PyObject * obj2 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "self",(char *) "n",(char *) "show", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10195 if (obj2) {
10196 {
10197 arg3 = (bool) SPyObj_AsBool(obj2);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 }
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 (arg1)->Show(arg2,arg3);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 Py_INCREF(Py_None); resultobj = Py_None;
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject *resultobj;
10217 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10218 int result;
10219 PyObject * obj0 = 0 ;
10220 char *kwnames[] = {
10221 (char *) "self", NULL
10222 };
10223
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
10233 resultobj = PyInt_FromLong((long)result);
10234 return resultobj;
10235 fail:
10236 return NULL;
10237 }
10238
10239
10240 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10241 PyObject *resultobj;
10242 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10243 int result;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = PyInt_FromLong((long)result);
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject *resultobj;
10267 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10268 int arg2 ;
10269 int arg3 ;
10270 long arg4 ;
10271 int result;
10272 PyObject * obj0 = 0 ;
10273 char *kwnames[] = {
10274 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10275 };
10276
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 resultobj = PyInt_FromLong((long)result);
10287 return resultobj;
10288 fail:
10289 return NULL;
10290 }
10291
10292
10293 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10294 PyObject *obj;
10295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10296 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10297 Py_INCREF(obj);
10298 return Py_BuildValue((char *)"");
10299 }
10300 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10301 PyObject *resultobj;
10302 wxWindow *arg1 = (wxWindow *) 0 ;
10303 int arg2 ;
10304 wxString *arg3 = 0 ;
10305 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10306 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10307 wxSize const &arg5_defvalue = wxDefaultSize ;
10308 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10309 long arg6 = (long) 0 ;
10310 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10311 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10312 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10313 wxString *arg8 = (wxString *) &arg8_defvalue ;
10314 wxRadioButton *result;
10315 bool temp3 = False ;
10316 wxPoint temp4 ;
10317 wxSize temp5 ;
10318 bool temp8 = False ;
10319 PyObject * obj0 = 0 ;
10320 PyObject * obj2 = 0 ;
10321 PyObject * obj3 = 0 ;
10322 PyObject * obj4 = 0 ;
10323 PyObject * obj6 = 0 ;
10324 PyObject * obj7 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 {
10332 arg3 = wxString_in_helper(obj2);
10333 if (arg3 == NULL) SWIG_fail;
10334 temp3 = True;
10335 }
10336 if (obj3) {
10337 {
10338 arg4 = &temp4;
10339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10340 }
10341 }
10342 if (obj4) {
10343 {
10344 arg5 = &temp5;
10345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10346 }
10347 }
10348 if (obj6) {
10349 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10350 if (arg7 == NULL) {
10351 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10352 }
10353 }
10354 if (obj7) {
10355 {
10356 arg8 = wxString_in_helper(obj7);
10357 if (arg8 == NULL) SWIG_fail;
10358 temp8 = True;
10359 }
10360 }
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10369 {
10370 if (temp3)
10371 delete arg3;
10372 }
10373 {
10374 if (temp8)
10375 delete arg8;
10376 }
10377 return resultobj;
10378 fail:
10379 {
10380 if (temp3)
10381 delete arg3;
10382 }
10383 {
10384 if (temp8)
10385 delete arg8;
10386 }
10387 return NULL;
10388 }
10389
10390
10391 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10392 PyObject *resultobj;
10393 wxRadioButton *result;
10394 char *kwnames[] = {
10395 NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10399 {
10400 PyThreadState* __tstate = wxPyBeginAllowThreads();
10401 result = (wxRadioButton *)new wxRadioButton();
10402
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10407 return resultobj;
10408 fail:
10409 return NULL;
10410 }
10411
10412
10413 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj;
10415 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10416 wxWindow *arg2 = (wxWindow *) 0 ;
10417 int arg3 ;
10418 wxString *arg4 = 0 ;
10419 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10420 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10421 wxSize const &arg6_defvalue = wxDefaultSize ;
10422 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10423 long arg7 = (long) 0 ;
10424 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10425 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10426 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10427 wxString *arg9 = (wxString *) &arg9_defvalue ;
10428 bool result;
10429 bool temp4 = False ;
10430 wxPoint temp5 ;
10431 wxSize temp6 ;
10432 bool temp9 = False ;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 PyObject * obj3 = 0 ;
10436 PyObject * obj4 = 0 ;
10437 PyObject * obj5 = 0 ;
10438 PyObject * obj7 = 0 ;
10439 PyObject * obj8 = 0 ;
10440 char *kwnames[] = {
10441 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10442 };
10443
10444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10447 {
10448 arg4 = wxString_in_helper(obj3);
10449 if (arg4 == NULL) SWIG_fail;
10450 temp4 = True;
10451 }
10452 if (obj4) {
10453 {
10454 arg5 = &temp5;
10455 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10456 }
10457 }
10458 if (obj5) {
10459 {
10460 arg6 = &temp6;
10461 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10462 }
10463 }
10464 if (obj7) {
10465 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10466 if (arg8 == NULL) {
10467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10468 }
10469 }
10470 if (obj8) {
10471 {
10472 arg9 = wxString_in_helper(obj8);
10473 if (arg9 == NULL) SWIG_fail;
10474 temp9 = True;
10475 }
10476 }
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 resultobj = PyInt_FromLong((long)result);
10485 {
10486 if (temp4)
10487 delete arg4;
10488 }
10489 {
10490 if (temp9)
10491 delete arg9;
10492 }
10493 return resultobj;
10494 fail:
10495 {
10496 if (temp4)
10497 delete arg4;
10498 }
10499 {
10500 if (temp9)
10501 delete arg9;
10502 }
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10510 bool result;
10511 PyObject * obj0 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 result = (bool)(arg1)->GetValue();
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 resultobj = PyInt_FromLong((long)result);
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject *resultobj;
10534 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10535 bool arg2 ;
10536 PyObject * obj0 = 0 ;
10537 PyObject * obj1 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "value", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10544 {
10545 arg2 = (bool) SPyObj_AsBool(obj1);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 {
10549 PyThreadState* __tstate = wxPyBeginAllowThreads();
10550 (arg1)->SetValue(arg2);
10551
10552 wxPyEndAllowThreads(__tstate);
10553 if (PyErr_Occurred()) SWIG_fail;
10554 }
10555 Py_INCREF(Py_None); resultobj = Py_None;
10556 return resultobj;
10557 fail:
10558 return NULL;
10559 }
10560
10561
10562 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10563 PyObject *obj;
10564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10565 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10566 Py_INCREF(obj);
10567 return Py_BuildValue((char *)"");
10568 }
10569 static int _wrap_SliderNameStr_set(PyObject *_val) {
10570 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10571 return 1;
10572 }
10573
10574
10575 static PyObject *_wrap_SliderNameStr_get() {
10576 PyObject *pyobj;
10577
10578 {
10579 #if wxUSE_UNICODE
10580 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10581 #else
10582 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10583 #endif
10584 }
10585 return pyobj;
10586 }
10587
10588
10589 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10590 PyObject *resultobj;
10591 wxWindow *arg1 = (wxWindow *) 0 ;
10592 int arg2 ;
10593 int arg3 ;
10594 int arg4 ;
10595 int arg5 ;
10596 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10597 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10598 wxSize const &arg7_defvalue = wxDefaultSize ;
10599 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10600 long arg8 = (long) wxSL_HORIZONTAL ;
10601 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10602 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10603 wxString const &arg10_defvalue = wxPySliderNameStr ;
10604 wxString *arg10 = (wxString *) &arg10_defvalue ;
10605 wxSlider *result;
10606 wxPoint temp6 ;
10607 wxSize temp7 ;
10608 bool temp10 = False ;
10609 PyObject * obj0 = 0 ;
10610 PyObject * obj5 = 0 ;
10611 PyObject * obj6 = 0 ;
10612 PyObject * obj8 = 0 ;
10613 PyObject * obj9 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10620 if (obj5) {
10621 {
10622 arg6 = &temp6;
10623 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10624 }
10625 }
10626 if (obj6) {
10627 {
10628 arg7 = &temp7;
10629 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10630 }
10631 }
10632 if (obj8) {
10633 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10634 if (arg9 == NULL) {
10635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10636 }
10637 }
10638 if (obj9) {
10639 {
10640 arg10 = wxString_in_helper(obj9);
10641 if (arg10 == NULL) SWIG_fail;
10642 temp10 = True;
10643 }
10644 }
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10653 {
10654 if (temp10)
10655 delete arg10;
10656 }
10657 return resultobj;
10658 fail:
10659 {
10660 if (temp10)
10661 delete arg10;
10662 }
10663 return NULL;
10664 }
10665
10666
10667 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj;
10669 wxSlider *result;
10670 char *kwnames[] = {
10671 NULL
10672 };
10673
10674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (wxSlider *)new wxSlider();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10683 return resultobj;
10684 fail:
10685 return NULL;
10686 }
10687
10688
10689 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj;
10691 wxSlider *arg1 = (wxSlider *) 0 ;
10692 wxWindow *arg2 = (wxWindow *) 0 ;
10693 int arg3 ;
10694 int arg4 ;
10695 int arg5 ;
10696 int arg6 ;
10697 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10698 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10699 wxSize const &arg8_defvalue = wxDefaultSize ;
10700 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10701 long arg9 = (long) wxSL_HORIZONTAL ;
10702 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10703 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10704 wxString const &arg11_defvalue = wxPySliderNameStr ;
10705 wxString *arg11 = (wxString *) &arg11_defvalue ;
10706 bool result;
10707 wxPoint temp7 ;
10708 wxSize temp8 ;
10709 bool temp11 = False ;
10710 PyObject * obj0 = 0 ;
10711 PyObject * obj1 = 0 ;
10712 PyObject * obj6 = 0 ;
10713 PyObject * obj7 = 0 ;
10714 PyObject * obj9 = 0 ;
10715 PyObject * obj10 = 0 ;
10716 char *kwnames[] = {
10717 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10718 };
10719
10720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10722 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10723 if (obj6) {
10724 {
10725 arg7 = &temp7;
10726 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10727 }
10728 }
10729 if (obj7) {
10730 {
10731 arg8 = &temp8;
10732 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10733 }
10734 }
10735 if (obj9) {
10736 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 if (arg10 == NULL) {
10738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10739 }
10740 }
10741 if (obj10) {
10742 {
10743 arg11 = wxString_in_helper(obj10);
10744 if (arg11 == NULL) SWIG_fail;
10745 temp11 = True;
10746 }
10747 }
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10751
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 resultobj = PyInt_FromLong((long)result);
10756 {
10757 if (temp11)
10758 delete arg11;
10759 }
10760 return resultobj;
10761 fail:
10762 {
10763 if (temp11)
10764 delete arg11;
10765 }
10766 return NULL;
10767 }
10768
10769
10770 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10771 PyObject *resultobj;
10772 wxSlider *arg1 = (wxSlider *) 0 ;
10773 int result;
10774 PyObject * obj0 = 0 ;
10775 char *kwnames[] = {
10776 (char *) "self", NULL
10777 };
10778
10779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10781 {
10782 PyThreadState* __tstate = wxPyBeginAllowThreads();
10783 result = (int)((wxSlider const *)arg1)->GetValue();
10784
10785 wxPyEndAllowThreads(__tstate);
10786 if (PyErr_Occurred()) SWIG_fail;
10787 }
10788 resultobj = PyInt_FromLong((long)result);
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10796 PyObject *resultobj;
10797 wxSlider *arg1 = (wxSlider *) 0 ;
10798 int arg2 ;
10799 PyObject * obj0 = 0 ;
10800 char *kwnames[] = {
10801 (char *) "self",(char *) "value", NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10806 {
10807 PyThreadState* __tstate = wxPyBeginAllowThreads();
10808 (arg1)->SetValue(arg2);
10809
10810 wxPyEndAllowThreads(__tstate);
10811 if (PyErr_Occurred()) SWIG_fail;
10812 }
10813 Py_INCREF(Py_None); resultobj = Py_None;
10814 return resultobj;
10815 fail:
10816 return NULL;
10817 }
10818
10819
10820 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10821 PyObject *resultobj;
10822 wxSlider *arg1 = (wxSlider *) 0 ;
10823 int arg2 ;
10824 int arg3 ;
10825 PyObject * obj0 = 0 ;
10826 char *kwnames[] = {
10827 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10828 };
10829
10830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10832 {
10833 PyThreadState* __tstate = wxPyBeginAllowThreads();
10834 (arg1)->SetRange(arg2,arg3);
10835
10836 wxPyEndAllowThreads(__tstate);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 }
10839 Py_INCREF(Py_None); resultobj = Py_None;
10840 return resultobj;
10841 fail:
10842 return NULL;
10843 }
10844
10845
10846 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10847 PyObject *resultobj;
10848 wxSlider *arg1 = (wxSlider *) 0 ;
10849 int result;
10850 PyObject * obj0 = 0 ;
10851 char *kwnames[] = {
10852 (char *) "self", NULL
10853 };
10854
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 result = (int)((wxSlider const *)arg1)->GetMin();
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 resultobj = PyInt_FromLong((long)result);
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxSlider *arg1 = (wxSlider *) 0 ;
10874 int result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (int)((wxSlider const *)arg1)->GetMax();
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 resultobj = PyInt_FromLong((long)result);
10890 return resultobj;
10891 fail:
10892 return NULL;
10893 }
10894
10895
10896 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10897 PyObject *resultobj;
10898 wxSlider *arg1 = (wxSlider *) 0 ;
10899 int arg2 ;
10900 PyObject * obj0 = 0 ;
10901 char *kwnames[] = {
10902 (char *) "self",(char *) "minValue", NULL
10903 };
10904
10905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10907 {
10908 PyThreadState* __tstate = wxPyBeginAllowThreads();
10909 (arg1)->SetMin(arg2);
10910
10911 wxPyEndAllowThreads(__tstate);
10912 if (PyErr_Occurred()) SWIG_fail;
10913 }
10914 Py_INCREF(Py_None); resultobj = Py_None;
10915 return resultobj;
10916 fail:
10917 return NULL;
10918 }
10919
10920
10921 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10922 PyObject *resultobj;
10923 wxSlider *arg1 = (wxSlider *) 0 ;
10924 int arg2 ;
10925 PyObject * obj0 = 0 ;
10926 char *kwnames[] = {
10927 (char *) "self",(char *) "maxValue", NULL
10928 };
10929
10930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10932 {
10933 PyThreadState* __tstate = wxPyBeginAllowThreads();
10934 (arg1)->SetMax(arg2);
10935
10936 wxPyEndAllowThreads(__tstate);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 }
10939 Py_INCREF(Py_None); resultobj = Py_None;
10940 return resultobj;
10941 fail:
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxSlider *arg1 = (wxSlider *) 0 ;
10949 int arg2 ;
10950 PyObject * obj0 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self",(char *) "lineSize", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 (arg1)->SetLineSize(arg2);
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 Py_INCREF(Py_None); resultobj = Py_None;
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxSlider *arg1 = (wxSlider *) 0 ;
10974 int arg2 ;
10975 PyObject * obj0 = 0 ;
10976 char *kwnames[] = {
10977 (char *) "self",(char *) "pageSize", NULL
10978 };
10979
10980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10982 {
10983 PyThreadState* __tstate = wxPyBeginAllowThreads();
10984 (arg1)->SetPageSize(arg2);
10985
10986 wxPyEndAllowThreads(__tstate);
10987 if (PyErr_Occurred()) SWIG_fail;
10988 }
10989 Py_INCREF(Py_None); resultobj = Py_None;
10990 return resultobj;
10991 fail:
10992 return NULL;
10993 }
10994
10995
10996 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj;
10998 wxSlider *arg1 = (wxSlider *) 0 ;
10999 int result;
11000 PyObject * obj0 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11007 {
11008 PyThreadState* __tstate = wxPyBeginAllowThreads();
11009 result = (int)((wxSlider const *)arg1)->GetLineSize();
11010
11011 wxPyEndAllowThreads(__tstate);
11012 if (PyErr_Occurred()) SWIG_fail;
11013 }
11014 resultobj = PyInt_FromLong((long)result);
11015 return resultobj;
11016 fail:
11017 return NULL;
11018 }
11019
11020
11021 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11022 PyObject *resultobj;
11023 wxSlider *arg1 = (wxSlider *) 0 ;
11024 int result;
11025 PyObject * obj0 = 0 ;
11026 char *kwnames[] = {
11027 (char *) "self", NULL
11028 };
11029
11030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
11031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (int)((wxSlider const *)arg1)->GetPageSize();
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
11039 resultobj = PyInt_FromLong((long)result);
11040 return resultobj;
11041 fail:
11042 return NULL;
11043 }
11044
11045
11046 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxSlider *arg1 = (wxSlider *) 0 ;
11049 int arg2 ;
11050 PyObject * obj0 = 0 ;
11051 char *kwnames[] = {
11052 (char *) "self",(char *) "lenPixels", NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
11056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 (arg1)->SetThumbLength(arg2);
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 Py_INCREF(Py_None); resultobj = Py_None;
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxSlider *arg1 = (wxSlider *) 0 ;
11074 int result;
11075 PyObject * obj0 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "self", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 resultobj = PyInt_FromLong((long)result);
11090 return resultobj;
11091 fail:
11092 return NULL;
11093 }
11094
11095
11096 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11097 PyObject *resultobj;
11098 wxSlider *arg1 = (wxSlider *) 0 ;
11099 int arg2 ;
11100 int arg3 ;
11101 PyObject * obj0 = 0 ;
11102 char *kwnames[] = {
11103 (char *) "self",(char *) "n",(char *) "pos", NULL
11104 };
11105
11106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11108 {
11109 PyThreadState* __tstate = wxPyBeginAllowThreads();
11110 (arg1)->SetTickFreq(arg2,arg3);
11111
11112 wxPyEndAllowThreads(__tstate);
11113 if (PyErr_Occurred()) SWIG_fail;
11114 }
11115 Py_INCREF(Py_None); resultobj = Py_None;
11116 return resultobj;
11117 fail:
11118 return NULL;
11119 }
11120
11121
11122 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11123 PyObject *resultobj;
11124 wxSlider *arg1 = (wxSlider *) 0 ;
11125 int result;
11126 PyObject * obj0 = 0 ;
11127 char *kwnames[] = {
11128 (char *) "self", NULL
11129 };
11130
11131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 resultobj = PyInt_FromLong((long)result);
11141 return resultobj;
11142 fail:
11143 return NULL;
11144 }
11145
11146
11147 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxSlider *arg1 = (wxSlider *) 0 ;
11150 PyObject * obj0 = 0 ;
11151 char *kwnames[] = {
11152 (char *) "self", NULL
11153 };
11154
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11157 {
11158 PyThreadState* __tstate = wxPyBeginAllowThreads();
11159 (arg1)->ClearTicks();
11160
11161 wxPyEndAllowThreads(__tstate);
11162 if (PyErr_Occurred()) SWIG_fail;
11163 }
11164 Py_INCREF(Py_None); resultobj = Py_None;
11165 return resultobj;
11166 fail:
11167 return NULL;
11168 }
11169
11170
11171 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11172 PyObject *resultobj;
11173 wxSlider *arg1 = (wxSlider *) 0 ;
11174 int arg2 ;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "self",(char *) "tickPos", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11182 {
11183 PyThreadState* __tstate = wxPyBeginAllowThreads();
11184 (arg1)->SetTick(arg2);
11185
11186 wxPyEndAllowThreads(__tstate);
11187 if (PyErr_Occurred()) SWIG_fail;
11188 }
11189 Py_INCREF(Py_None); resultobj = Py_None;
11190 return resultobj;
11191 fail:
11192 return NULL;
11193 }
11194
11195
11196 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11197 PyObject *resultobj;
11198 wxSlider *arg1 = (wxSlider *) 0 ;
11199 PyObject * obj0 = 0 ;
11200 char *kwnames[] = {
11201 (char *) "self", NULL
11202 };
11203
11204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->ClearSel();
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 Py_INCREF(Py_None); resultobj = Py_None;
11214 return resultobj;
11215 fail:
11216 return NULL;
11217 }
11218
11219
11220 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxSlider *arg1 = (wxSlider *) 0 ;
11223 int result;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = PyInt_FromLong((long)result);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxSlider *arg1 = (wxSlider *) 0 ;
11248 int result;
11249 PyObject * obj0 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (int)((wxSlider const *)arg1)->GetSelStart();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
11263 resultobj = PyInt_FromLong((long)result);
11264 return resultobj;
11265 fail:
11266 return NULL;
11267 }
11268
11269
11270 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxSlider *arg1 = (wxSlider *) 0 ;
11273 int arg2 ;
11274 int arg3 ;
11275 PyObject * obj0 = 0 ;
11276 char *kwnames[] = {
11277 (char *) "self",(char *) "min",(char *) "max", NULL
11278 };
11279
11280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 (arg1)->SetSelection(arg2,arg3);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 Py_INCREF(Py_None); resultobj = Py_None;
11290 return resultobj;
11291 fail:
11292 return NULL;
11293 }
11294
11295
11296 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11297 PyObject *obj;
11298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11299 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11300 Py_INCREF(obj);
11301 return Py_BuildValue((char *)"");
11302 }
11303 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11304 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11305 return 1;
11306 }
11307
11308
11309 static PyObject *_wrap_ToggleButtonNameStr_get() {
11310 PyObject *pyobj;
11311
11312 {
11313 #if wxUSE_UNICODE
11314 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11315 #else
11316 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11317 #endif
11318 }
11319 return pyobj;
11320 }
11321
11322
11323 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject *resultobj;
11325 wxWindow *arg1 = (wxWindow *) 0 ;
11326 int arg2 ;
11327 wxString *arg3 = 0 ;
11328 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11329 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11330 wxSize const &arg5_defvalue = wxDefaultSize ;
11331 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11332 long arg6 = (long) 0 ;
11333 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11334 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11335 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11336 wxString *arg8 = (wxString *) &arg8_defvalue ;
11337 wxToggleButton *result;
11338 bool temp3 = False ;
11339 wxPoint temp4 ;
11340 wxSize temp5 ;
11341 bool temp8 = False ;
11342 PyObject * obj0 = 0 ;
11343 PyObject * obj2 = 0 ;
11344 PyObject * obj3 = 0 ;
11345 PyObject * obj4 = 0 ;
11346 PyObject * obj6 = 0 ;
11347 PyObject * obj7 = 0 ;
11348 char *kwnames[] = {
11349 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11350 };
11351
11352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11354 {
11355 arg3 = wxString_in_helper(obj2);
11356 if (arg3 == NULL) SWIG_fail;
11357 temp3 = True;
11358 }
11359 if (obj3) {
11360 {
11361 arg4 = &temp4;
11362 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11363 }
11364 }
11365 if (obj4) {
11366 {
11367 arg5 = &temp5;
11368 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11369 }
11370 }
11371 if (obj6) {
11372 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 if (arg7 == NULL) {
11374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11375 }
11376 }
11377 if (obj7) {
11378 {
11379 arg8 = wxString_in_helper(obj7);
11380 if (arg8 == NULL) SWIG_fail;
11381 temp8 = True;
11382 }
11383 }
11384 {
11385 PyThreadState* __tstate = wxPyBeginAllowThreads();
11386 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11387
11388 wxPyEndAllowThreads(__tstate);
11389 if (PyErr_Occurred()) SWIG_fail;
11390 }
11391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11392 {
11393 if (temp3)
11394 delete arg3;
11395 }
11396 {
11397 if (temp8)
11398 delete arg8;
11399 }
11400 return resultobj;
11401 fail:
11402 {
11403 if (temp3)
11404 delete arg3;
11405 }
11406 {
11407 if (temp8)
11408 delete arg8;
11409 }
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxToggleButton *result;
11417 char *kwnames[] = {
11418 NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (wxToggleButton *)new wxToggleButton();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11439 wxWindow *arg2 = (wxWindow *) 0 ;
11440 int arg3 ;
11441 wxString *arg4 = 0 ;
11442 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11443 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11444 wxSize const &arg6_defvalue = wxDefaultSize ;
11445 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11446 long arg7 = (long) 0 ;
11447 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11448 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11449 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11450 wxString *arg9 = (wxString *) &arg9_defvalue ;
11451 bool result;
11452 bool temp4 = False ;
11453 wxPoint temp5 ;
11454 wxSize temp6 ;
11455 bool temp9 = False ;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 PyObject * obj3 = 0 ;
11459 PyObject * obj4 = 0 ;
11460 PyObject * obj5 = 0 ;
11461 PyObject * obj7 = 0 ;
11462 PyObject * obj8 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11470 {
11471 arg4 = wxString_in_helper(obj3);
11472 if (arg4 == NULL) SWIG_fail;
11473 temp4 = True;
11474 }
11475 if (obj4) {
11476 {
11477 arg5 = &temp5;
11478 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11479 }
11480 }
11481 if (obj5) {
11482 {
11483 arg6 = &temp6;
11484 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11485 }
11486 }
11487 if (obj7) {
11488 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11489 if (arg8 == NULL) {
11490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11491 }
11492 }
11493 if (obj8) {
11494 {
11495 arg9 = wxString_in_helper(obj8);
11496 if (arg9 == NULL) SWIG_fail;
11497 temp9 = True;
11498 }
11499 }
11500 {
11501 PyThreadState* __tstate = wxPyBeginAllowThreads();
11502 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11503
11504 wxPyEndAllowThreads(__tstate);
11505 if (PyErr_Occurred()) SWIG_fail;
11506 }
11507 resultobj = PyInt_FromLong((long)result);
11508 {
11509 if (temp4)
11510 delete arg4;
11511 }
11512 {
11513 if (temp9)
11514 delete arg9;
11515 }
11516 return resultobj;
11517 fail:
11518 {
11519 if (temp4)
11520 delete arg4;
11521 }
11522 {
11523 if (temp9)
11524 delete arg9;
11525 }
11526 return NULL;
11527 }
11528
11529
11530 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11533 bool arg2 ;
11534 PyObject * obj0 = 0 ;
11535 PyObject * obj1 = 0 ;
11536 char *kwnames[] = {
11537 (char *) "self",(char *) "value", NULL
11538 };
11539
11540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11542 {
11543 arg2 = (bool) SPyObj_AsBool(obj1);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 (arg1)->SetValue(arg2);
11549
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 Py_INCREF(Py_None); resultobj = Py_None;
11554 return resultobj;
11555 fail:
11556 return NULL;
11557 }
11558
11559
11560 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj;
11562 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11563 bool result;
11564 PyObject * obj0 = 0 ;
11565 char *kwnames[] = {
11566 (char *) "self", NULL
11567 };
11568
11569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11571 {
11572 PyThreadState* __tstate = wxPyBeginAllowThreads();
11573 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11574
11575 wxPyEndAllowThreads(__tstate);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 }
11578 resultobj = PyInt_FromLong((long)result);
11579 return resultobj;
11580 fail:
11581 return NULL;
11582 }
11583
11584
11585 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11586 PyObject *resultobj;
11587 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11588 wxString *arg2 = 0 ;
11589 bool temp2 = False ;
11590 PyObject * obj0 = 0 ;
11591 PyObject * obj1 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self",(char *) "label", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11598 {
11599 arg2 = wxString_in_helper(obj1);
11600 if (arg2 == NULL) SWIG_fail;
11601 temp2 = True;
11602 }
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 (arg1)->SetLabel((wxString const &)*arg2);
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 Py_INCREF(Py_None); resultobj = Py_None;
11611 {
11612 if (temp2)
11613 delete arg2;
11614 }
11615 return resultobj;
11616 fail:
11617 {
11618 if (temp2)
11619 delete arg2;
11620 }
11621 return NULL;
11622 }
11623
11624
11625 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11626 PyObject *obj;
11627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11628 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11629 Py_INCREF(obj);
11630 return Py_BuildValue((char *)"");
11631 }
11632 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11633 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11634 return 1;
11635 }
11636
11637
11638 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11639 PyObject *pyobj;
11640
11641 {
11642 #if wxUSE_UNICODE
11643 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11644 #else
11645 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11646 #endif
11647 }
11648 return pyobj;
11649 }
11650
11651
11652 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11653 PyObject *resultobj;
11654 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11655 size_t result;
11656 PyObject * obj0 = 0 ;
11657 char *kwnames[] = {
11658 (char *) "self", NULL
11659 };
11660
11661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11663 {
11664 PyThreadState* __tstate = wxPyBeginAllowThreads();
11665 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11666
11667 wxPyEndAllowThreads(__tstate);
11668 if (PyErr_Occurred()) SWIG_fail;
11669 }
11670 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
11671 return resultobj;
11672 fail:
11673 return NULL;
11674 }
11675
11676
11677 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11678 PyObject *resultobj;
11679 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11680 size_t arg2 ;
11681 wxWindow *result;
11682 PyObject * obj0 = 0 ;
11683 PyObject * obj1 = 0 ;
11684 char *kwnames[] = {
11685 (char *) "self",(char *) "n", NULL
11686 };
11687
11688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11690 {
11691 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11692 if (PyErr_Occurred()) SWIG_fail;
11693 }
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxWindow *)(arg1)->GetPage(arg2);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 {
11702 resultobj = wxPyMake_wxObject(result);
11703 }
11704 return resultobj;
11705 fail:
11706 return NULL;
11707 }
11708
11709
11710 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11711 PyObject *resultobj;
11712 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11713 int result;
11714 PyObject * obj0 = 0 ;
11715 char *kwnames[] = {
11716 (char *) "self", NULL
11717 };
11718
11719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11721 {
11722 PyThreadState* __tstate = wxPyBeginAllowThreads();
11723 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11724
11725 wxPyEndAllowThreads(__tstate);
11726 if (PyErr_Occurred()) SWIG_fail;
11727 }
11728 resultobj = PyInt_FromLong((long)result);
11729 return resultobj;
11730 fail:
11731 return NULL;
11732 }
11733
11734
11735 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11736 PyObject *resultobj;
11737 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11738 size_t arg2 ;
11739 wxString *arg3 = 0 ;
11740 bool result;
11741 bool temp3 = False ;
11742 PyObject * obj0 = 0 ;
11743 PyObject * obj1 = 0 ;
11744 PyObject * obj2 = 0 ;
11745 char *kwnames[] = {
11746 (char *) "self",(char *) "n",(char *) "strText", NULL
11747 };
11748
11749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11751 {
11752 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 {
11756 arg3 = wxString_in_helper(obj2);
11757 if (arg3 == NULL) SWIG_fail;
11758 temp3 = True;
11759 }
11760 {
11761 PyThreadState* __tstate = wxPyBeginAllowThreads();
11762 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11763
11764 wxPyEndAllowThreads(__tstate);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 resultobj = PyInt_FromLong((long)result);
11768 {
11769 if (temp3)
11770 delete arg3;
11771 }
11772 return resultobj;
11773 fail:
11774 {
11775 if (temp3)
11776 delete arg3;
11777 }
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11785 size_t arg2 ;
11786 wxString result;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "n", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11795 {
11796 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11797 if (PyErr_Occurred()) SWIG_fail;
11798 }
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11802
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 {
11807 #if wxUSE_UNICODE
11808 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11809 #else
11810 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11811 #endif
11812 }
11813 return resultobj;
11814 fail:
11815 return NULL;
11816 }
11817
11818
11819 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11820 PyObject *resultobj;
11821 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11822 wxImageList *arg2 = (wxImageList *) 0 ;
11823 PyObject * obj0 = 0 ;
11824 PyObject * obj1 = 0 ;
11825 char *kwnames[] = {
11826 (char *) "self",(char *) "imageList", NULL
11827 };
11828
11829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 (arg1)->SetImageList(arg2);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 Py_INCREF(Py_None); resultobj = Py_None;
11840 return resultobj;
11841 fail:
11842 return NULL;
11843 }
11844
11845
11846 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11849 wxImageList *arg2 = (wxImageList *) 0 ;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self",(char *) "imageList", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 (arg1)->AssignImageList(arg2);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 Py_INCREF(Py_None); resultobj = Py_None;
11867 return resultobj;
11868 fail:
11869 return NULL;
11870 }
11871
11872
11873 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11874 PyObject *resultobj;
11875 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11876 wxImageList *result;
11877 PyObject * obj0 = 0 ;
11878 char *kwnames[] = {
11879 (char *) "self", NULL
11880 };
11881
11882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
11891 {
11892 resultobj = wxPyMake_wxObject(result);
11893 }
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11903 size_t arg2 ;
11904 int result;
11905 PyObject * obj0 = 0 ;
11906 PyObject * obj1 = 0 ;
11907 char *kwnames[] = {
11908 (char *) "self",(char *) "n", NULL
11909 };
11910
11911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11913 {
11914 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 {
11918 PyThreadState* __tstate = wxPyBeginAllowThreads();
11919 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11920
11921 wxPyEndAllowThreads(__tstate);
11922 if (PyErr_Occurred()) SWIG_fail;
11923 }
11924 resultobj = PyInt_FromLong((long)result);
11925 return resultobj;
11926 fail:
11927 return NULL;
11928 }
11929
11930
11931 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11932 PyObject *resultobj;
11933 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11934 size_t arg2 ;
11935 int arg3 ;
11936 bool result;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj1 = 0 ;
11939 char *kwnames[] = {
11940 (char *) "self",(char *) "n",(char *) "imageId", NULL
11941 };
11942
11943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11945 {
11946 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 {
11950 PyThreadState* __tstate = wxPyBeginAllowThreads();
11951 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11952
11953 wxPyEndAllowThreads(__tstate);
11954 if (PyErr_Occurred()) SWIG_fail;
11955 }
11956 resultobj = PyInt_FromLong((long)result);
11957 return resultobj;
11958 fail:
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11966 wxSize *arg2 = 0 ;
11967 wxSize temp2 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "size", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11976 {
11977 arg2 = &temp2;
11978 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11979 }
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 (arg1)->SetPageSize((wxSize const &)*arg2);
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
11987 Py_INCREF(Py_None); resultobj = Py_None;
11988 return resultobj;
11989 fail:
11990 return NULL;
11991 }
11992
11993
11994 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11995 PyObject *resultobj;
11996 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11997 wxSize *arg2 = 0 ;
11998 wxSize result;
11999 wxSize temp2 ;
12000 PyObject * obj0 = 0 ;
12001 PyObject * obj1 = 0 ;
12002 char *kwnames[] = {
12003 (char *) "self",(char *) "sizePage", NULL
12004 };
12005
12006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12008 {
12009 arg2 = &temp2;
12010 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12011 }
12012 {
12013 PyThreadState* __tstate = wxPyBeginAllowThreads();
12014 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12015
12016 wxPyEndAllowThreads(__tstate);
12017 if (PyErr_Occurred()) SWIG_fail;
12018 }
12019 {
12020 wxSize * resultptr;
12021 resultptr = new wxSize((wxSize &) result);
12022 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12023 }
12024 return resultobj;
12025 fail:
12026 return NULL;
12027 }
12028
12029
12030 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12031 PyObject *resultobj;
12032 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12033 size_t arg2 ;
12034 bool result;
12035 PyObject * obj0 = 0 ;
12036 PyObject * obj1 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self",(char *) "n", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12043 {
12044 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = (bool)(arg1)->DeletePage(arg2);
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 resultobj = PyInt_FromLong((long)result);
12055 return resultobj;
12056 fail:
12057 return NULL;
12058 }
12059
12060
12061 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12062 PyObject *resultobj;
12063 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12064 size_t arg2 ;
12065 bool result;
12066 PyObject * obj0 = 0 ;
12067 PyObject * obj1 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self",(char *) "n", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
12073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12074 {
12075 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (bool)(arg1)->RemovePage(arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = PyInt_FromLong((long)result);
12086 return resultobj;
12087 fail:
12088 return NULL;
12089 }
12090
12091
12092 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12095 bool result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12103 {
12104 PyThreadState* __tstate = wxPyBeginAllowThreads();
12105 result = (bool)(arg1)->DeleteAllPages();
12106
12107 wxPyEndAllowThreads(__tstate);
12108 if (PyErr_Occurred()) SWIG_fail;
12109 }
12110 resultobj = PyInt_FromLong((long)result);
12111 return resultobj;
12112 fail:
12113 return NULL;
12114 }
12115
12116
12117 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12118 PyObject *resultobj;
12119 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12120 wxWindow *arg2 = (wxWindow *) 0 ;
12121 wxString *arg3 = 0 ;
12122 bool arg4 = (bool) False ;
12123 int arg5 = (int) -1 ;
12124 bool result;
12125 bool temp3 = False ;
12126 PyObject * obj0 = 0 ;
12127 PyObject * obj1 = 0 ;
12128 PyObject * obj2 = 0 ;
12129 PyObject * obj3 = 0 ;
12130 char *kwnames[] = {
12131 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12132 };
12133
12134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12137 {
12138 arg3 = wxString_in_helper(obj2);
12139 if (arg3 == NULL) SWIG_fail;
12140 temp3 = True;
12141 }
12142 if (obj3) {
12143 {
12144 arg4 = (bool) SPyObj_AsBool(obj3);
12145 if (PyErr_Occurred()) SWIG_fail;
12146 }
12147 }
12148 {
12149 PyThreadState* __tstate = wxPyBeginAllowThreads();
12150 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
12151
12152 wxPyEndAllowThreads(__tstate);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 }
12155 resultobj = PyInt_FromLong((long)result);
12156 {
12157 if (temp3)
12158 delete arg3;
12159 }
12160 return resultobj;
12161 fail:
12162 {
12163 if (temp3)
12164 delete arg3;
12165 }
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12173 size_t arg2 ;
12174 wxWindow *arg3 = (wxWindow *) 0 ;
12175 wxString *arg4 = 0 ;
12176 bool arg5 = (bool) False ;
12177 int arg6 = (int) -1 ;
12178 bool result;
12179 bool temp4 = False ;
12180 PyObject * obj0 = 0 ;
12181 PyObject * obj1 = 0 ;
12182 PyObject * obj2 = 0 ;
12183 PyObject * obj3 = 0 ;
12184 PyObject * obj4 = 0 ;
12185 char *kwnames[] = {
12186 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12187 };
12188
12189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
12190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12191 {
12192 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12193 if (PyErr_Occurred()) SWIG_fail;
12194 }
12195 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12196 {
12197 arg4 = wxString_in_helper(obj3);
12198 if (arg4 == NULL) SWIG_fail;
12199 temp4 = True;
12200 }
12201 if (obj4) {
12202 {
12203 arg5 = (bool) SPyObj_AsBool(obj4);
12204 if (PyErr_Occurred()) SWIG_fail;
12205 }
12206 }
12207 {
12208 PyThreadState* __tstate = wxPyBeginAllowThreads();
12209 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12210
12211 wxPyEndAllowThreads(__tstate);
12212 if (PyErr_Occurred()) SWIG_fail;
12213 }
12214 resultobj = PyInt_FromLong((long)result);
12215 {
12216 if (temp4)
12217 delete arg4;
12218 }
12219 return resultobj;
12220 fail:
12221 {
12222 if (temp4)
12223 delete arg4;
12224 }
12225 return NULL;
12226 }
12227
12228
12229 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12232 size_t arg2 ;
12233 int result;
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "n", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 {
12243 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 result = (int)(arg1)->SetSelection(arg2);
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 resultobj = PyInt_FromLong((long)result);
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12261 PyObject *resultobj;
12262 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12263 bool arg2 = (bool) True ;
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "forward", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12272 if (obj1) {
12273 {
12274 arg2 = (bool) SPyObj_AsBool(obj1);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 }
12278 {
12279 PyThreadState* __tstate = wxPyBeginAllowThreads();
12280 (arg1)->AdvanceSelection(arg2);
12281
12282 wxPyEndAllowThreads(__tstate);
12283 if (PyErr_Occurred()) SWIG_fail;
12284 }
12285 Py_INCREF(Py_None); resultobj = Py_None;
12286 return resultobj;
12287 fail:
12288 return NULL;
12289 }
12290
12291
12292 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12293 PyObject *obj;
12294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12295 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12296 Py_INCREF(obj);
12297 return Py_BuildValue((char *)"");
12298 }
12299 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12302 int arg2 = (int) 0 ;
12303 int arg3 = (int) -1 ;
12304 int arg4 = (int) -1 ;
12305 wxBookCtrlEvent *result;
12306 char *kwnames[] = {
12307 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12308 };
12309
12310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12319 return resultobj;
12320 fail:
12321 return NULL;
12322 }
12323
12324
12325 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj;
12327 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12328 int result;
12329 PyObject * obj0 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12339
12340 wxPyEndAllowThreads(__tstate);
12341 if (PyErr_Occurred()) SWIG_fail;
12342 }
12343 resultobj = PyInt_FromLong((long)result);
12344 return resultobj;
12345 fail:
12346 return NULL;
12347 }
12348
12349
12350 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12351 PyObject *resultobj;
12352 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12353 int arg2 ;
12354 PyObject * obj0 = 0 ;
12355 char *kwnames[] = {
12356 (char *) "self",(char *) "nSel", NULL
12357 };
12358
12359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12361 {
12362 PyThreadState* __tstate = wxPyBeginAllowThreads();
12363 (arg1)->SetSelection(arg2);
12364
12365 wxPyEndAllowThreads(__tstate);
12366 if (PyErr_Occurred()) SWIG_fail;
12367 }
12368 Py_INCREF(Py_None); resultobj = Py_None;
12369 return resultobj;
12370 fail:
12371 return NULL;
12372 }
12373
12374
12375 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12376 PyObject *resultobj;
12377 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12378 int result;
12379 PyObject * obj0 = 0 ;
12380 char *kwnames[] = {
12381 (char *) "self", NULL
12382 };
12383
12384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12386 {
12387 PyThreadState* __tstate = wxPyBeginAllowThreads();
12388 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12389
12390 wxPyEndAllowThreads(__tstate);
12391 if (PyErr_Occurred()) SWIG_fail;
12392 }
12393 resultobj = PyInt_FromLong((long)result);
12394 return resultobj;
12395 fail:
12396 return NULL;
12397 }
12398
12399
12400 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12403 int arg2 ;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "self",(char *) "nOldSel", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 (arg1)->SetOldSelection(arg2);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 Py_INCREF(Py_None); resultobj = Py_None;
12419 return resultobj;
12420 fail:
12421 return NULL;
12422 }
12423
12424
12425 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12426 PyObject *obj;
12427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12428 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12429 Py_INCREF(obj);
12430 return Py_BuildValue((char *)"");
12431 }
12432 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxWindow *arg1 = (wxWindow *) 0 ;
12435 int arg2 ;
12436 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12437 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12438 wxSize const &arg4_defvalue = wxDefaultSize ;
12439 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12440 long arg5 = (long) 0 ;
12441 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12442 wxString *arg6 = (wxString *) &arg6_defvalue ;
12443 wxNotebook *result;
12444 wxPoint temp3 ;
12445 wxSize temp4 ;
12446 bool temp6 = False ;
12447 PyObject * obj0 = 0 ;
12448 PyObject * obj2 = 0 ;
12449 PyObject * obj3 = 0 ;
12450 PyObject * obj5 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457 if (obj2) {
12458 {
12459 arg3 = &temp3;
12460 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12461 }
12462 }
12463 if (obj3) {
12464 {
12465 arg4 = &temp4;
12466 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12467 }
12468 }
12469 if (obj5) {
12470 {
12471 arg6 = wxString_in_helper(obj5);
12472 if (arg6 == NULL) SWIG_fail;
12473 temp6 = True;
12474 }
12475 }
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 {
12484 resultobj = wxPyMake_wxObject(result);
12485 }
12486 {
12487 if (temp6)
12488 delete arg6;
12489 }
12490 return resultobj;
12491 fail:
12492 {
12493 if (temp6)
12494 delete arg6;
12495 }
12496 return NULL;
12497 }
12498
12499
12500 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12501 PyObject *resultobj;
12502 wxNotebook *result;
12503 char *kwnames[] = {
12504 NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (wxNotebook *)new wxNotebook();
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 {
12516 resultobj = wxPyMake_wxObject(result);
12517 }
12518 return resultobj;
12519 fail:
12520 return NULL;
12521 }
12522
12523
12524 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj;
12526 wxNotebook *arg1 = (wxNotebook *) 0 ;
12527 wxWindow *arg2 = (wxWindow *) 0 ;
12528 int arg3 ;
12529 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12530 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12531 wxSize const &arg5_defvalue = wxDefaultSize ;
12532 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12533 long arg6 = (long) 0 ;
12534 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12535 wxString *arg7 = (wxString *) &arg7_defvalue ;
12536 bool result;
12537 wxPoint temp4 ;
12538 wxSize temp5 ;
12539 bool temp7 = False ;
12540 PyObject * obj0 = 0 ;
12541 PyObject * obj1 = 0 ;
12542 PyObject * obj3 = 0 ;
12543 PyObject * obj4 = 0 ;
12544 PyObject * obj6 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12552 if (obj3) {
12553 {
12554 arg4 = &temp4;
12555 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12556 }
12557 }
12558 if (obj4) {
12559 {
12560 arg5 = &temp5;
12561 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12562 }
12563 }
12564 if (obj6) {
12565 {
12566 arg7 = wxString_in_helper(obj6);
12567 if (arg7 == NULL) SWIG_fail;
12568 temp7 = True;
12569 }
12570 }
12571 {
12572 PyThreadState* __tstate = wxPyBeginAllowThreads();
12573 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12574
12575 wxPyEndAllowThreads(__tstate);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 }
12578 resultobj = PyInt_FromLong((long)result);
12579 {
12580 if (temp7)
12581 delete arg7;
12582 }
12583 return resultobj;
12584 fail:
12585 {
12586 if (temp7)
12587 delete arg7;
12588 }
12589 return NULL;
12590 }
12591
12592
12593 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12594 PyObject *resultobj;
12595 wxNotebook *arg1 = (wxNotebook *) 0 ;
12596 int result;
12597 PyObject * obj0 = 0 ;
12598 char *kwnames[] = {
12599 (char *) "self", NULL
12600 };
12601
12602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12604 {
12605 PyThreadState* __tstate = wxPyBeginAllowThreads();
12606 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12607
12608 wxPyEndAllowThreads(__tstate);
12609 if (PyErr_Occurred()) SWIG_fail;
12610 }
12611 resultobj = PyInt_FromLong((long)result);
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxNotebook *arg1 = (wxNotebook *) 0 ;
12621 wxSize *arg2 = 0 ;
12622 wxSize temp2 ;
12623 PyObject * obj0 = 0 ;
12624 PyObject * obj1 = 0 ;
12625 char *kwnames[] = {
12626 (char *) "self",(char *) "padding", NULL
12627 };
12628
12629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12631 {
12632 arg2 = &temp2;
12633 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12634 }
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 (arg1)->SetPadding((wxSize const &)*arg2);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 Py_INCREF(Py_None); resultobj = Py_None;
12643 return resultobj;
12644 fail:
12645 return NULL;
12646 }
12647
12648
12649 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj;
12651 wxNotebook *arg1 = (wxNotebook *) 0 ;
12652 wxSize *arg2 = 0 ;
12653 wxSize temp2 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self",(char *) "sz", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12662 {
12663 arg2 = &temp2;
12664 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12665 }
12666 {
12667 PyThreadState* __tstate = wxPyBeginAllowThreads();
12668 (arg1)->SetTabSize((wxSize const &)*arg2);
12669
12670 wxPyEndAllowThreads(__tstate);
12671 if (PyErr_Occurred()) SWIG_fail;
12672 }
12673 Py_INCREF(Py_None); resultobj = Py_None;
12674 return resultobj;
12675 fail:
12676 return NULL;
12677 }
12678
12679
12680 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12681 PyObject *resultobj;
12682 wxNotebook *arg1 = (wxNotebook *) 0 ;
12683 wxPoint *arg2 = 0 ;
12684 long *arg3 = (long *) 0 ;
12685 int result;
12686 wxPoint temp2 ;
12687 long temp3 ;
12688 PyObject * obj0 = 0 ;
12689 PyObject * obj1 = 0 ;
12690 char *kwnames[] = {
12691 (char *) "self",(char *) "pt", NULL
12692 };
12693
12694 arg3 = &temp3;
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12697 {
12698 arg2 = &temp2;
12699 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12700 }
12701 {
12702 PyThreadState* __tstate = wxPyBeginAllowThreads();
12703 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12704
12705 wxPyEndAllowThreads(__tstate);
12706 if (PyErr_Occurred()) SWIG_fail;
12707 }
12708 resultobj = PyInt_FromLong((long)result);
12709 {
12710 PyObject *o = PyInt_FromLong((long) (*arg3));
12711 resultobj = t_output_helper(resultobj,o);
12712 }
12713 return resultobj;
12714 fail:
12715 return NULL;
12716 }
12717
12718
12719 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12720 PyObject *resultobj;
12721 wxNotebook *arg1 = (wxNotebook *) 0 ;
12722 wxSize *arg2 = 0 ;
12723 wxSize result;
12724 wxSize temp2 ;
12725 PyObject * obj0 = 0 ;
12726 PyObject * obj1 = 0 ;
12727 char *kwnames[] = {
12728 (char *) "self",(char *) "sizePage", NULL
12729 };
12730
12731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12733 {
12734 arg2 = &temp2;
12735 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12736 }
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 {
12745 wxSize * resultptr;
12746 resultptr = new wxSize((wxSize &) result);
12747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12756 PyObject *obj;
12757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12758 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12759 Py_INCREF(obj);
12760 return Py_BuildValue((char *)"");
12761 }
12762 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12765 int arg2 = (int) 0 ;
12766 int arg3 = (int) -1 ;
12767 int arg4 = (int) -1 ;
12768 wxNotebookEvent *result;
12769 char *kwnames[] = {
12770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12771 };
12772
12773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12789 PyObject *obj;
12790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12791 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12792 Py_INCREF(obj);
12793 return Py_BuildValue((char *)"");
12794 }
12795 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12796 PyObject *resultobj;
12797 wxWindow *arg1 = (wxWindow *) 0 ;
12798 int arg2 ;
12799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12801 wxSize const &arg4_defvalue = wxDefaultSize ;
12802 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12803 long arg5 = (long) 0 ;
12804 wxString const &arg6_defvalue = wxPyEmptyString ;
12805 wxString *arg6 = (wxString *) &arg6_defvalue ;
12806 wxListbook *result;
12807 wxPoint temp3 ;
12808 wxSize temp4 ;
12809 bool temp6 = False ;
12810 PyObject * obj0 = 0 ;
12811 PyObject * obj2 = 0 ;
12812 PyObject * obj3 = 0 ;
12813 PyObject * obj5 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12820 if (obj2) {
12821 {
12822 arg3 = &temp3;
12823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12824 }
12825 }
12826 if (obj3) {
12827 {
12828 arg4 = &temp4;
12829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12830 }
12831 }
12832 if (obj5) {
12833 {
12834 arg6 = wxString_in_helper(obj5);
12835 if (arg6 == NULL) SWIG_fail;
12836 temp6 = True;
12837 }
12838 }
12839 {
12840 PyThreadState* __tstate = wxPyBeginAllowThreads();
12841 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12842
12843 wxPyEndAllowThreads(__tstate);
12844 if (PyErr_Occurred()) SWIG_fail;
12845 }
12846 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12847 {
12848 if (temp6)
12849 delete arg6;
12850 }
12851 return resultobj;
12852 fail:
12853 {
12854 if (temp6)
12855 delete arg6;
12856 }
12857 return NULL;
12858 }
12859
12860
12861 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12862 PyObject *resultobj;
12863 wxListbook *result;
12864 char *kwnames[] = {
12865 NULL
12866 };
12867
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12869 {
12870 PyThreadState* __tstate = wxPyBeginAllowThreads();
12871 result = (wxListbook *)new wxListbook();
12872
12873 wxPyEndAllowThreads(__tstate);
12874 if (PyErr_Occurred()) SWIG_fail;
12875 }
12876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12877 return resultobj;
12878 fail:
12879 return NULL;
12880 }
12881
12882
12883 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12884 PyObject *resultobj;
12885 wxListbook *arg1 = (wxListbook *) 0 ;
12886 wxWindow *arg2 = (wxWindow *) 0 ;
12887 int arg3 ;
12888 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12889 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12890 wxSize const &arg5_defvalue = wxDefaultSize ;
12891 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12892 long arg6 = (long) 0 ;
12893 wxString const &arg7_defvalue = wxPyEmptyString ;
12894 wxString *arg7 = (wxString *) &arg7_defvalue ;
12895 bool result;
12896 wxPoint temp4 ;
12897 wxSize temp5 ;
12898 bool temp7 = False ;
12899 PyObject * obj0 = 0 ;
12900 PyObject * obj1 = 0 ;
12901 PyObject * obj3 = 0 ;
12902 PyObject * obj4 = 0 ;
12903 PyObject * obj6 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 if (obj3) {
12912 {
12913 arg4 = &temp4;
12914 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12915 }
12916 }
12917 if (obj4) {
12918 {
12919 arg5 = &temp5;
12920 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12921 }
12922 }
12923 if (obj6) {
12924 {
12925 arg7 = wxString_in_helper(obj6);
12926 if (arg7 == NULL) SWIG_fail;
12927 temp7 = True;
12928 }
12929 }
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = PyInt_FromLong((long)result);
12938 {
12939 if (temp7)
12940 delete arg7;
12941 }
12942 return resultobj;
12943 fail:
12944 {
12945 if (temp7)
12946 delete arg7;
12947 }
12948 return NULL;
12949 }
12950
12951
12952 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12953 PyObject *resultobj;
12954 wxListbook *arg1 = (wxListbook *) 0 ;
12955 bool result;
12956 PyObject * obj0 = 0 ;
12957 char *kwnames[] = {
12958 (char *) "self", NULL
12959 };
12960
12961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (bool)((wxListbook const *)arg1)->IsVertical();
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = PyInt_FromLong((long)result);
12971 return resultobj;
12972 fail:
12973 return NULL;
12974 }
12975
12976
12977 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12978 PyObject *obj;
12979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12980 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12981 Py_INCREF(obj);
12982 return Py_BuildValue((char *)"");
12983 }
12984 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12987 int arg2 = (int) 0 ;
12988 int arg3 = (int) -1 ;
12989 int arg4 = (int) -1 ;
12990 wxListbookEvent *result;
12991 char *kwnames[] = {
12992 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
13011 PyObject *obj;
13012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13013 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
13014 Py_INCREF(obj);
13015 return Py_BuildValue((char *)"");
13016 }
13017 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13020 wxBookCtrlSizer *result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "nb", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13045 PyObject * obj0 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "self", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->RecalcSizes();
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj;
13068 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13069 wxSize result;
13070 PyObject * obj0 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
13076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (arg1)->CalcMin();
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 {
13085 wxSize * resultptr;
13086 resultptr = new wxSize((wxSize &) result);
13087 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13088 }
13089 return resultobj;
13090 fail:
13091 return NULL;
13092 }
13093
13094
13095 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj;
13097 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13098 wxBookCtrl *result;
13099 PyObject * obj0 = 0 ;
13100 char *kwnames[] = {
13101 (char *) "self", NULL
13102 };
13103
13104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
13105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13106 {
13107 PyThreadState* __tstate = wxPyBeginAllowThreads();
13108 result = (wxBookCtrl *)(arg1)->GetControl();
13109
13110 wxPyEndAllowThreads(__tstate);
13111 if (PyErr_Occurred()) SWIG_fail;
13112 }
13113 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
13114 return resultobj;
13115 fail:
13116 return NULL;
13117 }
13118
13119
13120 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
13121 PyObject *obj;
13122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13123 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
13124 Py_INCREF(obj);
13125 return Py_BuildValue((char *)"");
13126 }
13127 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxNotebook *arg1 = (wxNotebook *) 0 ;
13130 wxNotebookSizer *result;
13131 PyObject * obj0 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "nb", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
13137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 (arg1)->RecalcSizes();
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 Py_INCREF(Py_None); resultobj = Py_None;
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13179 wxSize result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (arg1)->CalcMin();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 {
13195 wxSize * resultptr;
13196 resultptr = new wxSize((wxSize &) result);
13197 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13198 }
13199 return resultobj;
13200 fail:
13201 return NULL;
13202 }
13203
13204
13205 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13208 wxNotebook *result;
13209 PyObject * obj0 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (wxNotebook *)(arg1)->GetNotebook();
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 {
13224 resultobj = wxPyMake_wxObject(result);
13225 }
13226 return resultobj;
13227 fail:
13228 return NULL;
13229 }
13230
13231
13232 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13233 PyObject *obj;
13234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13235 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13236 Py_INCREF(obj);
13237 return Py_BuildValue((char *)"");
13238 }
13239 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13240 PyObject *resultobj;
13241 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13242 int result;
13243 PyObject * obj0 = 0 ;
13244 char *kwnames[] = {
13245 (char *) "self", NULL
13246 };
13247
13248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13250 {
13251 PyThreadState* __tstate = wxPyBeginAllowThreads();
13252 result = (int)(arg1)->GetId();
13253
13254 wxPyEndAllowThreads(__tstate);
13255 if (PyErr_Occurred()) SWIG_fail;
13256 }
13257 resultobj = PyInt_FromLong((long)result);
13258 return resultobj;
13259 fail:
13260 return NULL;
13261 }
13262
13263
13264 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13267 wxControl *result;
13268 PyObject * obj0 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (wxControl *)(arg1)->GetControl();
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 {
13283 resultobj = wxPyMake_wxObject(result);
13284 }
13285 return resultobj;
13286 fail:
13287 return NULL;
13288 }
13289
13290
13291 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13294 wxToolBarBase *result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (wxToolBarBase *)(arg1)->GetToolBar();
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 {
13310 resultobj = wxPyMake_wxObject(result);
13311 }
13312 return resultobj;
13313 fail:
13314 return NULL;
13315 }
13316
13317
13318 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13321 int result;
13322 PyObject * obj0 = 0 ;
13323 char *kwnames[] = {
13324 (char *) "self", NULL
13325 };
13326
13327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13329 {
13330 PyThreadState* __tstate = wxPyBeginAllowThreads();
13331 result = (int)(arg1)->IsButton();
13332
13333 wxPyEndAllowThreads(__tstate);
13334 if (PyErr_Occurred()) SWIG_fail;
13335 }
13336 resultobj = PyInt_FromLong((long)result);
13337 return resultobj;
13338 fail:
13339 return NULL;
13340 }
13341
13342
13343 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13346 int result;
13347 PyObject * obj0 = 0 ;
13348 char *kwnames[] = {
13349 (char *) "self", NULL
13350 };
13351
13352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (int)(arg1)->IsControl();
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 resultobj = PyInt_FromLong((long)result);
13362 return resultobj;
13363 fail:
13364 return NULL;
13365 }
13366
13367
13368 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13369 PyObject *resultobj;
13370 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13371 int result;
13372 PyObject * obj0 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (int)(arg1)->IsSeparator();
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 resultobj = PyInt_FromLong((long)result);
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj;
13395 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13396 int result;
13397 PyObject * obj0 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (int)(arg1)->GetStyle();
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = PyInt_FromLong((long)result);
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13421 int result;
13422 PyObject * obj0 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = (int)(arg1)->GetKind();
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 resultobj = PyInt_FromLong((long)result);
13437 return resultobj;
13438 fail:
13439 return NULL;
13440 }
13441
13442
13443 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj;
13445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13446 bool result;
13447 PyObject * obj0 = 0 ;
13448 char *kwnames[] = {
13449 (char *) "self", NULL
13450 };
13451
13452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 result = (bool)(arg1)->IsEnabled();
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 resultobj = PyInt_FromLong((long)result);
13462 return resultobj;
13463 fail:
13464 return NULL;
13465 }
13466
13467
13468 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13469 PyObject *resultobj;
13470 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13471 bool result;
13472 PyObject * obj0 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "self", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (bool)(arg1)->IsToggled();
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = PyInt_FromLong((long)result);
13487 return resultobj;
13488 fail:
13489 return NULL;
13490 }
13491
13492
13493 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13496 bool result;
13497 PyObject * obj0 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (bool)(arg1)->CanBeToggled();
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 resultobj = PyInt_FromLong((long)result);
13512 return resultobj;
13513 fail:
13514 return NULL;
13515 }
13516
13517
13518 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13519 PyObject *resultobj;
13520 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13521 wxBitmap *result;
13522 PyObject * obj0 = 0 ;
13523 char *kwnames[] = {
13524 (char *) "self", NULL
13525 };
13526
13527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 {
13532 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13533 result = (wxBitmap *) &_result_ref;
13534 }
13535
13536 wxPyEndAllowThreads(__tstate);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 }
13539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13540 return resultobj;
13541 fail:
13542 return NULL;
13543 }
13544
13545
13546 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13547 PyObject *resultobj;
13548 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13549 wxBitmap *result;
13550 PyObject * obj0 = 0 ;
13551 char *kwnames[] = {
13552 (char *) "self", NULL
13553 };
13554
13555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13557 {
13558 PyThreadState* __tstate = wxPyBeginAllowThreads();
13559 {
13560 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13561 result = (wxBitmap *) &_result_ref;
13562 }
13563
13564 wxPyEndAllowThreads(__tstate);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13568 return resultobj;
13569 fail:
13570 return NULL;
13571 }
13572
13573
13574 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13575 PyObject *resultobj;
13576 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13577 wxBitmap result;
13578 PyObject * obj0 = 0 ;
13579 char *kwnames[] = {
13580 (char *) "self", NULL
13581 };
13582
13583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (arg1)->GetBitmap();
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 {
13593 wxBitmap * resultptr;
13594 resultptr = new wxBitmap((wxBitmap &) result);
13595 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13596 }
13597 return resultobj;
13598 fail:
13599 return NULL;
13600 }
13601
13602
13603 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13604 PyObject *resultobj;
13605 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13606 wxString result;
13607 PyObject * obj0 = 0 ;
13608 char *kwnames[] = {
13609 (char *) "self", NULL
13610 };
13611
13612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13614 {
13615 PyThreadState* __tstate = wxPyBeginAllowThreads();
13616 result = (arg1)->GetLabel();
13617
13618 wxPyEndAllowThreads(__tstate);
13619 if (PyErr_Occurred()) SWIG_fail;
13620 }
13621 {
13622 #if wxUSE_UNICODE
13623 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13624 #else
13625 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13626 #endif
13627 }
13628 return resultobj;
13629 fail:
13630 return NULL;
13631 }
13632
13633
13634 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13637 wxString result;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 result = (arg1)->GetShortHelp();
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 {
13653 #if wxUSE_UNICODE
13654 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13655 #else
13656 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13657 #endif
13658 }
13659 return resultobj;
13660 fail:
13661 return NULL;
13662 }
13663
13664
13665 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13666 PyObject *resultobj;
13667 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13668 wxString result;
13669 PyObject * obj0 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 result = (arg1)->GetLongHelp();
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 {
13684 #if wxUSE_UNICODE
13685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13686 #else
13687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13688 #endif
13689 }
13690 return resultobj;
13691 fail:
13692 return NULL;
13693 }
13694
13695
13696 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj;
13698 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13699 bool arg2 ;
13700 bool result;
13701 PyObject * obj0 = 0 ;
13702 PyObject * obj1 = 0 ;
13703 char *kwnames[] = {
13704 (char *) "self",(char *) "enable", NULL
13705 };
13706
13707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13709 {
13710 arg2 = (bool) SPyObj_AsBool(obj1);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 {
13714 PyThreadState* __tstate = wxPyBeginAllowThreads();
13715 result = (bool)(arg1)->Enable(arg2);
13716
13717 wxPyEndAllowThreads(__tstate);
13718 if (PyErr_Occurred()) SWIG_fail;
13719 }
13720 resultobj = PyInt_FromLong((long)result);
13721 return resultobj;
13722 fail:
13723 return NULL;
13724 }
13725
13726
13727 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13730 PyObject * obj0 = 0 ;
13731 char *kwnames[] = {
13732 (char *) "self", NULL
13733 };
13734
13735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13737 {
13738 PyThreadState* __tstate = wxPyBeginAllowThreads();
13739 (arg1)->Toggle();
13740
13741 wxPyEndAllowThreads(__tstate);
13742 if (PyErr_Occurred()) SWIG_fail;
13743 }
13744 Py_INCREF(Py_None); resultobj = Py_None;
13745 return resultobj;
13746 fail:
13747 return NULL;
13748 }
13749
13750
13751 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13752 PyObject *resultobj;
13753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13754 bool arg2 ;
13755 bool result;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 char *kwnames[] = {
13759 (char *) "self",(char *) "toggle", NULL
13760 };
13761
13762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13764 {
13765 arg2 = (bool) SPyObj_AsBool(obj1);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
13768 {
13769 PyThreadState* __tstate = wxPyBeginAllowThreads();
13770 result = (bool)(arg1)->SetToggle(arg2);
13771
13772 wxPyEndAllowThreads(__tstate);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 }
13775 resultobj = PyInt_FromLong((long)result);
13776 return resultobj;
13777 fail:
13778 return NULL;
13779 }
13780
13781
13782 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13783 PyObject *resultobj;
13784 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13785 wxString *arg2 = 0 ;
13786 bool result;
13787 bool temp2 = False ;
13788 PyObject * obj0 = 0 ;
13789 PyObject * obj1 = 0 ;
13790 char *kwnames[] = {
13791 (char *) "self",(char *) "help", NULL
13792 };
13793
13794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13796 {
13797 arg2 = wxString_in_helper(obj1);
13798 if (arg2 == NULL) SWIG_fail;
13799 temp2 = True;
13800 }
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 resultobj = PyInt_FromLong((long)result);
13809 {
13810 if (temp2)
13811 delete arg2;
13812 }
13813 return resultobj;
13814 fail:
13815 {
13816 if (temp2)
13817 delete arg2;
13818 }
13819 return NULL;
13820 }
13821
13822
13823 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj;
13825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13826 wxString *arg2 = 0 ;
13827 bool result;
13828 bool temp2 = False ;
13829 PyObject * obj0 = 0 ;
13830 PyObject * obj1 = 0 ;
13831 char *kwnames[] = {
13832 (char *) "self",(char *) "help", NULL
13833 };
13834
13835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13837 {
13838 arg2 = wxString_in_helper(obj1);
13839 if (arg2 == NULL) SWIG_fail;
13840 temp2 = True;
13841 }
13842 {
13843 PyThreadState* __tstate = wxPyBeginAllowThreads();
13844 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13845
13846 wxPyEndAllowThreads(__tstate);
13847 if (PyErr_Occurred()) SWIG_fail;
13848 }
13849 resultobj = PyInt_FromLong((long)result);
13850 {
13851 if (temp2)
13852 delete arg2;
13853 }
13854 return resultobj;
13855 fail:
13856 {
13857 if (temp2)
13858 delete arg2;
13859 }
13860 return NULL;
13861 }
13862
13863
13864 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13865 PyObject *resultobj;
13866 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13867 wxBitmap *arg2 = 0 ;
13868 PyObject * obj0 = 0 ;
13869 PyObject * obj1 = 0 ;
13870 char *kwnames[] = {
13871 (char *) "self",(char *) "bmp", NULL
13872 };
13873
13874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13877 if (arg2 == NULL) {
13878 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13879 }
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 Py_INCREF(Py_None); resultobj = Py_None;
13888 return resultobj;
13889 fail:
13890 return NULL;
13891 }
13892
13893
13894 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13897 wxBitmap *arg2 = 0 ;
13898 PyObject * obj0 = 0 ;
13899 PyObject * obj1 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "bmp", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 if (arg2 == NULL) {
13908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13909 }
13910 {
13911 PyThreadState* __tstate = wxPyBeginAllowThreads();
13912 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13913
13914 wxPyEndAllowThreads(__tstate);
13915 if (PyErr_Occurred()) SWIG_fail;
13916 }
13917 Py_INCREF(Py_None); resultobj = Py_None;
13918 return resultobj;
13919 fail:
13920 return NULL;
13921 }
13922
13923
13924 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13925 PyObject *resultobj;
13926 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13927 wxString *arg2 = 0 ;
13928 bool temp2 = False ;
13929 PyObject * obj0 = 0 ;
13930 PyObject * obj1 = 0 ;
13931 char *kwnames[] = {
13932 (char *) "self",(char *) "label", NULL
13933 };
13934
13935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13937 {
13938 arg2 = wxString_in_helper(obj1);
13939 if (arg2 == NULL) SWIG_fail;
13940 temp2 = True;
13941 }
13942 {
13943 PyThreadState* __tstate = wxPyBeginAllowThreads();
13944 (arg1)->SetLabel((wxString const &)*arg2);
13945
13946 wxPyEndAllowThreads(__tstate);
13947 if (PyErr_Occurred()) SWIG_fail;
13948 }
13949 Py_INCREF(Py_None); resultobj = Py_None;
13950 {
13951 if (temp2)
13952 delete arg2;
13953 }
13954 return resultobj;
13955 fail:
13956 {
13957 if (temp2)
13958 delete arg2;
13959 }
13960 return NULL;
13961 }
13962
13963
13964 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13965 PyObject *resultobj;
13966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13967 PyObject * obj0 = 0 ;
13968 char *kwnames[] = {
13969 (char *) "self", NULL
13970 };
13971
13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 (arg1)->Detach();
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 Py_INCREF(Py_None); resultobj = Py_None;
13982 return resultobj;
13983 fail:
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13991 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "tbar", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->Attach(arg2);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012 }
14013
14014
14015 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14018 PyObject *result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 resultobj = result;
14034 return resultobj;
14035 fail:
14036 return NULL;
14037 }
14038
14039
14040 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14043 PyObject *arg2 = (PyObject *) 0 ;
14044 PyObject * obj0 = 0 ;
14045 PyObject * obj1 = 0 ;
14046 char *kwnames[] = {
14047 (char *) "self",(char *) "clientData", NULL
14048 };
14049
14050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
14051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 arg2 = obj1;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 wxToolBarToolBase_SetClientData(arg1,arg2);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
14068 PyObject *obj;
14069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14070 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
14071 Py_INCREF(obj);
14072 return Py_BuildValue((char *)"");
14073 }
14074 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14075 PyObject *resultobj;
14076 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14077 int arg2 ;
14078 wxString *arg3 = 0 ;
14079 wxBitmap *arg4 = 0 ;
14080 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14081 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14082 int arg6 = (int) wxITEM_NORMAL ;
14083 wxString const &arg7_defvalue = wxPyEmptyString ;
14084 wxString *arg7 = (wxString *) &arg7_defvalue ;
14085 wxString const &arg8_defvalue = wxPyEmptyString ;
14086 wxString *arg8 = (wxString *) &arg8_defvalue ;
14087 PyObject *arg9 = (PyObject *) NULL ;
14088 wxToolBarToolBase *result;
14089 bool temp3 = False ;
14090 bool temp7 = False ;
14091 bool temp8 = False ;
14092 PyObject * obj0 = 0 ;
14093 PyObject * obj2 = 0 ;
14094 PyObject * obj3 = 0 ;
14095 PyObject * obj4 = 0 ;
14096 PyObject * obj6 = 0 ;
14097 PyObject * obj7 = 0 ;
14098 PyObject * obj8 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14105 {
14106 arg3 = wxString_in_helper(obj2);
14107 if (arg3 == NULL) SWIG_fail;
14108 temp3 = True;
14109 }
14110 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14111 if (arg4 == NULL) {
14112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14113 }
14114 if (obj4) {
14115 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14116 if (arg5 == NULL) {
14117 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14118 }
14119 }
14120 if (obj6) {
14121 {
14122 arg7 = wxString_in_helper(obj6);
14123 if (arg7 == NULL) SWIG_fail;
14124 temp7 = True;
14125 }
14126 }
14127 if (obj7) {
14128 {
14129 arg8 = wxString_in_helper(obj7);
14130 if (arg8 == NULL) SWIG_fail;
14131 temp8 = True;
14132 }
14133 }
14134 if (obj8) {
14135 arg9 = obj8;
14136 }
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 {
14145 resultobj = wxPyMake_wxObject(result);
14146 }
14147 {
14148 if (temp3)
14149 delete arg3;
14150 }
14151 {
14152 if (temp7)
14153 delete arg7;
14154 }
14155 {
14156 if (temp8)
14157 delete arg8;
14158 }
14159 return resultobj;
14160 fail:
14161 {
14162 if (temp3)
14163 delete arg3;
14164 }
14165 {
14166 if (temp7)
14167 delete arg7;
14168 }
14169 {
14170 if (temp8)
14171 delete arg8;
14172 }
14173 return NULL;
14174 }
14175
14176
14177 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14178 PyObject *resultobj;
14179 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14180 size_t arg2 ;
14181 int arg3 ;
14182 wxString *arg4 = 0 ;
14183 wxBitmap *arg5 = 0 ;
14184 wxBitmap const &arg6_defvalue = wxNullBitmap ;
14185 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
14186 int arg7 = (int) wxITEM_NORMAL ;
14187 wxString const &arg8_defvalue = wxPyEmptyString ;
14188 wxString *arg8 = (wxString *) &arg8_defvalue ;
14189 wxString const &arg9_defvalue = wxPyEmptyString ;
14190 wxString *arg9 = (wxString *) &arg9_defvalue ;
14191 PyObject *arg10 = (PyObject *) NULL ;
14192 wxToolBarToolBase *result;
14193 bool temp4 = False ;
14194 bool temp8 = False ;
14195 bool temp9 = False ;
14196 PyObject * obj0 = 0 ;
14197 PyObject * obj1 = 0 ;
14198 PyObject * obj3 = 0 ;
14199 PyObject * obj4 = 0 ;
14200 PyObject * obj5 = 0 ;
14201 PyObject * obj7 = 0 ;
14202 PyObject * obj8 = 0 ;
14203 PyObject * obj9 = 0 ;
14204 char *kwnames[] = {
14205 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14206 };
14207
14208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
14209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14210 {
14211 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14212 if (PyErr_Occurred()) SWIG_fail;
14213 }
14214 {
14215 arg4 = wxString_in_helper(obj3);
14216 if (arg4 == NULL) SWIG_fail;
14217 temp4 = True;
14218 }
14219 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 if (arg5 == NULL) {
14221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14222 }
14223 if (obj5) {
14224 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14225 if (arg6 == NULL) {
14226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14227 }
14228 }
14229 if (obj7) {
14230 {
14231 arg8 = wxString_in_helper(obj7);
14232 if (arg8 == NULL) SWIG_fail;
14233 temp8 = True;
14234 }
14235 }
14236 if (obj8) {
14237 {
14238 arg9 = wxString_in_helper(obj8);
14239 if (arg9 == NULL) SWIG_fail;
14240 temp9 = True;
14241 }
14242 }
14243 if (obj9) {
14244 arg10 = obj9;
14245 }
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 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);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 {
14254 resultobj = wxPyMake_wxObject(result);
14255 }
14256 {
14257 if (temp4)
14258 delete arg4;
14259 }
14260 {
14261 if (temp8)
14262 delete arg8;
14263 }
14264 {
14265 if (temp9)
14266 delete arg9;
14267 }
14268 return resultobj;
14269 fail:
14270 {
14271 if (temp4)
14272 delete arg4;
14273 }
14274 {
14275 if (temp8)
14276 delete arg8;
14277 }
14278 {
14279 if (temp9)
14280 delete arg9;
14281 }
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14289 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14290 wxToolBarToolBase *result;
14291 PyObject * obj0 = 0 ;
14292 PyObject * obj1 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self",(char *) "tool", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14299 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
14307 {
14308 resultobj = wxPyMake_wxObject(result);
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313 }
14314
14315
14316 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14319 size_t arg2 ;
14320 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14321 wxToolBarToolBase *result;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 PyObject * obj2 = 0 ;
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "pos",(char *) "tool", NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14331 {
14332 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14336 {
14337 PyThreadState* __tstate = wxPyBeginAllowThreads();
14338 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14339
14340 wxPyEndAllowThreads(__tstate);
14341 if (PyErr_Occurred()) SWIG_fail;
14342 }
14343 {
14344 resultobj = wxPyMake_wxObject(result);
14345 }
14346 return resultobj;
14347 fail:
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14355 wxControl *arg2 = (wxControl *) 0 ;
14356 wxToolBarToolBase *result;
14357 PyObject * obj0 = 0 ;
14358 PyObject * obj1 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self",(char *) "control", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14366 {
14367 PyThreadState* __tstate = wxPyBeginAllowThreads();
14368 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14369
14370 wxPyEndAllowThreads(__tstate);
14371 if (PyErr_Occurred()) SWIG_fail;
14372 }
14373 {
14374 resultobj = wxPyMake_wxObject(result);
14375 }
14376 return resultobj;
14377 fail:
14378 return NULL;
14379 }
14380
14381
14382 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14383 PyObject *resultobj;
14384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14385 size_t arg2 ;
14386 wxControl *arg3 = (wxControl *) 0 ;
14387 wxToolBarToolBase *result;
14388 PyObject * obj0 = 0 ;
14389 PyObject * obj1 = 0 ;
14390 PyObject * obj2 = 0 ;
14391 char *kwnames[] = {
14392 (char *) "self",(char *) "pos",(char *) "control", NULL
14393 };
14394
14395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14397 {
14398 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14399 if (PyErr_Occurred()) SWIG_fail;
14400 }
14401 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 {
14410 resultobj = wxPyMake_wxObject(result);
14411 }
14412 return resultobj;
14413 fail:
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14421 int arg2 ;
14422 wxControl *result;
14423 PyObject * obj0 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "id", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = (wxControl *)(arg1)->FindControl(arg2);
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438 resultobj = wxPyMake_wxObject(result);
14439 }
14440 return resultobj;
14441 fail:
14442 return NULL;
14443 }
14444
14445
14446 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14449 wxToolBarToolBase *result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14457 {
14458 PyThreadState* __tstate = wxPyBeginAllowThreads();
14459 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14460
14461 wxPyEndAllowThreads(__tstate);
14462 if (PyErr_Occurred()) SWIG_fail;
14463 }
14464 {
14465 resultobj = wxPyMake_wxObject(result);
14466 }
14467 return resultobj;
14468 fail:
14469 return NULL;
14470 }
14471
14472
14473 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14476 size_t arg2 ;
14477 wxToolBarToolBase *result;
14478 PyObject * obj0 = 0 ;
14479 PyObject * obj1 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self",(char *) "pos", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14486 {
14487 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14488 if (PyErr_Occurred()) SWIG_fail;
14489 }
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = wxPyMake_wxObject(result);
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14509 int arg2 ;
14510 wxToolBarToolBase *result;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "id", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 {
14526 resultobj = wxPyMake_wxObject(result);
14527 }
14528 return resultobj;
14529 fail:
14530 return NULL;
14531 }
14532
14533
14534 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14535 PyObject *resultobj;
14536 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14537 size_t arg2 ;
14538 bool result;
14539 PyObject * obj0 = 0 ;
14540 PyObject * obj1 = 0 ;
14541 char *kwnames[] = {
14542 (char *) "self",(char *) "pos", NULL
14543 };
14544
14545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14547 {
14548 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 {
14552 PyThreadState* __tstate = wxPyBeginAllowThreads();
14553 result = (bool)(arg1)->DeleteToolByPos(arg2);
14554
14555 wxPyEndAllowThreads(__tstate);
14556 if (PyErr_Occurred()) SWIG_fail;
14557 }
14558 resultobj = PyInt_FromLong((long)result);
14559 return resultobj;
14560 fail:
14561 return NULL;
14562 }
14563
14564
14565 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14568 int arg2 ;
14569 bool result;
14570 PyObject * obj0 = 0 ;
14571 char *kwnames[] = {
14572 (char *) "self",(char *) "id", NULL
14573 };
14574
14575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14577 {
14578 PyThreadState* __tstate = wxPyBeginAllowThreads();
14579 result = (bool)(arg1)->DeleteTool(arg2);
14580
14581 wxPyEndAllowThreads(__tstate);
14582 if (PyErr_Occurred()) SWIG_fail;
14583 }
14584 resultobj = PyInt_FromLong((long)result);
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14594 PyObject * obj0 = 0 ;
14595 char *kwnames[] = {
14596 (char *) "self", NULL
14597 };
14598
14599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14601 {
14602 PyThreadState* __tstate = wxPyBeginAllowThreads();
14603 (arg1)->ClearTools();
14604
14605 wxPyEndAllowThreads(__tstate);
14606 if (PyErr_Occurred()) SWIG_fail;
14607 }
14608 Py_INCREF(Py_None); resultobj = Py_None;
14609 return resultobj;
14610 fail:
14611 return NULL;
14612 }
14613
14614
14615 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14616 PyObject *resultobj;
14617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14618 bool result;
14619 PyObject * obj0 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (bool)(arg1)->Realize();
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = PyInt_FromLong((long)result);
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14643 int arg2 ;
14644 bool arg3 ;
14645 PyObject * obj0 = 0 ;
14646 PyObject * obj2 = 0 ;
14647 char *kwnames[] = {
14648 (char *) "self",(char *) "id",(char *) "enable", NULL
14649 };
14650
14651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14653 {
14654 arg3 = (bool) SPyObj_AsBool(obj2);
14655 if (PyErr_Occurred()) SWIG_fail;
14656 }
14657 {
14658 PyThreadState* __tstate = wxPyBeginAllowThreads();
14659 (arg1)->EnableTool(arg2,arg3);
14660
14661 wxPyEndAllowThreads(__tstate);
14662 if (PyErr_Occurred()) SWIG_fail;
14663 }
14664 Py_INCREF(Py_None); resultobj = Py_None;
14665 return resultobj;
14666 fail:
14667 return NULL;
14668 }
14669
14670
14671 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14672 PyObject *resultobj;
14673 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14674 int arg2 ;
14675 bool arg3 ;
14676 PyObject * obj0 = 0 ;
14677 PyObject * obj2 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self",(char *) "id",(char *) "toggle", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 {
14685 arg3 = (bool) SPyObj_AsBool(obj2);
14686 if (PyErr_Occurred()) SWIG_fail;
14687 }
14688 {
14689 PyThreadState* __tstate = wxPyBeginAllowThreads();
14690 (arg1)->ToggleTool(arg2,arg3);
14691
14692 wxPyEndAllowThreads(__tstate);
14693 if (PyErr_Occurred()) SWIG_fail;
14694 }
14695 Py_INCREF(Py_None); resultobj = Py_None;
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14705 int arg2 ;
14706 bool arg3 ;
14707 PyObject * obj0 = 0 ;
14708 PyObject * obj2 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self",(char *) "id",(char *) "toggle", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14715 {
14716 arg3 = (bool) SPyObj_AsBool(obj2);
14717 if (PyErr_Occurred()) SWIG_fail;
14718 }
14719 {
14720 PyThreadState* __tstate = wxPyBeginAllowThreads();
14721 (arg1)->SetToggle(arg2,arg3);
14722
14723 wxPyEndAllowThreads(__tstate);
14724 if (PyErr_Occurred()) SWIG_fail;
14725 }
14726 Py_INCREF(Py_None); resultobj = Py_None;
14727 return resultobj;
14728 fail:
14729 return NULL;
14730 }
14731
14732
14733 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14734 PyObject *resultobj;
14735 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14736 int arg2 ;
14737 PyObject *result;
14738 PyObject * obj0 = 0 ;
14739 char *kwnames[] = {
14740 (char *) "self",(char *) "id", NULL
14741 };
14742
14743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14745 {
14746 PyThreadState* __tstate = wxPyBeginAllowThreads();
14747 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14748
14749 wxPyEndAllowThreads(__tstate);
14750 if (PyErr_Occurred()) SWIG_fail;
14751 }
14752 resultobj = result;
14753 return resultobj;
14754 fail:
14755 return NULL;
14756 }
14757
14758
14759 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14760 PyObject *resultobj;
14761 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14762 int arg2 ;
14763 PyObject *arg3 = (PyObject *) 0 ;
14764 PyObject * obj0 = 0 ;
14765 PyObject * obj2 = 0 ;
14766 char *kwnames[] = {
14767 (char *) "self",(char *) "id",(char *) "clientData", NULL
14768 };
14769
14770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14772 arg3 = obj2;
14773 {
14774 PyThreadState* __tstate = wxPyBeginAllowThreads();
14775 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14776
14777 wxPyEndAllowThreads(__tstate);
14778 if (PyErr_Occurred()) SWIG_fail;
14779 }
14780 Py_INCREF(Py_None); resultobj = Py_None;
14781 return resultobj;
14782 fail:
14783 return NULL;
14784 }
14785
14786
14787 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14788 PyObject *resultobj;
14789 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14790 int arg2 ;
14791 int result;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self",(char *) "id", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 resultobj = PyInt_FromLong((long)result);
14807 return resultobj;
14808 fail:
14809 return NULL;
14810 }
14811
14812
14813 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14814 PyObject *resultobj;
14815 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14816 int arg2 ;
14817 bool result;
14818 PyObject * obj0 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self",(char *) "id", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (bool)(arg1)->GetToolState(arg2);
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 resultobj = PyInt_FromLong((long)result);
14833 return resultobj;
14834 fail:
14835 return NULL;
14836 }
14837
14838
14839 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14840 PyObject *resultobj;
14841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14842 int arg2 ;
14843 bool result;
14844 PyObject * obj0 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self",(char *) "id", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 result = (bool)(arg1)->GetToolEnabled(arg2);
14854
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 resultobj = PyInt_FromLong((long)result);
14859 return resultobj;
14860 fail:
14861 return NULL;
14862 }
14863
14864
14865 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14866 PyObject *resultobj;
14867 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14868 int arg2 ;
14869 wxString *arg3 = 0 ;
14870 bool temp3 = False ;
14871 PyObject * obj0 = 0 ;
14872 PyObject * obj2 = 0 ;
14873 char *kwnames[] = {
14874 (char *) "self",(char *) "id",(char *) "helpString", NULL
14875 };
14876
14877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14879 {
14880 arg3 = wxString_in_helper(obj2);
14881 if (arg3 == NULL) SWIG_fail;
14882 temp3 = True;
14883 }
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 Py_INCREF(Py_None); resultobj = Py_None;
14892 {
14893 if (temp3)
14894 delete arg3;
14895 }
14896 return resultobj;
14897 fail:
14898 {
14899 if (temp3)
14900 delete arg3;
14901 }
14902 return NULL;
14903 }
14904
14905
14906 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14907 PyObject *resultobj;
14908 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14909 int arg2 ;
14910 wxString result;
14911 PyObject * obj0 = 0 ;
14912 char *kwnames[] = {
14913 (char *) "self",(char *) "id", NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 result = (arg1)->GetToolShortHelp(arg2);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 {
14926 #if wxUSE_UNICODE
14927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14928 #else
14929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14930 #endif
14931 }
14932 return resultobj;
14933 fail:
14934 return NULL;
14935 }
14936
14937
14938 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj;
14940 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14941 int arg2 ;
14942 wxString *arg3 = 0 ;
14943 bool temp3 = False ;
14944 PyObject * obj0 = 0 ;
14945 PyObject * obj2 = 0 ;
14946 char *kwnames[] = {
14947 (char *) "self",(char *) "id",(char *) "helpString", NULL
14948 };
14949
14950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14952 {
14953 arg3 = wxString_in_helper(obj2);
14954 if (arg3 == NULL) SWIG_fail;
14955 temp3 = True;
14956 }
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 Py_INCREF(Py_None); resultobj = Py_None;
14965 {
14966 if (temp3)
14967 delete arg3;
14968 }
14969 return resultobj;
14970 fail:
14971 {
14972 if (temp3)
14973 delete arg3;
14974 }
14975 return NULL;
14976 }
14977
14978
14979 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj;
14981 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14982 int arg2 ;
14983 wxString result;
14984 PyObject * obj0 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self",(char *) "id", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14991 {
14992 PyThreadState* __tstate = wxPyBeginAllowThreads();
14993 result = (arg1)->GetToolLongHelp(arg2);
14994
14995 wxPyEndAllowThreads(__tstate);
14996 if (PyErr_Occurred()) SWIG_fail;
14997 }
14998 {
14999 #if wxUSE_UNICODE
15000 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15001 #else
15002 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15003 #endif
15004 }
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15014 int arg2 ;
15015 int arg3 ;
15016 PyObject * obj0 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self",(char *) "x",(char *) "y", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15023 {
15024 PyThreadState* __tstate = wxPyBeginAllowThreads();
15025 (arg1)->SetMargins(arg2,arg3);
15026
15027 wxPyEndAllowThreads(__tstate);
15028 if (PyErr_Occurred()) SWIG_fail;
15029 }
15030 Py_INCREF(Py_None); resultobj = Py_None;
15031 return resultobj;
15032 fail:
15033 return NULL;
15034 }
15035
15036
15037 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15038 PyObject *resultobj;
15039 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15040 wxSize *arg2 = 0 ;
15041 wxSize temp2 ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "size", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15050 {
15051 arg2 = &temp2;
15052 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15053 }
15054 {
15055 PyThreadState* __tstate = wxPyBeginAllowThreads();
15056 (arg1)->SetMargins((wxSize const &)*arg2);
15057
15058 wxPyEndAllowThreads(__tstate);
15059 if (PyErr_Occurred()) SWIG_fail;
15060 }
15061 Py_INCREF(Py_None); resultobj = Py_None;
15062 return resultobj;
15063 fail:
15064 return NULL;
15065 }
15066
15067
15068 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15069 PyObject *resultobj;
15070 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15071 int arg2 ;
15072 PyObject * obj0 = 0 ;
15073 char *kwnames[] = {
15074 (char *) "self",(char *) "packing", NULL
15075 };
15076
15077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
15078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 (arg1)->SetToolPacking(arg2);
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 Py_INCREF(Py_None); resultobj = Py_None;
15087 return resultobj;
15088 fail:
15089 return NULL;
15090 }
15091
15092
15093 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15094 PyObject *resultobj;
15095 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15096 int arg2 ;
15097 PyObject * obj0 = 0 ;
15098 char *kwnames[] = {
15099 (char *) "self",(char *) "separation", NULL
15100 };
15101
15102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
15103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15104 {
15105 PyThreadState* __tstate = wxPyBeginAllowThreads();
15106 (arg1)->SetToolSeparation(arg2);
15107
15108 wxPyEndAllowThreads(__tstate);
15109 if (PyErr_Occurred()) SWIG_fail;
15110 }
15111 Py_INCREF(Py_None); resultobj = Py_None;
15112 return resultobj;
15113 fail:
15114 return NULL;
15115 }
15116
15117
15118 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15119 PyObject *resultobj;
15120 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15121 wxSize result;
15122 PyObject * obj0 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 PyThreadState* __tstate = wxPyBeginAllowThreads();
15131 result = (arg1)->GetToolMargins();
15132
15133 wxPyEndAllowThreads(__tstate);
15134 if (PyErr_Occurred()) SWIG_fail;
15135 }
15136 {
15137 wxSize * resultptr;
15138 resultptr = new wxSize((wxSize &) result);
15139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15140 }
15141 return resultobj;
15142 fail:
15143 return NULL;
15144 }
15145
15146
15147 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15150 wxSize result;
15151 PyObject * obj0 = 0 ;
15152 char *kwnames[] = {
15153 (char *) "self", NULL
15154 };
15155
15156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15158 {
15159 PyThreadState* __tstate = wxPyBeginAllowThreads();
15160 result = (arg1)->GetMargins();
15161
15162 wxPyEndAllowThreads(__tstate);
15163 if (PyErr_Occurred()) SWIG_fail;
15164 }
15165 {
15166 wxSize * resultptr;
15167 resultptr = new wxSize((wxSize &) result);
15168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15169 }
15170 return resultobj;
15171 fail:
15172 return NULL;
15173 }
15174
15175
15176 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15177 PyObject *resultobj;
15178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15179 int result;
15180 PyObject * obj0 = 0 ;
15181 char *kwnames[] = {
15182 (char *) "self", NULL
15183 };
15184
15185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (int)(arg1)->GetToolPacking();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15194 resultobj = PyInt_FromLong((long)result);
15195 return resultobj;
15196 fail:
15197 return NULL;
15198 }
15199
15200
15201 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15204 int result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (int)(arg1)->GetToolSeparation();
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 resultobj = PyInt_FromLong((long)result);
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15229 int arg2 ;
15230 PyObject * obj0 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "self",(char *) "nRows", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15237 {
15238 PyThreadState* __tstate = wxPyBeginAllowThreads();
15239 (arg1)->SetRows(arg2);
15240
15241 wxPyEndAllowThreads(__tstate);
15242 if (PyErr_Occurred()) SWIG_fail;
15243 }
15244 Py_INCREF(Py_None); resultobj = Py_None;
15245 return resultobj;
15246 fail:
15247 return NULL;
15248 }
15249
15250
15251 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15252 PyObject *resultobj;
15253 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15254 int arg2 ;
15255 int arg3 ;
15256 PyObject * obj0 = 0 ;
15257 char *kwnames[] = {
15258 (char *) "self",(char *) "rows",(char *) "cols", NULL
15259 };
15260
15261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15263 {
15264 PyThreadState* __tstate = wxPyBeginAllowThreads();
15265 (arg1)->SetMaxRowsCols(arg2,arg3);
15266
15267 wxPyEndAllowThreads(__tstate);
15268 if (PyErr_Occurred()) SWIG_fail;
15269 }
15270 Py_INCREF(Py_None); resultobj = Py_None;
15271 return resultobj;
15272 fail:
15273 return NULL;
15274 }
15275
15276
15277 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15280 int result;
15281 PyObject * obj0 = 0 ;
15282 char *kwnames[] = {
15283 (char *) "self", NULL
15284 };
15285
15286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
15290 result = (int)(arg1)->GetMaxRows();
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
15295 resultobj = PyInt_FromLong((long)result);
15296 return resultobj;
15297 fail:
15298 return NULL;
15299 }
15300
15301
15302 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15303 PyObject *resultobj;
15304 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15305 int result;
15306 PyObject * obj0 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "self", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 result = (int)(arg1)->GetMaxCols();
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 resultobj = PyInt_FromLong((long)result);
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15330 wxSize *arg2 = 0 ;
15331 wxSize temp2 ;
15332 PyObject * obj0 = 0 ;
15333 PyObject * obj1 = 0 ;
15334 char *kwnames[] = {
15335 (char *) "self",(char *) "size", NULL
15336 };
15337
15338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15340 {
15341 arg2 = &temp2;
15342 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15343 }
15344 {
15345 PyThreadState* __tstate = wxPyBeginAllowThreads();
15346 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15347
15348 wxPyEndAllowThreads(__tstate);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 Py_INCREF(Py_None); resultobj = Py_None;
15352 return resultobj;
15353 fail:
15354 return NULL;
15355 }
15356
15357
15358 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15359 PyObject *resultobj;
15360 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15361 wxSize result;
15362 PyObject * obj0 = 0 ;
15363 char *kwnames[] = {
15364 (char *) "self", NULL
15365 };
15366
15367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15369 {
15370 PyThreadState* __tstate = wxPyBeginAllowThreads();
15371 result = (arg1)->GetToolBitmapSize();
15372
15373 wxPyEndAllowThreads(__tstate);
15374 if (PyErr_Occurred()) SWIG_fail;
15375 }
15376 {
15377 wxSize * resultptr;
15378 resultptr = new wxSize((wxSize &) result);
15379 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15380 }
15381 return resultobj;
15382 fail:
15383 return NULL;
15384 }
15385
15386
15387 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15388 PyObject *resultobj;
15389 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15390 wxSize result;
15391 PyObject * obj0 = 0 ;
15392 char *kwnames[] = {
15393 (char *) "self", NULL
15394 };
15395
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 result = (arg1)->GetToolSize();
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 {
15406 wxSize * resultptr;
15407 resultptr = new wxSize((wxSize &) result);
15408 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15409 }
15410 return resultobj;
15411 fail:
15412 return NULL;
15413 }
15414
15415
15416 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15419 int arg2 ;
15420 int arg3 ;
15421 wxToolBarToolBase *result;
15422 PyObject * obj0 = 0 ;
15423 char *kwnames[] = {
15424 (char *) "self",(char *) "x",(char *) "y", NULL
15425 };
15426
15427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 {
15437 resultobj = wxPyMake_wxObject(result);
15438 }
15439 return resultobj;
15440 fail:
15441 return NULL;
15442 }
15443
15444
15445 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15446 PyObject *resultobj;
15447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15448 int arg2 ;
15449 wxToolBarToolBase *result;
15450 PyObject * obj0 = 0 ;
15451 char *kwnames[] = {
15452 (char *) "self",(char *) "toolid", NULL
15453 };
15454
15455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 {
15465 resultobj = wxPyMake_wxObject(result);
15466 }
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15476 bool result;
15477 PyObject * obj0 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (bool)(arg1)->IsVertical();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 resultobj = PyInt_FromLong((long)result);
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15499 PyObject *obj;
15500 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15501 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15502 Py_INCREF(obj);
15503 return Py_BuildValue((char *)"");
15504 }
15505 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxWindow *arg1 = (wxWindow *) 0 ;
15508 int arg2 ;
15509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15511 wxSize const &arg4_defvalue = wxDefaultSize ;
15512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15513 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15514 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15515 wxString *arg6 = (wxString *) &arg6_defvalue ;
15516 wxToolBar *result;
15517 wxPoint temp3 ;
15518 wxSize temp4 ;
15519 bool temp6 = False ;
15520 PyObject * obj0 = 0 ;
15521 PyObject * obj2 = 0 ;
15522 PyObject * obj3 = 0 ;
15523 PyObject * obj5 = 0 ;
15524 char *kwnames[] = {
15525 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15530 if (obj2) {
15531 {
15532 arg3 = &temp3;
15533 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15534 }
15535 }
15536 if (obj3) {
15537 {
15538 arg4 = &temp4;
15539 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15540 }
15541 }
15542 if (obj5) {
15543 {
15544 arg6 = wxString_in_helper(obj5);
15545 if (arg6 == NULL) SWIG_fail;
15546 temp6 = True;
15547 }
15548 }
15549 {
15550 PyThreadState* __tstate = wxPyBeginAllowThreads();
15551 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15552
15553 wxPyEndAllowThreads(__tstate);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 {
15557 resultobj = wxPyMake_wxObject(result);
15558 }
15559 {
15560 if (temp6)
15561 delete arg6;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp6)
15567 delete arg6;
15568 }
15569 return NULL;
15570 }
15571
15572
15573 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxToolBar *result;
15576 char *kwnames[] = {
15577 NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (wxToolBar *)new wxToolBar();
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589 resultobj = wxPyMake_wxObject(result);
15590 }
15591 return resultobj;
15592 fail:
15593 return NULL;
15594 }
15595
15596
15597 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxToolBar *arg1 = (wxToolBar *) 0 ;
15600 wxWindow *arg2 = (wxWindow *) 0 ;
15601 int arg3 ;
15602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15604 wxSize const &arg5_defvalue = wxDefaultSize ;
15605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15606 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15607 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15608 wxString *arg7 = (wxString *) &arg7_defvalue ;
15609 bool result;
15610 wxPoint temp4 ;
15611 wxSize temp5 ;
15612 bool temp7 = False ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 PyObject * obj3 = 0 ;
15616 PyObject * obj4 = 0 ;
15617 PyObject * obj6 = 0 ;
15618 char *kwnames[] = {
15619 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15620 };
15621
15622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15625 if (obj3) {
15626 {
15627 arg4 = &temp4;
15628 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15629 }
15630 }
15631 if (obj4) {
15632 {
15633 arg5 = &temp5;
15634 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15635 }
15636 }
15637 if (obj6) {
15638 {
15639 arg7 = wxString_in_helper(obj6);
15640 if (arg7 == NULL) SWIG_fail;
15641 temp7 = True;
15642 }
15643 }
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15647
15648 wxPyEndAllowThreads(__tstate);
15649 if (PyErr_Occurred()) SWIG_fail;
15650 }
15651 resultobj = PyInt_FromLong((long)result);
15652 {
15653 if (temp7)
15654 delete arg7;
15655 }
15656 return resultobj;
15657 fail:
15658 {
15659 if (temp7)
15660 delete arg7;
15661 }
15662 return NULL;
15663 }
15664
15665
15666 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15667 PyObject *resultobj;
15668 wxToolBar *arg1 = (wxToolBar *) 0 ;
15669 int arg2 ;
15670 int arg3 ;
15671 wxToolBarToolBase *result;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self",(char *) "x",(char *) "y", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15679 {
15680 PyThreadState* __tstate = wxPyBeginAllowThreads();
15681 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15682
15683 wxPyEndAllowThreads(__tstate);
15684 if (PyErr_Occurred()) SWIG_fail;
15685 }
15686 {
15687 resultobj = wxPyMake_wxObject(result);
15688 }
15689 return resultobj;
15690 fail:
15691 return NULL;
15692 }
15693
15694
15695 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15696 PyObject *obj;
15697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15698 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15699 Py_INCREF(obj);
15700 return Py_BuildValue((char *)"");
15701 }
15702 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15703 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15704 return 1;
15705 }
15706
15707
15708 static PyObject *_wrap_ListCtrlNameStr_get() {
15709 PyObject *pyobj;
15710
15711 {
15712 #if wxUSE_UNICODE
15713 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15714 #else
15715 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15716 #endif
15717 }
15718 return pyobj;
15719 }
15720
15721
15722 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15723 PyObject *resultobj;
15724 wxColour const &arg1_defvalue = wxNullColour ;
15725 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15726 wxColour const &arg2_defvalue = wxNullColour ;
15727 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15728 wxFont const &arg3_defvalue = wxNullFont ;
15729 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15730 wxListItemAttr *result;
15731 wxColour temp1 ;
15732 wxColour temp2 ;
15733 PyObject * obj0 = 0 ;
15734 PyObject * obj1 = 0 ;
15735 PyObject * obj2 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15741 if (obj0) {
15742 {
15743 arg1 = &temp1;
15744 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15745 }
15746 }
15747 if (obj1) {
15748 {
15749 arg2 = &temp2;
15750 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15751 }
15752 }
15753 if (obj2) {
15754 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15755 if (arg3 == NULL) {
15756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15757 }
15758 }
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15767 return resultobj;
15768 fail:
15769 return NULL;
15770 }
15771
15772
15773 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj;
15775 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15776 wxColour *arg2 = 0 ;
15777 wxColour temp2 ;
15778 PyObject * obj0 = 0 ;
15779 PyObject * obj1 = 0 ;
15780 char *kwnames[] = {
15781 (char *) "self",(char *) "colText", NULL
15782 };
15783
15784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15786 {
15787 arg2 = &temp2;
15788 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15789 }
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 (arg1)->SetTextColour((wxColour const &)*arg2);
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 Py_INCREF(Py_None); resultobj = Py_None;
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15807 wxColour *arg2 = 0 ;
15808 wxColour temp2 ;
15809 PyObject * obj0 = 0 ;
15810 PyObject * obj1 = 0 ;
15811 char *kwnames[] = {
15812 (char *) "self",(char *) "colBack", NULL
15813 };
15814
15815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15817 {
15818 arg2 = &temp2;
15819 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15820 }
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15824
15825 wxPyEndAllowThreads(__tstate);
15826 if (PyErr_Occurred()) SWIG_fail;
15827 }
15828 Py_INCREF(Py_None); resultobj = Py_None;
15829 return resultobj;
15830 fail:
15831 return NULL;
15832 }
15833
15834
15835 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15836 PyObject *resultobj;
15837 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15838 wxFont *arg2 = 0 ;
15839 PyObject * obj0 = 0 ;
15840 PyObject * obj1 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self",(char *) "font", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15848 if (arg2 == NULL) {
15849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15850 }
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetFont((wxFont const &)*arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15868 bool result;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 result = (bool)(arg1)->HasTextColour();
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 resultobj = PyInt_FromLong((long)result);
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15893 bool result;
15894 PyObject * obj0 = 0 ;
15895 char *kwnames[] = {
15896 (char *) "self", NULL
15897 };
15898
15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15901 {
15902 PyThreadState* __tstate = wxPyBeginAllowThreads();
15903 result = (bool)(arg1)->HasBackgroundColour();
15904
15905 wxPyEndAllowThreads(__tstate);
15906 if (PyErr_Occurred()) SWIG_fail;
15907 }
15908 resultobj = PyInt_FromLong((long)result);
15909 return resultobj;
15910 fail:
15911 return NULL;
15912 }
15913
15914
15915 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15918 bool result;
15919 PyObject * obj0 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15926 {
15927 PyThreadState* __tstate = wxPyBeginAllowThreads();
15928 result = (bool)(arg1)->HasFont();
15929
15930 wxPyEndAllowThreads(__tstate);
15931 if (PyErr_Occurred()) SWIG_fail;
15932 }
15933 resultobj = PyInt_FromLong((long)result);
15934 return resultobj;
15935 fail:
15936 return NULL;
15937 }
15938
15939
15940 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15941 PyObject *resultobj;
15942 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15943 wxColour result;
15944 PyObject * obj0 = 0 ;
15945 char *kwnames[] = {
15946 (char *) "self", NULL
15947 };
15948
15949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 result = (arg1)->GetTextColour();
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 {
15959 wxColour * resultptr;
15960 resultptr = new wxColour((wxColour &) result);
15961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15962 }
15963 return resultobj;
15964 fail:
15965 return NULL;
15966 }
15967
15968
15969 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15970 PyObject *resultobj;
15971 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15972 wxColour result;
15973 PyObject * obj0 = 0 ;
15974 char *kwnames[] = {
15975 (char *) "self", NULL
15976 };
15977
15978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15980 {
15981 PyThreadState* __tstate = wxPyBeginAllowThreads();
15982 result = (arg1)->GetBackgroundColour();
15983
15984 wxPyEndAllowThreads(__tstate);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
15987 {
15988 wxColour * resultptr;
15989 resultptr = new wxColour((wxColour &) result);
15990 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15991 }
15992 return resultobj;
15993 fail:
15994 return NULL;
15995 }
15996
15997
15998 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15999 PyObject *resultobj;
16000 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16001 wxFont result;
16002 PyObject * obj0 = 0 ;
16003 char *kwnames[] = {
16004 (char *) "self", NULL
16005 };
16006
16007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
16008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 result = (arg1)->GetFont();
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 {
16017 wxFont * resultptr;
16018 resultptr = new wxFont((wxFont &) result);
16019 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16020 }
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16030 PyObject * obj0 = 0 ;
16031 char *kwnames[] = {
16032 (char *) "self", NULL
16033 };
16034
16035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
16036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 wxListItemAttr_Destroy(arg1);
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 Py_INCREF(Py_None); resultobj = Py_None;
16045 return resultobj;
16046 fail:
16047 return NULL;
16048 }
16049
16050
16051 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
16052 PyObject *obj;
16053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16054 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
16055 Py_INCREF(obj);
16056 return Py_BuildValue((char *)"");
16057 }
16058 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16059 PyObject *resultobj;
16060 wxListItem *result;
16061 char *kwnames[] = {
16062 NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
16066 {
16067 PyThreadState* __tstate = wxPyBeginAllowThreads();
16068 result = (wxListItem *)new wxListItem();
16069
16070 wxPyEndAllowThreads(__tstate);
16071 if (PyErr_Occurred()) SWIG_fail;
16072 }
16073 {
16074 resultobj = wxPyMake_wxObject(result);
16075 }
16076 return resultobj;
16077 fail:
16078 return NULL;
16079 }
16080
16081
16082 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxListItem *arg1 = (wxListItem *) 0 ;
16085 PyObject * obj0 = 0 ;
16086 char *kwnames[] = {
16087 (char *) "self", NULL
16088 };
16089
16090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
16091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16092 {
16093 PyThreadState* __tstate = wxPyBeginAllowThreads();
16094 delete arg1;
16095
16096 wxPyEndAllowThreads(__tstate);
16097 if (PyErr_Occurred()) SWIG_fail;
16098 }
16099 Py_INCREF(Py_None); resultobj = Py_None;
16100 return resultobj;
16101 fail:
16102 return NULL;
16103 }
16104
16105
16106 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
16107 PyObject *resultobj;
16108 wxListItem *arg1 = (wxListItem *) 0 ;
16109 PyObject * obj0 = 0 ;
16110 char *kwnames[] = {
16111 (char *) "self", NULL
16112 };
16113
16114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
16115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16116 {
16117 PyThreadState* __tstate = wxPyBeginAllowThreads();
16118 (arg1)->Clear();
16119
16120 wxPyEndAllowThreads(__tstate);
16121 if (PyErr_Occurred()) SWIG_fail;
16122 }
16123 Py_INCREF(Py_None); resultobj = Py_None;
16124 return resultobj;
16125 fail:
16126 return NULL;
16127 }
16128
16129
16130 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16131 PyObject *resultobj;
16132 wxListItem *arg1 = (wxListItem *) 0 ;
16133 PyObject * obj0 = 0 ;
16134 char *kwnames[] = {
16135 (char *) "self", NULL
16136 };
16137
16138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
16139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16140 {
16141 PyThreadState* __tstate = wxPyBeginAllowThreads();
16142 (arg1)->ClearAttributes();
16143
16144 wxPyEndAllowThreads(__tstate);
16145 if (PyErr_Occurred()) SWIG_fail;
16146 }
16147 Py_INCREF(Py_None); resultobj = Py_None;
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxListItem *arg1 = (wxListItem *) 0 ;
16157 long arg2 ;
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self",(char *) "mask", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
16164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16165 {
16166 PyThreadState* __tstate = wxPyBeginAllowThreads();
16167 (arg1)->SetMask(arg2);
16168
16169 wxPyEndAllowThreads(__tstate);
16170 if (PyErr_Occurred()) SWIG_fail;
16171 }
16172 Py_INCREF(Py_None); resultobj = Py_None;
16173 return resultobj;
16174 fail:
16175 return NULL;
16176 }
16177
16178
16179 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16180 PyObject *resultobj;
16181 wxListItem *arg1 = (wxListItem *) 0 ;
16182 long arg2 ;
16183 PyObject * obj0 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self",(char *) "id", NULL
16186 };
16187
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
16189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16190 {
16191 PyThreadState* __tstate = wxPyBeginAllowThreads();
16192 (arg1)->SetId(arg2);
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
16197 Py_INCREF(Py_None); resultobj = Py_None;
16198 return resultobj;
16199 fail:
16200 return NULL;
16201 }
16202
16203
16204 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16205 PyObject *resultobj;
16206 wxListItem *arg1 = (wxListItem *) 0 ;
16207 int arg2 ;
16208 PyObject * obj0 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self",(char *) "col", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
16214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16215 {
16216 PyThreadState* __tstate = wxPyBeginAllowThreads();
16217 (arg1)->SetColumn(arg2);
16218
16219 wxPyEndAllowThreads(__tstate);
16220 if (PyErr_Occurred()) SWIG_fail;
16221 }
16222 Py_INCREF(Py_None); resultobj = Py_None;
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxListItem *arg1 = (wxListItem *) 0 ;
16232 long arg2 ;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self",(char *) "state", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16240 {
16241 PyThreadState* __tstate = wxPyBeginAllowThreads();
16242 (arg1)->SetState(arg2);
16243
16244 wxPyEndAllowThreads(__tstate);
16245 if (PyErr_Occurred()) SWIG_fail;
16246 }
16247 Py_INCREF(Py_None); resultobj = Py_None;
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxListItem *arg1 = (wxListItem *) 0 ;
16257 long arg2 ;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self",(char *) "stateMask", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16265 {
16266 PyThreadState* __tstate = wxPyBeginAllowThreads();
16267 (arg1)->SetStateMask(arg2);
16268
16269 wxPyEndAllowThreads(__tstate);
16270 if (PyErr_Occurred()) SWIG_fail;
16271 }
16272 Py_INCREF(Py_None); resultobj = Py_None;
16273 return resultobj;
16274 fail:
16275 return NULL;
16276 }
16277
16278
16279 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16280 PyObject *resultobj;
16281 wxListItem *arg1 = (wxListItem *) 0 ;
16282 wxString *arg2 = 0 ;
16283 bool temp2 = False ;
16284 PyObject * obj0 = 0 ;
16285 PyObject * obj1 = 0 ;
16286 char *kwnames[] = {
16287 (char *) "self",(char *) "text", NULL
16288 };
16289
16290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16292 {
16293 arg2 = wxString_in_helper(obj1);
16294 if (arg2 == NULL) SWIG_fail;
16295 temp2 = True;
16296 }
16297 {
16298 PyThreadState* __tstate = wxPyBeginAllowThreads();
16299 (arg1)->SetText((wxString const &)*arg2);
16300
16301 wxPyEndAllowThreads(__tstate);
16302 if (PyErr_Occurred()) SWIG_fail;
16303 }
16304 Py_INCREF(Py_None); resultobj = Py_None;
16305 {
16306 if (temp2)
16307 delete arg2;
16308 }
16309 return resultobj;
16310 fail:
16311 {
16312 if (temp2)
16313 delete arg2;
16314 }
16315 return NULL;
16316 }
16317
16318
16319 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj;
16321 wxListItem *arg1 = (wxListItem *) 0 ;
16322 int arg2 ;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self",(char *) "image", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 (arg1)->SetImage(arg2);
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 Py_INCREF(Py_None); resultobj = Py_None;
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxListItem *arg1 = (wxListItem *) 0 ;
16347 long arg2 ;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self",(char *) "data", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 (arg1)->SetData(arg2);
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 Py_INCREF(Py_None); resultobj = Py_None;
16363 return resultobj;
16364 fail:
16365 return NULL;
16366 }
16367
16368
16369 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxListItem *arg1 = (wxListItem *) 0 ;
16372 int arg2 ;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self",(char *) "width", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 (arg1)->SetWidth(arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 Py_INCREF(Py_None); resultobj = Py_None;
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxListItem *arg1 = (wxListItem *) 0 ;
16397 int arg2 ;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "align", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 (arg1)->SetAlign((wxListColumnFormat )arg2);
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 Py_INCREF(Py_None); resultobj = Py_None;
16413 return resultobj;
16414 fail:
16415 return NULL;
16416 }
16417
16418
16419 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxListItem *arg1 = (wxListItem *) 0 ;
16422 wxColour *arg2 = 0 ;
16423 wxColour temp2 ;
16424 PyObject * obj0 = 0 ;
16425 PyObject * obj1 = 0 ;
16426 char *kwnames[] = {
16427 (char *) "self",(char *) "colText", NULL
16428 };
16429
16430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16432 {
16433 arg2 = &temp2;
16434 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16435 }
16436 {
16437 PyThreadState* __tstate = wxPyBeginAllowThreads();
16438 (arg1)->SetTextColour((wxColour const &)*arg2);
16439
16440 wxPyEndAllowThreads(__tstate);
16441 if (PyErr_Occurred()) SWIG_fail;
16442 }
16443 Py_INCREF(Py_None); resultobj = Py_None;
16444 return resultobj;
16445 fail:
16446 return NULL;
16447 }
16448
16449
16450 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16451 PyObject *resultobj;
16452 wxListItem *arg1 = (wxListItem *) 0 ;
16453 wxColour *arg2 = 0 ;
16454 wxColour temp2 ;
16455 PyObject * obj0 = 0 ;
16456 PyObject * obj1 = 0 ;
16457 char *kwnames[] = {
16458 (char *) "self",(char *) "colBack", NULL
16459 };
16460
16461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16463 {
16464 arg2 = &temp2;
16465 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16466 }
16467 {
16468 PyThreadState* __tstate = wxPyBeginAllowThreads();
16469 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16470
16471 wxPyEndAllowThreads(__tstate);
16472 if (PyErr_Occurred()) SWIG_fail;
16473 }
16474 Py_INCREF(Py_None); resultobj = Py_None;
16475 return resultobj;
16476 fail:
16477 return NULL;
16478 }
16479
16480
16481 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16482 PyObject *resultobj;
16483 wxListItem *arg1 = (wxListItem *) 0 ;
16484 wxFont *arg2 = 0 ;
16485 PyObject * obj0 = 0 ;
16486 PyObject * obj1 = 0 ;
16487 char *kwnames[] = {
16488 (char *) "self",(char *) "font", NULL
16489 };
16490
16491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16494 if (arg2 == NULL) {
16495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16496 }
16497 {
16498 PyThreadState* __tstate = wxPyBeginAllowThreads();
16499 (arg1)->SetFont((wxFont const &)*arg2);
16500
16501 wxPyEndAllowThreads(__tstate);
16502 if (PyErr_Occurred()) SWIG_fail;
16503 }
16504 Py_INCREF(Py_None); resultobj = Py_None;
16505 return resultobj;
16506 fail:
16507 return NULL;
16508 }
16509
16510
16511 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16512 PyObject *resultobj;
16513 wxListItem *arg1 = (wxListItem *) 0 ;
16514 long result;
16515 PyObject * obj0 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16522 {
16523 PyThreadState* __tstate = wxPyBeginAllowThreads();
16524 result = (long)(arg1)->GetMask();
16525
16526 wxPyEndAllowThreads(__tstate);
16527 if (PyErr_Occurred()) SWIG_fail;
16528 }
16529 resultobj = PyInt_FromLong((long)result);
16530 return resultobj;
16531 fail:
16532 return NULL;
16533 }
16534
16535
16536 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16537 PyObject *resultobj;
16538 wxListItem *arg1 = (wxListItem *) 0 ;
16539 long result;
16540 PyObject * obj0 = 0 ;
16541 char *kwnames[] = {
16542 (char *) "self", NULL
16543 };
16544
16545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (long)(arg1)->GetId();
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 resultobj = PyInt_FromLong((long)result);
16555 return resultobj;
16556 fail:
16557 return NULL;
16558 }
16559
16560
16561 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxListItem *arg1 = (wxListItem *) 0 ;
16564 int result;
16565 PyObject * obj0 = 0 ;
16566 char *kwnames[] = {
16567 (char *) "self", NULL
16568 };
16569
16570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16572 {
16573 PyThreadState* __tstate = wxPyBeginAllowThreads();
16574 result = (int)(arg1)->GetColumn();
16575
16576 wxPyEndAllowThreads(__tstate);
16577 if (PyErr_Occurred()) SWIG_fail;
16578 }
16579 resultobj = PyInt_FromLong((long)result);
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxListItem *arg1 = (wxListItem *) 0 ;
16589 long result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 result = (long)(arg1)->GetState();
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 resultobj = PyInt_FromLong((long)result);
16605 return resultobj;
16606 fail:
16607 return NULL;
16608 }
16609
16610
16611 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxListItem *arg1 = (wxListItem *) 0 ;
16614 wxString *result;
16615 PyObject * obj0 = 0 ;
16616 char *kwnames[] = {
16617 (char *) "self", NULL
16618 };
16619
16620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16622 {
16623 PyThreadState* __tstate = wxPyBeginAllowThreads();
16624 {
16625 wxString const &_result_ref = (arg1)->GetText();
16626 result = (wxString *) &_result_ref;
16627 }
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 {
16633 #if wxUSE_UNICODE
16634 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16635 #else
16636 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16637 #endif
16638 }
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxListItem *arg1 = (wxListItem *) 0 ;
16648 int result;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 result = (int)(arg1)->GetImage();
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 resultobj = PyInt_FromLong((long)result);
16664 return resultobj;
16665 fail:
16666 return NULL;
16667 }
16668
16669
16670 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxListItem *arg1 = (wxListItem *) 0 ;
16673 long result;
16674 PyObject * obj0 = 0 ;
16675 char *kwnames[] = {
16676 (char *) "self", NULL
16677 };
16678
16679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16681 {
16682 PyThreadState* __tstate = wxPyBeginAllowThreads();
16683 result = (long)(arg1)->GetData();
16684
16685 wxPyEndAllowThreads(__tstate);
16686 if (PyErr_Occurred()) SWIG_fail;
16687 }
16688 resultobj = PyInt_FromLong((long)result);
16689 return resultobj;
16690 fail:
16691 return NULL;
16692 }
16693
16694
16695 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16696 PyObject *resultobj;
16697 wxListItem *arg1 = (wxListItem *) 0 ;
16698 int result;
16699 PyObject * obj0 = 0 ;
16700 char *kwnames[] = {
16701 (char *) "self", NULL
16702 };
16703
16704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16706 {
16707 PyThreadState* __tstate = wxPyBeginAllowThreads();
16708 result = (int)(arg1)->GetWidth();
16709
16710 wxPyEndAllowThreads(__tstate);
16711 if (PyErr_Occurred()) SWIG_fail;
16712 }
16713 resultobj = PyInt_FromLong((long)result);
16714 return resultobj;
16715 fail:
16716 return NULL;
16717 }
16718
16719
16720 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16721 PyObject *resultobj;
16722 wxListItem *arg1 = (wxListItem *) 0 ;
16723 int result;
16724 PyObject * obj0 = 0 ;
16725 char *kwnames[] = {
16726 (char *) "self", NULL
16727 };
16728
16729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (int)(arg1)->GetAlign();
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 resultobj = PyInt_FromLong((long)result);
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxListItem *arg1 = (wxListItem *) 0 ;
16748 wxListItemAttr *result;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16756 {
16757 PyThreadState* __tstate = wxPyBeginAllowThreads();
16758 result = (wxListItemAttr *)(arg1)->GetAttributes();
16759
16760 wxPyEndAllowThreads(__tstate);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 }
16763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16764 return resultobj;
16765 fail:
16766 return NULL;
16767 }
16768
16769
16770 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16771 PyObject *resultobj;
16772 wxListItem *arg1 = (wxListItem *) 0 ;
16773 bool result;
16774 PyObject * obj0 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (bool)(arg1)->HasAttributes();
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 resultobj = PyInt_FromLong((long)result);
16789 return resultobj;
16790 fail:
16791 return NULL;
16792 }
16793
16794
16795 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16796 PyObject *resultobj;
16797 wxListItem *arg1 = (wxListItem *) 0 ;
16798 wxColour result;
16799 PyObject * obj0 = 0 ;
16800 char *kwnames[] = {
16801 (char *) "self", NULL
16802 };
16803
16804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 result = ((wxListItem const *)arg1)->GetTextColour();
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 {
16814 wxColour * resultptr;
16815 resultptr = new wxColour((wxColour &) result);
16816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16817 }
16818 return resultobj;
16819 fail:
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxListItem *arg1 = (wxListItem *) 0 ;
16827 wxColour result;
16828 PyObject * obj0 = 0 ;
16829 char *kwnames[] = {
16830 (char *) "self", NULL
16831 };
16832
16833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 {
16843 wxColour * resultptr;
16844 resultptr = new wxColour((wxColour &) result);
16845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16846 }
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxListItem *arg1 = (wxListItem *) 0 ;
16856 wxFont result;
16857 PyObject * obj0 = 0 ;
16858 char *kwnames[] = {
16859 (char *) "self", NULL
16860 };
16861
16862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16864 {
16865 PyThreadState* __tstate = wxPyBeginAllowThreads();
16866 result = ((wxListItem const *)arg1)->GetFont();
16867
16868 wxPyEndAllowThreads(__tstate);
16869 if (PyErr_Occurred()) SWIG_fail;
16870 }
16871 {
16872 wxFont * resultptr;
16873 resultptr = new wxFont((wxFont &) result);
16874 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16875 }
16876 return resultobj;
16877 fail:
16878 return NULL;
16879 }
16880
16881
16882 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16883 PyObject *resultobj;
16884 wxListItem *arg1 = (wxListItem *) 0 ;
16885 long arg2 ;
16886 PyObject * obj0 = 0 ;
16887 char *kwnames[] = {
16888 (char *) "self",(char *) "m_mask", NULL
16889 };
16890
16891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16893 if (arg1) (arg1)->m_mask = arg2;
16894
16895 Py_INCREF(Py_None); resultobj = Py_None;
16896 return resultobj;
16897 fail:
16898 return NULL;
16899 }
16900
16901
16902 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16903 PyObject *resultobj;
16904 wxListItem *arg1 = (wxListItem *) 0 ;
16905 long result;
16906 PyObject * obj0 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "self", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16913 result = (long) ((arg1)->m_mask);
16914
16915 resultobj = PyInt_FromLong((long)result);
16916 return resultobj;
16917 fail:
16918 return NULL;
16919 }
16920
16921
16922 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj;
16924 wxListItem *arg1 = (wxListItem *) 0 ;
16925 long arg2 ;
16926 PyObject * obj0 = 0 ;
16927 char *kwnames[] = {
16928 (char *) "self",(char *) "m_itemId", NULL
16929 };
16930
16931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16933 if (arg1) (arg1)->m_itemId = arg2;
16934
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxListItem *arg1 = (wxListItem *) 0 ;
16945 long result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 result = (long) ((arg1)->m_itemId);
16954
16955 resultobj = PyInt_FromLong((long)result);
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxListItem *arg1 = (wxListItem *) 0 ;
16965 int arg2 ;
16966 PyObject * obj0 = 0 ;
16967 char *kwnames[] = {
16968 (char *) "self",(char *) "m_col", NULL
16969 };
16970
16971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16973 if (arg1) (arg1)->m_col = arg2;
16974
16975 Py_INCREF(Py_None); resultobj = Py_None;
16976 return resultobj;
16977 fail:
16978 return NULL;
16979 }
16980
16981
16982 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16983 PyObject *resultobj;
16984 wxListItem *arg1 = (wxListItem *) 0 ;
16985 int result;
16986 PyObject * obj0 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 result = (int) ((arg1)->m_col);
16994
16995 resultobj = PyInt_FromLong((long)result);
16996 return resultobj;
16997 fail:
16998 return NULL;
16999 }
17000
17001
17002 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17003 PyObject *resultobj;
17004 wxListItem *arg1 = (wxListItem *) 0 ;
17005 long arg2 ;
17006 PyObject * obj0 = 0 ;
17007 char *kwnames[] = {
17008 (char *) "self",(char *) "m_state", NULL
17009 };
17010
17011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
17012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17013 if (arg1) (arg1)->m_state = arg2;
17014
17015 Py_INCREF(Py_None); resultobj = Py_None;
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxListItem *arg1 = (wxListItem *) 0 ;
17025 long result;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 result = (long) ((arg1)->m_state);
17034
17035 resultobj = PyInt_FromLong((long)result);
17036 return resultobj;
17037 fail:
17038 return NULL;
17039 }
17040
17041
17042 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxListItem *arg1 = (wxListItem *) 0 ;
17045 long arg2 ;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self",(char *) "m_stateMask", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17053 if (arg1) (arg1)->m_stateMask = arg2;
17054
17055 Py_INCREF(Py_None); resultobj = Py_None;
17056 return resultobj;
17057 fail:
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxListItem *arg1 = (wxListItem *) 0 ;
17065 long result;
17066 PyObject * obj0 = 0 ;
17067 char *kwnames[] = {
17068 (char *) "self", NULL
17069 };
17070
17071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
17072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17073 result = (long) ((arg1)->m_stateMask);
17074
17075 resultobj = PyInt_FromLong((long)result);
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxListItem *arg1 = (wxListItem *) 0 ;
17085 wxString *arg2 = (wxString *) 0 ;
17086 bool temp2 = False ;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "m_text", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17095 {
17096 arg2 = wxString_in_helper(obj1);
17097 if (arg2 == NULL) SWIG_fail;
17098 temp2 = True;
17099 }
17100 if (arg1) (arg1)->m_text = *arg2;
17101
17102 Py_INCREF(Py_None); resultobj = Py_None;
17103 {
17104 if (temp2)
17105 delete arg2;
17106 }
17107 return resultobj;
17108 fail:
17109 {
17110 if (temp2)
17111 delete arg2;
17112 }
17113 return NULL;
17114 }
17115
17116
17117 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxListItem *arg1 = (wxListItem *) 0 ;
17120 wxString *result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 result = (wxString *)& ((arg1)->m_text);
17129
17130 {
17131 #if wxUSE_UNICODE
17132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17133 #else
17134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17135 #endif
17136 }
17137 return resultobj;
17138 fail:
17139 return NULL;
17140 }
17141
17142
17143 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxListItem *arg1 = (wxListItem *) 0 ;
17146 int arg2 ;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self",(char *) "m_image", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 if (arg1) (arg1)->m_image = arg2;
17155
17156 Py_INCREF(Py_None); resultobj = Py_None;
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxListItem *arg1 = (wxListItem *) 0 ;
17166 int result;
17167 PyObject * obj0 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 result = (int) ((arg1)->m_image);
17175
17176 resultobj = PyInt_FromLong((long)result);
17177 return resultobj;
17178 fail:
17179 return NULL;
17180 }
17181
17182
17183 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17184 PyObject *resultobj;
17185 wxListItem *arg1 = (wxListItem *) 0 ;
17186 long arg2 ;
17187 PyObject * obj0 = 0 ;
17188 char *kwnames[] = {
17189 (char *) "self",(char *) "m_data", NULL
17190 };
17191
17192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17194 if (arg1) (arg1)->m_data = arg2;
17195
17196 Py_INCREF(Py_None); resultobj = Py_None;
17197 return resultobj;
17198 fail:
17199 return NULL;
17200 }
17201
17202
17203 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17204 PyObject *resultobj;
17205 wxListItem *arg1 = (wxListItem *) 0 ;
17206 long result;
17207 PyObject * obj0 = 0 ;
17208 char *kwnames[] = {
17209 (char *) "self", NULL
17210 };
17211
17212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17214 result = (long) ((arg1)->m_data);
17215
17216 resultobj = PyInt_FromLong((long)result);
17217 return resultobj;
17218 fail:
17219 return NULL;
17220 }
17221
17222
17223 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17224 PyObject *resultobj;
17225 wxListItem *arg1 = (wxListItem *) 0 ;
17226 int arg2 ;
17227 PyObject * obj0 = 0 ;
17228 char *kwnames[] = {
17229 (char *) "self",(char *) "m_format", NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17234 if (arg1) (arg1)->m_format = arg2;
17235
17236 Py_INCREF(Py_None); resultobj = Py_None;
17237 return resultobj;
17238 fail:
17239 return NULL;
17240 }
17241
17242
17243 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17244 PyObject *resultobj;
17245 wxListItem *arg1 = (wxListItem *) 0 ;
17246 int result;
17247 PyObject * obj0 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "self", NULL
17250 };
17251
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17254 result = (int) ((arg1)->m_format);
17255
17256 resultobj = PyInt_FromLong((long)result);
17257 return resultobj;
17258 fail:
17259 return NULL;
17260 }
17261
17262
17263 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxListItem *arg1 = (wxListItem *) 0 ;
17266 int arg2 ;
17267 PyObject * obj0 = 0 ;
17268 char *kwnames[] = {
17269 (char *) "self",(char *) "m_width", NULL
17270 };
17271
17272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17274 if (arg1) (arg1)->m_width = arg2;
17275
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17284 PyObject *resultobj;
17285 wxListItem *arg1 = (wxListItem *) 0 ;
17286 int result;
17287 PyObject * obj0 = 0 ;
17288 char *kwnames[] = {
17289 (char *) "self", NULL
17290 };
17291
17292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17294 result = (int) ((arg1)->m_width);
17295
17296 resultobj = PyInt_FromLong((long)result);
17297 return resultobj;
17298 fail:
17299 return NULL;
17300 }
17301
17302
17303 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17304 PyObject *obj;
17305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17306 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17307 Py_INCREF(obj);
17308 return Py_BuildValue((char *)"");
17309 }
17310 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17311 PyObject *resultobj;
17312 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17313 int arg2 = (int) 0 ;
17314 wxListEvent *result;
17315 char *kwnames[] = {
17316 (char *) "commandType",(char *) "id", NULL
17317 };
17318
17319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
17327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17328 return resultobj;
17329 fail:
17330 return NULL;
17331 }
17332
17333
17334 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17335 PyObject *resultobj;
17336 wxListEvent *arg1 = (wxListEvent *) 0 ;
17337 int arg2 ;
17338 PyObject * obj0 = 0 ;
17339 char *kwnames[] = {
17340 (char *) "self",(char *) "m_code", NULL
17341 };
17342
17343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17345 if (arg1) (arg1)->m_code = arg2;
17346
17347 Py_INCREF(Py_None); resultobj = Py_None;
17348 return resultobj;
17349 fail:
17350 return NULL;
17351 }
17352
17353
17354 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17355 PyObject *resultobj;
17356 wxListEvent *arg1 = (wxListEvent *) 0 ;
17357 int result;
17358 PyObject * obj0 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17365 result = (int) ((arg1)->m_code);
17366
17367 resultobj = PyInt_FromLong((long)result);
17368 return resultobj;
17369 fail:
17370 return NULL;
17371 }
17372
17373
17374 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17375 PyObject *resultobj;
17376 wxListEvent *arg1 = (wxListEvent *) 0 ;
17377 long arg2 ;
17378 PyObject * obj0 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "m_oldItemIndex", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 if (arg1) (arg1)->m_oldItemIndex = arg2;
17386
17387 Py_INCREF(Py_None); resultobj = Py_None;
17388 return resultobj;
17389 fail:
17390 return NULL;
17391 }
17392
17393
17394 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17395 PyObject *resultobj;
17396 wxListEvent *arg1 = (wxListEvent *) 0 ;
17397 long result;
17398 PyObject * obj0 = 0 ;
17399 char *kwnames[] = {
17400 (char *) "self", NULL
17401 };
17402
17403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17405 result = (long) ((arg1)->m_oldItemIndex);
17406
17407 resultobj = PyInt_FromLong((long)result);
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxListEvent *arg1 = (wxListEvent *) 0 ;
17417 long arg2 ;
17418 PyObject * obj0 = 0 ;
17419 char *kwnames[] = {
17420 (char *) "self",(char *) "m_itemIndex", NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17425 if (arg1) (arg1)->m_itemIndex = arg2;
17426
17427 Py_INCREF(Py_None); resultobj = Py_None;
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxListEvent *arg1 = (wxListEvent *) 0 ;
17437 long result;
17438 PyObject * obj0 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17445 result = (long) ((arg1)->m_itemIndex);
17446
17447 resultobj = PyInt_FromLong((long)result);
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxListEvent *arg1 = (wxListEvent *) 0 ;
17457 int arg2 ;
17458 PyObject * obj0 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "m_col", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17465 if (arg1) (arg1)->m_col = arg2;
17466
17467 Py_INCREF(Py_None); resultobj = Py_None;
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxListEvent *arg1 = (wxListEvent *) 0 ;
17477 int result;
17478 PyObject * obj0 = 0 ;
17479 char *kwnames[] = {
17480 (char *) "self", NULL
17481 };
17482
17483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17485 result = (int) ((arg1)->m_col);
17486
17487 resultobj = PyInt_FromLong((long)result);
17488 return resultobj;
17489 fail:
17490 return NULL;
17491 }
17492
17493
17494 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17495 PyObject *resultobj;
17496 wxListEvent *arg1 = (wxListEvent *) 0 ;
17497 wxPoint *arg2 = (wxPoint *) 0 ;
17498 PyObject * obj0 = 0 ;
17499 PyObject * obj1 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self",(char *) "m_pointDrag", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17507 if (arg1) (arg1)->m_pointDrag = *arg2;
17508
17509 Py_INCREF(Py_None); resultobj = Py_None;
17510 return resultobj;
17511 fail:
17512 return NULL;
17513 }
17514
17515
17516 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 wxListEvent *arg1 = (wxListEvent *) 0 ;
17519 wxPoint *result;
17520 PyObject * obj0 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17527 result = (wxPoint *)& ((arg1)->m_pointDrag);
17528
17529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17530 return resultobj;
17531 fail:
17532 return NULL;
17533 }
17534
17535
17536 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxListEvent *arg1 = (wxListEvent *) 0 ;
17539 wxListItem *result;
17540 PyObject * obj0 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 result = (wxListItem *)& ((arg1)->m_item);
17548
17549 {
17550 resultobj = wxPyMake_wxObject(result);
17551 }
17552 return resultobj;
17553 fail:
17554 return NULL;
17555 }
17556
17557
17558 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17559 PyObject *resultobj;
17560 wxListEvent *arg1 = (wxListEvent *) 0 ;
17561 int result;
17562 PyObject * obj0 = 0 ;
17563 char *kwnames[] = {
17564 (char *) "self", NULL
17565 };
17566
17567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17569 {
17570 PyThreadState* __tstate = wxPyBeginAllowThreads();
17571 result = (int)(arg1)->GetKeyCode();
17572
17573 wxPyEndAllowThreads(__tstate);
17574 if (PyErr_Occurred()) SWIG_fail;
17575 }
17576 resultobj = PyInt_FromLong((long)result);
17577 return resultobj;
17578 fail:
17579 return NULL;
17580 }
17581
17582
17583 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxListEvent *arg1 = (wxListEvent *) 0 ;
17586 long result;
17587 PyObject * obj0 = 0 ;
17588 char *kwnames[] = {
17589 (char *) "self", NULL
17590 };
17591
17592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17594 {
17595 PyThreadState* __tstate = wxPyBeginAllowThreads();
17596 result = (long)(arg1)->GetIndex();
17597
17598 wxPyEndAllowThreads(__tstate);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 }
17601 resultobj = PyInt_FromLong((long)result);
17602 return resultobj;
17603 fail:
17604 return NULL;
17605 }
17606
17607
17608 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17609 PyObject *resultobj;
17610 wxListEvent *arg1 = (wxListEvent *) 0 ;
17611 int result;
17612 PyObject * obj0 = 0 ;
17613 char *kwnames[] = {
17614 (char *) "self", NULL
17615 };
17616
17617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (int)(arg1)->GetColumn();
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = PyInt_FromLong((long)result);
17627 return resultobj;
17628 fail:
17629 return NULL;
17630 }
17631
17632
17633 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17634 PyObject *resultobj;
17635 wxListEvent *arg1 = (wxListEvent *) 0 ;
17636 wxPoint result;
17637 PyObject * obj0 = 0 ;
17638 char *kwnames[] = {
17639 (char *) "self", NULL
17640 };
17641
17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (arg1)->GetPoint();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
17651 {
17652 wxPoint * resultptr;
17653 resultptr = new wxPoint((wxPoint &) result);
17654 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17655 }
17656 return resultobj;
17657 fail:
17658 return NULL;
17659 }
17660
17661
17662 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxListEvent *arg1 = (wxListEvent *) 0 ;
17665 wxString *result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 {
17676 wxString const &_result_ref = (arg1)->GetLabel();
17677 result = (wxString *) &_result_ref;
17678 }
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 {
17684 #if wxUSE_UNICODE
17685 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17686 #else
17687 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17688 #endif
17689 }
17690 return resultobj;
17691 fail:
17692 return NULL;
17693 }
17694
17695
17696 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxListEvent *arg1 = (wxListEvent *) 0 ;
17699 wxString *result;
17700 PyObject * obj0 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 {
17710 wxString const &_result_ref = (arg1)->GetText();
17711 result = (wxString *) &_result_ref;
17712 }
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 {
17718 #if wxUSE_UNICODE
17719 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17720 #else
17721 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17722 #endif
17723 }
17724 return resultobj;
17725 fail:
17726 return NULL;
17727 }
17728
17729
17730 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxListEvent *arg1 = (wxListEvent *) 0 ;
17733 int result;
17734 PyObject * obj0 = 0 ;
17735 char *kwnames[] = {
17736 (char *) "self", NULL
17737 };
17738
17739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (int)(arg1)->GetImage();
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
17748 resultobj = PyInt_FromLong((long)result);
17749 return resultobj;
17750 fail:
17751 return NULL;
17752 }
17753
17754
17755 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17756 PyObject *resultobj;
17757 wxListEvent *arg1 = (wxListEvent *) 0 ;
17758 long result;
17759 PyObject * obj0 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "self", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (long)(arg1)->GetData();
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = PyInt_FromLong((long)result);
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxListEvent *arg1 = (wxListEvent *) 0 ;
17783 long result;
17784 PyObject * obj0 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (long)(arg1)->GetMask();
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 resultobj = PyInt_FromLong((long)result);
17799 return resultobj;
17800 fail:
17801 return NULL;
17802 }
17803
17804
17805 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxListEvent *arg1 = (wxListEvent *) 0 ;
17808 wxListItem *result;
17809 PyObject * obj0 = 0 ;
17810 char *kwnames[] = {
17811 (char *) "self", NULL
17812 };
17813
17814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17816 {
17817 PyThreadState* __tstate = wxPyBeginAllowThreads();
17818 {
17819 wxListItem const &_result_ref = (arg1)->GetItem();
17820 result = (wxListItem *) &_result_ref;
17821 }
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17827 return resultobj;
17828 fail:
17829 return NULL;
17830 }
17831
17832
17833 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxListEvent *arg1 = (wxListEvent *) 0 ;
17836 long result;
17837 PyObject * obj0 = 0 ;
17838 char *kwnames[] = {
17839 (char *) "self", NULL
17840 };
17841
17842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17844 {
17845 PyThreadState* __tstate = wxPyBeginAllowThreads();
17846 result = (long)(arg1)->GetCacheFrom();
17847
17848 wxPyEndAllowThreads(__tstate);
17849 if (PyErr_Occurred()) SWIG_fail;
17850 }
17851 resultobj = PyInt_FromLong((long)result);
17852 return resultobj;
17853 fail:
17854 return NULL;
17855 }
17856
17857
17858 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17859 PyObject *resultobj;
17860 wxListEvent *arg1 = (wxListEvent *) 0 ;
17861 long result;
17862 PyObject * obj0 = 0 ;
17863 char *kwnames[] = {
17864 (char *) "self", NULL
17865 };
17866
17867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17869 {
17870 PyThreadState* __tstate = wxPyBeginAllowThreads();
17871 result = (long)(arg1)->GetCacheTo();
17872
17873 wxPyEndAllowThreads(__tstate);
17874 if (PyErr_Occurred()) SWIG_fail;
17875 }
17876 resultobj = PyInt_FromLong((long)result);
17877 return resultobj;
17878 fail:
17879 return NULL;
17880 }
17881
17882
17883 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17884 PyObject *resultobj;
17885 wxListEvent *arg1 = (wxListEvent *) 0 ;
17886 bool result;
17887 PyObject * obj0 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 resultobj = PyInt_FromLong((long)result);
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxListEvent *arg1 = (wxListEvent *) 0 ;
17911 bool arg2 ;
17912 PyObject * obj0 = 0 ;
17913 PyObject * obj1 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "editCancelled", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17920 {
17921 arg2 = (bool) SPyObj_AsBool(obj1);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 {
17925 PyThreadState* __tstate = wxPyBeginAllowThreads();
17926 (arg1)->SetEditCanceled(arg2);
17927
17928 wxPyEndAllowThreads(__tstate);
17929 if (PyErr_Occurred()) SWIG_fail;
17930 }
17931 Py_INCREF(Py_None); resultobj = Py_None;
17932 return resultobj;
17933 fail:
17934 return NULL;
17935 }
17936
17937
17938 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17939 PyObject *obj;
17940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17941 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17942 Py_INCREF(obj);
17943 return Py_BuildValue((char *)"");
17944 }
17945 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17946 PyObject *resultobj;
17947 wxWindow *arg1 = (wxWindow *) 0 ;
17948 int arg2 = (int) -1 ;
17949 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17950 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17951 wxSize const &arg4_defvalue = wxDefaultSize ;
17952 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17953 long arg5 = (long) wxLC_ICON ;
17954 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17955 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17956 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17957 wxString *arg7 = (wxString *) &arg7_defvalue ;
17958 wxPyListCtrl *result;
17959 wxPoint temp3 ;
17960 wxSize temp4 ;
17961 bool temp7 = False ;
17962 PyObject * obj0 = 0 ;
17963 PyObject * obj2 = 0 ;
17964 PyObject * obj3 = 0 ;
17965 PyObject * obj5 = 0 ;
17966 PyObject * obj6 = 0 ;
17967 char *kwnames[] = {
17968 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17973 if (obj2) {
17974 {
17975 arg3 = &temp3;
17976 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17977 }
17978 }
17979 if (obj3) {
17980 {
17981 arg4 = &temp4;
17982 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17983 }
17984 }
17985 if (obj5) {
17986 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17987 if (arg6 == NULL) {
17988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17989 }
17990 }
17991 if (obj6) {
17992 {
17993 arg7 = wxString_in_helper(obj6);
17994 if (arg7 == NULL) SWIG_fail;
17995 temp7 = True;
17996 }
17997 }
17998 {
17999 PyThreadState* __tstate = wxPyBeginAllowThreads();
18000 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
18001
18002 wxPyEndAllowThreads(__tstate);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 }
18005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18006 {
18007 if (temp7)
18008 delete arg7;
18009 }
18010 return resultobj;
18011 fail:
18012 {
18013 if (temp7)
18014 delete arg7;
18015 }
18016 return NULL;
18017 }
18018
18019
18020 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxPyListCtrl *result;
18023 char *kwnames[] = {
18024 NULL
18025 };
18026
18027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 result = (wxPyListCtrl *)new wxPyListCtrl();
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18036 return resultobj;
18037 fail:
18038 return NULL;
18039 }
18040
18041
18042 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18043 PyObject *resultobj;
18044 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18045 wxWindow *arg2 = (wxWindow *) 0 ;
18046 int arg3 = (int) -1 ;
18047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18049 wxSize const &arg5_defvalue = wxDefaultSize ;
18050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18051 long arg6 = (long) wxLC_ICON ;
18052 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18053 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18054 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
18055 wxString *arg8 = (wxString *) &arg8_defvalue ;
18056 bool result;
18057 wxPoint temp4 ;
18058 wxSize temp5 ;
18059 bool temp8 = False ;
18060 PyObject * obj0 = 0 ;
18061 PyObject * obj1 = 0 ;
18062 PyObject * obj3 = 0 ;
18063 PyObject * obj4 = 0 ;
18064 PyObject * obj6 = 0 ;
18065 PyObject * obj7 = 0 ;
18066 char *kwnames[] = {
18067 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18068 };
18069
18070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
18071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18073 if (obj3) {
18074 {
18075 arg4 = &temp4;
18076 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18077 }
18078 }
18079 if (obj4) {
18080 {
18081 arg5 = &temp5;
18082 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18083 }
18084 }
18085 if (obj6) {
18086 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18087 if (arg7 == NULL) {
18088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18089 }
18090 }
18091 if (obj7) {
18092 {
18093 arg8 = wxString_in_helper(obj7);
18094 if (arg8 == NULL) SWIG_fail;
18095 temp8 = True;
18096 }
18097 }
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 resultobj = PyInt_FromLong((long)result);
18106 {
18107 if (temp8)
18108 delete arg8;
18109 }
18110 return resultobj;
18111 fail:
18112 {
18113 if (temp8)
18114 delete arg8;
18115 }
18116 return NULL;
18117 }
18118
18119
18120 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18123 PyObject *arg2 = (PyObject *) 0 ;
18124 PyObject *arg3 = (PyObject *) 0 ;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 PyObject * obj2 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "self",(char *) "_class", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18134 arg2 = obj1;
18135 arg3 = obj2;
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 (arg1)->_setCallbackInfo(arg2,arg3);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 Py_INCREF(Py_None); resultobj = Py_None;
18144 return resultobj;
18145 fail:
18146 return NULL;
18147 }
18148
18149
18150 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18153 wxColour *arg2 = 0 ;
18154 bool result;
18155 wxColour temp2 ;
18156 PyObject * obj0 = 0 ;
18157 PyObject * obj1 = 0 ;
18158 char *kwnames[] = {
18159 (char *) "self",(char *) "col", NULL
18160 };
18161
18162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
18163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18164 {
18165 arg2 = &temp2;
18166 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18167 }
18168 {
18169 PyThreadState* __tstate = wxPyBeginAllowThreads();
18170 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
18171
18172 wxPyEndAllowThreads(__tstate);
18173 if (PyErr_Occurred()) SWIG_fail;
18174 }
18175 resultobj = PyInt_FromLong((long)result);
18176 return resultobj;
18177 fail:
18178 return NULL;
18179 }
18180
18181
18182 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18183 PyObject *resultobj;
18184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18185 wxColour *arg2 = 0 ;
18186 bool result;
18187 wxColour temp2 ;
18188 PyObject * obj0 = 0 ;
18189 PyObject * obj1 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "col", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18196 {
18197 arg2 = &temp2;
18198 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18199 }
18200 {
18201 PyThreadState* __tstate = wxPyBeginAllowThreads();
18202 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18203
18204 wxPyEndAllowThreads(__tstate);
18205 if (PyErr_Occurred()) SWIG_fail;
18206 }
18207 resultobj = PyInt_FromLong((long)result);
18208 return resultobj;
18209 fail:
18210 return NULL;
18211 }
18212
18213
18214 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18215 PyObject *resultobj;
18216 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18217 int arg2 ;
18218 wxListItem *result;
18219 PyObject * obj0 = 0 ;
18220 char *kwnames[] = {
18221 (char *) "self",(char *) "col", NULL
18222 };
18223
18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18226 {
18227 PyThreadState* __tstate = wxPyBeginAllowThreads();
18228 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18229
18230 wxPyEndAllowThreads(__tstate);
18231 if (PyErr_Occurred()) SWIG_fail;
18232 }
18233 {
18234 resultobj = wxPyMake_wxObject(result);
18235 }
18236 return resultobj;
18237 fail:
18238 return NULL;
18239 }
18240
18241
18242 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18245 int arg2 ;
18246 wxListItem *arg3 = 0 ;
18247 bool result;
18248 PyObject * obj0 = 0 ;
18249 PyObject * obj2 = 0 ;
18250 char *kwnames[] = {
18251 (char *) "self",(char *) "col",(char *) "item", NULL
18252 };
18253
18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18256 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 if (arg3 == NULL) {
18258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18259 }
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18263
18264 wxPyEndAllowThreads(__tstate);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 }
18267 resultobj = PyInt_FromLong((long)result);
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18277 int arg2 ;
18278 int result;
18279 PyObject * obj0 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self",(char *) "col", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = PyInt_FromLong((long)result);
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18303 int arg2 ;
18304 int arg3 ;
18305 bool result;
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
18308 (char *) "self",(char *) "col",(char *) "width", NULL
18309 };
18310
18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = PyInt_FromLong((long)result);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18330 int result;
18331 PyObject * obj0 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 resultobj = PyInt_FromLong((long)result);
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18355 wxRect result;
18356 PyObject * obj0 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 {
18371 wxRect * resultptr;
18372 resultptr = new wxRect((wxRect &) result);
18373 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18374 }
18375 return resultobj;
18376 fail:
18377 return NULL;
18378 }
18379
18380
18381 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18382 PyObject *resultobj;
18383 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18384 long arg2 ;
18385 int arg3 = (int) 0 ;
18386 wxListItem *result;
18387 PyObject * obj0 = 0 ;
18388 char *kwnames[] = {
18389 (char *) "self",(char *) "itemId",(char *) "col", NULL
18390 };
18391
18392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18394 {
18395 PyThreadState* __tstate = wxPyBeginAllowThreads();
18396 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18397
18398 wxPyEndAllowThreads(__tstate);
18399 if (PyErr_Occurred()) SWIG_fail;
18400 }
18401 {
18402 resultobj = wxPyMake_wxObject(result);
18403 }
18404 return resultobj;
18405 fail:
18406 return NULL;
18407 }
18408
18409
18410 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18411 PyObject *resultobj;
18412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18413 wxListItem *arg2 = 0 ;
18414 bool result;
18415 PyObject * obj0 = 0 ;
18416 PyObject * obj1 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self",(char *) "info", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18424 if (arg2 == NULL) {
18425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18426 }
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (bool)(arg1)->SetItem(*arg2);
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 resultobj = PyInt_FromLong((long)result);
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 int arg3 ;
18446 wxString *arg4 = 0 ;
18447 int arg5 = (int) -1 ;
18448 long result;
18449 bool temp4 = False ;
18450 PyObject * obj0 = 0 ;
18451 PyObject * obj3 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18458 {
18459 arg4 = wxString_in_helper(obj3);
18460 if (arg4 == NULL) SWIG_fail;
18461 temp4 = True;
18462 }
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 resultobj = PyInt_FromLong((long)result);
18471 {
18472 if (temp4)
18473 delete arg4;
18474 }
18475 return resultobj;
18476 fail:
18477 {
18478 if (temp4)
18479 delete arg4;
18480 }
18481 return NULL;
18482 }
18483
18484
18485 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18486 PyObject *resultobj;
18487 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18488 long arg2 ;
18489 long arg3 ;
18490 int result;
18491 PyObject * obj0 = 0 ;
18492 char *kwnames[] = {
18493 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18494 };
18495
18496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18498 {
18499 PyThreadState* __tstate = wxPyBeginAllowThreads();
18500 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18501
18502 wxPyEndAllowThreads(__tstate);
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 resultobj = PyInt_FromLong((long)result);
18506 return resultobj;
18507 fail:
18508 return NULL;
18509 }
18510
18511
18512 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18513 PyObject *resultobj;
18514 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18515 long arg2 ;
18516 long arg3 ;
18517 long arg4 ;
18518 bool result;
18519 PyObject * obj0 = 0 ;
18520 char *kwnames[] = {
18521 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18522 };
18523
18524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18526 {
18527 PyThreadState* __tstate = wxPyBeginAllowThreads();
18528 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18529
18530 wxPyEndAllowThreads(__tstate);
18531 if (PyErr_Occurred()) SWIG_fail;
18532 }
18533 resultobj = PyInt_FromLong((long)result);
18534 return resultobj;
18535 fail:
18536 return NULL;
18537 }
18538
18539
18540 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18541 PyObject *resultobj;
18542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18543 long arg2 ;
18544 int arg3 ;
18545 int arg4 ;
18546 bool result;
18547 PyObject * obj0 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18557
18558 wxPyEndAllowThreads(__tstate);
18559 if (PyErr_Occurred()) SWIG_fail;
18560 }
18561 resultobj = PyInt_FromLong((long)result);
18562 return resultobj;
18563 fail:
18564 return NULL;
18565 }
18566
18567
18568 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18569 PyObject *resultobj;
18570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18571 long arg2 ;
18572 wxString result;
18573 PyObject * obj0 = 0 ;
18574 char *kwnames[] = {
18575 (char *) "self",(char *) "item", NULL
18576 };
18577
18578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18580 {
18581 PyThreadState* __tstate = wxPyBeginAllowThreads();
18582 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18583
18584 wxPyEndAllowThreads(__tstate);
18585 if (PyErr_Occurred()) SWIG_fail;
18586 }
18587 {
18588 #if wxUSE_UNICODE
18589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18590 #else
18591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18592 #endif
18593 }
18594 return resultobj;
18595 fail:
18596 return NULL;
18597 }
18598
18599
18600 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18603 long arg2 ;
18604 wxString *arg3 = 0 ;
18605 bool temp3 = False ;
18606 PyObject * obj0 = 0 ;
18607 PyObject * obj2 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self",(char *) "item",(char *) "str", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 {
18615 arg3 = wxString_in_helper(obj2);
18616 if (arg3 == NULL) SWIG_fail;
18617 temp3 = True;
18618 }
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 Py_INCREF(Py_None); resultobj = Py_None;
18627 {
18628 if (temp3)
18629 delete arg3;
18630 }
18631 return resultobj;
18632 fail:
18633 {
18634 if (temp3)
18635 delete arg3;
18636 }
18637 return NULL;
18638 }
18639
18640
18641 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18642 PyObject *resultobj;
18643 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18644 long arg2 ;
18645 long result;
18646 PyObject * obj0 = 0 ;
18647 char *kwnames[] = {
18648 (char *) "self",(char *) "item", NULL
18649 };
18650
18651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18653 {
18654 PyThreadState* __tstate = wxPyBeginAllowThreads();
18655 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18656
18657 wxPyEndAllowThreads(__tstate);
18658 if (PyErr_Occurred()) SWIG_fail;
18659 }
18660 resultobj = PyInt_FromLong((long)result);
18661 return resultobj;
18662 fail:
18663 return NULL;
18664 }
18665
18666
18667 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18670 long arg2 ;
18671 long arg3 ;
18672 bool result;
18673 PyObject * obj0 = 0 ;
18674 char *kwnames[] = {
18675 (char *) "self",(char *) "item",(char *) "data", NULL
18676 };
18677
18678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 result = (bool)(arg1)->SetItemData(arg2,arg3);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 resultobj = PyInt_FromLong((long)result);
18688 return resultobj;
18689 fail:
18690 return NULL;
18691 }
18692
18693
18694 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18697 long arg2 ;
18698 wxPoint result;
18699 PyObject * obj0 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "self",(char *) "item", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 wxPoint * resultptr;
18715 resultptr = new wxPoint((wxPoint &) result);
18716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18717 }
18718 return resultobj;
18719 fail:
18720 return NULL;
18721 }
18722
18723
18724 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18725 PyObject *resultobj;
18726 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18727 long arg2 ;
18728 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18729 wxRect result;
18730 PyObject * obj0 = 0 ;
18731 char *kwnames[] = {
18732 (char *) "self",(char *) "item",(char *) "code", NULL
18733 };
18734
18735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18737 {
18738 PyThreadState* __tstate = wxPyBeginAllowThreads();
18739 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 {
18745 wxRect * resultptr;
18746 resultptr = new wxRect((wxRect &) result);
18747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18748 }
18749 return resultobj;
18750 fail:
18751 return NULL;
18752 }
18753
18754
18755 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18756 PyObject *resultobj;
18757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18758 long arg2 ;
18759 wxPoint *arg3 = 0 ;
18760 bool result;
18761 wxPoint temp3 ;
18762 PyObject * obj0 = 0 ;
18763 PyObject * obj2 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self",(char *) "item",(char *) "pos", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18770 {
18771 arg3 = &temp3;
18772 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18773 }
18774 {
18775 PyThreadState* __tstate = wxPyBeginAllowThreads();
18776 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18777
18778 wxPyEndAllowThreads(__tstate);
18779 if (PyErr_Occurred()) SWIG_fail;
18780 }
18781 resultobj = PyInt_FromLong((long)result);
18782 return resultobj;
18783 fail:
18784 return NULL;
18785 }
18786
18787
18788 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18789 PyObject *resultobj;
18790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18791 int result;
18792 PyObject * obj0 = 0 ;
18793 char *kwnames[] = {
18794 (char *) "self", NULL
18795 };
18796
18797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18799 {
18800 PyThreadState* __tstate = wxPyBeginAllowThreads();
18801 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18802
18803 wxPyEndAllowThreads(__tstate);
18804 if (PyErr_Occurred()) SWIG_fail;
18805 }
18806 resultobj = PyInt_FromLong((long)result);
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18816 int result;
18817 PyObject * obj0 = 0 ;
18818 char *kwnames[] = {
18819 (char *) "self", NULL
18820 };
18821
18822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = PyInt_FromLong((long)result);
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18841 wxSize result;
18842 PyObject * obj0 = 0 ;
18843 char *kwnames[] = {
18844 (char *) "self", NULL
18845 };
18846
18847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18849 {
18850 PyThreadState* __tstate = wxPyBeginAllowThreads();
18851 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18852
18853 wxPyEndAllowThreads(__tstate);
18854 if (PyErr_Occurred()) SWIG_fail;
18855 }
18856 {
18857 wxSize * resultptr;
18858 resultptr = new wxSize((wxSize &) result);
18859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18860 }
18861 return resultobj;
18862 fail:
18863 return NULL;
18864 }
18865
18866
18867 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18868 PyObject *resultobj;
18869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18870 int arg2 ;
18871 bool arg3 = (bool) False ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj2 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18880 if (obj2) {
18881 {
18882 arg3 = (bool) SPyObj_AsBool(obj2);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 }
18886 {
18887 PyThreadState* __tstate = wxPyBeginAllowThreads();
18888 (arg1)->SetItemSpacing(arg2,arg3);
18889
18890 wxPyEndAllowThreads(__tstate);
18891 if (PyErr_Occurred()) SWIG_fail;
18892 }
18893 Py_INCREF(Py_None); resultobj = Py_None;
18894 return resultobj;
18895 fail:
18896 return NULL;
18897 }
18898
18899
18900 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18903 int result;
18904 PyObject * obj0 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 resultobj = PyInt_FromLong((long)result);
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18928 wxColour result;
18929 PyObject * obj0 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 {
18944 wxColour * resultptr;
18945 resultptr = new wxColour((wxColour &) result);
18946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18947 }
18948 return resultobj;
18949 fail:
18950 return NULL;
18951 }
18952
18953
18954 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18957 wxColour *arg2 = 0 ;
18958 wxColour temp2 ;
18959 PyObject * obj0 = 0 ;
18960 PyObject * obj1 = 0 ;
18961 char *kwnames[] = {
18962 (char *) "self",(char *) "col", NULL
18963 };
18964
18965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18967 {
18968 arg2 = &temp2;
18969 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18970 }
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 (arg1)->SetTextColour((wxColour const &)*arg2);
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 Py_INCREF(Py_None); resultobj = Py_None;
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18988 long result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 resultobj = PyInt_FromLong((long)result);
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19013 long arg2 ;
19014 bool arg3 = (bool) True ;
19015 PyObject * obj0 = 0 ;
19016 PyObject * obj2 = 0 ;
19017 char *kwnames[] = {
19018 (char *) "self",(char *) "style",(char *) "add", NULL
19019 };
19020
19021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
19022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19023 if (obj2) {
19024 {
19025 arg3 = (bool) SPyObj_AsBool(obj2);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 (arg1)->SetSingleStyle(arg2,arg3);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 Py_INCREF(Py_None); resultobj = Py_None;
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19046 long arg2 ;
19047 PyObject * obj0 = 0 ;
19048 char *kwnames[] = {
19049 (char *) "self",(char *) "style", NULL
19050 };
19051
19052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
19053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19054 {
19055 PyThreadState* __tstate = wxPyBeginAllowThreads();
19056 (arg1)->SetWindowStyleFlag(arg2);
19057
19058 wxPyEndAllowThreads(__tstate);
19059 if (PyErr_Occurred()) SWIG_fail;
19060 }
19061 Py_INCREF(Py_None); resultobj = Py_None;
19062 return resultobj;
19063 fail:
19064 return NULL;
19065 }
19066
19067
19068 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19069 PyObject *resultobj;
19070 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19071 long arg2 ;
19072 int arg3 = (int) wxLIST_NEXT_ALL ;
19073 int arg4 = (int) wxLIST_STATE_DONTCARE ;
19074 long result;
19075 PyObject * obj0 = 0 ;
19076 char *kwnames[] = {
19077 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19078 };
19079
19080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19082 {
19083 PyThreadState* __tstate = wxPyBeginAllowThreads();
19084 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
19085
19086 wxPyEndAllowThreads(__tstate);
19087 if (PyErr_Occurred()) SWIG_fail;
19088 }
19089 resultobj = PyInt_FromLong((long)result);
19090 return resultobj;
19091 fail:
19092 return NULL;
19093 }
19094
19095
19096 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19097 PyObject *resultobj;
19098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19099 int arg2 ;
19100 wxImageList *result;
19101 PyObject * obj0 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "self",(char *) "which", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 {
19116 resultobj = wxPyMake_wxObject(result);
19117 }
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19127 wxImageList *arg2 = (wxImageList *) 0 ;
19128 int arg3 ;
19129 PyObject * obj0 = 0 ;
19130 PyObject * obj1 = 0 ;
19131 char *kwnames[] = {
19132 (char *) "self",(char *) "imageList",(char *) "which", NULL
19133 };
19134
19135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19138 {
19139 PyThreadState* __tstate = wxPyBeginAllowThreads();
19140 (arg1)->SetImageList(arg2,arg3);
19141
19142 wxPyEndAllowThreads(__tstate);
19143 if (PyErr_Occurred()) SWIG_fail;
19144 }
19145 Py_INCREF(Py_None); resultobj = Py_None;
19146 return resultobj;
19147 fail:
19148 return NULL;
19149 }
19150
19151
19152 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj;
19154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19155 wxImageList *arg2 = (wxImageList *) 0 ;
19156 int arg3 ;
19157 PyObject * obj0 = 0 ;
19158 PyObject * obj1 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self",(char *) "imageList",(char *) "which", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 (arg1)->AssignImageList(arg2,arg3);
19169
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 Py_INCREF(Py_None); resultobj = Py_None;
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19183 bool result;
19184 PyObject * obj0 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19191 {
19192 PyThreadState* __tstate = wxPyBeginAllowThreads();
19193 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19194
19195 wxPyEndAllowThreads(__tstate);
19196 if (PyErr_Occurred()) SWIG_fail;
19197 }
19198 resultobj = PyInt_FromLong((long)result);
19199 return resultobj;
19200 fail:
19201 return NULL;
19202 }
19203
19204
19205 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19206 PyObject *resultobj;
19207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19208 long arg2 ;
19209 PyObject * obj0 = 0 ;
19210 char *kwnames[] = {
19211 (char *) "self",(char *) "item", NULL
19212 };
19213
19214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 (arg1)->RefreshItem(arg2);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 Py_INCREF(Py_None); resultobj = Py_None;
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19233 long arg2 ;
19234 long arg3 ;
19235 PyObject * obj0 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 (arg1)->RefreshItems(arg2,arg3);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19259 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19260 bool result;
19261 PyObject * obj0 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "flag", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 result = (bool)(arg1)->Arrange(arg2);
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 resultobj = PyInt_FromLong((long)result);
19276 return resultobj;
19277 fail:
19278 return NULL;
19279 }
19280
19281
19282 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19285 long arg2 ;
19286 bool result;
19287 PyObject * obj0 = 0 ;
19288 char *kwnames[] = {
19289 (char *) "self",(char *) "item", NULL
19290 };
19291
19292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19294 {
19295 PyThreadState* __tstate = wxPyBeginAllowThreads();
19296 result = (bool)(arg1)->DeleteItem(arg2);
19297
19298 wxPyEndAllowThreads(__tstate);
19299 if (PyErr_Occurred()) SWIG_fail;
19300 }
19301 resultobj = PyInt_FromLong((long)result);
19302 return resultobj;
19303 fail:
19304 return NULL;
19305 }
19306
19307
19308 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19309 PyObject *resultobj;
19310 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19311 bool result;
19312 PyObject * obj0 = 0 ;
19313 char *kwnames[] = {
19314 (char *) "self", NULL
19315 };
19316
19317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19319 {
19320 PyThreadState* __tstate = wxPyBeginAllowThreads();
19321 result = (bool)(arg1)->DeleteAllItems();
19322
19323 wxPyEndAllowThreads(__tstate);
19324 if (PyErr_Occurred()) SWIG_fail;
19325 }
19326 resultobj = PyInt_FromLong((long)result);
19327 return resultobj;
19328 fail:
19329 return NULL;
19330 }
19331
19332
19333 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19334 PyObject *resultobj;
19335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19336 int arg2 ;
19337 bool result;
19338 PyObject * obj0 = 0 ;
19339 char *kwnames[] = {
19340 (char *) "self",(char *) "col", NULL
19341 };
19342
19343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19345 {
19346 PyThreadState* __tstate = wxPyBeginAllowThreads();
19347 result = (bool)(arg1)->DeleteColumn(arg2);
19348
19349 wxPyEndAllowThreads(__tstate);
19350 if (PyErr_Occurred()) SWIG_fail;
19351 }
19352 resultobj = PyInt_FromLong((long)result);
19353 return resultobj;
19354 fail:
19355 return NULL;
19356 }
19357
19358
19359 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19360 PyObject *resultobj;
19361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19362 bool result;
19363 PyObject * obj0 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self", NULL
19366 };
19367
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 {
19371 PyThreadState* __tstate = wxPyBeginAllowThreads();
19372 result = (bool)(arg1)->DeleteAllColumns();
19373
19374 wxPyEndAllowThreads(__tstate);
19375 if (PyErr_Occurred()) SWIG_fail;
19376 }
19377 resultobj = PyInt_FromLong((long)result);
19378 return resultobj;
19379 fail:
19380 return NULL;
19381 }
19382
19383
19384 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19387 PyObject * obj0 = 0 ;
19388 char *kwnames[] = {
19389 (char *) "self", NULL
19390 };
19391
19392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19394 {
19395 PyThreadState* __tstate = wxPyBeginAllowThreads();
19396 (arg1)->ClearAll();
19397
19398 wxPyEndAllowThreads(__tstate);
19399 if (PyErr_Occurred()) SWIG_fail;
19400 }
19401 Py_INCREF(Py_None); resultobj = Py_None;
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj;
19410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19411 long arg2 ;
19412 PyObject * obj0 = 0 ;
19413 char *kwnames[] = {
19414 (char *) "self",(char *) "item", NULL
19415 };
19416
19417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19419 {
19420 PyThreadState* __tstate = wxPyBeginAllowThreads();
19421 (arg1)->EditLabel(arg2);
19422
19423 wxPyEndAllowThreads(__tstate);
19424 if (PyErr_Occurred()) SWIG_fail;
19425 }
19426 Py_INCREF(Py_None); resultobj = Py_None;
19427 return resultobj;
19428 fail:
19429 return NULL;
19430 }
19431
19432
19433 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19436 long arg2 ;
19437 bool result;
19438 PyObject * obj0 = 0 ;
19439 char *kwnames[] = {
19440 (char *) "self",(char *) "item", NULL
19441 };
19442
19443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 result = (bool)(arg1)->EnsureVisible(arg2);
19448
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 resultobj = PyInt_FromLong((long)result);
19453 return resultobj;
19454 fail:
19455 return NULL;
19456 }
19457
19458
19459 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19460 PyObject *resultobj;
19461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19462 long arg2 ;
19463 wxString *arg3 = 0 ;
19464 bool arg4 = (bool) False ;
19465 long result;
19466 bool temp3 = False ;
19467 PyObject * obj0 = 0 ;
19468 PyObject * obj2 = 0 ;
19469 PyObject * obj3 = 0 ;
19470 char *kwnames[] = {
19471 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19472 };
19473
19474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19476 {
19477 arg3 = wxString_in_helper(obj2);
19478 if (arg3 == NULL) SWIG_fail;
19479 temp3 = True;
19480 }
19481 if (obj3) {
19482 {
19483 arg4 = (bool) SPyObj_AsBool(obj3);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 }
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 resultobj = PyInt_FromLong((long)result);
19495 {
19496 if (temp3)
19497 delete arg3;
19498 }
19499 return resultobj;
19500 fail:
19501 {
19502 if (temp3)
19503 delete arg3;
19504 }
19505 return NULL;
19506 }
19507
19508
19509 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19510 PyObject *resultobj;
19511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19512 long arg2 ;
19513 long arg3 ;
19514 long result;
19515 PyObject * obj0 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self",(char *) "start",(char *) "data", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (long)(arg1)->FindItem(arg2,arg3);
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 resultobj = PyInt_FromLong((long)result);
19530 return resultobj;
19531 fail:
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19539 long arg2 ;
19540 wxPoint *arg3 = 0 ;
19541 int arg4 ;
19542 long result;
19543 wxPoint temp3 ;
19544 PyObject * obj0 = 0 ;
19545 PyObject * obj2 = 0 ;
19546 char *kwnames[] = {
19547 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19548 };
19549
19550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 {
19553 arg3 = &temp3;
19554 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19555 }
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19559
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 resultobj = PyInt_FromLong((long)result);
19564 return resultobj;
19565 fail:
19566 return NULL;
19567 }
19568
19569
19570 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj;
19572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19573 wxPoint *arg2 = 0 ;
19574 int *arg3 = 0 ;
19575 long result;
19576 wxPoint temp2 ;
19577 int temp3 ;
19578 PyObject * obj0 = 0 ;
19579 PyObject * obj1 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self",(char *) "point", NULL
19582 };
19583
19584 arg3 = &temp3;
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 {
19588 arg2 = &temp2;
19589 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19590 }
19591 {
19592 PyThreadState* __tstate = wxPyBeginAllowThreads();
19593 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19594
19595 wxPyEndAllowThreads(__tstate);
19596 if (PyErr_Occurred()) SWIG_fail;
19597 }
19598 resultobj = PyInt_FromLong((long)result);
19599 {
19600 PyObject *o = PyInt_FromLong((long) (*arg3));
19601 resultobj = t_output_helper(resultobj,o);
19602 }
19603 return resultobj;
19604 fail:
19605 return NULL;
19606 }
19607
19608
19609 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19610 PyObject *resultobj;
19611 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19612 wxListItem *arg2 = 0 ;
19613 long result;
19614 PyObject * obj0 = 0 ;
19615 PyObject * obj1 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self",(char *) "info", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 if (arg2 == NULL) {
19624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19625 }
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (long)(arg1)->InsertItem(*arg2);
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 resultobj = PyInt_FromLong((long)result);
19634 return resultobj;
19635 fail:
19636 return NULL;
19637 }
19638
19639
19640 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19641 PyObject *resultobj;
19642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19643 long arg2 ;
19644 wxString *arg3 = 0 ;
19645 long result;
19646 bool temp3 = False ;
19647 PyObject * obj0 = 0 ;
19648 PyObject * obj2 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self",(char *) "index",(char *) "label", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19655 {
19656 arg3 = wxString_in_helper(obj2);
19657 if (arg3 == NULL) SWIG_fail;
19658 temp3 = True;
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 resultobj = PyInt_FromLong((long)result);
19668 {
19669 if (temp3)
19670 delete arg3;
19671 }
19672 return resultobj;
19673 fail:
19674 {
19675 if (temp3)
19676 delete arg3;
19677 }
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19685 long arg2 ;
19686 int arg3 ;
19687 long result;
19688 PyObject * obj0 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (long)(arg1)->InsertItem(arg2,arg3);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = PyInt_FromLong((long)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19712 long arg2 ;
19713 wxString *arg3 = 0 ;
19714 int arg4 ;
19715 long result;
19716 bool temp3 = False ;
19717 PyObject * obj0 = 0 ;
19718 PyObject * obj2 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 arg3 = wxString_in_helper(obj2);
19727 if (arg3 == NULL) SWIG_fail;
19728 temp3 = True;
19729 }
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 resultobj = PyInt_FromLong((long)result);
19738 {
19739 if (temp3)
19740 delete arg3;
19741 }
19742 return resultobj;
19743 fail:
19744 {
19745 if (temp3)
19746 delete arg3;
19747 }
19748 return NULL;
19749 }
19750
19751
19752 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19755 long arg2 ;
19756 wxListItem *arg3 = 0 ;
19757 long result;
19758 PyObject * obj0 = 0 ;
19759 PyObject * obj2 = 0 ;
19760 char *kwnames[] = {
19761 (char *) "self",(char *) "col",(char *) "info", NULL
19762 };
19763
19764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19766 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19767 if (arg3 == NULL) {
19768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19769 }
19770 {
19771 PyThreadState* __tstate = wxPyBeginAllowThreads();
19772 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19773
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 resultobj = PyInt_FromLong((long)result);
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19787 long arg2 ;
19788 wxString *arg3 = 0 ;
19789 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19790 int arg5 = (int) -1 ;
19791 long result;
19792 bool temp3 = False ;
19793 PyObject * obj0 = 0 ;
19794 PyObject * obj2 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19801 {
19802 arg3 = wxString_in_helper(obj2);
19803 if (arg3 == NULL) SWIG_fail;
19804 temp3 = True;
19805 }
19806 {
19807 PyThreadState* __tstate = wxPyBeginAllowThreads();
19808 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19809
19810 wxPyEndAllowThreads(__tstate);
19811 if (PyErr_Occurred()) SWIG_fail;
19812 }
19813 resultobj = PyInt_FromLong((long)result);
19814 {
19815 if (temp3)
19816 delete arg3;
19817 }
19818 return resultobj;
19819 fail:
19820 {
19821 if (temp3)
19822 delete arg3;
19823 }
19824 return NULL;
19825 }
19826
19827
19828 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19831 long arg2 ;
19832 PyObject * obj0 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "count", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->SetItemCount(arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19856 int arg2 ;
19857 int arg3 ;
19858 bool result;
19859 PyObject * obj0 = 0 ;
19860 char *kwnames[] = {
19861 (char *) "self",(char *) "dx",(char *) "dy", NULL
19862 };
19863
19864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 result = (bool)(arg1)->ScrollList(arg2,arg3);
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
19873 resultobj = PyInt_FromLong((long)result);
19874 return resultobj;
19875 fail:
19876 return NULL;
19877 }
19878
19879
19880 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19881 PyObject *resultobj;
19882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19883 long arg2 ;
19884 wxColour *arg3 = 0 ;
19885 wxColour temp3 ;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj2 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self",(char *) "item",(char *) "col", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19894 {
19895 arg3 = &temp3;
19896 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19897 }
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19901
19902 wxPyEndAllowThreads(__tstate);
19903 if (PyErr_Occurred()) SWIG_fail;
19904 }
19905 Py_INCREF(Py_None); resultobj = Py_None;
19906 return resultobj;
19907 fail:
19908 return NULL;
19909 }
19910
19911
19912 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19913 PyObject *resultobj;
19914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19915 long arg2 ;
19916 wxColour result;
19917 PyObject * obj0 = 0 ;
19918 char *kwnames[] = {
19919 (char *) "self",(char *) "item", NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19924 {
19925 PyThreadState* __tstate = wxPyBeginAllowThreads();
19926 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19927
19928 wxPyEndAllowThreads(__tstate);
19929 if (PyErr_Occurred()) SWIG_fail;
19930 }
19931 {
19932 wxColour * resultptr;
19933 resultptr = new wxColour((wxColour &) result);
19934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19935 }
19936 return resultobj;
19937 fail:
19938 return NULL;
19939 }
19940
19941
19942 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19943 PyObject *resultobj;
19944 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19945 long arg2 ;
19946 wxColour *arg3 = 0 ;
19947 wxColour temp3 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj2 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "item",(char *) "col", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19956 {
19957 arg3 = &temp3;
19958 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19959 }
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 Py_INCREF(Py_None); resultobj = Py_None;
19968 return resultobj;
19969 fail:
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19977 long arg2 ;
19978 wxColour result;
19979 PyObject * obj0 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self",(char *) "item", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19986 {
19987 PyThreadState* __tstate = wxPyBeginAllowThreads();
19988 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19989
19990 wxPyEndAllowThreads(__tstate);
19991 if (PyErr_Occurred()) SWIG_fail;
19992 }
19993 {
19994 wxColour * resultptr;
19995 resultptr = new wxColour((wxColour &) result);
19996 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19997 }
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20007 PyObject *arg2 = (PyObject *) 0 ;
20008 bool result;
20009 PyObject * obj0 = 0 ;
20010 PyObject * obj1 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self",(char *) "func", NULL
20013 };
20014
20015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
20016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20017 arg2 = obj1;
20018 {
20019 PyThreadState* __tstate = wxPyBeginAllowThreads();
20020 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
20021
20022 wxPyEndAllowThreads(__tstate);
20023 if (PyErr_Occurred()) SWIG_fail;
20024 }
20025 resultobj = PyInt_FromLong((long)result);
20026 return resultobj;
20027 fail:
20028 return NULL;
20029 }
20030
20031
20032 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20033 PyObject *resultobj;
20034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20035 wxWindow *result;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 {
20051 resultobj = wxPyMake_wxObject(result);
20052 }
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
20060 PyObject *obj;
20061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20062 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
20063 Py_INCREF(obj);
20064 return Py_BuildValue((char *)"");
20065 }
20066 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20067 PyObject *resultobj;
20068 wxWindow *arg1 = (wxWindow *) 0 ;
20069 int arg2 = (int) -1 ;
20070 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20071 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20072 wxSize const &arg4_defvalue = wxDefaultSize ;
20073 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20074 long arg5 = (long) wxLC_REPORT ;
20075 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20076 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20077 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20078 wxString *arg7 = (wxString *) &arg7_defvalue ;
20079 wxListView *result;
20080 wxPoint temp3 ;
20081 wxSize temp4 ;
20082 bool temp7 = False ;
20083 PyObject * obj0 = 0 ;
20084 PyObject * obj2 = 0 ;
20085 PyObject * obj3 = 0 ;
20086 PyObject * obj5 = 0 ;
20087 PyObject * obj6 = 0 ;
20088 char *kwnames[] = {
20089 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20090 };
20091
20092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20094 if (obj2) {
20095 {
20096 arg3 = &temp3;
20097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20098 }
20099 }
20100 if (obj3) {
20101 {
20102 arg4 = &temp4;
20103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20104 }
20105 }
20106 if (obj5) {
20107 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 if (arg6 == NULL) {
20109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20110 }
20111 }
20112 if (obj6) {
20113 {
20114 arg7 = wxString_in_helper(obj6);
20115 if (arg7 == NULL) SWIG_fail;
20116 temp7 = True;
20117 }
20118 }
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20127 {
20128 if (temp7)
20129 delete arg7;
20130 }
20131 return resultobj;
20132 fail:
20133 {
20134 if (temp7)
20135 delete arg7;
20136 }
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxListView *result;
20144 char *kwnames[] = {
20145 NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 result = (wxListView *)new wxListView();
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxListView *arg1 = (wxListView *) 0 ;
20166 wxWindow *arg2 = (wxWindow *) 0 ;
20167 int arg3 = (int) -1 ;
20168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20170 wxSize const &arg5_defvalue = wxDefaultSize ;
20171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20172 long arg6 = (long) wxLC_REPORT ;
20173 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20174 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20175 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20176 wxString *arg8 = (wxString *) &arg8_defvalue ;
20177 bool result;
20178 wxPoint temp4 ;
20179 wxSize temp5 ;
20180 bool temp8 = False ;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 PyObject * obj3 = 0 ;
20184 PyObject * obj4 = 0 ;
20185 PyObject * obj6 = 0 ;
20186 PyObject * obj7 = 0 ;
20187 char *kwnames[] = {
20188 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20189 };
20190
20191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20194 if (obj3) {
20195 {
20196 arg4 = &temp4;
20197 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20198 }
20199 }
20200 if (obj4) {
20201 {
20202 arg5 = &temp5;
20203 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20204 }
20205 }
20206 if (obj6) {
20207 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20208 if (arg7 == NULL) {
20209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20210 }
20211 }
20212 if (obj7) {
20213 {
20214 arg8 = wxString_in_helper(obj7);
20215 if (arg8 == NULL) SWIG_fail;
20216 temp8 = True;
20217 }
20218 }
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 resultobj = PyInt_FromLong((long)result);
20227 {
20228 if (temp8)
20229 delete arg8;
20230 }
20231 return resultobj;
20232 fail:
20233 {
20234 if (temp8)
20235 delete arg8;
20236 }
20237 return NULL;
20238 }
20239
20240
20241 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20242 PyObject *resultobj;
20243 wxListView *arg1 = (wxListView *) 0 ;
20244 long arg2 ;
20245 bool arg3 = (bool) True ;
20246 PyObject * obj0 = 0 ;
20247 PyObject * obj2 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "self",(char *) "n",(char *) "on", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20254 if (obj2) {
20255 {
20256 arg3 = (bool) SPyObj_AsBool(obj2);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 }
20260 {
20261 PyThreadState* __tstate = wxPyBeginAllowThreads();
20262 (arg1)->Select(arg2,arg3);
20263
20264 wxPyEndAllowThreads(__tstate);
20265 if (PyErr_Occurred()) SWIG_fail;
20266 }
20267 Py_INCREF(Py_None); resultobj = Py_None;
20268 return resultobj;
20269 fail:
20270 return NULL;
20271 }
20272
20273
20274 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxListView *arg1 = (wxListView *) 0 ;
20277 long arg2 ;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self",(char *) "index", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20285 {
20286 PyThreadState* __tstate = wxPyBeginAllowThreads();
20287 (arg1)->Focus(arg2);
20288
20289 wxPyEndAllowThreads(__tstate);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
20292 Py_INCREF(Py_None); resultobj = Py_None;
20293 return resultobj;
20294 fail:
20295 return NULL;
20296 }
20297
20298
20299 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20300 PyObject *resultobj;
20301 wxListView *arg1 = (wxListView *) 0 ;
20302 long result;
20303 PyObject * obj0 = 0 ;
20304 char *kwnames[] = {
20305 (char *) "self", NULL
20306 };
20307
20308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20310 {
20311 PyThreadState* __tstate = wxPyBeginAllowThreads();
20312 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20313
20314 wxPyEndAllowThreads(__tstate);
20315 if (PyErr_Occurred()) SWIG_fail;
20316 }
20317 resultobj = PyInt_FromLong((long)result);
20318 return resultobj;
20319 fail:
20320 return NULL;
20321 }
20322
20323
20324 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20325 PyObject *resultobj;
20326 wxListView *arg1 = (wxListView *) 0 ;
20327 long arg2 ;
20328 long result;
20329 PyObject * obj0 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self",(char *) "item", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 resultobj = PyInt_FromLong((long)result);
20344 return resultobj;
20345 fail:
20346 return NULL;
20347 }
20348
20349
20350 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 wxListView *arg1 = (wxListView *) 0 ;
20353 long result;
20354 PyObject * obj0 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 resultobj = PyInt_FromLong((long)result);
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxListView *arg1 = (wxListView *) 0 ;
20378 long arg2 ;
20379 bool result;
20380 PyObject * obj0 = 0 ;
20381 char *kwnames[] = {
20382 (char *) "self",(char *) "index", NULL
20383 };
20384
20385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20387 {
20388 PyThreadState* __tstate = wxPyBeginAllowThreads();
20389 result = (bool)(arg1)->IsSelected(arg2);
20390
20391 wxPyEndAllowThreads(__tstate);
20392 if (PyErr_Occurred()) SWIG_fail;
20393 }
20394 resultobj = PyInt_FromLong((long)result);
20395 return resultobj;
20396 fail:
20397 return NULL;
20398 }
20399
20400
20401 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20402 PyObject *resultobj;
20403 wxListView *arg1 = (wxListView *) 0 ;
20404 int arg2 ;
20405 int arg3 ;
20406 PyObject * obj0 = 0 ;
20407 char *kwnames[] = {
20408 (char *) "self",(char *) "col",(char *) "image", NULL
20409 };
20410
20411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20413 {
20414 PyThreadState* __tstate = wxPyBeginAllowThreads();
20415 (arg1)->SetColumnImage(arg2,arg3);
20416
20417 wxPyEndAllowThreads(__tstate);
20418 if (PyErr_Occurred()) SWIG_fail;
20419 }
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424 }
20425
20426
20427 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxListView *arg1 = (wxListView *) 0 ;
20430 int arg2 ;
20431 PyObject * obj0 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "col", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 {
20439 PyThreadState* __tstate = wxPyBeginAllowThreads();
20440 (arg1)->ClearColumnImage(arg2);
20441
20442 wxPyEndAllowThreads(__tstate);
20443 if (PyErr_Occurred()) SWIG_fail;
20444 }
20445 Py_INCREF(Py_None); resultobj = Py_None;
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20453 PyObject *obj;
20454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20455 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20456 Py_INCREF(obj);
20457 return Py_BuildValue((char *)"");
20458 }
20459 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20460 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20461 return 1;
20462 }
20463
20464
20465 static PyObject *_wrap_TreeCtrlNameStr_get() {
20466 PyObject *pyobj;
20467
20468 {
20469 #if wxUSE_UNICODE
20470 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20471 #else
20472 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20473 #endif
20474 }
20475 return pyobj;
20476 }
20477
20478
20479 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20480 PyObject *resultobj;
20481 wxTreeItemId *result;
20482 char *kwnames[] = {
20483 NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 result = (wxTreeItemId *)new wxTreeItemId();
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20495 return resultobj;
20496 fail:
20497 return NULL;
20498 }
20499
20500
20501 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 delete arg1;
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 Py_INCREF(Py_None); resultobj = Py_None;
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20528 bool result;
20529 PyObject * obj0 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 resultobj = PyInt_FromLong((long)result);
20544 return resultobj;
20545 fail:
20546 return NULL;
20547 }
20548
20549
20550 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20551 PyObject *resultobj;
20552 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20553 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20554 bool result;
20555 PyObject * obj0 = 0 ;
20556 PyObject * obj1 = 0 ;
20557 char *kwnames[] = {
20558 (char *) "self",(char *) "other", NULL
20559 };
20560
20561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20564 {
20565 PyThreadState* __tstate = wxPyBeginAllowThreads();
20566 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20567
20568 wxPyEndAllowThreads(__tstate);
20569 if (PyErr_Occurred()) SWIG_fail;
20570 }
20571 resultobj = PyInt_FromLong((long)result);
20572 return resultobj;
20573 fail:
20574 return NULL;
20575 }
20576
20577
20578 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20579 PyObject *resultobj;
20580 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20581 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20582 bool result;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self",(char *) "other", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20592 {
20593 PyThreadState* __tstate = wxPyBeginAllowThreads();
20594 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20595
20596 wxPyEndAllowThreads(__tstate);
20597 if (PyErr_Occurred()) SWIG_fail;
20598 }
20599 resultobj = PyInt_FromLong((long)result);
20600 return resultobj;
20601 fail:
20602 return NULL;
20603 }
20604
20605
20606 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20609 void *arg2 = (void *) 0 ;
20610 PyObject * obj0 = 0 ;
20611 PyObject * obj1 = 0 ;
20612 char *kwnames[] = {
20613 (char *) "self",(char *) "m_pItem", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20619 if (arg1) (arg1)->m_pItem = arg2;
20620
20621 Py_INCREF(Py_None); resultobj = Py_None;
20622 return resultobj;
20623 fail:
20624 return NULL;
20625 }
20626
20627
20628 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20629 PyObject *resultobj;
20630 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20631 void *result;
20632 PyObject * obj0 = 0 ;
20633 char *kwnames[] = {
20634 (char *) "self", NULL
20635 };
20636
20637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20639 result = (void *) ((arg1)->m_pItem);
20640
20641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
20642 return resultobj;
20643 fail:
20644 return NULL;
20645 }
20646
20647
20648 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20649 PyObject *obj;
20650 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20651 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20652 Py_INCREF(obj);
20653 return Py_BuildValue((char *)"");
20654 }
20655 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 PyObject *arg1 = (PyObject *) NULL ;
20658 wxPyTreeItemData *result;
20659 PyObject * obj0 = 0 ;
20660 char *kwnames[] = {
20661 (char *) "obj", NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20665 if (obj0) {
20666 arg1 = obj0;
20667 }
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20676 return resultobj;
20677 fail:
20678 return NULL;
20679 }
20680
20681
20682 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20685 PyObject *result;
20686 PyObject * obj0 = 0 ;
20687 char *kwnames[] = {
20688 (char *) "self", NULL
20689 };
20690
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (PyObject *)(arg1)->GetData();
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 resultobj = result;
20701 return resultobj;
20702 fail:
20703 return NULL;
20704 }
20705
20706
20707 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20708 PyObject *resultobj;
20709 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20710 PyObject *arg2 = (PyObject *) 0 ;
20711 PyObject * obj0 = 0 ;
20712 PyObject * obj1 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self",(char *) "obj", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20719 arg2 = obj1;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 (arg1)->SetData(arg2);
20723
20724 wxPyEndAllowThreads(__tstate);
20725 if (PyErr_Occurred()) SWIG_fail;
20726 }
20727 Py_INCREF(Py_None); resultobj = Py_None;
20728 return resultobj;
20729 fail:
20730 return NULL;
20731 }
20732
20733
20734 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20735 PyObject *resultobj;
20736 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20737 wxTreeItemId *result;
20738 PyObject * obj0 = 0 ;
20739 char *kwnames[] = {
20740 (char *) "self", NULL
20741 };
20742
20743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20745 {
20746 PyThreadState* __tstate = wxPyBeginAllowThreads();
20747 {
20748 wxTreeItemId const &_result_ref = (arg1)->GetId();
20749 result = (wxTreeItemId *) &_result_ref;
20750 }
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20756 return resultobj;
20757 fail:
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20765 wxTreeItemId *arg2 = 0 ;
20766 PyObject * obj0 = 0 ;
20767 PyObject * obj1 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self",(char *) "id", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20775 if (arg2 == NULL) {
20776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20777 }
20778 {
20779 PyThreadState* __tstate = wxPyBeginAllowThreads();
20780 (arg1)->SetId((wxTreeItemId const &)*arg2);
20781
20782 wxPyEndAllowThreads(__tstate);
20783 if (PyErr_Occurred()) SWIG_fail;
20784 }
20785 Py_INCREF(Py_None); resultobj = Py_None;
20786 return resultobj;
20787 fail:
20788 return NULL;
20789 }
20790
20791
20792 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20793 PyObject *resultobj;
20794 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20795 PyObject * obj0 = 0 ;
20796 char *kwnames[] = {
20797 (char *) "self", NULL
20798 };
20799
20800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20802 {
20803 PyThreadState* __tstate = wxPyBeginAllowThreads();
20804 wxPyTreeItemData_Destroy(arg1);
20805
20806 wxPyEndAllowThreads(__tstate);
20807 if (PyErr_Occurred()) SWIG_fail;
20808 }
20809 Py_INCREF(Py_None); resultobj = Py_None;
20810 return resultobj;
20811 fail:
20812 return NULL;
20813 }
20814
20815
20816 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20817 PyObject *obj;
20818 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20819 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20820 Py_INCREF(obj);
20821 return Py_BuildValue((char *)"");
20822 }
20823 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20824 PyObject *resultobj;
20825 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20826 int arg2 = (int) 0 ;
20827 wxTreeEvent *result;
20828 char *kwnames[] = {
20829 (char *) "commandType",(char *) "id", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20836
20837 wxPyEndAllowThreads(__tstate);
20838 if (PyErr_Occurred()) SWIG_fail;
20839 }
20840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20841 return resultobj;
20842 fail:
20843 return NULL;
20844 }
20845
20846
20847 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20848 PyObject *resultobj;
20849 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20850 wxTreeItemId result;
20851 PyObject * obj0 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 result = ((wxTreeEvent const *)arg1)->GetItem();
20861
20862 wxPyEndAllowThreads(__tstate);
20863 if (PyErr_Occurred()) SWIG_fail;
20864 }
20865 {
20866 wxTreeItemId * resultptr;
20867 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20868 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20869 }
20870 return resultobj;
20871 fail:
20872 return NULL;
20873 }
20874
20875
20876 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20879 wxTreeItemId *arg2 = 0 ;
20880 PyObject * obj0 = 0 ;
20881 PyObject * obj1 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "self",(char *) "item", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20889 if (arg2 == NULL) {
20890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20891 }
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 Py_INCREF(Py_None); resultobj = Py_None;
20900 return resultobj;
20901 fail:
20902 return NULL;
20903 }
20904
20905
20906 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj;
20908 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20909 wxTreeItemId result;
20910 PyObject * obj0 = 0 ;
20911 char *kwnames[] = {
20912 (char *) "self", NULL
20913 };
20914
20915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 {
20925 wxTreeItemId * resultptr;
20926 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20927 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20928 }
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20938 wxTreeItemId *arg2 = 0 ;
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "item", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20948 if (arg2 == NULL) {
20949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20968 wxPoint result;
20969 PyObject * obj0 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = ((wxTreeEvent const *)arg1)->GetPoint();
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 {
20984 wxPoint * resultptr;
20985 resultptr = new wxPoint((wxPoint &) result);
20986 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20987 }
20988 return resultobj;
20989 fail:
20990 return NULL;
20991 }
20992
20993
20994 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20997 wxPoint *arg2 = 0 ;
20998 wxPoint temp2 ;
20999 PyObject * obj0 = 0 ;
21000 PyObject * obj1 = 0 ;
21001 char *kwnames[] = {
21002 (char *) "self",(char *) "pt", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
21006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21007 {
21008 arg2 = &temp2;
21009 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21010 }
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 (arg1)->SetPoint((wxPoint const &)*arg2);
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 Py_INCREF(Py_None); resultobj = Py_None;
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj;
21027 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21028 wxKeyEvent *result;
21029 PyObject * obj0 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self", NULL
21032 };
21033
21034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
21035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 {
21039 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
21040 result = (wxKeyEvent *) &_result_ref;
21041 }
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
21047 return resultobj;
21048 fail:
21049 return NULL;
21050 }
21051
21052
21053 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21056 int result;
21057 PyObject * obj0 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 resultobj = PyInt_FromLong((long)result);
21072 return resultobj;
21073 fail:
21074 return NULL;
21075 }
21076
21077
21078 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21079 PyObject *resultobj;
21080 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21081 wxKeyEvent *arg2 = 0 ;
21082 PyObject * obj0 = 0 ;
21083 PyObject * obj1 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self",(char *) "evt", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21091 if (arg2 == NULL) {
21092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21093 }
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21111 wxString *result;
21112 PyObject * obj0 = 0 ;
21113 char *kwnames[] = {
21114 (char *) "self", NULL
21115 };
21116
21117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
21118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 {
21122 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
21123 result = (wxString *) &_result_ref;
21124 }
21125
21126 wxPyEndAllowThreads(__tstate);
21127 if (PyErr_Occurred()) SWIG_fail;
21128 }
21129 {
21130 #if wxUSE_UNICODE
21131 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21132 #else
21133 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21134 #endif
21135 }
21136 return resultobj;
21137 fail:
21138 return NULL;
21139 }
21140
21141
21142 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21143 PyObject *resultobj;
21144 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21145 wxString *arg2 = 0 ;
21146 bool temp2 = False ;
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "label", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 {
21156 arg2 = wxString_in_helper(obj1);
21157 if (arg2 == NULL) SWIG_fail;
21158 temp2 = True;
21159 }
21160 {
21161 PyThreadState* __tstate = wxPyBeginAllowThreads();
21162 (arg1)->SetLabel((wxString const &)*arg2);
21163
21164 wxPyEndAllowThreads(__tstate);
21165 if (PyErr_Occurred()) SWIG_fail;
21166 }
21167 Py_INCREF(Py_None); resultobj = Py_None;
21168 {
21169 if (temp2)
21170 delete arg2;
21171 }
21172 return resultobj;
21173 fail:
21174 {
21175 if (temp2)
21176 delete arg2;
21177 }
21178 return NULL;
21179 }
21180
21181
21182 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21185 bool result;
21186 PyObject * obj0 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 resultobj = PyInt_FromLong((long)result);
21201 return resultobj;
21202 fail:
21203 return NULL;
21204 }
21205
21206
21207 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21208 PyObject *resultobj;
21209 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21210 bool arg2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "editCancelled", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21219 {
21220 arg2 = (bool) SPyObj_AsBool(obj1);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 {
21224 PyThreadState* __tstate = wxPyBeginAllowThreads();
21225 (arg1)->SetEditCanceled(arg2);
21226
21227 wxPyEndAllowThreads(__tstate);
21228 if (PyErr_Occurred()) SWIG_fail;
21229 }
21230 Py_INCREF(Py_None); resultobj = Py_None;
21231 return resultobj;
21232 fail:
21233 return NULL;
21234 }
21235
21236
21237 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21240 wxString *arg2 = 0 ;
21241 bool temp2 = False ;
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 char *kwnames[] = {
21245 (char *) "self",(char *) "toolTip", NULL
21246 };
21247
21248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21250 {
21251 arg2 = wxString_in_helper(obj1);
21252 if (arg2 == NULL) SWIG_fail;
21253 temp2 = True;
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 (arg1)->SetToolTip((wxString const &)*arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 {
21264 if (temp2)
21265 delete arg2;
21266 }
21267 return resultobj;
21268 fail:
21269 {
21270 if (temp2)
21271 delete arg2;
21272 }
21273 return NULL;
21274 }
21275
21276
21277 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21278 PyObject *obj;
21279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21280 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21281 Py_INCREF(obj);
21282 return Py_BuildValue((char *)"");
21283 }
21284 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21285 PyObject *resultobj;
21286 wxWindow *arg1 = (wxWindow *) 0 ;
21287 int arg2 = (int) -1 ;
21288 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21289 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21290 wxSize const &arg4_defvalue = wxDefaultSize ;
21291 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21292 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21293 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21294 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21295 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21296 wxString *arg7 = (wxString *) &arg7_defvalue ;
21297 wxPyTreeCtrl *result;
21298 wxPoint temp3 ;
21299 wxSize temp4 ;
21300 bool temp7 = False ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj2 = 0 ;
21303 PyObject * obj3 = 0 ;
21304 PyObject * obj5 = 0 ;
21305 PyObject * obj6 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21312 if (obj2) {
21313 {
21314 arg3 = &temp3;
21315 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21316 }
21317 }
21318 if (obj3) {
21319 {
21320 arg4 = &temp4;
21321 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21322 }
21323 }
21324 if (obj5) {
21325 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21326 if (arg6 == NULL) {
21327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21328 }
21329 }
21330 if (obj6) {
21331 {
21332 arg7 = wxString_in_helper(obj6);
21333 if (arg7 == NULL) SWIG_fail;
21334 temp7 = True;
21335 }
21336 }
21337 {
21338 PyThreadState* __tstate = wxPyBeginAllowThreads();
21339 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21340
21341 wxPyEndAllowThreads(__tstate);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
21345 resultobj = wxPyMake_wxObject(result);
21346 }
21347 {
21348 if (temp7)
21349 delete arg7;
21350 }
21351 return resultobj;
21352 fail:
21353 {
21354 if (temp7)
21355 delete arg7;
21356 }
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxPyTreeCtrl *result;
21364 char *kwnames[] = {
21365 NULL
21366 };
21367
21368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 {
21377 resultobj = wxPyMake_wxObject(result);
21378 }
21379 return resultobj;
21380 fail:
21381 return NULL;
21382 }
21383
21384
21385 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21386 PyObject *resultobj;
21387 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21388 wxWindow *arg2 = (wxWindow *) 0 ;
21389 int arg3 = (int) -1 ;
21390 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21391 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21392 wxSize const &arg5_defvalue = wxDefaultSize ;
21393 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21394 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21395 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21396 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21397 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21398 wxString *arg8 = (wxString *) &arg8_defvalue ;
21399 bool result;
21400 wxPoint temp4 ;
21401 wxSize temp5 ;
21402 bool temp8 = False ;
21403 PyObject * obj0 = 0 ;
21404 PyObject * obj1 = 0 ;
21405 PyObject * obj3 = 0 ;
21406 PyObject * obj4 = 0 ;
21407 PyObject * obj6 = 0 ;
21408 PyObject * obj7 = 0 ;
21409 char *kwnames[] = {
21410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21411 };
21412
21413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21416 if (obj3) {
21417 {
21418 arg4 = &temp4;
21419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21420 }
21421 }
21422 if (obj4) {
21423 {
21424 arg5 = &temp5;
21425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21426 }
21427 }
21428 if (obj6) {
21429 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21430 if (arg7 == NULL) {
21431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21432 }
21433 }
21434 if (obj7) {
21435 {
21436 arg8 = wxString_in_helper(obj7);
21437 if (arg8 == NULL) SWIG_fail;
21438 temp8 = True;
21439 }
21440 }
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 resultobj = PyInt_FromLong((long)result);
21449 {
21450 if (temp8)
21451 delete arg8;
21452 }
21453 return resultobj;
21454 fail:
21455 {
21456 if (temp8)
21457 delete arg8;
21458 }
21459 return NULL;
21460 }
21461
21462
21463 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21466 PyObject *arg2 = (PyObject *) 0 ;
21467 PyObject *arg3 = (PyObject *) 0 ;
21468 PyObject * obj0 = 0 ;
21469 PyObject * obj1 = 0 ;
21470 PyObject * obj2 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self",(char *) "self",(char *) "_class", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21477 arg2 = obj1;
21478 arg3 = obj2;
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 (arg1)->_setCallbackInfo(arg2,arg3);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 Py_INCREF(Py_None); resultobj = Py_None;
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21496 size_t result;
21497 PyObject * obj0 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515 }
21516
21517
21518 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21521 unsigned int result;
21522 PyObject * obj0 = 0 ;
21523 char *kwnames[] = {
21524 (char *) "self", NULL
21525 };
21526
21527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21532
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21537 return resultobj;
21538 fail:
21539 return NULL;
21540 }
21541
21542
21543 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21544 PyObject *resultobj;
21545 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21546 unsigned int arg2 ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 char *kwnames[] = {
21550 (char *) "self",(char *) "indent", NULL
21551 };
21552
21553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21555 {
21556 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->SetIndent(arg2);
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 Py_INCREF(Py_None); resultobj = Py_None;
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21576 unsigned int result;
21577 PyObject * obj0 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21592 return resultobj;
21593 fail:
21594 return NULL;
21595 }
21596
21597
21598 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21599 PyObject *resultobj;
21600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21601 unsigned int arg2 ;
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "spacing", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21610 {
21611 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 (arg1)->SetSpacing(arg2);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 Py_INCREF(Py_None); resultobj = Py_None;
21622 return resultobj;
21623 fail:
21624 return NULL;
21625 }
21626
21627
21628 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21629 PyObject *resultobj;
21630 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21631 wxImageList *result;
21632 PyObject * obj0 = 0 ;
21633 char *kwnames[] = {
21634 (char *) "self", NULL
21635 };
21636
21637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 {
21647 resultobj = wxPyMake_wxObject(result);
21648 }
21649 return resultobj;
21650 fail:
21651 return NULL;
21652 }
21653
21654
21655 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21656 PyObject *resultobj;
21657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21658 wxImageList *result;
21659 PyObject * obj0 = 0 ;
21660 char *kwnames[] = {
21661 (char *) "self", NULL
21662 };
21663
21664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 {
21674 resultobj = wxPyMake_wxObject(result);
21675 }
21676 return resultobj;
21677 fail:
21678 return NULL;
21679 }
21680
21681
21682 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21683 PyObject *resultobj;
21684 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21685 wxImageList *arg2 = (wxImageList *) 0 ;
21686 PyObject * obj0 = 0 ;
21687 PyObject * obj1 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "imageList", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21695 {
21696 PyThreadState* __tstate = wxPyBeginAllowThreads();
21697 (arg1)->SetImageList(arg2);
21698
21699 wxPyEndAllowThreads(__tstate);
21700 if (PyErr_Occurred()) SWIG_fail;
21701 }
21702 Py_INCREF(Py_None); resultobj = Py_None;
21703 return resultobj;
21704 fail:
21705 return NULL;
21706 }
21707
21708
21709 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21710 PyObject *resultobj;
21711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21712 wxImageList *arg2 = (wxImageList *) 0 ;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "imageList", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 (arg1)->SetStateImageList(arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 Py_INCREF(Py_None); resultobj = Py_None;
21730 return resultobj;
21731 fail:
21732 return NULL;
21733 }
21734
21735
21736 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21737 PyObject *resultobj;
21738 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21739 wxImageList *arg2 = (wxImageList *) 0 ;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self",(char *) "imageList", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 (arg1)->AssignImageList(arg2);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 Py_INCREF(Py_None); resultobj = Py_None;
21757 return resultobj;
21758 fail:
21759 return NULL;
21760 }
21761
21762
21763 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21766 wxImageList *arg2 = (wxImageList *) 0 ;
21767 PyObject * obj0 = 0 ;
21768 PyObject * obj1 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "imageList", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->AssignStateImageList(arg2);
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 Py_INCREF(Py_None); resultobj = Py_None;
21784 return resultobj;
21785 fail:
21786 return NULL;
21787 }
21788
21789
21790 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21791 PyObject *resultobj;
21792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21793 wxTreeItemId *arg2 = 0 ;
21794 wxString result;
21795 PyObject * obj0 = 0 ;
21796 PyObject * obj1 = 0 ;
21797 char *kwnames[] = {
21798 (char *) "self",(char *) "item", NULL
21799 };
21800
21801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 if (arg2 == NULL) {
21805 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21806 }
21807 {
21808 PyThreadState* __tstate = wxPyBeginAllowThreads();
21809 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21810
21811 wxPyEndAllowThreads(__tstate);
21812 if (PyErr_Occurred()) SWIG_fail;
21813 }
21814 {
21815 #if wxUSE_UNICODE
21816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21817 #else
21818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21819 #endif
21820 }
21821 return resultobj;
21822 fail:
21823 return NULL;
21824 }
21825
21826
21827 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21828 PyObject *resultobj;
21829 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21830 wxTreeItemId *arg2 = 0 ;
21831 int arg3 = (int) wxTreeItemIcon_Normal ;
21832 int result;
21833 PyObject * obj0 = 0 ;
21834 PyObject * obj1 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self",(char *) "item",(char *) "which", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21842 if (arg2 == NULL) {
21843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21844 }
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 resultobj = PyInt_FromLong((long)result);
21853 return resultobj;
21854 fail:
21855 return NULL;
21856 }
21857
21858
21859 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21860 PyObject *resultobj;
21861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21862 wxTreeItemId *arg2 = 0 ;
21863 wxPyTreeItemData *result;
21864 PyObject * obj0 = 0 ;
21865 PyObject * obj1 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "item", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21873 if (arg2 == NULL) {
21874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21875 }
21876 {
21877 PyThreadState* __tstate = wxPyBeginAllowThreads();
21878 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21879
21880 wxPyEndAllowThreads(__tstate);
21881 if (PyErr_Occurred()) SWIG_fail;
21882 }
21883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21884 return resultobj;
21885 fail:
21886 return NULL;
21887 }
21888
21889
21890 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21891 PyObject *resultobj;
21892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21893 wxTreeItemId *arg2 = 0 ;
21894 PyObject *result;
21895 PyObject * obj0 = 0 ;
21896 PyObject * obj1 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self",(char *) "item", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21904 if (arg2 == NULL) {
21905 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21906 }
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 resultobj = result;
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21924 wxTreeItemId *arg2 = 0 ;
21925 wxColour result;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "item", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if (arg2 == NULL) {
21936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21937 }
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 {
21946 wxColour * resultptr;
21947 resultptr = new wxColour((wxColour &) result);
21948 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21949 }
21950 return resultobj;
21951 fail:
21952 return NULL;
21953 }
21954
21955
21956 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21957 PyObject *resultobj;
21958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21959 wxTreeItemId *arg2 = 0 ;
21960 wxColour result;
21961 PyObject * obj0 = 0 ;
21962 PyObject * obj1 = 0 ;
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "item", NULL
21965 };
21966
21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21970 if (arg2 == NULL) {
21971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21972 }
21973 {
21974 PyThreadState* __tstate = wxPyBeginAllowThreads();
21975 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21976
21977 wxPyEndAllowThreads(__tstate);
21978 if (PyErr_Occurred()) SWIG_fail;
21979 }
21980 {
21981 wxColour * resultptr;
21982 resultptr = new wxColour((wxColour &) result);
21983 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21984 }
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21994 wxTreeItemId *arg2 = 0 ;
21995 wxFont result;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "item", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22005 if (arg2 == NULL) {
22006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22007 }
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 {
22016 wxFont * resultptr;
22017 resultptr = new wxFont((wxFont &) result);
22018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
22019 }
22020 return resultobj;
22021 fail:
22022 return NULL;
22023 }
22024
22025
22026 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22029 wxTreeItemId *arg2 = 0 ;
22030 wxString *arg3 = 0 ;
22031 bool temp3 = False ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 PyObject * obj2 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self",(char *) "item",(char *) "text", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22042 if (arg2 == NULL) {
22043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22044 }
22045 {
22046 arg3 = wxString_in_helper(obj2);
22047 if (arg3 == NULL) SWIG_fail;
22048 temp3 = True;
22049 }
22050 {
22051 PyThreadState* __tstate = wxPyBeginAllowThreads();
22052 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
22053
22054 wxPyEndAllowThreads(__tstate);
22055 if (PyErr_Occurred()) SWIG_fail;
22056 }
22057 Py_INCREF(Py_None); resultobj = Py_None;
22058 {
22059 if (temp3)
22060 delete arg3;
22061 }
22062 return resultobj;
22063 fail:
22064 {
22065 if (temp3)
22066 delete arg3;
22067 }
22068 return NULL;
22069 }
22070
22071
22072 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22073 PyObject *resultobj;
22074 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22075 wxTreeItemId *arg2 = 0 ;
22076 int arg3 ;
22077 int arg4 = (int) wxTreeItemIcon_Normal ;
22078 PyObject * obj0 = 0 ;
22079 PyObject * obj1 = 0 ;
22080 char *kwnames[] = {
22081 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22082 };
22083
22084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
22085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22087 if (arg2 == NULL) {
22088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 Py_INCREF(Py_None); resultobj = Py_None;
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22107 wxTreeItemId *arg2 = 0 ;
22108 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
22109 PyObject * obj0 = 0 ;
22110 PyObject * obj1 = 0 ;
22111 PyObject * obj2 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self",(char *) "item",(char *) "data", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 if (arg2 == NULL) {
22120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22121 }
22122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 {
22124 PyThreadState* __tstate = wxPyBeginAllowThreads();
22125 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
22126
22127 wxPyEndAllowThreads(__tstate);
22128 if (PyErr_Occurred()) SWIG_fail;
22129 }
22130 Py_INCREF(Py_None); resultobj = Py_None;
22131 return resultobj;
22132 fail:
22133 return NULL;
22134 }
22135
22136
22137 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22138 PyObject *resultobj;
22139 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22140 wxTreeItemId *arg2 = 0 ;
22141 PyObject *arg3 = (PyObject *) 0 ;
22142 PyObject * obj0 = 0 ;
22143 PyObject * obj1 = 0 ;
22144 PyObject * obj2 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self",(char *) "item",(char *) "obj", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22152 if (arg2 == NULL) {
22153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22154 }
22155 arg3 = obj2;
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 Py_INCREF(Py_None); resultobj = Py_None;
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22173 wxTreeItemId *arg2 = 0 ;
22174 bool arg3 = (bool) True ;
22175 PyObject * obj0 = 0 ;
22176 PyObject * obj1 = 0 ;
22177 PyObject * obj2 = 0 ;
22178 char *kwnames[] = {
22179 (char *) "self",(char *) "item",(char *) "has", NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 if (arg2 == NULL) {
22186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22187 }
22188 if (obj2) {
22189 {
22190 arg3 = (bool) SPyObj_AsBool(obj2);
22191 if (PyErr_Occurred()) SWIG_fail;
22192 }
22193 }
22194 {
22195 PyThreadState* __tstate = wxPyBeginAllowThreads();
22196 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22197
22198 wxPyEndAllowThreads(__tstate);
22199 if (PyErr_Occurred()) SWIG_fail;
22200 }
22201 Py_INCREF(Py_None); resultobj = Py_None;
22202 return resultobj;
22203 fail:
22204 return NULL;
22205 }
22206
22207
22208 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22211 wxTreeItemId *arg2 = 0 ;
22212 bool arg3 = (bool) True ;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 PyObject * obj2 = 0 ;
22216 char *kwnames[] = {
22217 (char *) "self",(char *) "item",(char *) "bold", NULL
22218 };
22219
22220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22222 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22223 if (arg2 == NULL) {
22224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22225 }
22226 if (obj2) {
22227 {
22228 arg3 = (bool) SPyObj_AsBool(obj2);
22229 if (PyErr_Occurred()) SWIG_fail;
22230 }
22231 }
22232 {
22233 PyThreadState* __tstate = wxPyBeginAllowThreads();
22234 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22235
22236 wxPyEndAllowThreads(__tstate);
22237 if (PyErr_Occurred()) SWIG_fail;
22238 }
22239 Py_INCREF(Py_None); resultobj = Py_None;
22240 return resultobj;
22241 fail:
22242 return NULL;
22243 }
22244
22245
22246 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22247 PyObject *resultobj;
22248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22249 wxTreeItemId *arg2 = 0 ;
22250 wxColour *arg3 = 0 ;
22251 wxColour temp3 ;
22252 PyObject * obj0 = 0 ;
22253 PyObject * obj1 = 0 ;
22254 PyObject * obj2 = 0 ;
22255 char *kwnames[] = {
22256 (char *) "self",(char *) "item",(char *) "col", NULL
22257 };
22258
22259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22262 if (arg2 == NULL) {
22263 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22264 }
22265 {
22266 arg3 = &temp3;
22267 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22268 }
22269 {
22270 PyThreadState* __tstate = wxPyBeginAllowThreads();
22271 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22272
22273 wxPyEndAllowThreads(__tstate);
22274 if (PyErr_Occurred()) SWIG_fail;
22275 }
22276 Py_INCREF(Py_None); resultobj = Py_None;
22277 return resultobj;
22278 fail:
22279 return NULL;
22280 }
22281
22282
22283 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22284 PyObject *resultobj;
22285 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22286 wxTreeItemId *arg2 = 0 ;
22287 wxColour *arg3 = 0 ;
22288 wxColour temp3 ;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 PyObject * obj2 = 0 ;
22292 char *kwnames[] = {
22293 (char *) "self",(char *) "item",(char *) "col", NULL
22294 };
22295
22296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22298 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22299 if (arg2 == NULL) {
22300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22301 }
22302 {
22303 arg3 = &temp3;
22304 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22305 }
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 Py_INCREF(Py_None); resultobj = Py_None;
22314 return resultobj;
22315 fail:
22316 return NULL;
22317 }
22318
22319
22320 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22321 PyObject *resultobj;
22322 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22323 wxTreeItemId *arg2 = 0 ;
22324 wxFont *arg3 = 0 ;
22325 PyObject * obj0 = 0 ;
22326 PyObject * obj1 = 0 ;
22327 PyObject * obj2 = 0 ;
22328 char *kwnames[] = {
22329 (char *) "self",(char *) "item",(char *) "font", NULL
22330 };
22331
22332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22335 if (arg2 == NULL) {
22336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22337 }
22338 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22339 if (arg3 == NULL) {
22340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22341 }
22342 {
22343 PyThreadState* __tstate = wxPyBeginAllowThreads();
22344 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22345
22346 wxPyEndAllowThreads(__tstate);
22347 if (PyErr_Occurred()) SWIG_fail;
22348 }
22349 Py_INCREF(Py_None); resultobj = Py_None;
22350 return resultobj;
22351 fail:
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22359 wxTreeItemId *arg2 = 0 ;
22360 bool result;
22361 PyObject * obj0 = 0 ;
22362 PyObject * obj1 = 0 ;
22363 char *kwnames[] = {
22364 (char *) "self",(char *) "item", NULL
22365 };
22366
22367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22369 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22370 if (arg2 == NULL) {
22371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22372 }
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 resultobj = PyInt_FromLong((long)result);
22381 return resultobj;
22382 fail:
22383 return NULL;
22384 }
22385
22386
22387 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22388 PyObject *resultobj;
22389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22390 wxTreeItemId *arg2 = 0 ;
22391 bool result;
22392 PyObject * obj0 = 0 ;
22393 PyObject * obj1 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self",(char *) "item", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22401 if (arg2 == NULL) {
22402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 resultobj = PyInt_FromLong((long)result);
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22421 wxTreeItemId *arg2 = 0 ;
22422 bool result;
22423 PyObject * obj0 = 0 ;
22424 PyObject * obj1 = 0 ;
22425 char *kwnames[] = {
22426 (char *) "self",(char *) "item", NULL
22427 };
22428
22429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 if (arg2 == NULL) {
22433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22434 }
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 resultobj = PyInt_FromLong((long)result);
22443 return resultobj;
22444 fail:
22445 return NULL;
22446 }
22447
22448
22449 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22452 wxTreeItemId *arg2 = 0 ;
22453 bool result;
22454 PyObject * obj0 = 0 ;
22455 PyObject * obj1 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self",(char *) "item", NULL
22458 };
22459
22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22462 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22463 if (arg2 == NULL) {
22464 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22465 }
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 resultobj = PyInt_FromLong((long)result);
22474 return resultobj;
22475 fail:
22476 return NULL;
22477 }
22478
22479
22480 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22481 PyObject *resultobj;
22482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22483 wxTreeItemId *arg2 = 0 ;
22484 bool result;
22485 PyObject * obj0 = 0 ;
22486 PyObject * obj1 = 0 ;
22487 char *kwnames[] = {
22488 (char *) "self",(char *) "item", NULL
22489 };
22490
22491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22493 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22494 if (arg2 == NULL) {
22495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22496 }
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 resultobj = PyInt_FromLong((long)result);
22505 return resultobj;
22506 fail:
22507 return NULL;
22508 }
22509
22510
22511 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22514 wxTreeItemId *arg2 = 0 ;
22515 bool arg3 = (bool) True ;
22516 size_t result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 PyObject * obj2 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self",(char *) "item",(char *) "recursively", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22527 if (arg2 == NULL) {
22528 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22529 }
22530 if (obj2) {
22531 {
22532 arg3 = (bool) SPyObj_AsBool(obj2);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 }
22536 {
22537 PyThreadState* __tstate = wxPyBeginAllowThreads();
22538 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22539
22540 wxPyEndAllowThreads(__tstate);
22541 if (PyErr_Occurred()) SWIG_fail;
22542 }
22543 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22544 return resultobj;
22545 fail:
22546 return NULL;
22547 }
22548
22549
22550 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22551 PyObject *resultobj;
22552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22553 wxTreeItemId result;
22554 PyObject * obj0 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22561 {
22562 PyThreadState* __tstate = wxPyBeginAllowThreads();
22563 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22564
22565 wxPyEndAllowThreads(__tstate);
22566 if (PyErr_Occurred()) SWIG_fail;
22567 }
22568 {
22569 wxTreeItemId * resultptr;
22570 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22571 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22572 }
22573 return resultobj;
22574 fail:
22575 return NULL;
22576 }
22577
22578
22579 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22580 PyObject *resultobj;
22581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22582 wxTreeItemId result;
22583 PyObject * obj0 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22590 {
22591 PyThreadState* __tstate = wxPyBeginAllowThreads();
22592 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22593
22594 wxPyEndAllowThreads(__tstate);
22595 if (PyErr_Occurred()) SWIG_fail;
22596 }
22597 {
22598 wxTreeItemId * resultptr;
22599 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22601 }
22602 return resultobj;
22603 fail:
22604 return NULL;
22605 }
22606
22607
22608 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22611 PyObject *result;
22612 PyObject * obj0 = 0 ;
22613 char *kwnames[] = {
22614 (char *) "self", NULL
22615 };
22616
22617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 {
22620 PyThreadState* __tstate = wxPyBeginAllowThreads();
22621 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22622
22623 wxPyEndAllowThreads(__tstate);
22624 if (PyErr_Occurred()) SWIG_fail;
22625 }
22626 resultobj = result;
22627 return resultobj;
22628 fail:
22629 return NULL;
22630 }
22631
22632
22633 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22634 PyObject *resultobj;
22635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22636 wxTreeItemId *arg2 = 0 ;
22637 wxTreeItemId result;
22638 PyObject * obj0 = 0 ;
22639 PyObject * obj1 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self",(char *) "item", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22647 if (arg2 == NULL) {
22648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22649 }
22650 {
22651 PyThreadState* __tstate = wxPyBeginAllowThreads();
22652 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22653
22654 wxPyEndAllowThreads(__tstate);
22655 if (PyErr_Occurred()) SWIG_fail;
22656 }
22657 {
22658 wxTreeItemId * resultptr;
22659 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22661 }
22662 return resultobj;
22663 fail:
22664 return NULL;
22665 }
22666
22667
22668 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22669 PyObject *resultobj;
22670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22671 wxTreeItemId *arg2 = 0 ;
22672 PyObject *result;
22673 PyObject * obj0 = 0 ;
22674 PyObject * obj1 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self",(char *) "item", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22682 if (arg2 == NULL) {
22683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22684 }
22685 {
22686 PyThreadState* __tstate = wxPyBeginAllowThreads();
22687 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22688
22689 wxPyEndAllowThreads(__tstate);
22690 if (PyErr_Occurred()) SWIG_fail;
22691 }
22692 resultobj = result;
22693 return resultobj;
22694 fail:
22695 return NULL;
22696 }
22697
22698
22699 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22700 PyObject *resultobj;
22701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22702 wxTreeItemId *arg2 = 0 ;
22703 void *arg3 = (void *) 0 ;
22704 PyObject *result;
22705 PyObject * obj0 = 0 ;
22706 PyObject * obj1 = 0 ;
22707 PyObject * obj2 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self",(char *) "item",(char *) "cookie", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22715 if (arg2 == NULL) {
22716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22717 }
22718 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22719 {
22720 PyThreadState* __tstate = wxPyBeginAllowThreads();
22721 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
22722
22723 wxPyEndAllowThreads(__tstate);
22724 if (PyErr_Occurred()) SWIG_fail;
22725 }
22726 resultobj = result;
22727 return resultobj;
22728 fail:
22729 return NULL;
22730 }
22731
22732
22733 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22734 PyObject *resultobj;
22735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22736 wxTreeItemId *arg2 = 0 ;
22737 wxTreeItemId result;
22738 PyObject * obj0 = 0 ;
22739 PyObject * obj1 = 0 ;
22740 char *kwnames[] = {
22741 (char *) "self",(char *) "item", NULL
22742 };
22743
22744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22747 if (arg2 == NULL) {
22748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22749 }
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 {
22758 wxTreeItemId * resultptr;
22759 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22761 }
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj;
22770 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22771 wxTreeItemId *arg2 = 0 ;
22772 wxTreeItemId result;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self",(char *) "item", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22782 if (arg2 == NULL) {
22783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22784 }
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 {
22793 wxTreeItemId * resultptr;
22794 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22795 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22796 }
22797 return resultobj;
22798 fail:
22799 return NULL;
22800 }
22801
22802
22803 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22804 PyObject *resultobj;
22805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22806 wxTreeItemId *arg2 = 0 ;
22807 wxTreeItemId result;
22808 PyObject * obj0 = 0 ;
22809 PyObject * obj1 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self",(char *) "item", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22817 if (arg2 == NULL) {
22818 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22819 }
22820 {
22821 PyThreadState* __tstate = wxPyBeginAllowThreads();
22822 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22823
22824 wxPyEndAllowThreads(__tstate);
22825 if (PyErr_Occurred()) SWIG_fail;
22826 }
22827 {
22828 wxTreeItemId * resultptr;
22829 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22830 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22831 }
22832 return resultobj;
22833 fail:
22834 return NULL;
22835 }
22836
22837
22838 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22839 PyObject *resultobj;
22840 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22841 wxTreeItemId result;
22842 PyObject * obj0 = 0 ;
22843 char *kwnames[] = {
22844 (char *) "self", NULL
22845 };
22846
22847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 {
22857 wxTreeItemId * resultptr;
22858 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22859 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22860 }
22861 return resultobj;
22862 fail:
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22870 wxTreeItemId *arg2 = 0 ;
22871 wxTreeItemId result;
22872 PyObject * obj0 = 0 ;
22873 PyObject * obj1 = 0 ;
22874 char *kwnames[] = {
22875 (char *) "self",(char *) "item", NULL
22876 };
22877
22878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22880 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22881 if (arg2 == NULL) {
22882 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22883 }
22884 {
22885 PyThreadState* __tstate = wxPyBeginAllowThreads();
22886 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22887
22888 wxPyEndAllowThreads(__tstate);
22889 if (PyErr_Occurred()) SWIG_fail;
22890 }
22891 {
22892 wxTreeItemId * resultptr;
22893 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22894 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22895 }
22896 return resultobj;
22897 fail:
22898 return NULL;
22899 }
22900
22901
22902 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22903 PyObject *resultobj;
22904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22905 wxTreeItemId *arg2 = 0 ;
22906 wxTreeItemId result;
22907 PyObject * obj0 = 0 ;
22908 PyObject * obj1 = 0 ;
22909 char *kwnames[] = {
22910 (char *) "self",(char *) "item", NULL
22911 };
22912
22913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22915 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22916 if (arg2 == NULL) {
22917 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22918 }
22919 {
22920 PyThreadState* __tstate = wxPyBeginAllowThreads();
22921 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22922
22923 wxPyEndAllowThreads(__tstate);
22924 if (PyErr_Occurred()) SWIG_fail;
22925 }
22926 {
22927 wxTreeItemId * resultptr;
22928 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22930 }
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22940 wxString *arg2 = 0 ;
22941 int arg3 = (int) -1 ;
22942 int arg4 = (int) -1 ;
22943 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22944 wxTreeItemId result;
22945 bool temp2 = False ;
22946 PyObject * obj0 = 0 ;
22947 PyObject * obj1 = 0 ;
22948 PyObject * obj4 = 0 ;
22949 char *kwnames[] = {
22950 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22951 };
22952
22953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22955 {
22956 arg2 = wxString_in_helper(obj1);
22957 if (arg2 == NULL) SWIG_fail;
22958 temp2 = True;
22959 }
22960 if (obj4) {
22961 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 }
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 {
22971 wxTreeItemId * resultptr;
22972 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22974 }
22975 {
22976 if (temp2)
22977 delete arg2;
22978 }
22979 return resultobj;
22980 fail:
22981 {
22982 if (temp2)
22983 delete arg2;
22984 }
22985 return NULL;
22986 }
22987
22988
22989 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22990 PyObject *resultobj;
22991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22992 wxTreeItemId *arg2 = 0 ;
22993 wxString *arg3 = 0 ;
22994 int arg4 = (int) -1 ;
22995 int arg5 = (int) -1 ;
22996 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22997 wxTreeItemId result;
22998 bool temp3 = False ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 PyObject * obj5 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23010 if (arg2 == NULL) {
23011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23012 }
23013 {
23014 arg3 = wxString_in_helper(obj2);
23015 if (arg3 == NULL) SWIG_fail;
23016 temp3 = True;
23017 }
23018 if (obj5) {
23019 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23020 }
23021 {
23022 PyThreadState* __tstate = wxPyBeginAllowThreads();
23023 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23024
23025 wxPyEndAllowThreads(__tstate);
23026 if (PyErr_Occurred()) SWIG_fail;
23027 }
23028 {
23029 wxTreeItemId * resultptr;
23030 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23031 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23032 }
23033 {
23034 if (temp3)
23035 delete arg3;
23036 }
23037 return resultobj;
23038 fail:
23039 {
23040 if (temp3)
23041 delete arg3;
23042 }
23043 return NULL;
23044 }
23045
23046
23047 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23048 PyObject *resultobj;
23049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23050 wxTreeItemId *arg2 = 0 ;
23051 wxTreeItemId *arg3 = 0 ;
23052 wxString *arg4 = 0 ;
23053 int arg5 = (int) -1 ;
23054 int arg6 = (int) -1 ;
23055 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23056 wxTreeItemId result;
23057 bool temp4 = False ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 PyObject * obj2 = 0 ;
23061 PyObject * obj3 = 0 ;
23062 PyObject * obj6 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23070 if (arg2 == NULL) {
23071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23072 }
23073 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23074 if (arg3 == NULL) {
23075 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23076 }
23077 {
23078 arg4 = wxString_in_helper(obj3);
23079 if (arg4 == NULL) SWIG_fail;
23080 temp4 = True;
23081 }
23082 if (obj6) {
23083 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23084 }
23085 {
23086 PyThreadState* __tstate = wxPyBeginAllowThreads();
23087 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23088
23089 wxPyEndAllowThreads(__tstate);
23090 if (PyErr_Occurred()) SWIG_fail;
23091 }
23092 {
23093 wxTreeItemId * resultptr;
23094 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23096 }
23097 {
23098 if (temp4)
23099 delete arg4;
23100 }
23101 return resultobj;
23102 fail:
23103 {
23104 if (temp4)
23105 delete arg4;
23106 }
23107 return NULL;
23108 }
23109
23110
23111 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
23112 PyObject *resultobj;
23113 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23114 wxTreeItemId *arg2 = 0 ;
23115 size_t arg3 ;
23116 wxString *arg4 = 0 ;
23117 int arg5 = (int) -1 ;
23118 int arg6 = (int) -1 ;
23119 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23120 wxTreeItemId result;
23121 bool temp4 = False ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 PyObject * obj2 = 0 ;
23125 PyObject * obj3 = 0 ;
23126 PyObject * obj6 = 0 ;
23127 char *kwnames[] = {
23128 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23129 };
23130
23131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23133 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23134 if (arg2 == NULL) {
23135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23136 }
23137 {
23138 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
23139 if (PyErr_Occurred()) SWIG_fail;
23140 }
23141 {
23142 arg4 = wxString_in_helper(obj3);
23143 if (arg4 == NULL) SWIG_fail;
23144 temp4 = True;
23145 }
23146 if (obj6) {
23147 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23148 }
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 {
23157 wxTreeItemId * resultptr;
23158 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23160 }
23161 {
23162 if (temp4)
23163 delete arg4;
23164 }
23165 return resultobj;
23166 fail:
23167 {
23168 if (temp4)
23169 delete arg4;
23170 }
23171 return NULL;
23172 }
23173
23174
23175 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23176 PyObject *resultobj;
23177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23178 wxTreeItemId *arg2 = 0 ;
23179 wxString *arg3 = 0 ;
23180 int arg4 = (int) -1 ;
23181 int arg5 = (int) -1 ;
23182 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23183 wxTreeItemId result;
23184 bool temp3 = False ;
23185 PyObject * obj0 = 0 ;
23186 PyObject * obj1 = 0 ;
23187 PyObject * obj2 = 0 ;
23188 PyObject * obj5 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23196 if (arg2 == NULL) {
23197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23198 }
23199 {
23200 arg3 = wxString_in_helper(obj2);
23201 if (arg3 == NULL) SWIG_fail;
23202 temp3 = True;
23203 }
23204 if (obj5) {
23205 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 {
23215 wxTreeItemId * resultptr;
23216 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23218 }
23219 {
23220 if (temp3)
23221 delete arg3;
23222 }
23223 return resultobj;
23224 fail:
23225 {
23226 if (temp3)
23227 delete arg3;
23228 }
23229 return NULL;
23230 }
23231
23232
23233 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23236 wxTreeItemId *arg2 = 0 ;
23237 PyObject * obj0 = 0 ;
23238 PyObject * obj1 = 0 ;
23239 char *kwnames[] = {
23240 (char *) "self",(char *) "item", NULL
23241 };
23242
23243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23246 if (arg2 == NULL) {
23247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23248 }
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
23251 (arg1)->Delete((wxTreeItemId const &)*arg2);
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
23256 Py_INCREF(Py_None); resultobj = Py_None;
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23266 wxTreeItemId *arg2 = 0 ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 char *kwnames[] = {
23270 (char *) "self",(char *) "item", NULL
23271 };
23272
23273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23276 if (arg2 == NULL) {
23277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23278 }
23279 {
23280 PyThreadState* __tstate = wxPyBeginAllowThreads();
23281 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23282
23283 wxPyEndAllowThreads(__tstate);
23284 if (PyErr_Occurred()) SWIG_fail;
23285 }
23286 Py_INCREF(Py_None); resultobj = Py_None;
23287 return resultobj;
23288 fail:
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23296 PyObject * obj0 = 0 ;
23297 char *kwnames[] = {
23298 (char *) "self", NULL
23299 };
23300
23301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23303 {
23304 PyThreadState* __tstate = wxPyBeginAllowThreads();
23305 (arg1)->DeleteAllItems();
23306
23307 wxPyEndAllowThreads(__tstate);
23308 if (PyErr_Occurred()) SWIG_fail;
23309 }
23310 Py_INCREF(Py_None); resultobj = Py_None;
23311 return resultobj;
23312 fail:
23313 return NULL;
23314 }
23315
23316
23317 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23318 PyObject *resultobj;
23319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23320 wxTreeItemId *arg2 = 0 ;
23321 PyObject * obj0 = 0 ;
23322 PyObject * obj1 = 0 ;
23323 char *kwnames[] = {
23324 (char *) "self",(char *) "item", NULL
23325 };
23326
23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23330 if (arg2 == NULL) {
23331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23332 }
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->Expand((wxTreeItemId const &)*arg2);
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23350 wxTreeItemId *arg2 = 0 ;
23351 PyObject * obj0 = 0 ;
23352 PyObject * obj1 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self",(char *) "item", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23360 if (arg2 == NULL) {
23361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23362 }
23363 {
23364 PyThreadState* __tstate = wxPyBeginAllowThreads();
23365 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23366
23367 wxPyEndAllowThreads(__tstate);
23368 if (PyErr_Occurred()) SWIG_fail;
23369 }
23370 Py_INCREF(Py_None); resultobj = Py_None;
23371 return resultobj;
23372 fail:
23373 return NULL;
23374 }
23375
23376
23377 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23378 PyObject *resultobj;
23379 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23380 wxTreeItemId *arg2 = 0 ;
23381 PyObject * obj0 = 0 ;
23382 PyObject * obj1 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self",(char *) "item", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23390 if (arg2 == NULL) {
23391 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23392 }
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 Py_INCREF(Py_None); resultobj = Py_None;
23401 return resultobj;
23402 fail:
23403 return NULL;
23404 }
23405
23406
23407 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23408 PyObject *resultobj;
23409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23410 wxTreeItemId *arg2 = 0 ;
23411 PyObject * obj0 = 0 ;
23412 PyObject * obj1 = 0 ;
23413 char *kwnames[] = {
23414 (char *) "self",(char *) "item", NULL
23415 };
23416
23417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23420 if (arg2 == NULL) {
23421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23422 }
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 Py_INCREF(Py_None); resultobj = Py_None;
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23440 PyObject * obj0 = 0 ;
23441 char *kwnames[] = {
23442 (char *) "self", NULL
23443 };
23444
23445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23447 {
23448 PyThreadState* __tstate = wxPyBeginAllowThreads();
23449 (arg1)->Unselect();
23450
23451 wxPyEndAllowThreads(__tstate);
23452 if (PyErr_Occurred()) SWIG_fail;
23453 }
23454 Py_INCREF(Py_None); resultobj = Py_None;
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23464 PyObject * obj0 = 0 ;
23465 char *kwnames[] = {
23466 (char *) "self", NULL
23467 };
23468
23469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23471 {
23472 PyThreadState* __tstate = wxPyBeginAllowThreads();
23473 (arg1)->UnselectAll();
23474
23475 wxPyEndAllowThreads(__tstate);
23476 if (PyErr_Occurred()) SWIG_fail;
23477 }
23478 Py_INCREF(Py_None); resultobj = Py_None;
23479 return resultobj;
23480 fail:
23481 return NULL;
23482 }
23483
23484
23485 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23486 PyObject *resultobj;
23487 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23488 wxTreeItemId *arg2 = 0 ;
23489 PyObject * obj0 = 0 ;
23490 PyObject * obj1 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self",(char *) "item", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23498 if (arg2 == NULL) {
23499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23500 }
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23518 wxTreeItemId *arg2 = 0 ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self",(char *) "item", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23528 if (arg2 == NULL) {
23529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23530 }
23531 {
23532 PyThreadState* __tstate = wxPyBeginAllowThreads();
23533 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23534
23535 wxPyEndAllowThreads(__tstate);
23536 if (PyErr_Occurred()) SWIG_fail;
23537 }
23538 Py_INCREF(Py_None); resultobj = Py_None;
23539 return resultobj;
23540 fail:
23541 return NULL;
23542 }
23543
23544
23545 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23546 PyObject *resultobj;
23547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23548 wxTreeItemId *arg2 = 0 ;
23549 PyObject * obj0 = 0 ;
23550 PyObject * obj1 = 0 ;
23551 char *kwnames[] = {
23552 (char *) "self",(char *) "item", NULL
23553 };
23554
23555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23558 if (arg2 == NULL) {
23559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23560 }
23561 {
23562 PyThreadState* __tstate = wxPyBeginAllowThreads();
23563 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23564
23565 wxPyEndAllowThreads(__tstate);
23566 if (PyErr_Occurred()) SWIG_fail;
23567 }
23568 Py_INCREF(Py_None); resultobj = Py_None;
23569 return resultobj;
23570 fail:
23571 return NULL;
23572 }
23573
23574
23575 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23576 PyObject *resultobj;
23577 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23578 wxTreeItemId *arg2 = 0 ;
23579 PyObject * obj0 = 0 ;
23580 PyObject * obj1 = 0 ;
23581 char *kwnames[] = {
23582 (char *) "self",(char *) "item", NULL
23583 };
23584
23585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23588 if (arg2 == NULL) {
23589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23590 }
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 Py_INCREF(Py_None); resultobj = Py_None;
23599 return resultobj;
23600 fail:
23601 return NULL;
23602 }
23603
23604
23605 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23608 wxTextCtrl *result;
23609 PyObject * obj0 = 0 ;
23610 char *kwnames[] = {
23611 (char *) "self", NULL
23612 };
23613
23614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23616 {
23617 PyThreadState* __tstate = wxPyBeginAllowThreads();
23618 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23619
23620 wxPyEndAllowThreads(__tstate);
23621 if (PyErr_Occurred()) SWIG_fail;
23622 }
23623 {
23624 resultobj = wxPyMake_wxObject(result);
23625 }
23626 return resultobj;
23627 fail:
23628 return NULL;
23629 }
23630
23631
23632 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23635 wxTreeItemId *arg2 = 0 ;
23636 PyObject * obj0 = 0 ;
23637 PyObject * obj1 = 0 ;
23638 char *kwnames[] = {
23639 (char *) "self",(char *) "item", NULL
23640 };
23641
23642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23645 if (arg2 == NULL) {
23646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23647 }
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 Py_INCREF(Py_None); resultobj = Py_None;
23656 return resultobj;
23657 fail:
23658 return NULL;
23659 }
23660
23661
23662 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23665 wxPoint *arg2 = 0 ;
23666 int *arg3 = 0 ;
23667 wxTreeItemId result;
23668 wxPoint temp2 ;
23669 int temp3 ;
23670 PyObject * obj0 = 0 ;
23671 PyObject * obj1 = 0 ;
23672 char *kwnames[] = {
23673 (char *) "self",(char *) "point", NULL
23674 };
23675
23676 arg3 = &temp3;
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23679 {
23680 arg2 = &temp2;
23681 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23682 }
23683 {
23684 PyThreadState* __tstate = wxPyBeginAllowThreads();
23685 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23686
23687 wxPyEndAllowThreads(__tstate);
23688 if (PyErr_Occurred()) SWIG_fail;
23689 }
23690 {
23691 wxTreeItemId * resultptr;
23692 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23693 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23694 }
23695 {
23696 PyObject *o = PyInt_FromLong((long) (*arg3));
23697 resultobj = t_output_helper(resultobj,o);
23698 }
23699 return resultobj;
23700 fail:
23701 return NULL;
23702 }
23703
23704
23705 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23706 PyObject *resultobj;
23707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23708 wxTreeItemId *arg2 = 0 ;
23709 bool arg3 = (bool) False ;
23710 PyObject *result;
23711 PyObject * obj0 = 0 ;
23712 PyObject * obj1 = 0 ;
23713 PyObject * obj2 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23716 };
23717
23718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23721 if (arg2 == NULL) {
23722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23723 }
23724 if (obj2) {
23725 {
23726 arg3 = (bool) SPyObj_AsBool(obj2);
23727 if (PyErr_Occurred()) SWIG_fail;
23728 }
23729 }
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 resultobj = result;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23745 PyObject *obj;
23746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23747 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23748 Py_INCREF(obj);
23749 return Py_BuildValue((char *)"");
23750 }
23751 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23752 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23753 return 1;
23754 }
23755
23756
23757 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23758 PyObject *pyobj;
23759
23760 {
23761 #if wxUSE_UNICODE
23762 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23763 #else
23764 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23765 #endif
23766 }
23767 return pyobj;
23768 }
23769
23770
23771 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23772 PyObject *resultobj;
23773 wxWindow *arg1 = (wxWindow *) 0 ;
23774 int arg2 = (int) (int)-1 ;
23775 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23776 wxString *arg3 = (wxString *) &arg3_defvalue ;
23777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23779 wxSize const &arg5_defvalue = wxDefaultSize ;
23780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23781 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23782 wxString const &arg7_defvalue = wxPyEmptyString ;
23783 wxString *arg7 = (wxString *) &arg7_defvalue ;
23784 int arg8 = (int) 0 ;
23785 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23786 wxString *arg9 = (wxString *) &arg9_defvalue ;
23787 wxGenericDirCtrl *result;
23788 bool temp3 = False ;
23789 wxPoint temp4 ;
23790 wxSize temp5 ;
23791 bool temp7 = False ;
23792 bool temp9 = False ;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj2 = 0 ;
23795 PyObject * obj3 = 0 ;
23796 PyObject * obj4 = 0 ;
23797 PyObject * obj6 = 0 ;
23798 PyObject * obj8 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23805 if (obj2) {
23806 {
23807 arg3 = wxString_in_helper(obj2);
23808 if (arg3 == NULL) SWIG_fail;
23809 temp3 = True;
23810 }
23811 }
23812 if (obj3) {
23813 {
23814 arg4 = &temp4;
23815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23816 }
23817 }
23818 if (obj4) {
23819 {
23820 arg5 = &temp5;
23821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23822 }
23823 }
23824 if (obj6) {
23825 {
23826 arg7 = wxString_in_helper(obj6);
23827 if (arg7 == NULL) SWIG_fail;
23828 temp7 = True;
23829 }
23830 }
23831 if (obj8) {
23832 {
23833 arg9 = wxString_in_helper(obj8);
23834 if (arg9 == NULL) SWIG_fail;
23835 temp9 = True;
23836 }
23837 }
23838 {
23839 PyThreadState* __tstate = wxPyBeginAllowThreads();
23840 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23841
23842 wxPyEndAllowThreads(__tstate);
23843 if (PyErr_Occurred()) SWIG_fail;
23844 }
23845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23846 {
23847 if (temp3)
23848 delete arg3;
23849 }
23850 {
23851 if (temp7)
23852 delete arg7;
23853 }
23854 {
23855 if (temp9)
23856 delete arg9;
23857 }
23858 return resultobj;
23859 fail:
23860 {
23861 if (temp3)
23862 delete arg3;
23863 }
23864 {
23865 if (temp7)
23866 delete arg7;
23867 }
23868 {
23869 if (temp9)
23870 delete arg9;
23871 }
23872 return NULL;
23873 }
23874
23875
23876 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxGenericDirCtrl *result;
23879 char *kwnames[] = {
23880 NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23884 {
23885 PyThreadState* __tstate = wxPyBeginAllowThreads();
23886 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23887
23888 wxPyEndAllowThreads(__tstate);
23889 if (PyErr_Occurred()) SWIG_fail;
23890 }
23891 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23892 return resultobj;
23893 fail:
23894 return NULL;
23895 }
23896
23897
23898 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23899 PyObject *resultobj;
23900 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23901 wxWindow *arg2 = (wxWindow *) 0 ;
23902 int arg3 = (int) (int)-1 ;
23903 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23904 wxString *arg4 = (wxString *) &arg4_defvalue ;
23905 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23906 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23907 wxSize const &arg6_defvalue = wxDefaultSize ;
23908 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23909 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23910 wxString const &arg8_defvalue = wxPyEmptyString ;
23911 wxString *arg8 = (wxString *) &arg8_defvalue ;
23912 int arg9 = (int) 0 ;
23913 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23914 wxString *arg10 = (wxString *) &arg10_defvalue ;
23915 bool result;
23916 bool temp4 = False ;
23917 wxPoint temp5 ;
23918 wxSize temp6 ;
23919 bool temp8 = False ;
23920 bool temp10 = False ;
23921 PyObject * obj0 = 0 ;
23922 PyObject * obj1 = 0 ;
23923 PyObject * obj3 = 0 ;
23924 PyObject * obj4 = 0 ;
23925 PyObject * obj5 = 0 ;
23926 PyObject * obj7 = 0 ;
23927 PyObject * obj9 = 0 ;
23928 char *kwnames[] = {
23929 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23930 };
23931
23932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23935 if (obj3) {
23936 {
23937 arg4 = wxString_in_helper(obj3);
23938 if (arg4 == NULL) SWIG_fail;
23939 temp4 = True;
23940 }
23941 }
23942 if (obj4) {
23943 {
23944 arg5 = &temp5;
23945 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23946 }
23947 }
23948 if (obj5) {
23949 {
23950 arg6 = &temp6;
23951 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23952 }
23953 }
23954 if (obj7) {
23955 {
23956 arg8 = wxString_in_helper(obj7);
23957 if (arg8 == NULL) SWIG_fail;
23958 temp8 = True;
23959 }
23960 }
23961 if (obj9) {
23962 {
23963 arg10 = wxString_in_helper(obj9);
23964 if (arg10 == NULL) SWIG_fail;
23965 temp10 = True;
23966 }
23967 }
23968 {
23969 PyThreadState* __tstate = wxPyBeginAllowThreads();
23970 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23971
23972 wxPyEndAllowThreads(__tstate);
23973 if (PyErr_Occurred()) SWIG_fail;
23974 }
23975 resultobj = PyInt_FromLong((long)result);
23976 {
23977 if (temp4)
23978 delete arg4;
23979 }
23980 {
23981 if (temp8)
23982 delete arg8;
23983 }
23984 {
23985 if (temp10)
23986 delete arg10;
23987 }
23988 return resultobj;
23989 fail:
23990 {
23991 if (temp4)
23992 delete arg4;
23993 }
23994 {
23995 if (temp8)
23996 delete arg8;
23997 }
23998 {
23999 if (temp10)
24000 delete arg10;
24001 }
24002 return NULL;
24003 }
24004
24005
24006 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24009 wxString *arg2 = 0 ;
24010 bool result;
24011 bool temp2 = False ;
24012 PyObject * obj0 = 0 ;
24013 PyObject * obj1 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self",(char *) "path", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
24019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24020 {
24021 arg2 = wxString_in_helper(obj1);
24022 if (arg2 == NULL) SWIG_fail;
24023 temp2 = True;
24024 }
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
24028
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 resultobj = PyInt_FromLong((long)result);
24033 {
24034 if (temp2)
24035 delete arg2;
24036 }
24037 return resultobj;
24038 fail:
24039 {
24040 if (temp2)
24041 delete arg2;
24042 }
24043 return NULL;
24044 }
24045
24046
24047 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24048 PyObject *resultobj;
24049 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24050 wxString result;
24051 PyObject * obj0 = 0 ;
24052 char *kwnames[] = {
24053 (char *) "self", NULL
24054 };
24055
24056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
24057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24058 {
24059 PyThreadState* __tstate = wxPyBeginAllowThreads();
24060 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
24061
24062 wxPyEndAllowThreads(__tstate);
24063 if (PyErr_Occurred()) SWIG_fail;
24064 }
24065 {
24066 #if wxUSE_UNICODE
24067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24068 #else
24069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24070 #endif
24071 }
24072 return resultobj;
24073 fail:
24074 return NULL;
24075 }
24076
24077
24078 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24081 wxString *arg2 = 0 ;
24082 bool temp2 = False ;
24083 PyObject * obj0 = 0 ;
24084 PyObject * obj1 = 0 ;
24085 char *kwnames[] = {
24086 (char *) "self",(char *) "path", NULL
24087 };
24088
24089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
24090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24091 {
24092 arg2 = wxString_in_helper(obj1);
24093 if (arg2 == NULL) SWIG_fail;
24094 temp2 = True;
24095 }
24096 {
24097 PyThreadState* __tstate = wxPyBeginAllowThreads();
24098 (arg1)->SetDefaultPath((wxString const &)*arg2);
24099
24100 wxPyEndAllowThreads(__tstate);
24101 if (PyErr_Occurred()) SWIG_fail;
24102 }
24103 Py_INCREF(Py_None); resultobj = Py_None;
24104 {
24105 if (temp2)
24106 delete arg2;
24107 }
24108 return resultobj;
24109 fail:
24110 {
24111 if (temp2)
24112 delete arg2;
24113 }
24114 return NULL;
24115 }
24116
24117
24118 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24121 wxString result;
24122 PyObject * obj0 = 0 ;
24123 char *kwnames[] = {
24124 (char *) "self", NULL
24125 };
24126
24127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24129 {
24130 PyThreadState* __tstate = wxPyBeginAllowThreads();
24131 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24132
24133 wxPyEndAllowThreads(__tstate);
24134 if (PyErr_Occurred()) SWIG_fail;
24135 }
24136 {
24137 #if wxUSE_UNICODE
24138 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24139 #else
24140 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24141 #endif
24142 }
24143 return resultobj;
24144 fail:
24145 return NULL;
24146 }
24147
24148
24149 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24152 wxString result;
24153 PyObject * obj0 = 0 ;
24154 char *kwnames[] = {
24155 (char *) "self", NULL
24156 };
24157
24158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24160 {
24161 PyThreadState* __tstate = wxPyBeginAllowThreads();
24162 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24163
24164 wxPyEndAllowThreads(__tstate);
24165 if (PyErr_Occurred()) SWIG_fail;
24166 }
24167 {
24168 #if wxUSE_UNICODE
24169 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24170 #else
24171 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24172 #endif
24173 }
24174 return resultobj;
24175 fail:
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24183 wxString *arg2 = 0 ;
24184 bool temp2 = False ;
24185 PyObject * obj0 = 0 ;
24186 PyObject * obj1 = 0 ;
24187 char *kwnames[] = {
24188 (char *) "self",(char *) "path", NULL
24189 };
24190
24191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24193 {
24194 arg2 = wxString_in_helper(obj1);
24195 if (arg2 == NULL) SWIG_fail;
24196 temp2 = True;
24197 }
24198 {
24199 PyThreadState* __tstate = wxPyBeginAllowThreads();
24200 (arg1)->SetPath((wxString const &)*arg2);
24201
24202 wxPyEndAllowThreads(__tstate);
24203 if (PyErr_Occurred()) SWIG_fail;
24204 }
24205 Py_INCREF(Py_None); resultobj = Py_None;
24206 {
24207 if (temp2)
24208 delete arg2;
24209 }
24210 return resultobj;
24211 fail:
24212 {
24213 if (temp2)
24214 delete arg2;
24215 }
24216 return NULL;
24217 }
24218
24219
24220 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24221 PyObject *resultobj;
24222 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24223 bool arg2 ;
24224 PyObject * obj0 = 0 ;
24225 PyObject * obj1 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "show", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24232 {
24233 arg2 = (bool) SPyObj_AsBool(obj1);
24234 if (PyErr_Occurred()) SWIG_fail;
24235 }
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 (arg1)->ShowHidden(arg2);
24239
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 Py_INCREF(Py_None); resultobj = Py_None;
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24253 bool result;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 result = (bool)(arg1)->GetShowHidden();
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 resultobj = PyInt_FromLong((long)result);
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24278 wxString result;
24279 PyObject * obj0 = 0 ;
24280 char *kwnames[] = {
24281 (char *) "self", NULL
24282 };
24283
24284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24286 {
24287 PyThreadState* __tstate = wxPyBeginAllowThreads();
24288 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24289
24290 wxPyEndAllowThreads(__tstate);
24291 if (PyErr_Occurred()) SWIG_fail;
24292 }
24293 {
24294 #if wxUSE_UNICODE
24295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24296 #else
24297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24298 #endif
24299 }
24300 return resultobj;
24301 fail:
24302 return NULL;
24303 }
24304
24305
24306 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24307 PyObject *resultobj;
24308 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24309 wxString *arg2 = 0 ;
24310 bool temp2 = False ;
24311 PyObject * obj0 = 0 ;
24312 PyObject * obj1 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "filter", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24319 {
24320 arg2 = wxString_in_helper(obj1);
24321 if (arg2 == NULL) SWIG_fail;
24322 temp2 = True;
24323 }
24324 {
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 (arg1)->SetFilter((wxString const &)*arg2);
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 Py_INCREF(Py_None); resultobj = Py_None;
24332 {
24333 if (temp2)
24334 delete arg2;
24335 }
24336 return resultobj;
24337 fail:
24338 {
24339 if (temp2)
24340 delete arg2;
24341 }
24342 return NULL;
24343 }
24344
24345
24346 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24347 PyObject *resultobj;
24348 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24349 int result;
24350 PyObject * obj0 = 0 ;
24351 char *kwnames[] = {
24352 (char *) "self", NULL
24353 };
24354
24355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 resultobj = PyInt_FromLong((long)result);
24365 return resultobj;
24366 fail:
24367 return NULL;
24368 }
24369
24370
24371 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24372 PyObject *resultobj;
24373 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24374 int arg2 ;
24375 PyObject * obj0 = 0 ;
24376 char *kwnames[] = {
24377 (char *) "self",(char *) "n", NULL
24378 };
24379
24380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) 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 (arg1)->SetFilterIndex(arg2);
24385
24386 wxPyEndAllowThreads(__tstate);
24387 if (PyErr_Occurred()) SWIG_fail;
24388 }
24389 Py_INCREF(Py_None); resultobj = Py_None;
24390 return resultobj;
24391 fail:
24392 return NULL;
24393 }
24394
24395
24396 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj;
24398 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24399 wxTreeItemId result;
24400 PyObject * obj0 = 0 ;
24401 char *kwnames[] = {
24402 (char *) "self", NULL
24403 };
24404
24405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (arg1)->GetRootId();
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 wxTreeItemId * resultptr;
24416 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24417 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24418 }
24419 return resultobj;
24420 fail:
24421 return NULL;
24422 }
24423
24424
24425 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24428 wxPyTreeCtrl *result;
24429 PyObject * obj0 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24439
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 {
24444 resultobj = wxPyMake_wxObject(result);
24445 }
24446 return resultobj;
24447 fail:
24448 return NULL;
24449 }
24450
24451
24452 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj;
24454 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24455 wxDirFilterListCtrl *result;
24456 PyObject * obj0 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24466
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24471 return resultobj;
24472 fail:
24473 return NULL;
24474 }
24475
24476
24477 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24480 wxTreeItemId arg2 ;
24481 wxString *arg3 = 0 ;
24482 bool *arg4 = 0 ;
24483 wxTreeItemId result;
24484 wxTreeItemId *argp2 ;
24485 bool temp3 = False ;
24486 bool temp4 ;
24487 PyObject * obj0 = 0 ;
24488 PyObject * obj1 = 0 ;
24489 PyObject * obj2 = 0 ;
24490 char *kwnames[] = {
24491 (char *) "self",(char *) "parentId",(char *) "path", NULL
24492 };
24493
24494 arg4 = &temp4;
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24497 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24498 arg2 = *argp2;
24499 {
24500 arg3 = wxString_in_helper(obj2);
24501 if (arg3 == NULL) SWIG_fail;
24502 temp3 = True;
24503 }
24504 {
24505 PyThreadState* __tstate = wxPyBeginAllowThreads();
24506 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24507
24508 wxPyEndAllowThreads(__tstate);
24509 if (PyErr_Occurred()) SWIG_fail;
24510 }
24511 {
24512 wxTreeItemId * resultptr;
24513 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24515 }
24516 {
24517 PyObject *o = PyInt_FromLong((long) (*arg4));
24518 resultobj = t_output_helper(resultobj,o);
24519 }
24520 {
24521 if (temp3)
24522 delete arg3;
24523 }
24524 return resultobj;
24525 fail:
24526 {
24527 if (temp3)
24528 delete arg3;
24529 }
24530 return NULL;
24531 }
24532
24533
24534 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24535 PyObject *resultobj;
24536 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24537 PyObject * obj0 = 0 ;
24538 char *kwnames[] = {
24539 (char *) "self", NULL
24540 };
24541
24542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24544 {
24545 PyThreadState* __tstate = wxPyBeginAllowThreads();
24546 (arg1)->DoResize();
24547
24548 wxPyEndAllowThreads(__tstate);
24549 if (PyErr_Occurred()) SWIG_fail;
24550 }
24551 Py_INCREF(Py_None); resultobj = Py_None;
24552 return resultobj;
24553 fail:
24554 return NULL;
24555 }
24556
24557
24558 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24559 PyObject *resultobj;
24560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24561 PyObject * obj0 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "self", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24568 {
24569 PyThreadState* __tstate = wxPyBeginAllowThreads();
24570 (arg1)->ReCreateTree();
24571
24572 wxPyEndAllowThreads(__tstate);
24573 if (PyErr_Occurred()) SWIG_fail;
24574 }
24575 Py_INCREF(Py_None); resultobj = Py_None;
24576 return resultobj;
24577 fail:
24578 return NULL;
24579 }
24580
24581
24582 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24583 PyObject *obj;
24584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24585 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24586 Py_INCREF(obj);
24587 return Py_BuildValue((char *)"");
24588 }
24589 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24590 PyObject *resultobj;
24591 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24592 int arg2 = (int) (int)-1 ;
24593 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24594 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24595 wxSize const &arg4_defvalue = wxDefaultSize ;
24596 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24597 long arg5 = (long) 0 ;
24598 wxDirFilterListCtrl *result;
24599 wxPoint temp3 ;
24600 wxSize temp4 ;
24601 PyObject * obj0 = 0 ;
24602 PyObject * obj2 = 0 ;
24603 PyObject * obj3 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24610 if (obj2) {
24611 {
24612 arg3 = &temp3;
24613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24614 }
24615 }
24616 if (obj3) {
24617 {
24618 arg4 = &temp4;
24619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24620 }
24621 }
24622 {
24623 PyThreadState* __tstate = wxPyBeginAllowThreads();
24624 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24625
24626 wxPyEndAllowThreads(__tstate);
24627 if (PyErr_Occurred()) SWIG_fail;
24628 }
24629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24630 return resultobj;
24631 fail:
24632 return NULL;
24633 }
24634
24635
24636 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24637 PyObject *resultobj;
24638 wxDirFilterListCtrl *result;
24639 char *kwnames[] = {
24640 NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24644 {
24645 PyThreadState* __tstate = wxPyBeginAllowThreads();
24646 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24647
24648 wxPyEndAllowThreads(__tstate);
24649 if (PyErr_Occurred()) SWIG_fail;
24650 }
24651 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24652 return resultobj;
24653 fail:
24654 return NULL;
24655 }
24656
24657
24658 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24659 PyObject *resultobj;
24660 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24661 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24662 int arg3 = (int) (int)-1 ;
24663 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24664 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24665 wxSize const &arg5_defvalue = wxDefaultSize ;
24666 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24667 long arg6 = (long) 0 ;
24668 bool result;
24669 wxPoint temp4 ;
24670 wxSize temp5 ;
24671 PyObject * obj0 = 0 ;
24672 PyObject * obj1 = 0 ;
24673 PyObject * obj3 = 0 ;
24674 PyObject * obj4 = 0 ;
24675 char *kwnames[] = {
24676 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24677 };
24678
24679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24682 if (obj3) {
24683 {
24684 arg4 = &temp4;
24685 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24686 }
24687 }
24688 if (obj4) {
24689 {
24690 arg5 = &temp5;
24691 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24692 }
24693 }
24694 {
24695 PyThreadState* __tstate = wxPyBeginAllowThreads();
24696 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24697
24698 wxPyEndAllowThreads(__tstate);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 resultobj = PyInt_FromLong((long)result);
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24711 wxString *arg2 = 0 ;
24712 int arg3 ;
24713 bool temp2 = False ;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 char *kwnames[] = {
24717 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24718 };
24719
24720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24722 {
24723 arg2 = wxString_in_helper(obj1);
24724 if (arg2 == NULL) SWIG_fail;
24725 temp2 = True;
24726 }
24727 {
24728 PyThreadState* __tstate = wxPyBeginAllowThreads();
24729 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24730
24731 wxPyEndAllowThreads(__tstate);
24732 if (PyErr_Occurred()) SWIG_fail;
24733 }
24734 Py_INCREF(Py_None); resultobj = Py_None;
24735 {
24736 if (temp2)
24737 delete arg2;
24738 }
24739 return resultobj;
24740 fail:
24741 {
24742 if (temp2)
24743 delete arg2;
24744 }
24745 return NULL;
24746 }
24747
24748
24749 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24750 PyObject *obj;
24751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24752 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24753 Py_INCREF(obj);
24754 return Py_BuildValue((char *)"");
24755 }
24756 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24757 PyObject *resultobj;
24758 wxWindow *arg1 = (wxWindow *) 0 ;
24759 int arg2 ;
24760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24762 wxSize const &arg4_defvalue = wxDefaultSize ;
24763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24764 long arg5 = (long) 0 ;
24765 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24766 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24767 wxString const &arg7_defvalue = wxPyControlNameStr ;
24768 wxString *arg7 = (wxString *) &arg7_defvalue ;
24769 wxPyControl *result;
24770 wxPoint temp3 ;
24771 wxSize temp4 ;
24772 bool temp7 = False ;
24773 PyObject * obj0 = 0 ;
24774 PyObject * obj2 = 0 ;
24775 PyObject * obj3 = 0 ;
24776 PyObject * obj5 = 0 ;
24777 PyObject * obj6 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 if (obj2) {
24785 {
24786 arg3 = &temp3;
24787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24788 }
24789 }
24790 if (obj3) {
24791 {
24792 arg4 = &temp4;
24793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24794 }
24795 }
24796 if (obj5) {
24797 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24798 if (arg6 == NULL) {
24799 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24800 }
24801 }
24802 if (obj6) {
24803 {
24804 arg7 = wxString_in_helper(obj6);
24805 if (arg7 == NULL) SWIG_fail;
24806 temp7 = True;
24807 }
24808 }
24809 {
24810 PyThreadState* __tstate = wxPyBeginAllowThreads();
24811 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24812
24813 wxPyEndAllowThreads(__tstate);
24814 if (PyErr_Occurred()) SWIG_fail;
24815 }
24816 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24817 {
24818 if (temp7)
24819 delete arg7;
24820 }
24821 return resultobj;
24822 fail:
24823 {
24824 if (temp7)
24825 delete arg7;
24826 }
24827 return NULL;
24828 }
24829
24830
24831 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj;
24833 wxPyControl *arg1 = (wxPyControl *) 0 ;
24834 PyObject *arg2 = (PyObject *) 0 ;
24835 PyObject *arg3 = (PyObject *) 0 ;
24836 PyObject * obj0 = 0 ;
24837 PyObject * obj1 = 0 ;
24838 PyObject * obj2 = 0 ;
24839 char *kwnames[] = {
24840 (char *) "self",(char *) "self",(char *) "_class", NULL
24841 };
24842
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24845 arg2 = obj1;
24846 arg3 = obj2;
24847 {
24848 PyThreadState* __tstate = wxPyBeginAllowThreads();
24849 (arg1)->_setCallbackInfo(arg2,arg3);
24850
24851 wxPyEndAllowThreads(__tstate);
24852 if (PyErr_Occurred()) SWIG_fail;
24853 }
24854 Py_INCREF(Py_None); resultobj = Py_None;
24855 return resultobj;
24856 fail:
24857 return NULL;
24858 }
24859
24860
24861 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24862 PyObject *resultobj;
24863 wxPyControl *arg1 = (wxPyControl *) 0 ;
24864 int arg2 ;
24865 int arg3 ;
24866 int arg4 ;
24867 int arg5 ;
24868 PyObject * obj0 = 0 ;
24869 char *kwnames[] = {
24870 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24871 };
24872
24873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 Py_INCREF(Py_None); resultobj = Py_None;
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj;
24891 wxPyControl *arg1 = (wxPyControl *) 0 ;
24892 int arg2 ;
24893 int arg3 ;
24894 int arg4 ;
24895 int arg5 ;
24896 int arg6 = (int) wxSIZE_AUTO ;
24897 PyObject * obj0 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 {
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 Py_INCREF(Py_None); resultobj = Py_None;
24912 return resultobj;
24913 fail:
24914 return NULL;
24915 }
24916
24917
24918 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24919 PyObject *resultobj;
24920 wxPyControl *arg1 = (wxPyControl *) 0 ;
24921 int arg2 ;
24922 int arg3 ;
24923 PyObject * obj0 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self",(char *) "width",(char *) "height", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 (arg1)->base_DoSetClientSize(arg2,arg3);
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 Py_INCREF(Py_None); resultobj = Py_None;
24938 return resultobj;
24939 fail:
24940 return NULL;
24941 }
24942
24943
24944 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24945 PyObject *resultobj;
24946 wxPyControl *arg1 = (wxPyControl *) 0 ;
24947 int arg2 ;
24948 int arg3 ;
24949 PyObject * obj0 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "self",(char *) "x",(char *) "y", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24956 {
24957 PyThreadState* __tstate = wxPyBeginAllowThreads();
24958 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24959
24960 wxPyEndAllowThreads(__tstate);
24961 if (PyErr_Occurred()) SWIG_fail;
24962 }
24963 Py_INCREF(Py_None); resultobj = Py_None;
24964 return resultobj;
24965 fail:
24966 return NULL;
24967 }
24968
24969
24970 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24971 PyObject *resultobj;
24972 wxPyControl *arg1 = (wxPyControl *) 0 ;
24973 int *arg2 = (int *) 0 ;
24974 int *arg3 = (int *) 0 ;
24975 int temp2 ;
24976 int temp3 ;
24977 PyObject * obj0 = 0 ;
24978 char *kwnames[] = {
24979 (char *) "self", NULL
24980 };
24981
24982 arg2 = &temp2;
24983 arg3 = &temp3;
24984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24986 {
24987 PyThreadState* __tstate = wxPyBeginAllowThreads();
24988 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24989
24990 wxPyEndAllowThreads(__tstate);
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 Py_INCREF(Py_None); resultobj = Py_None;
24994 {
24995 PyObject *o = PyInt_FromLong((long) (*arg2));
24996 resultobj = t_output_helper(resultobj,o);
24997 }
24998 {
24999 PyObject *o = PyInt_FromLong((long) (*arg3));
25000 resultobj = t_output_helper(resultobj,o);
25001 }
25002 return resultobj;
25003 fail:
25004 return NULL;
25005 }
25006
25007
25008 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25009 PyObject *resultobj;
25010 wxPyControl *arg1 = (wxPyControl *) 0 ;
25011 int *arg2 = (int *) 0 ;
25012 int *arg3 = (int *) 0 ;
25013 int temp2 ;
25014 int temp3 ;
25015 PyObject * obj0 = 0 ;
25016 char *kwnames[] = {
25017 (char *) "self", NULL
25018 };
25019
25020 arg2 = &temp2;
25021 arg3 = &temp3;
25022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
25023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 Py_INCREF(Py_None); resultobj = Py_None;
25032 {
25033 PyObject *o = PyInt_FromLong((long) (*arg2));
25034 resultobj = t_output_helper(resultobj,o);
25035 }
25036 {
25037 PyObject *o = PyInt_FromLong((long) (*arg3));
25038 resultobj = t_output_helper(resultobj,o);
25039 }
25040 return resultobj;
25041 fail:
25042 return NULL;
25043 }
25044
25045
25046 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25047 PyObject *resultobj;
25048 wxPyControl *arg1 = (wxPyControl *) 0 ;
25049 int *arg2 = (int *) 0 ;
25050 int *arg3 = (int *) 0 ;
25051 int temp2 ;
25052 int temp3 ;
25053 PyObject * obj0 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self", NULL
25056 };
25057
25058 arg2 = &temp2;
25059 arg3 = &temp3;
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
25061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 {
25071 PyObject *o = PyInt_FromLong((long) (*arg2));
25072 resultobj = t_output_helper(resultobj,o);
25073 }
25074 {
25075 PyObject *o = PyInt_FromLong((long) (*arg3));
25076 resultobj = t_output_helper(resultobj,o);
25077 }
25078 return resultobj;
25079 fail:
25080 return NULL;
25081 }
25082
25083
25084 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25085 PyObject *resultobj;
25086 wxPyControl *arg1 = (wxPyControl *) 0 ;
25087 wxSize result;
25088 PyObject * obj0 = 0 ;
25089 char *kwnames[] = {
25090 (char *) "self", NULL
25091 };
25092
25093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
25094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25095 {
25096 PyThreadState* __tstate = wxPyBeginAllowThreads();
25097 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
25098
25099 wxPyEndAllowThreads(__tstate);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 {
25103 wxSize * resultptr;
25104 resultptr = new wxSize((wxSize &) result);
25105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25106 }
25107 return resultobj;
25108 fail:
25109 return NULL;
25110 }
25111
25112
25113 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25114 PyObject *resultobj;
25115 wxPyControl *arg1 = (wxPyControl *) 0 ;
25116 wxSize result;
25117 PyObject * obj0 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 wxSize * resultptr;
25133 resultptr = new wxSize((wxSize &) result);
25134 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25135 }
25136 return resultobj;
25137 fail:
25138 return NULL;
25139 }
25140
25141
25142 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25143 PyObject *resultobj;
25144 wxPyControl *arg1 = (wxPyControl *) 0 ;
25145 PyObject * obj0 = 0 ;
25146 char *kwnames[] = {
25147 (char *) "self", NULL
25148 };
25149
25150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 (arg1)->base_InitDialog();
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
25159 Py_INCREF(Py_None); resultobj = Py_None;
25160 return resultobj;
25161 fail:
25162 return NULL;
25163 }
25164
25165
25166 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj;
25168 wxPyControl *arg1 = (wxPyControl *) 0 ;
25169 bool result;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25177 {
25178 PyThreadState* __tstate = wxPyBeginAllowThreads();
25179 result = (bool)(arg1)->base_TransferDataToWindow();
25180
25181 wxPyEndAllowThreads(__tstate);
25182 if (PyErr_Occurred()) SWIG_fail;
25183 }
25184 resultobj = PyInt_FromLong((long)result);
25185 return resultobj;
25186 fail:
25187 return NULL;
25188 }
25189
25190
25191 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25192 PyObject *resultobj;
25193 wxPyControl *arg1 = (wxPyControl *) 0 ;
25194 bool result;
25195 PyObject * obj0 = 0 ;
25196 char *kwnames[] = {
25197 (char *) "self", NULL
25198 };
25199
25200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = (bool)(arg1)->base_TransferDataFromWindow();
25205
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 resultobj = PyInt_FromLong((long)result);
25210 return resultobj;
25211 fail:
25212 return NULL;
25213 }
25214
25215
25216 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25217 PyObject *resultobj;
25218 wxPyControl *arg1 = (wxPyControl *) 0 ;
25219 bool result;
25220 PyObject * obj0 = 0 ;
25221 char *kwnames[] = {
25222 (char *) "self", NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 result = (bool)(arg1)->base_Validate();
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 resultobj = PyInt_FromLong((long)result);
25235 return resultobj;
25236 fail:
25237 return NULL;
25238 }
25239
25240
25241 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25242 PyObject *resultobj;
25243 wxPyControl *arg1 = (wxPyControl *) 0 ;
25244 bool result;
25245 PyObject * obj0 = 0 ;
25246 char *kwnames[] = {
25247 (char *) "self", NULL
25248 };
25249
25250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 resultobj = PyInt_FromLong((long)result);
25260 return resultobj;
25261 fail:
25262 return NULL;
25263 }
25264
25265
25266 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25267 PyObject *resultobj;
25268 wxPyControl *arg1 = (wxPyControl *) 0 ;
25269 bool result;
25270 PyObject * obj0 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "self", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",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 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 resultobj = PyInt_FromLong((long)result);
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxPyControl *arg1 = (wxPyControl *) 0 ;
25294 wxSize result;
25295 PyObject * obj0 = 0 ;
25296 char *kwnames[] = {
25297 (char *) "self", NULL
25298 };
25299
25300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 {
25310 wxSize * resultptr;
25311 resultptr = new wxSize((wxSize &) result);
25312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25313 }
25314 return resultobj;
25315 fail:
25316 return NULL;
25317 }
25318
25319
25320 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25321 PyObject *resultobj;
25322 wxPyControl *arg1 = (wxPyControl *) 0 ;
25323 wxWindow *arg2 = (wxWindow *) 0 ;
25324 PyObject * obj0 = 0 ;
25325 PyObject * obj1 = 0 ;
25326 char *kwnames[] = {
25327 (char *) "self",(char *) "child", NULL
25328 };
25329
25330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25333 {
25334 PyThreadState* __tstate = wxPyBeginAllowThreads();
25335 (arg1)->base_AddChild(arg2);
25336
25337 wxPyEndAllowThreads(__tstate);
25338 if (PyErr_Occurred()) SWIG_fail;
25339 }
25340 Py_INCREF(Py_None); resultobj = Py_None;
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxPyControl *arg1 = (wxPyControl *) 0 ;
25350 wxWindow *arg2 = (wxWindow *) 0 ;
25351 PyObject * obj0 = 0 ;
25352 PyObject * obj1 = 0 ;
25353 char *kwnames[] = {
25354 (char *) "self",(char *) "child", NULL
25355 };
25356
25357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25360 {
25361 PyThreadState* __tstate = wxPyBeginAllowThreads();
25362 (arg1)->base_RemoveChild(arg2);
25363
25364 wxPyEndAllowThreads(__tstate);
25365 if (PyErr_Occurred()) SWIG_fail;
25366 }
25367 Py_INCREF(Py_None); resultobj = Py_None;
25368 return resultobj;
25369 fail:
25370 return NULL;
25371 }
25372
25373
25374 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25375 PyObject *obj;
25376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25377 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25378 Py_INCREF(obj);
25379 return Py_BuildValue((char *)"");
25380 }
25381 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25382 PyObject *resultobj;
25383 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25384 int arg2 = (int) 0 ;
25385 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25386 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25387 wxHelpEvent *result;
25388 wxPoint temp3 ;
25389 PyObject * obj2 = 0 ;
25390 char *kwnames[] = {
25391 (char *) "type",(char *) "winid",(char *) "pt", NULL
25392 };
25393
25394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25395 if (obj2) {
25396 {
25397 arg3 = &temp3;
25398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25399 }
25400 }
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj;
25417 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25418 wxPoint *result;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 {
25429 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25430 result = (wxPoint *) &_result_ref;
25431 }
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25437 return resultobj;
25438 fail:
25439 return NULL;
25440 }
25441
25442
25443 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25444 PyObject *resultobj;
25445 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25446 wxPoint *arg2 = 0 ;
25447 wxPoint temp2 ;
25448 PyObject * obj0 = 0 ;
25449 PyObject * obj1 = 0 ;
25450 char *kwnames[] = {
25451 (char *) "self",(char *) "pos", NULL
25452 };
25453
25454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25456 {
25457 arg2 = &temp2;
25458 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25459 }
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 (arg1)->SetPosition((wxPoint const &)*arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 Py_INCREF(Py_None); resultobj = Py_None;
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25477 wxString *result;
25478 PyObject * obj0 = 0 ;
25479 char *kwnames[] = {
25480 (char *) "self", NULL
25481 };
25482
25483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25485 {
25486 PyThreadState* __tstate = wxPyBeginAllowThreads();
25487 {
25488 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25489 result = (wxString *) &_result_ref;
25490 }
25491
25492 wxPyEndAllowThreads(__tstate);
25493 if (PyErr_Occurred()) SWIG_fail;
25494 }
25495 {
25496 #if wxUSE_UNICODE
25497 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25498 #else
25499 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25500 #endif
25501 }
25502 return resultobj;
25503 fail:
25504 return NULL;
25505 }
25506
25507
25508 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25511 wxString *arg2 = 0 ;
25512 bool temp2 = False ;
25513 PyObject * obj0 = 0 ;
25514 PyObject * obj1 = 0 ;
25515 char *kwnames[] = {
25516 (char *) "self",(char *) "link", NULL
25517 };
25518
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25521 {
25522 arg2 = wxString_in_helper(obj1);
25523 if (arg2 == NULL) SWIG_fail;
25524 temp2 = True;
25525 }
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 (arg1)->SetLink((wxString const &)*arg2);
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 Py_INCREF(Py_None); resultobj = Py_None;
25534 {
25535 if (temp2)
25536 delete arg2;
25537 }
25538 return resultobj;
25539 fail:
25540 {
25541 if (temp2)
25542 delete arg2;
25543 }
25544 return NULL;
25545 }
25546
25547
25548 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25549 PyObject *resultobj;
25550 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25551 wxString *result;
25552 PyObject * obj0 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "self", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25559 {
25560 PyThreadState* __tstate = wxPyBeginAllowThreads();
25561 {
25562 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25563 result = (wxString *) &_result_ref;
25564 }
25565
25566 wxPyEndAllowThreads(__tstate);
25567 if (PyErr_Occurred()) SWIG_fail;
25568 }
25569 {
25570 #if wxUSE_UNICODE
25571 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25572 #else
25573 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25574 #endif
25575 }
25576 return resultobj;
25577 fail:
25578 return NULL;
25579 }
25580
25581
25582 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25583 PyObject *resultobj;
25584 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25585 wxString *arg2 = 0 ;
25586 bool temp2 = False ;
25587 PyObject * obj0 = 0 ;
25588 PyObject * obj1 = 0 ;
25589 char *kwnames[] = {
25590 (char *) "self",(char *) "target", NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25595 {
25596 arg2 = wxString_in_helper(obj1);
25597 if (arg2 == NULL) SWIG_fail;
25598 temp2 = True;
25599 }
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->SetTarget((wxString const &)*arg2);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 {
25609 if (temp2)
25610 delete arg2;
25611 }
25612 return resultobj;
25613 fail:
25614 {
25615 if (temp2)
25616 delete arg2;
25617 }
25618 return NULL;
25619 }
25620
25621
25622 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25623 PyObject *obj;
25624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25625 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25626 Py_INCREF(obj);
25627 return Py_BuildValue((char *)"");
25628 }
25629 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25630 PyObject *resultobj;
25631 wxWindow *arg1 = (wxWindow *) NULL ;
25632 bool arg2 = (bool) True ;
25633 wxContextHelp *result;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 char *kwnames[] = {
25637 (char *) "window",(char *) "doNow", NULL
25638 };
25639
25640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25641 if (obj0) {
25642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25643 }
25644 if (obj1) {
25645 {
25646 arg2 = (bool) SPyObj_AsBool(obj1);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 }
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj;
25666 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 delete arg1;
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 Py_INCREF(Py_None); resultobj = Py_None;
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25691 wxWindow *arg2 = (wxWindow *) NULL ;
25692 bool result;
25693 PyObject * obj0 = 0 ;
25694 PyObject * obj1 = 0 ;
25695 char *kwnames[] = {
25696 (char *) "self",(char *) "window", NULL
25697 };
25698
25699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25701 if (obj1) {
25702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25703 }
25704 {
25705 PyThreadState* __tstate = wxPyBeginAllowThreads();
25706 result = (bool)(arg1)->BeginContextHelp(arg2);
25707
25708 wxPyEndAllowThreads(__tstate);
25709 if (PyErr_Occurred()) SWIG_fail;
25710 }
25711 resultobj = PyInt_FromLong((long)result);
25712 return resultobj;
25713 fail:
25714 return NULL;
25715 }
25716
25717
25718 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25721 bool result;
25722 PyObject * obj0 = 0 ;
25723 char *kwnames[] = {
25724 (char *) "self", NULL
25725 };
25726
25727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25729 {
25730 PyThreadState* __tstate = wxPyBeginAllowThreads();
25731 result = (bool)(arg1)->EndContextHelp();
25732
25733 wxPyEndAllowThreads(__tstate);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 resultobj = PyInt_FromLong((long)result);
25737 return resultobj;
25738 fail:
25739 return NULL;
25740 }
25741
25742
25743 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25744 PyObject *obj;
25745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25746 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25747 Py_INCREF(obj);
25748 return Py_BuildValue((char *)"");
25749 }
25750 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj;
25752 wxWindow *arg1 = (wxWindow *) 0 ;
25753 int arg2 = (int) wxID_CONTEXT_HELP ;
25754 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25755 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25756 wxSize const &arg4_defvalue = wxDefaultSize ;
25757 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25758 long arg5 = (long) wxBU_AUTODRAW ;
25759 wxContextHelpButton *result;
25760 wxPoint temp3 ;
25761 wxSize temp4 ;
25762 PyObject * obj0 = 0 ;
25763 PyObject * obj2 = 0 ;
25764 PyObject * obj3 = 0 ;
25765 char *kwnames[] = {
25766 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25767 };
25768
25769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25771 if (obj2) {
25772 {
25773 arg3 = &temp3;
25774 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25775 }
25776 }
25777 if (obj3) {
25778 {
25779 arg4 = &temp4;
25780 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25781 }
25782 }
25783 {
25784 PyThreadState* __tstate = wxPyBeginAllowThreads();
25785 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25786
25787 wxPyEndAllowThreads(__tstate);
25788 if (PyErr_Occurred()) SWIG_fail;
25789 }
25790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25791 return resultobj;
25792 fail:
25793 return NULL;
25794 }
25795
25796
25797 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25798 PyObject *obj;
25799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25800 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25801 Py_INCREF(obj);
25802 return Py_BuildValue((char *)"");
25803 }
25804 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25805 PyObject *resultobj;
25806 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25807 wxHelpProvider *result;
25808 PyObject * obj0 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "helpProvider", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25818
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25823 return resultobj;
25824 fail:
25825 return NULL;
25826 }
25827
25828
25829 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxHelpProvider *result;
25832 char *kwnames[] = {
25833 NULL
25834 };
25835
25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25837 {
25838 PyThreadState* __tstate = wxPyBeginAllowThreads();
25839 result = (wxHelpProvider *)wxHelpProvider::Get();
25840
25841 wxPyEndAllowThreads(__tstate);
25842 if (PyErr_Occurred()) SWIG_fail;
25843 }
25844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25845 return resultobj;
25846 fail:
25847 return NULL;
25848 }
25849
25850
25851 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25852 PyObject *resultobj;
25853 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25854 wxWindow *arg2 = (wxWindow *) 0 ;
25855 wxString result;
25856 PyObject * obj0 = 0 ;
25857 PyObject * obj1 = 0 ;
25858 char *kwnames[] = {
25859 (char *) "self",(char *) "window", NULL
25860 };
25861
25862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25864 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25865 {
25866 PyThreadState* __tstate = wxPyBeginAllowThreads();
25867 result = (arg1)->GetHelp((wxWindow const *)arg2);
25868
25869 wxPyEndAllowThreads(__tstate);
25870 if (PyErr_Occurred()) SWIG_fail;
25871 }
25872 {
25873 #if wxUSE_UNICODE
25874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25875 #else
25876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25877 #endif
25878 }
25879 return resultobj;
25880 fail:
25881 return NULL;
25882 }
25883
25884
25885 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25886 PyObject *resultobj;
25887 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25888 wxWindow *arg2 = (wxWindow *) 0 ;
25889 bool result;
25890 PyObject * obj0 = 0 ;
25891 PyObject * obj1 = 0 ;
25892 char *kwnames[] = {
25893 (char *) "self",(char *) "window", NULL
25894 };
25895
25896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (bool)(arg1)->ShowHelp(arg2);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = PyInt_FromLong((long)result);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25914 PyObject *resultobj;
25915 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25916 wxWindow *arg2 = (wxWindow *) 0 ;
25917 wxString *arg3 = 0 ;
25918 bool temp3 = False ;
25919 PyObject * obj0 = 0 ;
25920 PyObject * obj1 = 0 ;
25921 PyObject * obj2 = 0 ;
25922 char *kwnames[] = {
25923 (char *) "self",(char *) "window",(char *) "text", NULL
25924 };
25925
25926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25928 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25929 {
25930 arg3 = wxString_in_helper(obj2);
25931 if (arg3 == NULL) SWIG_fail;
25932 temp3 = True;
25933 }
25934 {
25935 PyThreadState* __tstate = wxPyBeginAllowThreads();
25936 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25937
25938 wxPyEndAllowThreads(__tstate);
25939 if (PyErr_Occurred()) SWIG_fail;
25940 }
25941 Py_INCREF(Py_None); resultobj = Py_None;
25942 {
25943 if (temp3)
25944 delete arg3;
25945 }
25946 return resultobj;
25947 fail:
25948 {
25949 if (temp3)
25950 delete arg3;
25951 }
25952 return NULL;
25953 }
25954
25955
25956 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25957 PyObject *resultobj;
25958 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25959 int arg2 ;
25960 wxString *arg3 = 0 ;
25961 bool temp3 = False ;
25962 PyObject * obj0 = 0 ;
25963 PyObject * obj2 = 0 ;
25964 char *kwnames[] = {
25965 (char *) "self",(char *) "id",(char *) "text", NULL
25966 };
25967
25968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25970 {
25971 arg3 = wxString_in_helper(obj2);
25972 if (arg3 == NULL) SWIG_fail;
25973 temp3 = True;
25974 }
25975 {
25976 PyThreadState* __tstate = wxPyBeginAllowThreads();
25977 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25978
25979 wxPyEndAllowThreads(__tstate);
25980 if (PyErr_Occurred()) SWIG_fail;
25981 }
25982 Py_INCREF(Py_None); resultobj = Py_None;
25983 {
25984 if (temp3)
25985 delete arg3;
25986 }
25987 return resultobj;
25988 fail:
25989 {
25990 if (temp3)
25991 delete arg3;
25992 }
25993 return NULL;
25994 }
25995
25996
25997 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25998 PyObject *resultobj;
25999 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26000 PyObject * obj0 = 0 ;
26001 char *kwnames[] = {
26002 (char *) "self", NULL
26003 };
26004
26005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
26006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 wxHelpProvider_Destroy(arg1);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 Py_INCREF(Py_None); resultobj = Py_None;
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
26022 PyObject *obj;
26023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26024 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
26025 Py_INCREF(obj);
26026 return Py_BuildValue((char *)"");
26027 }
26028 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxSimpleHelpProvider *result;
26031 char *kwnames[] = {
26032 NULL
26033 };
26034
26035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
26036 {
26037 PyThreadState* __tstate = wxPyBeginAllowThreads();
26038 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
26039
26040 wxPyEndAllowThreads(__tstate);
26041 if (PyErr_Occurred()) SWIG_fail;
26042 }
26043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
26044 return resultobj;
26045 fail:
26046 return NULL;
26047 }
26048
26049
26050 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
26051 PyObject *obj;
26052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26053 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
26054 Py_INCREF(obj);
26055 return Py_BuildValue((char *)"");
26056 }
26057 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26058 PyObject *resultobj;
26059 wxBitmap *arg1 = 0 ;
26060 wxCursor const &arg2_defvalue = wxNullCursor ;
26061 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26062 wxGenericDragImage *result;
26063 PyObject * obj0 = 0 ;
26064 PyObject * obj1 = 0 ;
26065 char *kwnames[] = {
26066 (char *) "image",(char *) "cursor", NULL
26067 };
26068
26069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
26070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26071 if (arg1 == NULL) {
26072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26073 }
26074 if (obj1) {
26075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26076 if (arg2 == NULL) {
26077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26078 }
26079 }
26080 {
26081 PyThreadState* __tstate = wxPyBeginAllowThreads();
26082 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
26083
26084 wxPyEndAllowThreads(__tstate);
26085 if (PyErr_Occurred()) SWIG_fail;
26086 }
26087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26088 return resultobj;
26089 fail:
26090 return NULL;
26091 }
26092
26093
26094 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
26095 PyObject *resultobj;
26096 wxIcon *arg1 = 0 ;
26097 wxCursor const &arg2_defvalue = wxNullCursor ;
26098 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26099 wxGenericDragImage *result;
26100 PyObject * obj0 = 0 ;
26101 PyObject * obj1 = 0 ;
26102 char *kwnames[] = {
26103 (char *) "image",(char *) "cursor", NULL
26104 };
26105
26106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
26107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26108 if (arg1 == NULL) {
26109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26110 }
26111 if (obj1) {
26112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26113 if (arg2 == NULL) {
26114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26115 }
26116 }
26117 {
26118 PyThreadState* __tstate = wxPyBeginAllowThreads();
26119 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26120
26121 wxPyEndAllowThreads(__tstate);
26122 if (PyErr_Occurred()) SWIG_fail;
26123 }
26124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26125 return resultobj;
26126 fail:
26127 return NULL;
26128 }
26129
26130
26131 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26132 PyObject *resultobj;
26133 wxString *arg1 = 0 ;
26134 wxCursor const &arg2_defvalue = wxNullCursor ;
26135 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26136 wxGenericDragImage *result;
26137 bool temp1 = False ;
26138 PyObject * obj0 = 0 ;
26139 PyObject * obj1 = 0 ;
26140 char *kwnames[] = {
26141 (char *) "str",(char *) "cursor", NULL
26142 };
26143
26144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26145 {
26146 arg1 = wxString_in_helper(obj0);
26147 if (arg1 == NULL) SWIG_fail;
26148 temp1 = True;
26149 }
26150 if (obj1) {
26151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26152 if (arg2 == NULL) {
26153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26154 }
26155 }
26156 {
26157 PyThreadState* __tstate = wxPyBeginAllowThreads();
26158 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26159
26160 wxPyEndAllowThreads(__tstate);
26161 if (PyErr_Occurred()) SWIG_fail;
26162 }
26163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26164 {
26165 if (temp1)
26166 delete arg1;
26167 }
26168 return resultobj;
26169 fail:
26170 {
26171 if (temp1)
26172 delete arg1;
26173 }
26174 return NULL;
26175 }
26176
26177
26178 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26179 PyObject *resultobj;
26180 wxPyTreeCtrl *arg1 = 0 ;
26181 wxTreeItemId *arg2 = 0 ;
26182 wxGenericDragImage *result;
26183 PyObject * obj0 = 0 ;
26184 PyObject * obj1 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "treeCtrl",(char *) "id", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26191 if (arg1 == NULL) {
26192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26193 }
26194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26195 if (arg2 == NULL) {
26196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26197 }
26198 {
26199 PyThreadState* __tstate = wxPyBeginAllowThreads();
26200 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26201
26202 wxPyEndAllowThreads(__tstate);
26203 if (PyErr_Occurred()) SWIG_fail;
26204 }
26205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26206 return resultobj;
26207 fail:
26208 return NULL;
26209 }
26210
26211
26212 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26213 PyObject *resultobj;
26214 wxPyListCtrl *arg1 = 0 ;
26215 long arg2 ;
26216 wxGenericDragImage *result;
26217 PyObject * obj0 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "listCtrl",(char *) "id", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26224 if (arg1 == NULL) {
26225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26226 }
26227 {
26228 PyThreadState* __tstate = wxPyBeginAllowThreads();
26229 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26230
26231 wxPyEndAllowThreads(__tstate);
26232 if (PyErr_Occurred()) SWIG_fail;
26233 }
26234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26235 return resultobj;
26236 fail:
26237 return NULL;
26238 }
26239
26240
26241 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26242 PyObject *resultobj;
26243 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26244 PyObject * obj0 = 0 ;
26245 char *kwnames[] = {
26246 (char *) "self", NULL
26247 };
26248
26249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26251 {
26252 PyThreadState* __tstate = wxPyBeginAllowThreads();
26253 delete arg1;
26254
26255 wxPyEndAllowThreads(__tstate);
26256 if (PyErr_Occurred()) SWIG_fail;
26257 }
26258 Py_INCREF(Py_None); resultobj = Py_None;
26259 return resultobj;
26260 fail:
26261 return NULL;
26262 }
26263
26264
26265 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26266 PyObject *resultobj;
26267 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26268 wxBitmap *arg2 = (wxBitmap *) 0 ;
26269 PyObject * obj0 = 0 ;
26270 PyObject * obj1 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "bitmap", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26278 {
26279 PyThreadState* __tstate = wxPyBeginAllowThreads();
26280 (arg1)->SetBackingBitmap(arg2);
26281
26282 wxPyEndAllowThreads(__tstate);
26283 if (PyErr_Occurred()) SWIG_fail;
26284 }
26285 Py_INCREF(Py_None); resultobj = Py_None;
26286 return resultobj;
26287 fail:
26288 return NULL;
26289 }
26290
26291
26292 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26293 PyObject *resultobj;
26294 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26295 wxPoint *arg2 = 0 ;
26296 wxWindow *arg3 = (wxWindow *) 0 ;
26297 bool arg4 = (bool) False ;
26298 wxRect *arg5 = (wxRect *) NULL ;
26299 bool result;
26300 wxPoint temp2 ;
26301 PyObject * obj0 = 0 ;
26302 PyObject * obj1 = 0 ;
26303 PyObject * obj2 = 0 ;
26304 PyObject * obj3 = 0 ;
26305 PyObject * obj4 = 0 ;
26306 char *kwnames[] = {
26307 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26308 };
26309
26310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26312 {
26313 arg2 = &temp2;
26314 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26315 }
26316 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26317 if (obj3) {
26318 {
26319 arg4 = (bool) SPyObj_AsBool(obj3);
26320 if (PyErr_Occurred()) SWIG_fail;
26321 }
26322 }
26323 if (obj4) {
26324 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 }
26326 {
26327 PyThreadState* __tstate = wxPyBeginAllowThreads();
26328 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26329
26330 wxPyEndAllowThreads(__tstate);
26331 if (PyErr_Occurred()) SWIG_fail;
26332 }
26333 resultobj = PyInt_FromLong((long)result);
26334 return resultobj;
26335 fail:
26336 return NULL;
26337 }
26338
26339
26340 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26341 PyObject *resultobj;
26342 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26343 wxPoint *arg2 = 0 ;
26344 wxWindow *arg3 = (wxWindow *) 0 ;
26345 wxWindow *arg4 = (wxWindow *) 0 ;
26346 bool result;
26347 wxPoint temp2 ;
26348 PyObject * obj0 = 0 ;
26349 PyObject * obj1 = 0 ;
26350 PyObject * obj2 = 0 ;
26351 PyObject * obj3 = 0 ;
26352 char *kwnames[] = {
26353 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26354 };
26355
26356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26358 {
26359 arg2 = &temp2;
26360 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26361 }
26362 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26363 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26364 {
26365 PyThreadState* __tstate = wxPyBeginAllowThreads();
26366 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26367
26368 wxPyEndAllowThreads(__tstate);
26369 if (PyErr_Occurred()) SWIG_fail;
26370 }
26371 resultobj = PyInt_FromLong((long)result);
26372 return resultobj;
26373 fail:
26374 return NULL;
26375 }
26376
26377
26378 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26379 PyObject *resultobj;
26380 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26381 bool result;
26382 PyObject * obj0 = 0 ;
26383 char *kwnames[] = {
26384 (char *) "self", NULL
26385 };
26386
26387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26389 {
26390 PyThreadState* __tstate = wxPyBeginAllowThreads();
26391 result = (bool)(arg1)->EndDrag();
26392
26393 wxPyEndAllowThreads(__tstate);
26394 if (PyErr_Occurred()) SWIG_fail;
26395 }
26396 resultobj = PyInt_FromLong((long)result);
26397 return resultobj;
26398 fail:
26399 return NULL;
26400 }
26401
26402
26403 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26404 PyObject *resultobj;
26405 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26406 wxPoint *arg2 = 0 ;
26407 bool result;
26408 wxPoint temp2 ;
26409 PyObject * obj0 = 0 ;
26410 PyObject * obj1 = 0 ;
26411 char *kwnames[] = {
26412 (char *) "self",(char *) "pt", NULL
26413 };
26414
26415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26417 {
26418 arg2 = &temp2;
26419 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26420 }
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26424
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
26428 resultobj = PyInt_FromLong((long)result);
26429 return resultobj;
26430 fail:
26431 return NULL;
26432 }
26433
26434
26435 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26436 PyObject *resultobj;
26437 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26438 bool result;
26439 PyObject * obj0 = 0 ;
26440 char *kwnames[] = {
26441 (char *) "self", NULL
26442 };
26443
26444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26446 {
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 result = (bool)(arg1)->Show();
26449
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 resultobj = PyInt_FromLong((long)result);
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj;
26462 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26463 bool result;
26464 PyObject * obj0 = 0 ;
26465 char *kwnames[] = {
26466 (char *) "self", NULL
26467 };
26468
26469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26471 {
26472 PyThreadState* __tstate = wxPyBeginAllowThreads();
26473 result = (bool)(arg1)->Hide();
26474
26475 wxPyEndAllowThreads(__tstate);
26476 if (PyErr_Occurred()) SWIG_fail;
26477 }
26478 resultobj = PyInt_FromLong((long)result);
26479 return resultobj;
26480 fail:
26481 return NULL;
26482 }
26483
26484
26485 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26486 PyObject *resultobj;
26487 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26488 wxPoint *arg2 = 0 ;
26489 wxRect result;
26490 wxPoint temp2 ;
26491 PyObject * obj0 = 0 ;
26492 PyObject * obj1 = 0 ;
26493 char *kwnames[] = {
26494 (char *) "self",(char *) "pos", NULL
26495 };
26496
26497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26499 {
26500 arg2 = &temp2;
26501 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26502 }
26503 {
26504 PyThreadState* __tstate = wxPyBeginAllowThreads();
26505 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26506
26507 wxPyEndAllowThreads(__tstate);
26508 if (PyErr_Occurred()) SWIG_fail;
26509 }
26510 {
26511 wxRect * resultptr;
26512 resultptr = new wxRect((wxRect &) result);
26513 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26514 }
26515 return resultobj;
26516 fail:
26517 return NULL;
26518 }
26519
26520
26521 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26522 PyObject *resultobj;
26523 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26524 wxDC *arg2 = 0 ;
26525 wxPoint *arg3 = 0 ;
26526 bool result;
26527 wxPoint temp3 ;
26528 PyObject * obj0 = 0 ;
26529 PyObject * obj1 = 0 ;
26530 PyObject * obj2 = 0 ;
26531 char *kwnames[] = {
26532 (char *) "self",(char *) "dc",(char *) "pos", NULL
26533 };
26534
26535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26538 if (arg2 == NULL) {
26539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26540 }
26541 {
26542 arg3 = &temp3;
26543 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26544 }
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 resultobj = PyInt_FromLong((long)result);
26553 return resultobj;
26554 fail:
26555 return NULL;
26556 }
26557
26558
26559 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26562 wxDC *arg2 = 0 ;
26563 wxMemoryDC *arg3 = 0 ;
26564 wxRect *arg4 = 0 ;
26565 wxRect *arg5 = 0 ;
26566 bool result;
26567 wxRect temp4 ;
26568 wxRect temp5 ;
26569 PyObject * obj0 = 0 ;
26570 PyObject * obj1 = 0 ;
26571 PyObject * obj2 = 0 ;
26572 PyObject * obj3 = 0 ;
26573 PyObject * obj4 = 0 ;
26574 char *kwnames[] = {
26575 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26576 };
26577
26578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26581 if (arg2 == NULL) {
26582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26583 }
26584 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26585 if (arg3 == NULL) {
26586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26587 }
26588 {
26589 arg4 = &temp4;
26590 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26591 }
26592 {
26593 arg5 = &temp5;
26594 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26595 }
26596 {
26597 PyThreadState* __tstate = wxPyBeginAllowThreads();
26598 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26599
26600 wxPyEndAllowThreads(__tstate);
26601 if (PyErr_Occurred()) SWIG_fail;
26602 }
26603 resultobj = PyInt_FromLong((long)result);
26604 return resultobj;
26605 fail:
26606 return NULL;
26607 }
26608
26609
26610 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26611 PyObject *resultobj;
26612 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26613 wxPoint *arg2 = 0 ;
26614 wxPoint *arg3 = 0 ;
26615 bool arg4 ;
26616 bool arg5 ;
26617 bool result;
26618 wxPoint temp2 ;
26619 wxPoint temp3 ;
26620 PyObject * obj0 = 0 ;
26621 PyObject * obj1 = 0 ;
26622 PyObject * obj2 = 0 ;
26623 PyObject * obj3 = 0 ;
26624 PyObject * obj4 = 0 ;
26625 char *kwnames[] = {
26626 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26627 };
26628
26629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26631 {
26632 arg2 = &temp2;
26633 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26634 }
26635 {
26636 arg3 = &temp3;
26637 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26638 }
26639 {
26640 arg4 = (bool) SPyObj_AsBool(obj3);
26641 if (PyErr_Occurred()) SWIG_fail;
26642 }
26643 {
26644 arg5 = (bool) SPyObj_AsBool(obj4);
26645 if (PyErr_Occurred()) SWIG_fail;
26646 }
26647 {
26648 PyThreadState* __tstate = wxPyBeginAllowThreads();
26649 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26650
26651 wxPyEndAllowThreads(__tstate);
26652 if (PyErr_Occurred()) SWIG_fail;
26653 }
26654 resultobj = PyInt_FromLong((long)result);
26655 return resultobj;
26656 fail:
26657 return NULL;
26658 }
26659
26660
26661 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26662 PyObject *obj;
26663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26664 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26665 Py_INCREF(obj);
26666 return Py_BuildValue((char *)"");
26667 }
26668 static PyMethodDef SwigMethods[] = {
26669 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26675 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26690 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26701 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26710 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26728 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26741 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26745 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26751 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26755 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26762 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26781 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26790 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26791 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26819 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26872 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26877 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26888 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26900 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26911 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
26915 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26932 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26938 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26963 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26970 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26990 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26996 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
27005 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
27007 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
27012 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
27014 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
27019 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
27024 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
27054 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
27099 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
27104 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27116 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27168 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27195 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27259 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27261 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27264 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27266 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27268 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27273 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27276 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27278 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27284 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27291 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27307 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27308 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27353 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27358 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27370 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27374 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27379 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27401 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27406 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27422 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27426 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27427 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27428 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27435 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27439 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27440 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27442 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27449 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27450 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27452 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27456 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27457 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27458 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27459 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27460 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27461 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27462 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27463 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27464 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27465 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27466 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27467 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27468 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27469 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27470 { NULL, NULL }
27471 };
27472
27473
27474 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27475
27476 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27477 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27478 }
27479 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27480 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27481 }
27482 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27483 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27484 }
27485 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27486 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27487 }
27488 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27489 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27490 }
27491 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27492 return (void *)((wxSizer *) ((wxGridSizer *) x));
27493 }
27494 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27495 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27496 }
27497 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27498 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27499 }
27500 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27501 return (void *)((wxSizer *) ((wxPySizer *) x));
27502 }
27503 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27504 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27505 }
27506 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27508 }
27509 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27510 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27511 }
27512 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27513 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27514 }
27515 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27516 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27517 }
27518 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27519 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27520 }
27521 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27522 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27523 }
27524 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27525 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27526 }
27527 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27528 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27529 }
27530 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27531 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27532 }
27533 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27534 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27535 }
27536 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27537 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27538 }
27539 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27540 return (void *)((wxEvent *) ((wxPyEvent *) x));
27541 }
27542 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27544 }
27545 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27546 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27547 }
27548 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27549 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27550 }
27551 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27552 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27553 }
27554 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27556 }
27557 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27558 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27559 }
27560 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27561 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27562 }
27563 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27564 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27565 }
27566 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27567 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27568 }
27569 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27570 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27571 }
27572 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27573 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27574 }
27575 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27576 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27577 }
27578 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27579 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27580 }
27581 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27582 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27583 }
27584 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27585 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27586 }
27587 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27588 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27589 }
27590 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27591 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27592 }
27593 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27594 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27595 }
27596 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27597 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27598 }
27599 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27600 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27601 }
27602 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27603 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27604 }
27605 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27606 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27607 }
27608 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27610 }
27611 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27612 return (void *)((wxEvent *) ((wxShowEvent *) x));
27613 }
27614 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27615 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27616 }
27617 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27618 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27619 }
27620 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27621 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27622 }
27623 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27624 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27625 }
27626 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27627 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27628 }
27629 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27630 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27631 }
27632 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27633 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27634 }
27635 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27636 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27637 }
27638 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27639 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27640 }
27641 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27642 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27643 }
27644 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27645 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27646 }
27647 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27648 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27649 }
27650 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27651 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27652 }
27653 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27654 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27655 }
27656 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27657 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27658 }
27659 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27660 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27661 }
27662 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27663 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27664 }
27665 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27666 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27667 }
27668 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27669 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27670 }
27671 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27672 return (void *)((wxControl *) ((wxComboBox *) x));
27673 }
27674 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27675 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27676 }
27677 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27678 return (void *)((wxControl *) ((wxStaticBox *) x));
27679 }
27680 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27681 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27682 }
27683 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27684 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27685 }
27686 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27687 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27688 }
27689 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27690 return (void *)((wxControl *) ((wxScrollBar *) x));
27691 }
27692 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27693 return (void *)((wxControl *) ((wxBookCtrl *) x));
27694 }
27695 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27696 return (void *)((wxControl *) ((wxRadioButton *) x));
27697 }
27698 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27699 return (void *)((wxControl *) ((wxToggleButton *) x));
27700 }
27701 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27702 return (void *)((wxControl *) ((wxGauge *) x));
27703 }
27704 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27705 return (void *)((wxControl *) ((wxToolBarBase *) x));
27706 }
27707 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27708 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27709 }
27710 static void *_p_wxButtonTo_p_wxControl(void *x) {
27711 return (void *)((wxControl *) ((wxButton *) x));
27712 }
27713 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27714 return (void *)((wxControl *) ((wxSpinButton *) x));
27715 }
27716 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27717 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27718 }
27719 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27720 return (void *)((wxControl *) ((wxControlWithItems *) x));
27721 }
27722 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27723 return (void *)((wxControl *) ((wxRadioBox *) x));
27724 }
27725 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27726 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27727 }
27728 static void *_p_wxListbookTo_p_wxControl(void *x) {
27729 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27730 }
27731 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27732 return (void *)((wxControl *) ((wxCheckBox *) x));
27733 }
27734 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27735 return (void *)((wxControl *) ((wxTextCtrl *) x));
27736 }
27737 static void *_p_wxListViewTo_p_wxControl(void *x) {
27738 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27739 }
27740 static void *_p_wxSliderTo_p_wxControl(void *x) {
27741 return (void *)((wxControl *) ((wxSlider *) x));
27742 }
27743 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27744 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27745 }
27746 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27747 return (void *)((wxControl *) ((wxPyControl *) x));
27748 }
27749 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27750 return (void *)((wxControl *) ((wxStaticLine *) x));
27751 }
27752 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27753 return (void *)((wxControl *) ((wxStaticText *) x));
27754 }
27755 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27756 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27757 }
27758 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27759 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27760 }
27761 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27762 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27763 }
27764 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27765 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27766 }
27767 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27768 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27769 }
27770 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
27771 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
27772 }
27773 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27774 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27775 }
27776 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27777 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27778 }
27779 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27780 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27781 }
27782 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27783 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27784 }
27785 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27786 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27787 }
27788 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27789 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27790 }
27791 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27792 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27793 }
27794 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27795 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27796 }
27797 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27798 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27799 }
27800 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27801 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27802 }
27803 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27804 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27805 }
27806 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27807 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27808 }
27809 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27810 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27811 }
27812 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27813 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27814 }
27815 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27816 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27817 }
27818 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27819 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27820 }
27821 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27822 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27823 }
27824 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27825 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27826 }
27827 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27829 }
27830 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27831 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27832 }
27833 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27834 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27835 }
27836 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27837 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27838 }
27839 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27840 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27841 }
27842 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27843 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27844 }
27845 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27846 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27847 }
27848 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27849 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27850 }
27851 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27852 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27853 }
27854 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27855 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27856 }
27857 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27858 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27859 }
27860 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27861 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27862 }
27863 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27864 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27865 }
27866 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27867 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27868 }
27869 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27870 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27871 }
27872 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27873 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27874 }
27875 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27876 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27877 }
27878 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27879 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27880 }
27881 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27882 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27883 }
27884 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27885 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27886 }
27887 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27888 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27889 }
27890 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27892 }
27893 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27894 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27895 }
27896 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27897 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27898 }
27899 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27900 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27901 }
27902 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27903 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27904 }
27905 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27906 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27907 }
27908 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27909 return (void *)((wxButton *) ((wxBitmapButton *) x));
27910 }
27911 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27912 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27913 }
27914 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27915 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27916 }
27917 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27918 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27919 }
27920 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27921 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27922 }
27923 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27924 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27925 }
27926 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27927 return (void *)((wxObject *) ((wxSizerItem *) x));
27928 }
27929 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27930 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27931 }
27932 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27933 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27934 }
27935 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27937 }
27938 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27939 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27940 }
27941 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27942 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27943 }
27944 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27945 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27946 }
27947 static void *_p_wxSizerTo_p_wxObject(void *x) {
27948 return (void *)((wxObject *) ((wxSizer *) x));
27949 }
27950 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27951 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27952 }
27953 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27955 }
27956 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27958 }
27959 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27960 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27961 }
27962 static void *_p_wxEventTo_p_wxObject(void *x) {
27963 return (void *)((wxObject *) ((wxEvent *) x));
27964 }
27965 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27966 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27967 }
27968 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27969 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27970 }
27971 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27972 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27973 }
27974 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27976 }
27977 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27979 }
27980 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27982 }
27983 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27984 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27985 }
27986 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27987 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27988 }
27989 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27990 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27991 }
27992 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27993 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27994 }
27995 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27996 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27997 }
27998 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27999 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28000 }
28001 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
28002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
28003 }
28004 static void *_p_wxControlTo_p_wxObject(void *x) {
28005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28006 }
28007 static void *_p_wxPyControlTo_p_wxObject(void *x) {
28008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
28009 }
28010 static void *_p_wxGaugeTo_p_wxObject(void *x) {
28011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
28012 }
28013 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
28014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
28015 }
28016 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
28017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
28018 }
28019 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
28020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28021 }
28022 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28023 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28024 }
28025 static void *_p_wxChoiceTo_p_wxObject(void *x) {
28026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28027 }
28028 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28029 return (void *)((wxObject *) ((wxFSFile *) x));
28030 }
28031 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28032 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28033 }
28034 static void *_p_wxListViewTo_p_wxObject(void *x) {
28035 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28036 }
28037 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
28038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28039 }
28040 static void *_p_wxNotebookTo_p_wxObject(void *x) {
28041 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28042 }
28043 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28044 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28045 }
28046 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28047 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28048 }
28049 static void *_p_wxListbookTo_p_wxObject(void *x) {
28050 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28051 }
28052 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28053 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28054 }
28055 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
28056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28057 }
28058 static void *_p_wxSliderTo_p_wxObject(void *x) {
28059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
28060 }
28061 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28062 return (void *)((wxObject *) ((wxMenuItem *) x));
28063 }
28064 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28065 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28066 }
28067 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28069 }
28070 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28071 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28072 }
28073 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28074 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28075 }
28076 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28077 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28078 }
28079 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28080 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28081 }
28082 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28083 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28084 }
28085 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28086 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28087 }
28088 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
28089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
28090 }
28091 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
28092 return (void *)((wxObject *) ((wxContextHelp *) x));
28093 }
28094 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28095 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28096 }
28097 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28098 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28099 }
28100 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28101 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28102 }
28103 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28104 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28105 }
28106 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28107 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28108 }
28109 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28110 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28111 }
28112 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28114 }
28115 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28116 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28117 }
28118 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28119 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28120 }
28121 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28122 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28123 }
28124 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28125 return (void *)((wxObject *) ((wxImageHandler *) x));
28126 }
28127 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28128 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28129 }
28130 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28131 return (void *)((wxObject *) ((wxEvtHandler *) x));
28132 }
28133 static void *_p_wxListEventTo_p_wxObject(void *x) {
28134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28135 }
28136 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28138 }
28139 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28141 }
28142 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28144 }
28145 static void *_p_wxButtonTo_p_wxObject(void *x) {
28146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28147 }
28148 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28150 }
28151 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28153 }
28154 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28156 }
28157 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28158 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28159 }
28160 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28162 }
28163 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28165 }
28166 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
28168 }
28169 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28170 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28171 }
28172 static void *_p_wxListItemTo_p_wxObject(void *x) {
28173 return (void *)((wxObject *) ((wxListItem *) x));
28174 }
28175 static void *_p_wxImageTo_p_wxObject(void *x) {
28176 return (void *)((wxObject *) ((wxImage *) x));
28177 }
28178 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28179 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28180 }
28181 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28182 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28183 }
28184 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
28185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
28186 }
28187 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28188 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28189 }
28190 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28192 }
28193 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28195 }
28196 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28197 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28198 }
28199 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28201 }
28202 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28203 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28204 }
28205 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28206 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28207 }
28208 static void *_p_wxWindowTo_p_wxObject(void *x) {
28209 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28210 }
28211 static void *_p_wxMenuTo_p_wxObject(void *x) {
28212 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28213 }
28214 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28216 }
28217 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28218 return (void *)((wxObject *) ((wxFileSystem *) x));
28219 }
28220 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28221 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28222 }
28223 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28224 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28225 }
28226 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28227 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28228 }
28229 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28230 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28231 }
28232 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28233 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28234 }
28235 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28236 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28237 }
28238 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28239 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28240 }
28241 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28242 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28243 }
28244 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28245 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28246 }
28247 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28249 }
28250 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28251 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28252 }
28253 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28254 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28255 }
28256 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28257 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28258 }
28259 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28261 }
28262 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28263 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28264 }
28265 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28267 }
28268 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28269 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28270 }
28271 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28272 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28273 }
28274 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28275 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28276 }
28277 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28278 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28279 }
28280 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28281 return (void *)((wxWindow *) ((wxMenuBar *) x));
28282 }
28283 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28284 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28285 }
28286 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28287 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28288 }
28289 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28290 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28291 }
28292 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28293 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28294 }
28295 static void *_p_wxControlTo_p_wxWindow(void *x) {
28296 return (void *)((wxWindow *) ((wxControl *) x));
28297 }
28298 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28299 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28300 }
28301 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28302 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28303 }
28304 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28305 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28306 }
28307 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28308 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
28309 }
28310 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28311 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28312 }
28313 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28314 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28315 }
28316 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28317 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28318 }
28319 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28320 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28321 }
28322 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28323 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28324 }
28325 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28326 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28327 }
28328 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28329 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28330 }
28331 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28332 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28333 }
28334 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28335 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28336 }
28337 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28338 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28339 }
28340 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28341 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28342 }
28343 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28344 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28345 }
28346 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28347 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28348 }
28349 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28350 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28351 }
28352 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28353 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28354 }
28355 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28356 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28357 }
28358 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28359 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28360 }
28361 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28362 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28363 }
28364 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28365 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28366 }
28367 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28368 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28369 }
28370 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28371 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28372 }
28373 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28374 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28375 }
28376 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28377 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28378 }
28379 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28380 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28381 }
28382 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28383 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28384 }
28385 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28386 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28387 }
28388 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28389 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28390 }
28391 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28392 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28393 }
28394 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28395 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28396 }
28397 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28398 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28399 }
28400 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28401 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28402 }
28403 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28404 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28405 }
28406 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28407 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28408 }
28409 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28410 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28411 }
28412 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28413 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28414 }
28415 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28416 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28417 }
28418 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28419 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28420 }
28421 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28422 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28423 }
28424 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28425 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28426 }
28427 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28428 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28429 }
28430 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28431 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28432 }
28433 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28434 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28435 }
28436 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28437 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28438 }
28439 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28440 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28441 }
28442 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28443 return (void *)((wxValidator *) ((wxPyValidator *) x));
28444 }
28445 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28446 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}};
28447 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}};
28448 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28449 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28450 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}};
28451 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28452 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28453 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28454 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}};
28455 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28456 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28457 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28458 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}};
28459 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28460 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28461 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28462 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28463 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28464 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28465 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28466 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28467 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28468 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28469 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28470 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28471 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28472 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28473 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28474 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28475 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28476 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}};
28477 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28478 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28479 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28480 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28481 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28482 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28483 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28484 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28485 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}};
28486 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28487 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28488 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28489 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}};
28490 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28491 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}};
28492 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28493 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28494 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28495 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28496 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28497 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28498 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28499 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28500 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28501 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28502 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28503 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28504 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28505 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28506 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28507 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28508 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28509 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28510 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28511 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28512 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}};
28513 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28514 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28515 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}};
28516 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28517 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28518 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28519 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28520 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}};
28521 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28522 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
28523 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28524 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28525 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28526 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28527 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28528
28529 static swig_type_info *swig_types_initial[] = {
28530 _swigt__p_wxTextUrlEvent,
28531 _swigt__p_wxBookCtrlEvent,
28532 _swigt__p_wxSizer,
28533 _swigt__p_wxCheckBox,
28534 _swigt__p_wxPyTreeCtrl,
28535 _swigt__p_wxEvent,
28536 _swigt__p_wxGenericDirCtrl,
28537 _swigt__p_bool,
28538 _swigt__p_wxPyTreeItemData,
28539 _swigt__p_wxItemContainer,
28540 _swigt__p_wxDirFilterListCtrl,
28541 _swigt__p_wxPyListCtrl,
28542 _swigt__p_wxStaticLine,
28543 _swigt__p_wxControl,
28544 _swigt__p_wxPyControl,
28545 _swigt__p_wxGauge,
28546 _swigt__p_wxToolBarBase,
28547 _swigt__p_wxFont,
28548 _swigt__p_wxToggleButton,
28549 _swigt__p_wxRadioButton,
28550 _swigt__p_wxChoice,
28551 _swigt__p_wxMemoryDC,
28552 _swigt__p_wxListItemAttr,
28553 _swigt__p_void,
28554 _swigt__p_int,
28555 _swigt__p_wxSize,
28556 _swigt__p_wxDC,
28557 _swigt__p_wxListView,
28558 _swigt__p_wxIcon,
28559 _swigt__p_wxTextCtrl,
28560 _swigt__p_wxNotebook,
28561 _swigt__p_wxNotifyEvent,
28562 _swigt__p_wxArrayString,
28563 _swigt__p_wxListbook,
28564 _swigt__p_wxStaticBitmap,
28565 _swigt__p_wxSlider,
28566 _swigt__p_wxStaticBox,
28567 _swigt__p_wxArrayInt,
28568 _swigt__p_wxContextHelp,
28569 _swigt__p_long,
28570 _swigt__p_wxEvtHandler,
28571 _swigt__p_wxListEvent,
28572 _swigt__p_wxListBox,
28573 _swigt__p_wxCheckListBox,
28574 _swigt__p_wxBookCtrl,
28575 _swigt__p_wxSpinButton,
28576 _swigt__p_wxButton,
28577 _swigt__p_wxBitmapButton,
28578 _swigt__p_wxRect,
28579 _swigt__p_wxContextHelpButton,
28580 _swigt__p_wxRadioBox,
28581 _swigt__p_wxScrollBar,
28582 _swigt__p_wxTreeItemId,
28583 _swigt__p_wxComboBox,
28584 _swigt__p_wxHelpEvent,
28585 _swigt__p_wxListItem,
28586 _swigt__p_wxNotebookSizer,
28587 _swigt__p_wxSpinEvent,
28588 _swigt__p_wxGenericDragImage,
28589 _swigt__p_wxSpinCtrl,
28590 _swigt__p_wxImageList,
28591 _swigt__p_wxHelpProvider,
28592 _swigt__p_wxTextAttr,
28593 _swigt__p_wxSimpleHelpProvider,
28594 _swigt__p_wxPoint,
28595 _swigt__p_wxListbookEvent,
28596 _swigt__p_wxNotebookEvent,
28597 _swigt__p_wxObject,
28598 _swigt__p_wxCursor,
28599 _swigt__p_wxKeyEvent,
28600 _swigt__p_wxWindow,
28601 _swigt__p_wxString,
28602 _swigt__p_wxBitmap,
28603 _swigt__p_wxTreeEvent,
28604 _swigt__p_wxMouseEvent,
28605 _swigt__p_wxCommandEvent,
28606 _swigt__p_wxStaticText,
28607 _swigt__p_wxControlWithItems,
28608 _swigt__p_wxToolBarToolBase,
28609 _swigt__p_wxColour,
28610 _swigt__p_wxToolBar,
28611 _swigt__p_wxBookCtrlSizer,
28612 _swigt__p_wxValidator,
28613 0
28614 };
28615
28616
28617 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28618
28619 static swig_const_info swig_const_table[] = {
28620 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28648 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28649 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28650 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28651 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28652 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28653 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28654 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28655 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28656 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28657 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28658 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28659 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28660 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28661 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28662 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28663 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28664 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28665 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28666 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28667 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28668 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28669 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28670 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28671 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28672 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28673 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28674 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28675 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28676 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28677 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28678 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28679 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28680 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28681 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28682 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28683 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28684 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28685 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28686 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28687 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28688 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28689 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28690 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28691 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28692 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28693 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28694 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28695 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28696 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28697 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28698 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28699 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28700 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28701 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28702 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28703 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28704 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28705 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28706 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28707 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28708 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28709 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28710 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28711 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28712 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28713 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28714 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28715 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28716 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28717 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28718 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28719 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28720 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28721 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28722 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28723 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28724 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28725 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28726 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28727 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28728 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28729 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28730 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28731 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28732 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28733 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28734 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28735 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28736 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28737 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28738 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28739 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28740 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28741 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28742 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28743 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28744 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28745 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28746 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28747 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28748 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28749 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28750 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28751 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28752 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28753 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28754 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28755 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28756 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28757 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28758 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28759 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28760 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28761 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28762 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28763 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28764 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28765 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28766 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28767 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28768 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28769 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28770 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28771 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28772 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28773 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28774 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28775 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28776 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28777 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28778 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28779 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28780 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28781 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28782 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28783 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28784 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28785 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28786 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28787 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28788 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28789 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28790 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28791 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28792 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28793 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28794 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28795 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28796 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28797 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28798 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28799 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28800 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28801 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28802 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28803 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28804 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28805 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28806 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28807 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28808 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28809 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28810 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28811 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28812 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28813 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28814 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28815 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28816 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28817 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28818 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28819 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28820 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28821 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28822 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28823 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28824 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28825 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28826 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28827 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28828 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28829 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28830 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28831 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28832 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28833 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28834 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28835 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28836 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28837 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28838 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28839 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28840 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28841 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28842 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28843 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28844 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28845 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28846 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28847 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28848 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28849 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28850 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28851 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28852 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28853 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28854 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28855 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28856 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28857 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28858 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28859 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28860 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28861 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28862 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28863 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28864 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28865 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28866 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28867 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28868 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28869 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28870 {0}};
28871
28872 #ifdef __cplusplus
28873 }
28874 #endif
28875
28876 #ifdef __cplusplus
28877 extern "C"
28878 #endif
28879 SWIGEXPORT(void) SWIG_init(void) {
28880 static PyObject *SWIG_globals = 0;
28881 static int typeinit = 0;
28882 PyObject *m, *d;
28883 int i;
28884 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28885 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28886 d = PyModule_GetDict(m);
28887
28888 if (!typeinit) {
28889 for (i = 0; swig_types_initial[i]; i++) {
28890 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28891 }
28892 typeinit = 1;
28893 }
28894 SWIG_InstallConstants(d,swig_const_table);
28895
28896 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28897 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28898 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28899 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28900 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28901 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28902 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28903 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28904 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28905 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28906 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28907 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28908 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28909 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28910 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28911 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28912 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28913 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28914 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28915 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28916 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28917 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28918 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28919 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28920 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28921 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28922 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28923 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28924 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28925 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28926 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28927 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28928 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28929 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28930 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28931 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28932 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28933 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28934 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28935 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28936 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28937 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28938 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28939 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28940 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28941 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28942 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28943 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28944 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28945 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28946 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28947 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28948
28949 // Map renamed classes back to their common name for OOR
28950 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28951
28952 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28953 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28954 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28955 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28956 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28957 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28958 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28959 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28960 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28961 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28962 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28963 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28964 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28965 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28966 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28967 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28968 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28969 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28970 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28971 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28972 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28973
28974 // Map renamed classes back to their common name for OOR
28975 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28976 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28977
28978 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28979 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28980 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28981
28982 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28983
28984 }
28985