]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
303
304 #define SWIG_name "_controls_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject *obj)
444 {
445 return PyObject_IsTrue(obj) ? true : false;
446 }
447
448
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject* obj)
451 {
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459 }
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468 #include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479 PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532 }
533
534
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject * obj)
537 {
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547 }
548
549
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject* obj)
552 {
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560 }
561
562 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574 #include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580 #if !wxUSE_TOGGLEBTN
581 // implement dummy items for platforms that don't have this class
582
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585 class wxToggleButton : public wxControl
586 {
587 public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595 };
596 #endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600 SWIGSTATICINLINE(PyObject* )
601 SWIG_FromUnsignedLong(unsigned long value)
602 {
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606 }
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622 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){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629 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){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650 #include <wx/listctrl.h>
651
652 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
653 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
656 int retval = 0;
657 PyObject* func = (PyObject*)funcPtr;
658 bool blocked = wxPyBeginBlockThreads();
659
660 PyObject* args = Py_BuildValue("(ii)", item1, item2);
661 PyObject* result = PyEval_CallObject(func, args);
662 Py_DECREF(args);
663 if (result) {
664 retval = PyInt_AsLong(result);
665 Py_DECREF(result);
666 }
667
668 wxPyEndBlockThreads(blocked);
669 return retval;
670 }
671
672 // C++ Version of a Python aware class
673 class wxPyListCtrl : public wxListCtrl {
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
675 public:
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) :
683 wxListCtrl(parent, id, pos, size, style, validator, name) {}
684
685 bool Create(wxWindow* parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) {
691 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
692 }
693
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
697
698 PYPRIVATE;
699 };
700
701 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
702
703 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
704 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
705 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
706
707 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
708 wxListItem item;
709 item.SetMask( wxLIST_MASK_STATE |
710 wxLIST_MASK_TEXT |
711 wxLIST_MASK_IMAGE |
712 wxLIST_MASK_DATA |
713 wxLIST_SET_ITEM |
714 wxLIST_MASK_WIDTH |
715 wxLIST_MASK_FORMAT
716 );
717 if (self->GetColumn(col, item))
718 return new wxListItem(item);
719 else
720 return NULL;
721 }
722 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
723 wxListItem* info = new wxListItem;
724 info->m_itemId = itemId;
725 info->m_col = col;
726 info->m_mask = 0xFFFF;
727 self->GetItem(*info);
728 return info;
729 }
730 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
731 wxPoint pos;
732 self->GetItemPosition(item, pos);
733 return pos;
734 }
735 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
736 wxRect rect;
737 self->GetItemRect(item, rect, code);
738 return rect;
739 }
740 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
741 if (!PyCallable_Check(func))
742 return False;
743 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
744 }
745 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
746
747
748
749 return (wxWindow*)self->m_mainWin;
750
751 }
752
753 #include <wx/treectrl.h>
754 #include "wx/wxPython/pytree.h"
755
756 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
758 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
759 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
760 // C++ version of Python aware wxTreeCtrl
761 class wxPyTreeCtrl : public wxTreeCtrl {
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
763 public:
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) :
771 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
772
773 bool Create(wxWindow *parent, wxWindowID id,
774 const wxPoint& pos,
775 const wxSize& size,
776 long style,
777 const wxValidator& validator,
778 const wxString& name) {
779 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
780 }
781
782
783 int OnCompareItems(const wxTreeItemId& item1,
784 const wxTreeItemId& item2) {
785 int rval = 0;
786 bool found;
787 bool blocked = wxPyBeginBlockThreads();
788 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
789 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
790 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
791 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
792 Py_DECREF(o1);
793 Py_DECREF(o2);
794 }
795 wxPyEndBlockThreads(blocked);
796 if (! found)
797 rval = wxTreeCtrl::OnCompareItems(item1, item2);
798 return rval;
799 }
800 PYPRIVATE;
801 };
802
803 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
804
805
806
807 #if UINT_MAX < LONG_MAX
808 #define SWIG_FromUnsignedInt SWIG_FromLong
809 #else
810 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
811 #endif
812
813
814 SWIGSTATICINLINE(unsigned long)
815 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
816 unsigned long max_value)
817 {
818 if (!PyErr_Occurred()) {
819 if (value > max_value) {
820 PyObject *err =
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value, type, max_value);
823 PyErr_SetObject(PyExc_OverflowError, err);
824 Py_DECREF(err);
825 }
826 }
827 return value;
828 }
829
830
831 #if UINT_MAX != ULONG_MAX
832 SWIGSTATICINLINE(unsigned int)
833 SWIG_AsUnsignedInt(PyObject *obj)
834 {
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
837 "unsigned int", UINT_MAX));
838 }
839 #else
840 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
841 #endif
842
843
844 SWIGSTATICINLINE(int)
845 SWIG_CheckUnsignedInt(PyObject* obj)
846 {
847 SWIG_AsUnsignedInt(obj);
848 if (PyErr_Occurred()) {
849 PyErr_Clear();
850 return 0;
851 } else {
852 return 1;
853 }
854 }
855
856 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
857 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
858 if (data == NULL) {
859 data = new wxPyTreeItemData();
860 data->SetId(item); // set the id
861 self->SetItemData(item, data);
862 }
863 return data;
864 }
865 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
866 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
867 if (data == NULL) {
868 data = new wxPyTreeItemData();
869 data->SetId(item); // set the id
870 self->SetItemData(item, data);
871 }
872 return data->GetData();
873 }
874 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
875 data->SetId(item); // set the id
876 self->SetItemData(item, data);
877 }
878 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
879 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
880 if (data == NULL) {
881 data = new wxPyTreeItemData(obj);
882 data->SetId(item); // set the id
883 self->SetItemData(item, data);
884 } else
885 data->SetData(obj);
886 }
887 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
888 bool blocked = wxPyBeginBlockThreads();
889 PyObject* rval = PyList_New(0);
890 wxArrayTreeItemIds array;
891 size_t num, x;
892 num = self->GetSelections(array);
893 for (x=0; x < num; x++) {
894 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
895 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
896 PyList_Append(rval, item);
897 Py_DECREF(item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935 class wxPyControl : public wxControl
936 {
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938 public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
949
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
954
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
958
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
961
962 DEC_PYCALLBACK__(InitDialog);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
965 DEC_PYCALLBACK_BOOL_(Validate);
966
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
970
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
973
974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
977
978 PYPRIVATE;
979 };
980
981 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
982
983 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
984 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
985 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
987
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
991
992 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
994
995 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
997 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
999
1000 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1002 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1003
1004 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1006
1007 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
1008 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1009 IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
1010
1011
1012
1013 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015 #include <wx/generic/dragimgg.h>
1016
1017 #ifdef __cplusplus
1018 extern "C" {
1019 #endif
1020 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023 }
1024
1025
1026 static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030 #if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032 #else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034 #endif
1035 }
1036 return pyobj;
1037 }
1038
1039
1040 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
1043 int arg2 ;
1044 wxString *arg3 = 0 ;
1045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1047 wxSize const &arg5_defvalue = wxDefaultSize ;
1048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1049 long arg6 = (long) 0 ;
1050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1052 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1053 wxString *arg8 = (wxString *) &arg8_defvalue ;
1054 wxButton *result;
1055 bool temp3 = False ;
1056 wxPoint temp4 ;
1057 wxSize temp5 ;
1058 bool temp8 = False ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061 PyObject * obj2 = 0 ;
1062 PyObject * obj3 = 0 ;
1063 PyObject * obj4 = 0 ;
1064 PyObject * obj5 = 0 ;
1065 PyObject * obj6 = 0 ;
1066 PyObject * obj7 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1074 arg2 = (int) SWIG_AsInt(obj1);
1075 if (PyErr_Occurred()) SWIG_fail;
1076 {
1077 arg3 = wxString_in_helper(obj2);
1078 if (arg3 == NULL) SWIG_fail;
1079 temp3 = True;
1080 }
1081 if (obj3) {
1082 {
1083 arg4 = &temp4;
1084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1085 }
1086 }
1087 if (obj4) {
1088 {
1089 arg5 = &temp5;
1090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1091 }
1092 }
1093 if (obj5) {
1094 arg6 = (long) SWIG_AsLong(obj5);
1095 if (PyErr_Occurred()) SWIG_fail;
1096 }
1097 if (obj6) {
1098 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1099 SWIG_POINTER_EXCEPTION | 0)) == -1)
1100 SWIG_fail;
1101 if (arg7 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference");
1103 SWIG_fail;
1104 }
1105 }
1106 if (obj7) {
1107 {
1108 arg8 = wxString_in_helper(obj7);
1109 if (arg8 == NULL) SWIG_fail;
1110 temp8 = True;
1111 }
1112 }
1113 {
1114 if (!wxPyCheckForApp()) SWIG_fail;
1115 PyThreadState* __tstate = wxPyBeginAllowThreads();
1116 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1117
1118 wxPyEndAllowThreads(__tstate);
1119 if (PyErr_Occurred()) SWIG_fail;
1120 }
1121 {
1122 resultobj = wxPyMake_wxObject(result);
1123 }
1124 {
1125 if (temp3)
1126 delete arg3;
1127 }
1128 {
1129 if (temp8)
1130 delete arg8;
1131 }
1132 return resultobj;
1133 fail:
1134 {
1135 if (temp3)
1136 delete arg3;
1137 }
1138 {
1139 if (temp8)
1140 delete arg8;
1141 }
1142 return NULL;
1143 }
1144
1145
1146 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1147 PyObject *resultobj;
1148 wxButton *result;
1149 char *kwnames[] = {
1150 NULL
1151 };
1152
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1154 {
1155 if (!wxPyCheckForApp()) SWIG_fail;
1156 PyThreadState* __tstate = wxPyBeginAllowThreads();
1157 result = (wxButton *)new wxButton();
1158
1159 wxPyEndAllowThreads(__tstate);
1160 if (PyErr_Occurred()) SWIG_fail;
1161 }
1162 {
1163 resultobj = wxPyMake_wxObject(result);
1164 }
1165 return resultobj;
1166 fail:
1167 return NULL;
1168 }
1169
1170
1171 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject *resultobj;
1173 wxButton *arg1 = (wxButton *) 0 ;
1174 wxWindow *arg2 = (wxWindow *) 0 ;
1175 int arg3 ;
1176 wxString *arg4 = 0 ;
1177 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1178 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1179 wxSize const &arg6_defvalue = wxDefaultSize ;
1180 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1181 long arg7 = (long) 0 ;
1182 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1183 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1184 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1185 wxString *arg9 = (wxString *) &arg9_defvalue ;
1186 bool result;
1187 bool temp4 = False ;
1188 wxPoint temp5 ;
1189 wxSize temp6 ;
1190 bool temp9 = False ;
1191 PyObject * obj0 = 0 ;
1192 PyObject * obj1 = 0 ;
1193 PyObject * obj2 = 0 ;
1194 PyObject * obj3 = 0 ;
1195 PyObject * obj4 = 0 ;
1196 PyObject * obj5 = 0 ;
1197 PyObject * obj6 = 0 ;
1198 PyObject * obj7 = 0 ;
1199 PyObject * obj8 = 0 ;
1200 char *kwnames[] = {
1201 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1202 };
1203
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1209 arg3 = (int) SWIG_AsInt(obj2);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 {
1212 arg4 = wxString_in_helper(obj3);
1213 if (arg4 == NULL) SWIG_fail;
1214 temp4 = True;
1215 }
1216 if (obj4) {
1217 {
1218 arg5 = &temp5;
1219 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1220 }
1221 }
1222 if (obj5) {
1223 {
1224 arg6 = &temp6;
1225 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1226 }
1227 }
1228 if (obj6) {
1229 arg7 = (long) SWIG_AsLong(obj6);
1230 if (PyErr_Occurred()) SWIG_fail;
1231 }
1232 if (obj7) {
1233 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1234 SWIG_POINTER_EXCEPTION | 0)) == -1)
1235 SWIG_fail;
1236 if (arg8 == NULL) {
1237 PyErr_SetString(PyExc_TypeError,"null reference");
1238 SWIG_fail;
1239 }
1240 }
1241 if (obj8) {
1242 {
1243 arg9 = wxString_in_helper(obj8);
1244 if (arg9 == NULL) SWIG_fail;
1245 temp9 = True;
1246 }
1247 }
1248 {
1249 PyThreadState* __tstate = wxPyBeginAllowThreads();
1250 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1251
1252 wxPyEndAllowThreads(__tstate);
1253 if (PyErr_Occurred()) SWIG_fail;
1254 }
1255 {
1256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1257 }
1258 {
1259 if (temp4)
1260 delete arg4;
1261 }
1262 {
1263 if (temp9)
1264 delete arg9;
1265 }
1266 return resultobj;
1267 fail:
1268 {
1269 if (temp4)
1270 delete arg4;
1271 }
1272 {
1273 if (temp9)
1274 delete arg9;
1275 }
1276 return NULL;
1277 }
1278
1279
1280 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1281 PyObject *resultobj;
1282 wxButton *arg1 = (wxButton *) 0 ;
1283 PyObject * obj0 = 0 ;
1284 char *kwnames[] = {
1285 (char *) "self", NULL
1286 };
1287
1288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1291 {
1292 PyThreadState* __tstate = wxPyBeginAllowThreads();
1293 (arg1)->SetDefault();
1294
1295 wxPyEndAllowThreads(__tstate);
1296 if (PyErr_Occurred()) SWIG_fail;
1297 }
1298 Py_INCREF(Py_None); resultobj = Py_None;
1299 return resultobj;
1300 fail:
1301 return NULL;
1302 }
1303
1304
1305 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1306 PyObject *resultobj;
1307 wxSize result;
1308 char *kwnames[] = {
1309 NULL
1310 };
1311
1312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1313 {
1314 PyThreadState* __tstate = wxPyBeginAllowThreads();
1315 result = wxButton::GetDefaultSize();
1316
1317 wxPyEndAllowThreads(__tstate);
1318 if (PyErr_Occurred()) SWIG_fail;
1319 }
1320 {
1321 wxSize * resultptr;
1322 resultptr = new wxSize((wxSize &) result);
1323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1324 }
1325 return resultobj;
1326 fail:
1327 return NULL;
1328 }
1329
1330
1331 static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1332 PyObject *resultobj;
1333 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1334 wxVisualAttributes result;
1335 PyObject * obj0 = 0 ;
1336 char *kwnames[] = {
1337 (char *) "variant", NULL
1338 };
1339
1340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1341 if (obj0) {
1342 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1343 if (PyErr_Occurred()) SWIG_fail;
1344 }
1345 {
1346 if (!wxPyCheckForApp()) SWIG_fail;
1347 PyThreadState* __tstate = wxPyBeginAllowThreads();
1348 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1349
1350 wxPyEndAllowThreads(__tstate);
1351 if (PyErr_Occurred()) SWIG_fail;
1352 }
1353 {
1354 wxVisualAttributes * resultptr;
1355 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1356 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1357 }
1358 return resultobj;
1359 fail:
1360 return NULL;
1361 }
1362
1363
1364 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1365 PyObject *obj;
1366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1367 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1368 Py_INCREF(obj);
1369 return Py_BuildValue((char *)"");
1370 }
1371 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1372 PyObject *resultobj;
1373 wxWindow *arg1 = (wxWindow *) 0 ;
1374 int arg2 ;
1375 wxBitmap *arg3 = 0 ;
1376 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1377 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1378 wxSize const &arg5_defvalue = wxDefaultSize ;
1379 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1380 long arg6 = (long) wxBU_AUTODRAW ;
1381 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1382 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1383 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1384 wxString *arg8 = (wxString *) &arg8_defvalue ;
1385 wxBitmapButton *result;
1386 wxPoint temp4 ;
1387 wxSize temp5 ;
1388 bool temp8 = False ;
1389 PyObject * obj0 = 0 ;
1390 PyObject * obj1 = 0 ;
1391 PyObject * obj2 = 0 ;
1392 PyObject * obj3 = 0 ;
1393 PyObject * obj4 = 0 ;
1394 PyObject * obj5 = 0 ;
1395 PyObject * obj6 = 0 ;
1396 PyObject * obj7 = 0 ;
1397 char *kwnames[] = {
1398 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1399 };
1400
1401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1404 arg2 = (int) SWIG_AsInt(obj1);
1405 if (PyErr_Occurred()) SWIG_fail;
1406 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1407 SWIG_POINTER_EXCEPTION | 0)) == -1)
1408 SWIG_fail;
1409 if (arg3 == NULL) {
1410 PyErr_SetString(PyExc_TypeError,"null reference");
1411 SWIG_fail;
1412 }
1413 if (obj3) {
1414 {
1415 arg4 = &temp4;
1416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1417 }
1418 }
1419 if (obj4) {
1420 {
1421 arg5 = &temp5;
1422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1423 }
1424 }
1425 if (obj5) {
1426 arg6 = (long) SWIG_AsLong(obj5);
1427 if (PyErr_Occurred()) SWIG_fail;
1428 }
1429 if (obj6) {
1430 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1431 SWIG_POINTER_EXCEPTION | 0)) == -1)
1432 SWIG_fail;
1433 if (arg7 == NULL) {
1434 PyErr_SetString(PyExc_TypeError,"null reference");
1435 SWIG_fail;
1436 }
1437 }
1438 if (obj7) {
1439 {
1440 arg8 = wxString_in_helper(obj7);
1441 if (arg8 == NULL) SWIG_fail;
1442 temp8 = True;
1443 }
1444 }
1445 {
1446 if (!wxPyCheckForApp()) SWIG_fail;
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 {
1454 resultobj = wxPyMake_wxObject(result);
1455 }
1456 {
1457 if (temp8)
1458 delete arg8;
1459 }
1460 return resultobj;
1461 fail:
1462 {
1463 if (temp8)
1464 delete arg8;
1465 }
1466 return NULL;
1467 }
1468
1469
1470 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject *resultobj;
1472 wxBitmapButton *result;
1473 char *kwnames[] = {
1474 NULL
1475 };
1476
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1478 {
1479 if (!wxPyCheckForApp()) SWIG_fail;
1480 PyThreadState* __tstate = wxPyBeginAllowThreads();
1481 result = (wxBitmapButton *)new wxBitmapButton();
1482
1483 wxPyEndAllowThreads(__tstate);
1484 if (PyErr_Occurred()) SWIG_fail;
1485 }
1486 {
1487 resultobj = wxPyMake_wxObject(result);
1488 }
1489 return resultobj;
1490 fail:
1491 return NULL;
1492 }
1493
1494
1495 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1496 PyObject *resultobj;
1497 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1498 wxWindow *arg2 = (wxWindow *) 0 ;
1499 int arg3 ;
1500 wxBitmap *arg4 = 0 ;
1501 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1502 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1503 wxSize const &arg6_defvalue = wxDefaultSize ;
1504 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1505 long arg7 = (long) wxBU_AUTODRAW ;
1506 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1507 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1508 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1509 wxString *arg9 = (wxString *) &arg9_defvalue ;
1510 bool result;
1511 wxPoint temp5 ;
1512 wxSize temp6 ;
1513 bool temp9 = False ;
1514 PyObject * obj0 = 0 ;
1515 PyObject * obj1 = 0 ;
1516 PyObject * obj2 = 0 ;
1517 PyObject * obj3 = 0 ;
1518 PyObject * obj4 = 0 ;
1519 PyObject * obj5 = 0 ;
1520 PyObject * obj6 = 0 ;
1521 PyObject * obj7 = 0 ;
1522 PyObject * obj8 = 0 ;
1523 char *kwnames[] = {
1524 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1525 };
1526
1527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1530 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1532 arg3 = (int) SWIG_AsInt(obj2);
1533 if (PyErr_Occurred()) SWIG_fail;
1534 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1535 SWIG_POINTER_EXCEPTION | 0)) == -1)
1536 SWIG_fail;
1537 if (arg4 == NULL) {
1538 PyErr_SetString(PyExc_TypeError,"null reference");
1539 SWIG_fail;
1540 }
1541 if (obj4) {
1542 {
1543 arg5 = &temp5;
1544 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1545 }
1546 }
1547 if (obj5) {
1548 {
1549 arg6 = &temp6;
1550 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1551 }
1552 }
1553 if (obj6) {
1554 arg7 = (long) SWIG_AsLong(obj6);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 if (obj7) {
1558 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1559 SWIG_POINTER_EXCEPTION | 0)) == -1)
1560 SWIG_fail;
1561 if (arg8 == NULL) {
1562 PyErr_SetString(PyExc_TypeError,"null reference");
1563 SWIG_fail;
1564 }
1565 }
1566 if (obj8) {
1567 {
1568 arg9 = wxString_in_helper(obj8);
1569 if (arg9 == NULL) SWIG_fail;
1570 temp9 = True;
1571 }
1572 }
1573 {
1574 PyThreadState* __tstate = wxPyBeginAllowThreads();
1575 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1576
1577 wxPyEndAllowThreads(__tstate);
1578 if (PyErr_Occurred()) SWIG_fail;
1579 }
1580 {
1581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1582 }
1583 {
1584 if (temp9)
1585 delete arg9;
1586 }
1587 return resultobj;
1588 fail:
1589 {
1590 if (temp9)
1591 delete arg9;
1592 }
1593 return NULL;
1594 }
1595
1596
1597 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1600 wxBitmap result;
1601 PyObject * obj0 = 0 ;
1602 char *kwnames[] = {
1603 (char *) "self", NULL
1604 };
1605
1606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1609 {
1610 PyThreadState* __tstate = wxPyBeginAllowThreads();
1611 result = (arg1)->GetBitmapLabel();
1612
1613 wxPyEndAllowThreads(__tstate);
1614 if (PyErr_Occurred()) SWIG_fail;
1615 }
1616 {
1617 wxBitmap * resultptr;
1618 resultptr = new wxBitmap((wxBitmap &) result);
1619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1620 }
1621 return resultobj;
1622 fail:
1623 return NULL;
1624 }
1625
1626
1627 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1628 PyObject *resultobj;
1629 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1630 wxBitmap result;
1631 PyObject * obj0 = 0 ;
1632 char *kwnames[] = {
1633 (char *) "self", NULL
1634 };
1635
1636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1639 {
1640 PyThreadState* __tstate = wxPyBeginAllowThreads();
1641 result = (arg1)->GetBitmapDisabled();
1642
1643 wxPyEndAllowThreads(__tstate);
1644 if (PyErr_Occurred()) SWIG_fail;
1645 }
1646 {
1647 wxBitmap * resultptr;
1648 resultptr = new wxBitmap((wxBitmap &) result);
1649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1650 }
1651 return resultobj;
1652 fail:
1653 return NULL;
1654 }
1655
1656
1657 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1658 PyObject *resultobj;
1659 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1660 wxBitmap result;
1661 PyObject * obj0 = 0 ;
1662 char *kwnames[] = {
1663 (char *) "self", NULL
1664 };
1665
1666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1669 {
1670 PyThreadState* __tstate = wxPyBeginAllowThreads();
1671 result = (arg1)->GetBitmapFocus();
1672
1673 wxPyEndAllowThreads(__tstate);
1674 if (PyErr_Occurred()) SWIG_fail;
1675 }
1676 {
1677 wxBitmap * resultptr;
1678 resultptr = new wxBitmap((wxBitmap &) result);
1679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1680 }
1681 return resultobj;
1682 fail:
1683 return NULL;
1684 }
1685
1686
1687 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1688 PyObject *resultobj;
1689 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1690 wxBitmap result;
1691 PyObject * obj0 = 0 ;
1692 char *kwnames[] = {
1693 (char *) "self", NULL
1694 };
1695
1696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 result = (arg1)->GetBitmapSelected();
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 {
1707 wxBitmap * resultptr;
1708 resultptr = new wxBitmap((wxBitmap &) result);
1709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1710 }
1711 return resultobj;
1712 fail:
1713 return NULL;
1714 }
1715
1716
1717 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1718 PyObject *resultobj;
1719 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1720 wxBitmap *arg2 = 0 ;
1721 PyObject * obj0 = 0 ;
1722 PyObject * obj1 = 0 ;
1723 char *kwnames[] = {
1724 (char *) "self",(char *) "bitmap", NULL
1725 };
1726
1727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1730 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1731 SWIG_POINTER_EXCEPTION | 0)) == -1)
1732 SWIG_fail;
1733 if (arg2 == NULL) {
1734 PyErr_SetString(PyExc_TypeError,"null reference");
1735 SWIG_fail;
1736 }
1737 {
1738 PyThreadState* __tstate = wxPyBeginAllowThreads();
1739 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1740
1741 wxPyEndAllowThreads(__tstate);
1742 if (PyErr_Occurred()) SWIG_fail;
1743 }
1744 Py_INCREF(Py_None); resultobj = Py_None;
1745 return resultobj;
1746 fail:
1747 return NULL;
1748 }
1749
1750
1751 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1752 PyObject *resultobj;
1753 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1754 wxBitmap *arg2 = 0 ;
1755 PyObject * obj0 = 0 ;
1756 PyObject * obj1 = 0 ;
1757 char *kwnames[] = {
1758 (char *) "self",(char *) "bitmap", NULL
1759 };
1760
1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1765 SWIG_POINTER_EXCEPTION | 0)) == -1)
1766 SWIG_fail;
1767 if (arg2 == NULL) {
1768 PyErr_SetString(PyExc_TypeError,"null reference");
1769 SWIG_fail;
1770 }
1771 {
1772 PyThreadState* __tstate = wxPyBeginAllowThreads();
1773 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1774
1775 wxPyEndAllowThreads(__tstate);
1776 if (PyErr_Occurred()) SWIG_fail;
1777 }
1778 Py_INCREF(Py_None); resultobj = Py_None;
1779 return resultobj;
1780 fail:
1781 return NULL;
1782 }
1783
1784
1785 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1786 PyObject *resultobj;
1787 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1788 wxBitmap *arg2 = 0 ;
1789 PyObject * obj0 = 0 ;
1790 PyObject * obj1 = 0 ;
1791 char *kwnames[] = {
1792 (char *) "self",(char *) "bitmap", NULL
1793 };
1794
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1799 SWIG_POINTER_EXCEPTION | 0)) == -1)
1800 SWIG_fail;
1801 if (arg2 == NULL) {
1802 PyErr_SetString(PyExc_TypeError,"null reference");
1803 SWIG_fail;
1804 }
1805 {
1806 PyThreadState* __tstate = wxPyBeginAllowThreads();
1807 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1808
1809 wxPyEndAllowThreads(__tstate);
1810 if (PyErr_Occurred()) SWIG_fail;
1811 }
1812 Py_INCREF(Py_None); resultobj = Py_None;
1813 return resultobj;
1814 fail:
1815 return NULL;
1816 }
1817
1818
1819 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1820 PyObject *resultobj;
1821 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1822 wxBitmap *arg2 = 0 ;
1823 PyObject * obj0 = 0 ;
1824 PyObject * obj1 = 0 ;
1825 char *kwnames[] = {
1826 (char *) "self",(char *) "bitmap", NULL
1827 };
1828
1829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1832 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1833 SWIG_POINTER_EXCEPTION | 0)) == -1)
1834 SWIG_fail;
1835 if (arg2 == NULL) {
1836 PyErr_SetString(PyExc_TypeError,"null reference");
1837 SWIG_fail;
1838 }
1839 {
1840 PyThreadState* __tstate = wxPyBeginAllowThreads();
1841 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1842
1843 wxPyEndAllowThreads(__tstate);
1844 if (PyErr_Occurred()) SWIG_fail;
1845 }
1846 Py_INCREF(Py_None); resultobj = Py_None;
1847 return resultobj;
1848 fail:
1849 return NULL;
1850 }
1851
1852
1853 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1854 PyObject *resultobj;
1855 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1856 int arg2 ;
1857 int arg3 ;
1858 PyObject * obj0 = 0 ;
1859 PyObject * obj1 = 0 ;
1860 PyObject * obj2 = 0 ;
1861 char *kwnames[] = {
1862 (char *) "self",(char *) "x",(char *) "y", NULL
1863 };
1864
1865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1868 arg2 = (int) SWIG_AsInt(obj1);
1869 if (PyErr_Occurred()) SWIG_fail;
1870 arg3 = (int) SWIG_AsInt(obj2);
1871 if (PyErr_Occurred()) SWIG_fail;
1872 {
1873 PyThreadState* __tstate = wxPyBeginAllowThreads();
1874 (arg1)->SetMargins(arg2,arg3);
1875
1876 wxPyEndAllowThreads(__tstate);
1877 if (PyErr_Occurred()) SWIG_fail;
1878 }
1879 Py_INCREF(Py_None); resultobj = Py_None;
1880 return resultobj;
1881 fail:
1882 return NULL;
1883 }
1884
1885
1886 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject *resultobj;
1888 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1889 int result;
1890 PyObject * obj0 = 0 ;
1891 char *kwnames[] = {
1892 (char *) "self", NULL
1893 };
1894
1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1898 {
1899 PyThreadState* __tstate = wxPyBeginAllowThreads();
1900 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1901
1902 wxPyEndAllowThreads(__tstate);
1903 if (PyErr_Occurred()) SWIG_fail;
1904 }
1905 resultobj = SWIG_FromInt((int)result);
1906 return resultobj;
1907 fail:
1908 return NULL;
1909 }
1910
1911
1912 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1913 PyObject *resultobj;
1914 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1915 int result;
1916 PyObject * obj0 = 0 ;
1917 char *kwnames[] = {
1918 (char *) "self", NULL
1919 };
1920
1921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1924 {
1925 PyThreadState* __tstate = wxPyBeginAllowThreads();
1926 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1927
1928 wxPyEndAllowThreads(__tstate);
1929 if (PyErr_Occurred()) SWIG_fail;
1930 }
1931 resultobj = SWIG_FromInt((int)result);
1932 return resultobj;
1933 fail:
1934 return NULL;
1935 }
1936
1937
1938 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1939 PyObject *obj;
1940 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1941 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1942 Py_INCREF(obj);
1943 return Py_BuildValue((char *)"");
1944 }
1945 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1946 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1947 return 1;
1948 }
1949
1950
1951 static PyObject *_wrap_CheckBoxNameStr_get() {
1952 PyObject *pyobj;
1953
1954 {
1955 #if wxUSE_UNICODE
1956 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1957 #else
1958 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1959 #endif
1960 }
1961 return pyobj;
1962 }
1963
1964
1965 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1966 PyObject *resultobj;
1967 wxWindow *arg1 = (wxWindow *) 0 ;
1968 int arg2 ;
1969 wxString *arg3 = 0 ;
1970 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1971 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1972 wxSize const &arg5_defvalue = wxDefaultSize ;
1973 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1974 long arg6 = (long) 0 ;
1975 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1976 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1977 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1978 wxString *arg8 = (wxString *) &arg8_defvalue ;
1979 wxCheckBox *result;
1980 bool temp3 = False ;
1981 wxPoint temp4 ;
1982 wxSize temp5 ;
1983 bool temp8 = False ;
1984 PyObject * obj0 = 0 ;
1985 PyObject * obj1 = 0 ;
1986 PyObject * obj2 = 0 ;
1987 PyObject * obj3 = 0 ;
1988 PyObject * obj4 = 0 ;
1989 PyObject * obj5 = 0 ;
1990 PyObject * obj6 = 0 ;
1991 PyObject * obj7 = 0 ;
1992 char *kwnames[] = {
1993 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1994 };
1995
1996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1999 arg2 = (int) SWIG_AsInt(obj1);
2000 if (PyErr_Occurred()) SWIG_fail;
2001 {
2002 arg3 = wxString_in_helper(obj2);
2003 if (arg3 == NULL) SWIG_fail;
2004 temp3 = True;
2005 }
2006 if (obj3) {
2007 {
2008 arg4 = &temp4;
2009 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2010 }
2011 }
2012 if (obj4) {
2013 {
2014 arg5 = &temp5;
2015 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2016 }
2017 }
2018 if (obj5) {
2019 arg6 = (long) SWIG_AsLong(obj5);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 if (obj6) {
2023 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1)
2025 SWIG_fail;
2026 if (arg7 == NULL) {
2027 PyErr_SetString(PyExc_TypeError,"null reference");
2028 SWIG_fail;
2029 }
2030 }
2031 if (obj7) {
2032 {
2033 arg8 = wxString_in_helper(obj7);
2034 if (arg8 == NULL) SWIG_fail;
2035 temp8 = True;
2036 }
2037 }
2038 {
2039 if (!wxPyCheckForApp()) SWIG_fail;
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2047 {
2048 if (temp3)
2049 delete arg3;
2050 }
2051 {
2052 if (temp8)
2053 delete arg8;
2054 }
2055 return resultobj;
2056 fail:
2057 {
2058 if (temp3)
2059 delete arg3;
2060 }
2061 {
2062 if (temp8)
2063 delete arg8;
2064 }
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxCheckBox *result;
2072 char *kwnames[] = {
2073 NULL
2074 };
2075
2076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2077 {
2078 if (!wxPyCheckForApp()) SWIG_fail;
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (wxCheckBox *)new wxCheckBox();
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2086 return resultobj;
2087 fail:
2088 return NULL;
2089 }
2090
2091
2092 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2093 PyObject *resultobj;
2094 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2095 wxWindow *arg2 = (wxWindow *) 0 ;
2096 int arg3 ;
2097 wxString *arg4 = 0 ;
2098 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2099 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2100 wxSize const &arg6_defvalue = wxDefaultSize ;
2101 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2102 long arg7 = (long) 0 ;
2103 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2104 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2105 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2106 wxString *arg9 = (wxString *) &arg9_defvalue ;
2107 bool result;
2108 bool temp4 = False ;
2109 wxPoint temp5 ;
2110 wxSize temp6 ;
2111 bool temp9 = False ;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114 PyObject * obj2 = 0 ;
2115 PyObject * obj3 = 0 ;
2116 PyObject * obj4 = 0 ;
2117 PyObject * obj5 = 0 ;
2118 PyObject * obj6 = 0 ;
2119 PyObject * obj7 = 0 ;
2120 PyObject * obj8 = 0 ;
2121 char *kwnames[] = {
2122 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2130 arg3 = (int) SWIG_AsInt(obj2);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 {
2133 arg4 = wxString_in_helper(obj3);
2134 if (arg4 == NULL) SWIG_fail;
2135 temp4 = True;
2136 }
2137 if (obj4) {
2138 {
2139 arg5 = &temp5;
2140 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2141 }
2142 }
2143 if (obj5) {
2144 {
2145 arg6 = &temp6;
2146 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2147 }
2148 }
2149 if (obj6) {
2150 arg7 = (long) SWIG_AsLong(obj6);
2151 if (PyErr_Occurred()) SWIG_fail;
2152 }
2153 if (obj7) {
2154 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1)
2156 SWIG_fail;
2157 if (arg8 == NULL) {
2158 PyErr_SetString(PyExc_TypeError,"null reference");
2159 SWIG_fail;
2160 }
2161 }
2162 if (obj8) {
2163 {
2164 arg9 = wxString_in_helper(obj8);
2165 if (arg9 == NULL) SWIG_fail;
2166 temp9 = True;
2167 }
2168 }
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 {
2177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2178 }
2179 {
2180 if (temp4)
2181 delete arg4;
2182 }
2183 {
2184 if (temp9)
2185 delete arg9;
2186 }
2187 return resultobj;
2188 fail:
2189 {
2190 if (temp4)
2191 delete arg4;
2192 }
2193 {
2194 if (temp9)
2195 delete arg9;
2196 }
2197 return NULL;
2198 }
2199
2200
2201 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2202 PyObject *resultobj;
2203 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2204 bool result;
2205 PyObject * obj0 = 0 ;
2206 char *kwnames[] = {
2207 (char *) "self", NULL
2208 };
2209
2210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 result = (bool)(arg1)->GetValue();
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 {
2221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2222 }
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2232 bool result;
2233 PyObject * obj0 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "self", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2241 {
2242 PyThreadState* __tstate = wxPyBeginAllowThreads();
2243 result = (bool)(arg1)->IsChecked();
2244
2245 wxPyEndAllowThreads(__tstate);
2246 if (PyErr_Occurred()) SWIG_fail;
2247 }
2248 {
2249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2250 }
2251 return resultobj;
2252 fail:
2253 return NULL;
2254 }
2255
2256
2257 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2258 PyObject *resultobj;
2259 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2260 bool arg2 ;
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
2263 char *kwnames[] = {
2264 (char *) "self",(char *) "state", NULL
2265 };
2266
2267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2270 arg2 = (bool const) SWIG_AsBool(obj1);
2271 if (PyErr_Occurred()) SWIG_fail;
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 (arg1)->SetValue(arg2);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 Py_INCREF(Py_None); resultobj = Py_None;
2280 return resultobj;
2281 fail:
2282 return NULL;
2283 }
2284
2285
2286 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2287 PyObject *resultobj;
2288 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2289 int result;
2290 PyObject * obj0 = 0 ;
2291 char *kwnames[] = {
2292 (char *) "self", NULL
2293 };
2294
2295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2298 {
2299 PyThreadState* __tstate = wxPyBeginAllowThreads();
2300 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2301
2302 wxPyEndAllowThreads(__tstate);
2303 if (PyErr_Occurred()) SWIG_fail;
2304 }
2305 resultobj = SWIG_FromInt((int)result);
2306 return resultobj;
2307 fail:
2308 return NULL;
2309 }
2310
2311
2312 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2313 PyObject *resultobj;
2314 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2315 int arg2 ;
2316 PyObject * obj0 = 0 ;
2317 PyObject * obj1 = 0 ;
2318 char *kwnames[] = {
2319 (char *) "self",(char *) "state", NULL
2320 };
2321
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2325 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2326 if (PyErr_Occurred()) SWIG_fail;
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 return resultobj;
2336 fail:
2337 return NULL;
2338 }
2339
2340
2341 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2342 PyObject *resultobj;
2343 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2344 bool result;
2345 PyObject * obj0 = 0 ;
2346 char *kwnames[] = {
2347 (char *) "self", NULL
2348 };
2349
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2353 {
2354 PyThreadState* __tstate = wxPyBeginAllowThreads();
2355 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2356
2357 wxPyEndAllowThreads(__tstate);
2358 if (PyErr_Occurred()) SWIG_fail;
2359 }
2360 {
2361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2362 }
2363 return resultobj;
2364 fail:
2365 return NULL;
2366 }
2367
2368
2369 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2370 PyObject *resultobj;
2371 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2372 bool result;
2373 PyObject * obj0 = 0 ;
2374 char *kwnames[] = {
2375 (char *) "self", NULL
2376 };
2377
2378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2381 {
2382 PyThreadState* __tstate = wxPyBeginAllowThreads();
2383 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2384
2385 wxPyEndAllowThreads(__tstate);
2386 if (PyErr_Occurred()) SWIG_fail;
2387 }
2388 {
2389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2390 }
2391 return resultobj;
2392 fail:
2393 return NULL;
2394 }
2395
2396
2397 static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2400 wxVisualAttributes result;
2401 PyObject * obj0 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "variant", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2407 if (obj0) {
2408 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 if (!wxPyCheckForApp()) SWIG_fail;
2413 PyThreadState* __tstate = wxPyBeginAllowThreads();
2414 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2415
2416 wxPyEndAllowThreads(__tstate);
2417 if (PyErr_Occurred()) SWIG_fail;
2418 }
2419 {
2420 wxVisualAttributes * resultptr;
2421 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2422 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2423 }
2424 return resultobj;
2425 fail:
2426 return NULL;
2427 }
2428
2429
2430 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2431 PyObject *obj;
2432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2433 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2434 Py_INCREF(obj);
2435 return Py_BuildValue((char *)"");
2436 }
2437 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2438 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2439 return 1;
2440 }
2441
2442
2443 static PyObject *_wrap_ChoiceNameStr_get() {
2444 PyObject *pyobj;
2445
2446 {
2447 #if wxUSE_UNICODE
2448 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2449 #else
2450 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2451 #endif
2452 }
2453 return pyobj;
2454 }
2455
2456
2457 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxWindow *arg1 = (wxWindow *) 0 ;
2460 int arg2 = (int) -1 ;
2461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2463 wxSize const &arg4_defvalue = wxDefaultSize ;
2464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2465 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2466 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2467 long arg6 = (long) 0 ;
2468 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2469 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2470 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2471 wxString *arg8 = (wxString *) &arg8_defvalue ;
2472 wxChoice *result;
2473 wxPoint temp3 ;
2474 wxSize temp4 ;
2475 bool temp5 = False ;
2476 bool temp8 = False ;
2477 PyObject * obj0 = 0 ;
2478 PyObject * obj1 = 0 ;
2479 PyObject * obj2 = 0 ;
2480 PyObject * obj3 = 0 ;
2481 PyObject * obj4 = 0 ;
2482 PyObject * obj5 = 0 ;
2483 PyObject * obj6 = 0 ;
2484 PyObject * obj7 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2492 if (obj1) {
2493 arg2 = (int) SWIG_AsInt(obj1);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 if (obj2) {
2497 {
2498 arg3 = &temp3;
2499 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2500 }
2501 }
2502 if (obj3) {
2503 {
2504 arg4 = &temp4;
2505 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2506 }
2507 }
2508 if (obj4) {
2509 {
2510 if (! PySequence_Check(obj4)) {
2511 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2512 SWIG_fail;
2513 }
2514 arg5 = new wxArrayString;
2515 temp5 = True;
2516 int i, len=PySequence_Length(obj4);
2517 for (i=0; i<len; i++) {
2518 PyObject* item = PySequence_GetItem(obj4, i);
2519 #if wxUSE_UNICODE
2520 PyObject* str = PyObject_Unicode(item);
2521 #else
2522 PyObject* str = PyObject_Str(item);
2523 #endif
2524 if (PyErr_Occurred()) SWIG_fail;
2525 arg5->Add(Py2wxString(str));
2526 Py_DECREF(item);
2527 Py_DECREF(str);
2528 }
2529 }
2530 }
2531 if (obj5) {
2532 arg6 = (long) SWIG_AsLong(obj5);
2533 if (PyErr_Occurred()) SWIG_fail;
2534 }
2535 if (obj6) {
2536 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2537 SWIG_POINTER_EXCEPTION | 0)) == -1)
2538 SWIG_fail;
2539 if (arg7 == NULL) {
2540 PyErr_SetString(PyExc_TypeError,"null reference");
2541 SWIG_fail;
2542 }
2543 }
2544 if (obj7) {
2545 {
2546 arg8 = wxString_in_helper(obj7);
2547 if (arg8 == NULL) SWIG_fail;
2548 temp8 = True;
2549 }
2550 }
2551 {
2552 if (!wxPyCheckForApp()) SWIG_fail;
2553 PyThreadState* __tstate = wxPyBeginAllowThreads();
2554 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2555
2556 wxPyEndAllowThreads(__tstate);
2557 if (PyErr_Occurred()) SWIG_fail;
2558 }
2559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2560 {
2561 if (temp5) delete arg5;
2562 }
2563 {
2564 if (temp8)
2565 delete arg8;
2566 }
2567 return resultobj;
2568 fail:
2569 {
2570 if (temp5) delete arg5;
2571 }
2572 {
2573 if (temp8)
2574 delete arg8;
2575 }
2576 return NULL;
2577 }
2578
2579
2580 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2581 PyObject *resultobj;
2582 wxChoice *result;
2583 char *kwnames[] = {
2584 NULL
2585 };
2586
2587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2588 {
2589 if (!wxPyCheckForApp()) SWIG_fail;
2590 PyThreadState* __tstate = wxPyBeginAllowThreads();
2591 result = (wxChoice *)new wxChoice();
2592
2593 wxPyEndAllowThreads(__tstate);
2594 if (PyErr_Occurred()) SWIG_fail;
2595 }
2596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2597 return resultobj;
2598 fail:
2599 return NULL;
2600 }
2601
2602
2603 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2604 PyObject *resultobj;
2605 wxChoice *arg1 = (wxChoice *) 0 ;
2606 wxWindow *arg2 = (wxWindow *) 0 ;
2607 int arg3 = (int) -1 ;
2608 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2609 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2610 wxSize const &arg5_defvalue = wxDefaultSize ;
2611 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2612 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2613 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2614 long arg7 = (long) 0 ;
2615 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2616 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2617 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2618 wxString *arg9 = (wxString *) &arg9_defvalue ;
2619 bool result;
2620 wxPoint temp4 ;
2621 wxSize temp5 ;
2622 bool temp6 = False ;
2623 bool temp9 = False ;
2624 PyObject * obj0 = 0 ;
2625 PyObject * obj1 = 0 ;
2626 PyObject * obj2 = 0 ;
2627 PyObject * obj3 = 0 ;
2628 PyObject * obj4 = 0 ;
2629 PyObject * obj5 = 0 ;
2630 PyObject * obj6 = 0 ;
2631 PyObject * obj7 = 0 ;
2632 PyObject * obj8 = 0 ;
2633 char *kwnames[] = {
2634 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2635 };
2636
2637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2642 if (obj2) {
2643 arg3 = (int) SWIG_AsInt(obj2);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 if (obj3) {
2647 {
2648 arg4 = &temp4;
2649 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2650 }
2651 }
2652 if (obj4) {
2653 {
2654 arg5 = &temp5;
2655 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2656 }
2657 }
2658 if (obj5) {
2659 {
2660 if (! PySequence_Check(obj5)) {
2661 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2662 SWIG_fail;
2663 }
2664 arg6 = new wxArrayString;
2665 temp6 = True;
2666 int i, len=PySequence_Length(obj5);
2667 for (i=0; i<len; i++) {
2668 PyObject* item = PySequence_GetItem(obj5, i);
2669 #if wxUSE_UNICODE
2670 PyObject* str = PyObject_Unicode(item);
2671 #else
2672 PyObject* str = PyObject_Str(item);
2673 #endif
2674 if (PyErr_Occurred()) SWIG_fail;
2675 arg6->Add(Py2wxString(str));
2676 Py_DECREF(item);
2677 Py_DECREF(str);
2678 }
2679 }
2680 }
2681 if (obj6) {
2682 arg7 = (long) SWIG_AsLong(obj6);
2683 if (PyErr_Occurred()) SWIG_fail;
2684 }
2685 if (obj7) {
2686 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2687 SWIG_POINTER_EXCEPTION | 0)) == -1)
2688 SWIG_fail;
2689 if (arg8 == NULL) {
2690 PyErr_SetString(PyExc_TypeError,"null reference");
2691 SWIG_fail;
2692 }
2693 }
2694 if (obj8) {
2695 {
2696 arg9 = wxString_in_helper(obj8);
2697 if (arg9 == NULL) SWIG_fail;
2698 temp9 = True;
2699 }
2700 }
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 {
2709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2710 }
2711 {
2712 if (temp6) delete arg6;
2713 }
2714 {
2715 if (temp9)
2716 delete arg9;
2717 }
2718 return resultobj;
2719 fail:
2720 {
2721 if (temp6) delete arg6;
2722 }
2723 {
2724 if (temp9)
2725 delete arg9;
2726 }
2727 return NULL;
2728 }
2729
2730
2731 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 wxChoice *arg1 = (wxChoice *) 0 ;
2734 int arg2 ;
2735 PyObject * obj0 = 0 ;
2736 PyObject * obj1 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self",(char *) "n", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2744 arg2 = (int const) SWIG_AsInt(obj1);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetSelection(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757 }
2758
2759
2760 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxChoice *arg1 = (wxChoice *) 0 ;
2763 wxString *arg2 = 0 ;
2764 bool result;
2765 bool temp2 = False ;
2766 PyObject * obj0 = 0 ;
2767 PyObject * obj1 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self",(char *) "string", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2775 {
2776 arg2 = wxString_in_helper(obj1);
2777 if (arg2 == NULL) SWIG_fail;
2778 temp2 = True;
2779 }
2780 {
2781 PyThreadState* __tstate = wxPyBeginAllowThreads();
2782 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2783
2784 wxPyEndAllowThreads(__tstate);
2785 if (PyErr_Occurred()) SWIG_fail;
2786 }
2787 {
2788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2789 }
2790 {
2791 if (temp2)
2792 delete arg2;
2793 }
2794 return resultobj;
2795 fail:
2796 {
2797 if (temp2)
2798 delete arg2;
2799 }
2800 return NULL;
2801 }
2802
2803
2804 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2805 PyObject *resultobj;
2806 wxChoice *arg1 = (wxChoice *) 0 ;
2807 int arg2 ;
2808 wxString *arg3 = 0 ;
2809 bool temp3 = False ;
2810 PyObject * obj0 = 0 ;
2811 PyObject * obj1 = 0 ;
2812 PyObject * obj2 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self",(char *) "n",(char *) "string", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2820 arg2 = (int) SWIG_AsInt(obj1);
2821 if (PyErr_Occurred()) SWIG_fail;
2822 {
2823 arg3 = wxString_in_helper(obj2);
2824 if (arg3 == NULL) SWIG_fail;
2825 temp3 = True;
2826 }
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 (arg1)->SetString(arg2,(wxString const &)*arg3);
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 {
2836 if (temp3)
2837 delete arg3;
2838 }
2839 return resultobj;
2840 fail:
2841 {
2842 if (temp3)
2843 delete arg3;
2844 }
2845 return NULL;
2846 }
2847
2848
2849 static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2850 PyObject *resultobj;
2851 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2852 wxVisualAttributes result;
2853 PyObject * obj0 = 0 ;
2854 char *kwnames[] = {
2855 (char *) "variant", NULL
2856 };
2857
2858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2859 if (obj0) {
2860 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 {
2864 if (!wxPyCheckForApp()) SWIG_fail;
2865 PyThreadState* __tstate = wxPyBeginAllowThreads();
2866 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2867
2868 wxPyEndAllowThreads(__tstate);
2869 if (PyErr_Occurred()) SWIG_fail;
2870 }
2871 {
2872 wxVisualAttributes * resultptr;
2873 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2874 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2875 }
2876 return resultobj;
2877 fail:
2878 return NULL;
2879 }
2880
2881
2882 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2883 PyObject *obj;
2884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2885 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2886 Py_INCREF(obj);
2887 return Py_BuildValue((char *)"");
2888 }
2889 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2890 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2891 return 1;
2892 }
2893
2894
2895 static PyObject *_wrap_ComboBoxNameStr_get() {
2896 PyObject *pyobj;
2897
2898 {
2899 #if wxUSE_UNICODE
2900 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2901 #else
2902 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2903 #endif
2904 }
2905 return pyobj;
2906 }
2907
2908
2909 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxWindow *arg1 = (wxWindow *) 0 ;
2912 int arg2 = (int) -1 ;
2913 wxString const &arg3_defvalue = wxPyEmptyString ;
2914 wxString *arg3 = (wxString *) &arg3_defvalue ;
2915 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2916 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2917 wxSize const &arg5_defvalue = wxDefaultSize ;
2918 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2919 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2920 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2921 long arg7 = (long) 0 ;
2922 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2923 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2924 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2925 wxString *arg9 = (wxString *) &arg9_defvalue ;
2926 wxComboBox *result;
2927 bool temp3 = False ;
2928 wxPoint temp4 ;
2929 wxSize temp5 ;
2930 bool temp6 = False ;
2931 bool temp9 = False ;
2932 PyObject * obj0 = 0 ;
2933 PyObject * obj1 = 0 ;
2934 PyObject * obj2 = 0 ;
2935 PyObject * obj3 = 0 ;
2936 PyObject * obj4 = 0 ;
2937 PyObject * obj5 = 0 ;
2938 PyObject * obj6 = 0 ;
2939 PyObject * obj7 = 0 ;
2940 PyObject * obj8 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2948 if (obj1) {
2949 arg2 = (int) SWIG_AsInt(obj1);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 if (obj2) {
2953 {
2954 arg3 = wxString_in_helper(obj2);
2955 if (arg3 == NULL) SWIG_fail;
2956 temp3 = True;
2957 }
2958 }
2959 if (obj3) {
2960 {
2961 arg4 = &temp4;
2962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2963 }
2964 }
2965 if (obj4) {
2966 {
2967 arg5 = &temp5;
2968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2969 }
2970 }
2971 if (obj5) {
2972 {
2973 if (! PySequence_Check(obj5)) {
2974 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2975 SWIG_fail;
2976 }
2977 arg6 = new wxArrayString;
2978 temp6 = True;
2979 int i, len=PySequence_Length(obj5);
2980 for (i=0; i<len; i++) {
2981 PyObject* item = PySequence_GetItem(obj5, i);
2982 #if wxUSE_UNICODE
2983 PyObject* str = PyObject_Unicode(item);
2984 #else
2985 PyObject* str = PyObject_Str(item);
2986 #endif
2987 if (PyErr_Occurred()) SWIG_fail;
2988 arg6->Add(Py2wxString(str));
2989 Py_DECREF(item);
2990 Py_DECREF(str);
2991 }
2992 }
2993 }
2994 if (obj6) {
2995 arg7 = (long) SWIG_AsLong(obj6);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 if (obj7) {
2999 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3000 SWIG_POINTER_EXCEPTION | 0)) == -1)
3001 SWIG_fail;
3002 if (arg8 == NULL) {
3003 PyErr_SetString(PyExc_TypeError,"null reference");
3004 SWIG_fail;
3005 }
3006 }
3007 if (obj8) {
3008 {
3009 arg9 = wxString_in_helper(obj8);
3010 if (arg9 == NULL) SWIG_fail;
3011 temp9 = True;
3012 }
3013 }
3014 {
3015 if (!wxPyCheckForApp()) SWIG_fail;
3016 PyThreadState* __tstate = wxPyBeginAllowThreads();
3017 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3018
3019 wxPyEndAllowThreads(__tstate);
3020 if (PyErr_Occurred()) SWIG_fail;
3021 }
3022 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3023 {
3024 if (temp3)
3025 delete arg3;
3026 }
3027 {
3028 if (temp6) delete arg6;
3029 }
3030 {
3031 if (temp9)
3032 delete arg9;
3033 }
3034 return resultobj;
3035 fail:
3036 {
3037 if (temp3)
3038 delete arg3;
3039 }
3040 {
3041 if (temp6) delete arg6;
3042 }
3043 {
3044 if (temp9)
3045 delete arg9;
3046 }
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxComboBox *result;
3054 char *kwnames[] = {
3055 NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3059 {
3060 if (!wxPyCheckForApp()) SWIG_fail;
3061 PyThreadState* __tstate = wxPyBeginAllowThreads();
3062 result = (wxComboBox *)new wxComboBox();
3063
3064 wxPyEndAllowThreads(__tstate);
3065 if (PyErr_Occurred()) SWIG_fail;
3066 }
3067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3068 return resultobj;
3069 fail:
3070 return NULL;
3071 }
3072
3073
3074 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3075 PyObject *resultobj;
3076 wxComboBox *arg1 = (wxComboBox *) 0 ;
3077 wxWindow *arg2 = (wxWindow *) 0 ;
3078 int arg3 = (int) -1 ;
3079 wxString const &arg4_defvalue = wxPyEmptyString ;
3080 wxString *arg4 = (wxString *) &arg4_defvalue ;
3081 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3082 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3083 wxSize const &arg6_defvalue = wxDefaultSize ;
3084 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3085 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3086 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3087 long arg8 = (long) 0 ;
3088 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3089 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3090 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3091 wxString *arg10 = (wxString *) &arg10_defvalue ;
3092 bool result;
3093 bool temp4 = False ;
3094 wxPoint temp5 ;
3095 wxSize temp6 ;
3096 bool temp7 = False ;
3097 bool temp10 = False ;
3098 PyObject * obj0 = 0 ;
3099 PyObject * obj1 = 0 ;
3100 PyObject * obj2 = 0 ;
3101 PyObject * obj3 = 0 ;
3102 PyObject * obj4 = 0 ;
3103 PyObject * obj5 = 0 ;
3104 PyObject * obj6 = 0 ;
3105 PyObject * obj7 = 0 ;
3106 PyObject * obj8 = 0 ;
3107 PyObject * obj9 = 0 ;
3108 char *kwnames[] = {
3109 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3110 };
3111
3112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3117 if (obj2) {
3118 arg3 = (int) SWIG_AsInt(obj2);
3119 if (PyErr_Occurred()) SWIG_fail;
3120 }
3121 if (obj3) {
3122 {
3123 arg4 = wxString_in_helper(obj3);
3124 if (arg4 == NULL) SWIG_fail;
3125 temp4 = True;
3126 }
3127 }
3128 if (obj4) {
3129 {
3130 arg5 = &temp5;
3131 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3132 }
3133 }
3134 if (obj5) {
3135 {
3136 arg6 = &temp6;
3137 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3138 }
3139 }
3140 if (obj6) {
3141 {
3142 if (! PySequence_Check(obj6)) {
3143 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3144 SWIG_fail;
3145 }
3146 arg7 = new wxArrayString;
3147 temp7 = True;
3148 int i, len=PySequence_Length(obj6);
3149 for (i=0; i<len; i++) {
3150 PyObject* item = PySequence_GetItem(obj6, i);
3151 #if wxUSE_UNICODE
3152 PyObject* str = PyObject_Unicode(item);
3153 #else
3154 PyObject* str = PyObject_Str(item);
3155 #endif
3156 if (PyErr_Occurred()) SWIG_fail;
3157 arg7->Add(Py2wxString(str));
3158 Py_DECREF(item);
3159 Py_DECREF(str);
3160 }
3161 }
3162 }
3163 if (obj7) {
3164 arg8 = (long) SWIG_AsLong(obj7);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 if (obj8) {
3168 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3169 SWIG_POINTER_EXCEPTION | 0)) == -1)
3170 SWIG_fail;
3171 if (arg9 == NULL) {
3172 PyErr_SetString(PyExc_TypeError,"null reference");
3173 SWIG_fail;
3174 }
3175 }
3176 if (obj9) {
3177 {
3178 arg10 = wxString_in_helper(obj9);
3179 if (arg10 == NULL) SWIG_fail;
3180 temp10 = True;
3181 }
3182 }
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 {
3191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3192 }
3193 {
3194 if (temp4)
3195 delete arg4;
3196 }
3197 {
3198 if (temp7) delete arg7;
3199 }
3200 {
3201 if (temp10)
3202 delete arg10;
3203 }
3204 return resultobj;
3205 fail:
3206 {
3207 if (temp4)
3208 delete arg4;
3209 }
3210 {
3211 if (temp7) delete arg7;
3212 }
3213 {
3214 if (temp10)
3215 delete arg10;
3216 }
3217 return NULL;
3218 }
3219
3220
3221 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxComboBox *arg1 = (wxComboBox *) 0 ;
3224 wxString result;
3225 PyObject * obj0 = 0 ;
3226 char *kwnames[] = {
3227 (char *) "self", NULL
3228 };
3229
3230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 result = ((wxComboBox const *)arg1)->GetValue();
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 {
3241 #if wxUSE_UNICODE
3242 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3243 #else
3244 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3245 #endif
3246 }
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3254 PyObject *resultobj;
3255 wxComboBox *arg1 = (wxComboBox *) 0 ;
3256 wxString *arg2 = 0 ;
3257 bool temp2 = False ;
3258 PyObject * obj0 = 0 ;
3259 PyObject * obj1 = 0 ;
3260 char *kwnames[] = {
3261 (char *) "self",(char *) "value", NULL
3262 };
3263
3264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3267 {
3268 arg2 = wxString_in_helper(obj1);
3269 if (arg2 == NULL) SWIG_fail;
3270 temp2 = True;
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetValue((wxString const &)*arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 {
3281 if (temp2)
3282 delete arg2;
3283 }
3284 return resultobj;
3285 fail:
3286 {
3287 if (temp2)
3288 delete arg2;
3289 }
3290 return NULL;
3291 }
3292
3293
3294 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3295 PyObject *resultobj;
3296 wxComboBox *arg1 = (wxComboBox *) 0 ;
3297 PyObject * obj0 = 0 ;
3298 char *kwnames[] = {
3299 (char *) "self", NULL
3300 };
3301
3302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3305 {
3306 PyThreadState* __tstate = wxPyBeginAllowThreads();
3307 (arg1)->Copy();
3308
3309 wxPyEndAllowThreads(__tstate);
3310 if (PyErr_Occurred()) SWIG_fail;
3311 }
3312 Py_INCREF(Py_None); resultobj = Py_None;
3313 return resultobj;
3314 fail:
3315 return NULL;
3316 }
3317
3318
3319 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj;
3321 wxComboBox *arg1 = (wxComboBox *) 0 ;
3322 PyObject * obj0 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3330 {
3331 PyThreadState* __tstate = wxPyBeginAllowThreads();
3332 (arg1)->Cut();
3333
3334 wxPyEndAllowThreads(__tstate);
3335 if (PyErr_Occurred()) SWIG_fail;
3336 }
3337 Py_INCREF(Py_None); resultobj = Py_None;
3338 return resultobj;
3339 fail:
3340 return NULL;
3341 }
3342
3343
3344 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3345 PyObject *resultobj;
3346 wxComboBox *arg1 = (wxComboBox *) 0 ;
3347 PyObject * obj0 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->Paste();
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 return resultobj;
3364 fail:
3365 return NULL;
3366 }
3367
3368
3369 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject *resultobj;
3371 wxComboBox *arg1 = (wxComboBox *) 0 ;
3372 long arg2 ;
3373 PyObject * obj0 = 0 ;
3374 PyObject * obj1 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "self",(char *) "pos", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3382 arg2 = (long) SWIG_AsLong(obj1);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 {
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 (arg1)->SetInsertionPoint(arg2);
3387
3388 wxPyEndAllowThreads(__tstate);
3389 if (PyErr_Occurred()) SWIG_fail;
3390 }
3391 Py_INCREF(Py_None); resultobj = Py_None;
3392 return resultobj;
3393 fail:
3394 return NULL;
3395 }
3396
3397
3398 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3399 PyObject *resultobj;
3400 wxComboBox *arg1 = (wxComboBox *) 0 ;
3401 long result;
3402 PyObject * obj0 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3410 {
3411 PyThreadState* __tstate = wxPyBeginAllowThreads();
3412 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3413
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 resultobj = SWIG_FromLong((long)result);
3418 return resultobj;
3419 fail:
3420 return NULL;
3421 }
3422
3423
3424 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj;
3426 wxComboBox *arg1 = (wxComboBox *) 0 ;
3427 long result;
3428 PyObject * obj0 = 0 ;
3429 char *kwnames[] = {
3430 (char *) "self", NULL
3431 };
3432
3433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 resultobj = SWIG_FromLong((long)result);
3444 return resultobj;
3445 fail:
3446 return NULL;
3447 }
3448
3449
3450 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3451 PyObject *resultobj;
3452 wxComboBox *arg1 = (wxComboBox *) 0 ;
3453 long arg2 ;
3454 long arg3 ;
3455 wxString *arg4 = 0 ;
3456 bool temp4 = False ;
3457 PyObject * obj0 = 0 ;
3458 PyObject * obj1 = 0 ;
3459 PyObject * obj2 = 0 ;
3460 PyObject * obj3 = 0 ;
3461 char *kwnames[] = {
3462 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3463 };
3464
3465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3468 arg2 = (long) SWIG_AsLong(obj1);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 arg3 = (long) SWIG_AsLong(obj2);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 {
3473 arg4 = wxString_in_helper(obj3);
3474 if (arg4 == NULL) SWIG_fail;
3475 temp4 = True;
3476 }
3477 {
3478 PyThreadState* __tstate = wxPyBeginAllowThreads();
3479 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3480
3481 wxPyEndAllowThreads(__tstate);
3482 if (PyErr_Occurred()) SWIG_fail;
3483 }
3484 Py_INCREF(Py_None); resultobj = Py_None;
3485 {
3486 if (temp4)
3487 delete arg4;
3488 }
3489 return resultobj;
3490 fail:
3491 {
3492 if (temp4)
3493 delete arg4;
3494 }
3495 return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3500 PyObject *resultobj;
3501 wxComboBox *arg1 = (wxComboBox *) 0 ;
3502 int arg2 ;
3503 PyObject * obj0 = 0 ;
3504 PyObject * obj1 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "n", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3512 arg2 = (int) SWIG_AsInt(obj1);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->SetSelection(arg2);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525 }
3526
3527
3528 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject *resultobj;
3530 wxComboBox *arg1 = (wxComboBox *) 0 ;
3531 long arg2 ;
3532 long arg3 ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 PyObject * obj2 = 0 ;
3536 char *kwnames[] = {
3537 (char *) "self",(char *) "from",(char *) "to", NULL
3538 };
3539
3540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3543 arg2 = (long) SWIG_AsLong(obj1);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 arg3 = (long) SWIG_AsLong(obj2);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 (arg1)->SetSelection(arg2,arg3);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 Py_INCREF(Py_None); resultobj = Py_None;
3555 return resultobj;
3556 fail:
3557 return NULL;
3558 }
3559
3560
3561 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3562 PyObject *resultobj;
3563 wxComboBox *arg1 = (wxComboBox *) 0 ;
3564 wxString *arg2 = 0 ;
3565 bool result;
3566 bool temp2 = False ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self",(char *) "string", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3576 {
3577 arg2 = wxString_in_helper(obj1);
3578 if (arg2 == NULL) SWIG_fail;
3579 temp2 = True;
3580 }
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 {
3589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3590 }
3591 {
3592 if (temp2)
3593 delete arg2;
3594 }
3595 return resultobj;
3596 fail:
3597 {
3598 if (temp2)
3599 delete arg2;
3600 }
3601 return NULL;
3602 }
3603
3604
3605 static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj;
3607 wxComboBox *arg1 = (wxComboBox *) 0 ;
3608 int arg2 ;
3609 wxString *arg3 = 0 ;
3610 bool temp3 = False ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj1 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "n",(char *) "string", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3621 arg2 = (int) SWIG_AsInt(obj1);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 {
3624 arg3 = wxString_in_helper(obj2);
3625 if (arg3 == NULL) SWIG_fail;
3626 temp3 = True;
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 (arg1)->SetString(arg2,(wxString const &)*arg3);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 Py_INCREF(Py_None); resultobj = Py_None;
3636 {
3637 if (temp3)
3638 delete arg3;
3639 }
3640 return resultobj;
3641 fail:
3642 {
3643 if (temp3)
3644 delete arg3;
3645 }
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxComboBox *arg1 = (wxComboBox *) 0 ;
3653 bool arg2 ;
3654 PyObject * obj0 = 0 ;
3655 PyObject * obj1 = 0 ;
3656 char *kwnames[] = {
3657 (char *) "self",(char *) "editable", NULL
3658 };
3659
3660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3663 arg2 = (bool) SWIG_AsBool(obj1);
3664 if (PyErr_Occurred()) SWIG_fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 (arg1)->SetEditable(arg2);
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 Py_INCREF(Py_None); resultobj = Py_None;
3673 return resultobj;
3674 fail:
3675 return NULL;
3676 }
3677
3678
3679 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxComboBox *arg1 = (wxComboBox *) 0 ;
3682 PyObject * obj0 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "self", NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->SetInsertionPointEnd();
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701 }
3702
3703
3704 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxComboBox *arg1 = (wxComboBox *) 0 ;
3707 long arg2 ;
3708 long arg3 ;
3709 PyObject * obj0 = 0 ;
3710 PyObject * obj1 = 0 ;
3711 PyObject * obj2 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self",(char *) "from",(char *) "to", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3719 arg2 = (long) SWIG_AsLong(obj1);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 arg3 = (long) SWIG_AsLong(obj2);
3722 if (PyErr_Occurred()) SWIG_fail;
3723 {
3724 PyThreadState* __tstate = wxPyBeginAllowThreads();
3725 (arg1)->Remove(arg2,arg3);
3726
3727 wxPyEndAllowThreads(__tstate);
3728 if (PyErr_Occurred()) SWIG_fail;
3729 }
3730 Py_INCREF(Py_None); resultobj = Py_None;
3731 return resultobj;
3732 fail:
3733 return NULL;
3734 }
3735
3736
3737 static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3738 PyObject *resultobj;
3739 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3740 wxVisualAttributes result;
3741 PyObject * obj0 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "variant", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3747 if (obj0) {
3748 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3749 if (PyErr_Occurred()) SWIG_fail;
3750 }
3751 {
3752 if (!wxPyCheckForApp()) SWIG_fail;
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 {
3760 wxVisualAttributes * resultptr;
3761 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3762 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3763 }
3764 return resultobj;
3765 fail:
3766 return NULL;
3767 }
3768
3769
3770 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3771 PyObject *obj;
3772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3773 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3774 Py_INCREF(obj);
3775 return Py_BuildValue((char *)"");
3776 }
3777 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3778 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3779 return 1;
3780 }
3781
3782
3783 static PyObject *_wrap_GaugeNameStr_get() {
3784 PyObject *pyobj;
3785
3786 {
3787 #if wxUSE_UNICODE
3788 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3789 #else
3790 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3791 #endif
3792 }
3793 return pyobj;
3794 }
3795
3796
3797 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3798 PyObject *resultobj;
3799 wxWindow *arg1 = (wxWindow *) 0 ;
3800 int arg2 ;
3801 int arg3 ;
3802 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3803 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3804 wxSize const &arg5_defvalue = wxDefaultSize ;
3805 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3806 long arg6 = (long) wxGA_HORIZONTAL ;
3807 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3808 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3809 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3810 wxString *arg8 = (wxString *) &arg8_defvalue ;
3811 wxGauge *result;
3812 wxPoint temp4 ;
3813 wxSize temp5 ;
3814 bool temp8 = False ;
3815 PyObject * obj0 = 0 ;
3816 PyObject * obj1 = 0 ;
3817 PyObject * obj2 = 0 ;
3818 PyObject * obj3 = 0 ;
3819 PyObject * obj4 = 0 ;
3820 PyObject * obj5 = 0 ;
3821 PyObject * obj6 = 0 ;
3822 PyObject * obj7 = 0 ;
3823 char *kwnames[] = {
3824 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3825 };
3826
3827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3830 arg2 = (int) SWIG_AsInt(obj1);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 arg3 = (int) SWIG_AsInt(obj2);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 if (obj3) {
3835 {
3836 arg4 = &temp4;
3837 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3838 }
3839 }
3840 if (obj4) {
3841 {
3842 arg5 = &temp5;
3843 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3844 }
3845 }
3846 if (obj5) {
3847 arg6 = (long) SWIG_AsLong(obj5);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 if (obj6) {
3851 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3852 SWIG_POINTER_EXCEPTION | 0)) == -1)
3853 SWIG_fail;
3854 if (arg7 == NULL) {
3855 PyErr_SetString(PyExc_TypeError,"null reference");
3856 SWIG_fail;
3857 }
3858 }
3859 if (obj7) {
3860 {
3861 arg8 = wxString_in_helper(obj7);
3862 if (arg8 == NULL) SWIG_fail;
3863 temp8 = True;
3864 }
3865 }
3866 {
3867 if (!wxPyCheckForApp()) SWIG_fail;
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3875 {
3876 if (temp8)
3877 delete arg8;
3878 }
3879 return resultobj;
3880 fail:
3881 {
3882 if (temp8)
3883 delete arg8;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxGauge *result;
3892 char *kwnames[] = {
3893 NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3897 {
3898 if (!wxPyCheckForApp()) SWIG_fail;
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 result = (wxGauge *)new wxGauge();
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3906 return resultobj;
3907 fail:
3908 return NULL;
3909 }
3910
3911
3912 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxGauge *arg1 = (wxGauge *) 0 ;
3915 wxWindow *arg2 = (wxWindow *) 0 ;
3916 int arg3 ;
3917 int arg4 ;
3918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3920 wxSize const &arg6_defvalue = wxDefaultSize ;
3921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3922 long arg7 = (long) wxGA_HORIZONTAL ;
3923 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3924 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3925 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3926 wxString *arg9 = (wxString *) &arg9_defvalue ;
3927 bool result;
3928 wxPoint temp5 ;
3929 wxSize temp6 ;
3930 bool temp9 = False ;
3931 PyObject * obj0 = 0 ;
3932 PyObject * obj1 = 0 ;
3933 PyObject * obj2 = 0 ;
3934 PyObject * obj3 = 0 ;
3935 PyObject * obj4 = 0 ;
3936 PyObject * obj5 = 0 ;
3937 PyObject * obj6 = 0 ;
3938 PyObject * obj7 = 0 ;
3939 PyObject * obj8 = 0 ;
3940 char *kwnames[] = {
3941 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3942 };
3943
3944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 arg3 = (int) SWIG_AsInt(obj2);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 arg4 = (int) SWIG_AsInt(obj3);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 if (obj4) {
3954 {
3955 arg5 = &temp5;
3956 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3957 }
3958 }
3959 if (obj5) {
3960 {
3961 arg6 = &temp6;
3962 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3963 }
3964 }
3965 if (obj6) {
3966 arg7 = (long) SWIG_AsLong(obj6);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 if (obj7) {
3970 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3971 SWIG_POINTER_EXCEPTION | 0)) == -1)
3972 SWIG_fail;
3973 if (arg8 == NULL) {
3974 PyErr_SetString(PyExc_TypeError,"null reference");
3975 SWIG_fail;
3976 }
3977 }
3978 if (obj8) {
3979 {
3980 arg9 = wxString_in_helper(obj8);
3981 if (arg9 == NULL) SWIG_fail;
3982 temp9 = True;
3983 }
3984 }
3985 {
3986 PyThreadState* __tstate = wxPyBeginAllowThreads();
3987 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3988
3989 wxPyEndAllowThreads(__tstate);
3990 if (PyErr_Occurred()) SWIG_fail;
3991 }
3992 {
3993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3994 }
3995 {
3996 if (temp9)
3997 delete arg9;
3998 }
3999 return resultobj;
4000 fail:
4001 {
4002 if (temp9)
4003 delete arg9;
4004 }
4005 return NULL;
4006 }
4007
4008
4009 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4010 PyObject *resultobj;
4011 wxGauge *arg1 = (wxGauge *) 0 ;
4012 int arg2 ;
4013 PyObject * obj0 = 0 ;
4014 PyObject * obj1 = 0 ;
4015 char *kwnames[] = {
4016 (char *) "self",(char *) "range", NULL
4017 };
4018
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4022 arg2 = (int) SWIG_AsInt(obj1);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 (arg1)->SetRange(arg2);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 Py_INCREF(Py_None); resultobj = Py_None;
4032 return resultobj;
4033 fail:
4034 return NULL;
4035 }
4036
4037
4038 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj;
4040 wxGauge *arg1 = (wxGauge *) 0 ;
4041 int result;
4042 PyObject * obj0 = 0 ;
4043 char *kwnames[] = {
4044 (char *) "self", NULL
4045 };
4046
4047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 result = (int)((wxGauge const *)arg1)->GetRange();
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 resultobj = SWIG_FromInt((int)result);
4058 return resultobj;
4059 fail:
4060 return NULL;
4061 }
4062
4063
4064 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4065 PyObject *resultobj;
4066 wxGauge *arg1 = (wxGauge *) 0 ;
4067 int arg2 ;
4068 PyObject * obj0 = 0 ;
4069 PyObject * obj1 = 0 ;
4070 char *kwnames[] = {
4071 (char *) "self",(char *) "pos", NULL
4072 };
4073
4074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4077 arg2 = (int) SWIG_AsInt(obj1);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 (arg1)->SetValue(arg2);
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 Py_INCREF(Py_None); resultobj = Py_None;
4087 return resultobj;
4088 fail:
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxGauge *arg1 = (wxGauge *) 0 ;
4096 int result;
4097 PyObject * obj0 = 0 ;
4098 char *kwnames[] = {
4099 (char *) "self", NULL
4100 };
4101
4102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (int)((wxGauge const *)arg1)->GetValue();
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_FromInt((int)result);
4113 return resultobj;
4114 fail:
4115 return NULL;
4116 }
4117
4118
4119 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4120 PyObject *resultobj;
4121 wxGauge *arg1 = (wxGauge *) 0 ;
4122 bool result;
4123 PyObject * obj0 = 0 ;
4124 char *kwnames[] = {
4125 (char *) "self", NULL
4126 };
4127
4128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4131 {
4132 PyThreadState* __tstate = wxPyBeginAllowThreads();
4133 result = (bool)((wxGauge const *)arg1)->IsVertical();
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
4138 {
4139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4140 }
4141 return resultobj;
4142 fail:
4143 return NULL;
4144 }
4145
4146
4147 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject *resultobj;
4149 wxGauge *arg1 = (wxGauge *) 0 ;
4150 int arg2 ;
4151 PyObject * obj0 = 0 ;
4152 PyObject * obj1 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self",(char *) "w", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4160 arg2 = (int) SWIG_AsInt(obj1);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 {
4163 PyThreadState* __tstate = wxPyBeginAllowThreads();
4164 (arg1)->SetShadowWidth(arg2);
4165
4166 wxPyEndAllowThreads(__tstate);
4167 if (PyErr_Occurred()) SWIG_fail;
4168 }
4169 Py_INCREF(Py_None); resultobj = Py_None;
4170 return resultobj;
4171 fail:
4172 return NULL;
4173 }
4174
4175
4176 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4177 PyObject *resultobj;
4178 wxGauge *arg1 = (wxGauge *) 0 ;
4179 int result;
4180 PyObject * obj0 = 0 ;
4181 char *kwnames[] = {
4182 (char *) "self", NULL
4183 };
4184
4185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 resultobj = SWIG_FromInt((int)result);
4196 return resultobj;
4197 fail:
4198 return NULL;
4199 }
4200
4201
4202 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxGauge *arg1 = (wxGauge *) 0 ;
4205 int arg2 ;
4206 PyObject * obj0 = 0 ;
4207 PyObject * obj1 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self",(char *) "w", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4215 arg2 = (int) SWIG_AsInt(obj1);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 (arg1)->SetBezelFace(arg2);
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 Py_INCREF(Py_None); resultobj = Py_None;
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxGauge *arg1 = (wxGauge *) 0 ;
4234 int result;
4235 PyObject * obj0 = 0 ;
4236 char *kwnames[] = {
4237 (char *) "self", NULL
4238 };
4239
4240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 resultobj = SWIG_FromInt((int)result);
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4258 PyObject *resultobj;
4259 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4260 wxVisualAttributes result;
4261 PyObject * obj0 = 0 ;
4262 char *kwnames[] = {
4263 (char *) "variant", NULL
4264 };
4265
4266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4267 if (obj0) {
4268 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 {
4272 if (!wxPyCheckForApp()) SWIG_fail;
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
4279 {
4280 wxVisualAttributes * resultptr;
4281 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4282 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4283 }
4284 return resultobj;
4285 fail:
4286 return NULL;
4287 }
4288
4289
4290 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4291 PyObject *obj;
4292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4293 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4294 Py_INCREF(obj);
4295 return Py_BuildValue((char *)"");
4296 }
4297 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4298 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4299 return 1;
4300 }
4301
4302
4303 static PyObject *_wrap_StaticBitmapNameStr_get() {
4304 PyObject *pyobj;
4305
4306 {
4307 #if wxUSE_UNICODE
4308 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4309 #else
4310 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4311 #endif
4312 }
4313 return pyobj;
4314 }
4315
4316
4317 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4318 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4319 return 1;
4320 }
4321
4322
4323 static PyObject *_wrap_StaticBoxNameStr_get() {
4324 PyObject *pyobj;
4325
4326 {
4327 #if wxUSE_UNICODE
4328 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4329 #else
4330 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4331 #endif
4332 }
4333 return pyobj;
4334 }
4335
4336
4337 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4338 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4339 return 1;
4340 }
4341
4342
4343 static PyObject *_wrap_StaticTextNameStr_get() {
4344 PyObject *pyobj;
4345
4346 {
4347 #if wxUSE_UNICODE
4348 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4349 #else
4350 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4351 #endif
4352 }
4353 return pyobj;
4354 }
4355
4356
4357 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj;
4359 wxWindow *arg1 = (wxWindow *) 0 ;
4360 int arg2 ;
4361 wxString *arg3 = 0 ;
4362 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4363 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4364 wxSize const &arg5_defvalue = wxDefaultSize ;
4365 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4366 long arg6 = (long) 0 ;
4367 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4368 wxString *arg7 = (wxString *) &arg7_defvalue ;
4369 wxStaticBox *result;
4370 bool temp3 = False ;
4371 wxPoint temp4 ;
4372 wxSize temp5 ;
4373 bool temp7 = False ;
4374 PyObject * obj0 = 0 ;
4375 PyObject * obj1 = 0 ;
4376 PyObject * obj2 = 0 ;
4377 PyObject * obj3 = 0 ;
4378 PyObject * obj4 = 0 ;
4379 PyObject * obj5 = 0 ;
4380 PyObject * obj6 = 0 ;
4381 char *kwnames[] = {
4382 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4383 };
4384
4385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4388 arg2 = (int) SWIG_AsInt(obj1);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 {
4391 arg3 = wxString_in_helper(obj2);
4392 if (arg3 == NULL) SWIG_fail;
4393 temp3 = True;
4394 }
4395 if (obj3) {
4396 {
4397 arg4 = &temp4;
4398 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4399 }
4400 }
4401 if (obj4) {
4402 {
4403 arg5 = &temp5;
4404 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4405 }
4406 }
4407 if (obj5) {
4408 arg6 = (long) SWIG_AsLong(obj5);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 if (obj6) {
4412 {
4413 arg7 = wxString_in_helper(obj6);
4414 if (arg7 == NULL) SWIG_fail;
4415 temp7 = True;
4416 }
4417 }
4418 {
4419 if (!wxPyCheckForApp()) SWIG_fail;
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 {
4427 resultobj = wxPyMake_wxObject(result);
4428 }
4429 {
4430 if (temp3)
4431 delete arg3;
4432 }
4433 {
4434 if (temp7)
4435 delete arg7;
4436 }
4437 return resultobj;
4438 fail:
4439 {
4440 if (temp3)
4441 delete arg3;
4442 }
4443 {
4444 if (temp7)
4445 delete arg7;
4446 }
4447 return NULL;
4448 }
4449
4450
4451 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4452 PyObject *resultobj;
4453 wxStaticBox *result;
4454 char *kwnames[] = {
4455 NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4459 {
4460 if (!wxPyCheckForApp()) SWIG_fail;
4461 PyThreadState* __tstate = wxPyBeginAllowThreads();
4462 result = (wxStaticBox *)new wxStaticBox();
4463
4464 wxPyEndAllowThreads(__tstate);
4465 if (PyErr_Occurred()) SWIG_fail;
4466 }
4467 {
4468 resultobj = wxPyMake_wxObject(result);
4469 }
4470 return resultobj;
4471 fail:
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4479 wxWindow *arg2 = (wxWindow *) 0 ;
4480 int arg3 ;
4481 wxString *arg4 = 0 ;
4482 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4483 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4484 wxSize const &arg6_defvalue = wxDefaultSize ;
4485 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4486 long arg7 = (long) 0 ;
4487 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4488 wxString *arg8 = (wxString *) &arg8_defvalue ;
4489 bool result;
4490 bool temp4 = False ;
4491 wxPoint temp5 ;
4492 wxSize temp6 ;
4493 bool temp8 = False ;
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 PyObject * obj2 = 0 ;
4497 PyObject * obj3 = 0 ;
4498 PyObject * obj4 = 0 ;
4499 PyObject * obj5 = 0 ;
4500 PyObject * obj6 = 0 ;
4501 PyObject * obj7 = 0 ;
4502 char *kwnames[] = {
4503 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4504 };
4505
4506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4511 arg3 = (int) SWIG_AsInt(obj2);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 {
4514 arg4 = wxString_in_helper(obj3);
4515 if (arg4 == NULL) SWIG_fail;
4516 temp4 = True;
4517 }
4518 if (obj4) {
4519 {
4520 arg5 = &temp5;
4521 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4522 }
4523 }
4524 if (obj5) {
4525 {
4526 arg6 = &temp6;
4527 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4528 }
4529 }
4530 if (obj6) {
4531 arg7 = (long) SWIG_AsLong(obj6);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 if (obj7) {
4535 {
4536 arg8 = wxString_in_helper(obj7);
4537 if (arg8 == NULL) SWIG_fail;
4538 temp8 = True;
4539 }
4540 }
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 {
4549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4550 }
4551 {
4552 if (temp4)
4553 delete arg4;
4554 }
4555 {
4556 if (temp8)
4557 delete arg8;
4558 }
4559 return resultobj;
4560 fail:
4561 {
4562 if (temp4)
4563 delete arg4;
4564 }
4565 {
4566 if (temp8)
4567 delete arg8;
4568 }
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4576 wxVisualAttributes result;
4577 PyObject * obj0 = 0 ;
4578 char *kwnames[] = {
4579 (char *) "variant", NULL
4580 };
4581
4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4583 if (obj0) {
4584 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4585 if (PyErr_Occurred()) SWIG_fail;
4586 }
4587 {
4588 if (!wxPyCheckForApp()) SWIG_fail;
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
4596 wxVisualAttributes * resultptr;
4597 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4598 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4599 }
4600 return resultobj;
4601 fail:
4602 return NULL;
4603 }
4604
4605
4606 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4607 PyObject *obj;
4608 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4609 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4610 Py_INCREF(obj);
4611 return Py_BuildValue((char *)"");
4612 }
4613 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxWindow *arg1 = (wxWindow *) 0 ;
4616 int arg2 ;
4617 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4618 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4619 wxSize const &arg4_defvalue = wxDefaultSize ;
4620 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4621 long arg5 = (long) wxLI_HORIZONTAL ;
4622 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4623 wxString *arg6 = (wxString *) &arg6_defvalue ;
4624 wxStaticLine *result;
4625 wxPoint temp3 ;
4626 wxSize temp4 ;
4627 bool temp6 = False ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 PyObject * obj2 = 0 ;
4631 PyObject * obj3 = 0 ;
4632 PyObject * obj4 = 0 ;
4633 PyObject * obj5 = 0 ;
4634 char *kwnames[] = {
4635 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4636 };
4637
4638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4641 arg2 = (int) SWIG_AsInt(obj1);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 if (obj2) {
4644 {
4645 arg3 = &temp3;
4646 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4647 }
4648 }
4649 if (obj3) {
4650 {
4651 arg4 = &temp4;
4652 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4653 }
4654 }
4655 if (obj4) {
4656 arg5 = (long) SWIG_AsLong(obj4);
4657 if (PyErr_Occurred()) SWIG_fail;
4658 }
4659 if (obj5) {
4660 {
4661 arg6 = wxString_in_helper(obj5);
4662 if (arg6 == NULL) SWIG_fail;
4663 temp6 = True;
4664 }
4665 }
4666 {
4667 if (!wxPyCheckForApp()) SWIG_fail;
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4675 {
4676 if (temp6)
4677 delete arg6;
4678 }
4679 return resultobj;
4680 fail:
4681 {
4682 if (temp6)
4683 delete arg6;
4684 }
4685 return NULL;
4686 }
4687
4688
4689 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4690 PyObject *resultobj;
4691 wxStaticLine *result;
4692 char *kwnames[] = {
4693 NULL
4694 };
4695
4696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4697 {
4698 if (!wxPyCheckForApp()) SWIG_fail;
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxStaticLine *)new wxStaticLine();
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4706 return resultobj;
4707 fail:
4708 return NULL;
4709 }
4710
4711
4712 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4713 PyObject *resultobj;
4714 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4715 wxWindow *arg2 = (wxWindow *) 0 ;
4716 int arg3 ;
4717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4719 wxSize const &arg5_defvalue = wxDefaultSize ;
4720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4721 long arg6 = (long) wxLI_HORIZONTAL ;
4722 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4723 wxString *arg7 = (wxString *) &arg7_defvalue ;
4724 bool result;
4725 wxPoint temp4 ;
4726 wxSize temp5 ;
4727 bool temp7 = False ;
4728 PyObject * obj0 = 0 ;
4729 PyObject * obj1 = 0 ;
4730 PyObject * obj2 = 0 ;
4731 PyObject * obj3 = 0 ;
4732 PyObject * obj4 = 0 ;
4733 PyObject * obj5 = 0 ;
4734 PyObject * obj6 = 0 ;
4735 char *kwnames[] = {
4736 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4744 arg3 = (int) SWIG_AsInt(obj2);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 if (obj3) {
4747 {
4748 arg4 = &temp4;
4749 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4750 }
4751 }
4752 if (obj4) {
4753 {
4754 arg5 = &temp5;
4755 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4756 }
4757 }
4758 if (obj5) {
4759 arg6 = (long) SWIG_AsLong(obj5);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 if (obj6) {
4763 {
4764 arg7 = wxString_in_helper(obj6);
4765 if (arg7 == NULL) SWIG_fail;
4766 temp7 = True;
4767 }
4768 }
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 {
4777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4778 }
4779 {
4780 if (temp7)
4781 delete arg7;
4782 }
4783 return resultobj;
4784 fail:
4785 {
4786 if (temp7)
4787 delete arg7;
4788 }
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4796 bool result;
4797 PyObject * obj0 = 0 ;
4798 char *kwnames[] = {
4799 (char *) "self", NULL
4800 };
4801
4802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4805 {
4806 PyThreadState* __tstate = wxPyBeginAllowThreads();
4807 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4808
4809 wxPyEndAllowThreads(__tstate);
4810 if (PyErr_Occurred()) SWIG_fail;
4811 }
4812 {
4813 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4814 }
4815 return resultobj;
4816 fail:
4817 return NULL;
4818 }
4819
4820
4821 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 int result;
4824 char *kwnames[] = {
4825 NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (int)wxStaticLine::GetDefaultSize();
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 resultobj = SWIG_FromInt((int)result);
4837 return resultobj;
4838 fail:
4839 return NULL;
4840 }
4841
4842
4843 static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4846 wxVisualAttributes result;
4847 PyObject * obj0 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "variant", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4853 if (obj0) {
4854 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4855 if (PyErr_Occurred()) SWIG_fail;
4856 }
4857 {
4858 if (!wxPyCheckForApp()) SWIG_fail;
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 {
4866 wxVisualAttributes * resultptr;
4867 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4869 }
4870 return resultobj;
4871 fail:
4872 return NULL;
4873 }
4874
4875
4876 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4877 PyObject *obj;
4878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4879 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4880 Py_INCREF(obj);
4881 return Py_BuildValue((char *)"");
4882 }
4883 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxWindow *arg1 = (wxWindow *) 0 ;
4886 int arg2 ;
4887 wxString *arg3 = 0 ;
4888 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4889 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4890 wxSize const &arg5_defvalue = wxDefaultSize ;
4891 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4892 long arg6 = (long) 0 ;
4893 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4894 wxString *arg7 = (wxString *) &arg7_defvalue ;
4895 wxStaticText *result;
4896 bool temp3 = False ;
4897 wxPoint temp4 ;
4898 wxSize temp5 ;
4899 bool temp7 = False ;
4900 PyObject * obj0 = 0 ;
4901 PyObject * obj1 = 0 ;
4902 PyObject * obj2 = 0 ;
4903 PyObject * obj3 = 0 ;
4904 PyObject * obj4 = 0 ;
4905 PyObject * obj5 = 0 ;
4906 PyObject * obj6 = 0 ;
4907 char *kwnames[] = {
4908 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4909 };
4910
4911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4914 arg2 = (int) SWIG_AsInt(obj1);
4915 if (PyErr_Occurred()) SWIG_fail;
4916 {
4917 arg3 = wxString_in_helper(obj2);
4918 if (arg3 == NULL) SWIG_fail;
4919 temp3 = True;
4920 }
4921 if (obj3) {
4922 {
4923 arg4 = &temp4;
4924 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4925 }
4926 }
4927 if (obj4) {
4928 {
4929 arg5 = &temp5;
4930 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4931 }
4932 }
4933 if (obj5) {
4934 arg6 = (long) SWIG_AsLong(obj5);
4935 if (PyErr_Occurred()) SWIG_fail;
4936 }
4937 if (obj6) {
4938 {
4939 arg7 = wxString_in_helper(obj6);
4940 if (arg7 == NULL) SWIG_fail;
4941 temp7 = True;
4942 }
4943 }
4944 {
4945 if (!wxPyCheckForApp()) SWIG_fail;
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4953 {
4954 if (temp3)
4955 delete arg3;
4956 }
4957 {
4958 if (temp7)
4959 delete arg7;
4960 }
4961 return resultobj;
4962 fail:
4963 {
4964 if (temp3)
4965 delete arg3;
4966 }
4967 {
4968 if (temp7)
4969 delete arg7;
4970 }
4971 return NULL;
4972 }
4973
4974
4975 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4976 PyObject *resultobj;
4977 wxStaticText *result;
4978 char *kwnames[] = {
4979 NULL
4980 };
4981
4982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4983 {
4984 if (!wxPyCheckForApp()) SWIG_fail;
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = (wxStaticText *)new wxStaticText();
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4992 return resultobj;
4993 fail:
4994 return NULL;
4995 }
4996
4997
4998 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxStaticText *arg1 = (wxStaticText *) 0 ;
5001 wxWindow *arg2 = (wxWindow *) 0 ;
5002 int arg3 ;
5003 wxString *arg4 = 0 ;
5004 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5005 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5006 wxSize const &arg6_defvalue = wxDefaultSize ;
5007 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5008 long arg7 = (long) 0 ;
5009 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5010 wxString *arg8 = (wxString *) &arg8_defvalue ;
5011 bool result;
5012 bool temp4 = False ;
5013 wxPoint temp5 ;
5014 wxSize temp6 ;
5015 bool temp8 = False ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 PyObject * obj2 = 0 ;
5019 PyObject * obj3 = 0 ;
5020 PyObject * obj4 = 0 ;
5021 PyObject * obj5 = 0 ;
5022 PyObject * obj6 = 0 ;
5023 PyObject * obj7 = 0 ;
5024 char *kwnames[] = {
5025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5026 };
5027
5028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5031 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5033 arg3 = (int) SWIG_AsInt(obj2);
5034 if (PyErr_Occurred()) SWIG_fail;
5035 {
5036 arg4 = wxString_in_helper(obj3);
5037 if (arg4 == NULL) SWIG_fail;
5038 temp4 = True;
5039 }
5040 if (obj4) {
5041 {
5042 arg5 = &temp5;
5043 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5044 }
5045 }
5046 if (obj5) {
5047 {
5048 arg6 = &temp6;
5049 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5050 }
5051 }
5052 if (obj6) {
5053 arg7 = (long) SWIG_AsLong(obj6);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 if (obj7) {
5057 {
5058 arg8 = wxString_in_helper(obj7);
5059 if (arg8 == NULL) SWIG_fail;
5060 temp8 = True;
5061 }
5062 }
5063 {
5064 PyThreadState* __tstate = wxPyBeginAllowThreads();
5065 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5066
5067 wxPyEndAllowThreads(__tstate);
5068 if (PyErr_Occurred()) SWIG_fail;
5069 }
5070 {
5071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5072 }
5073 {
5074 if (temp4)
5075 delete arg4;
5076 }
5077 {
5078 if (temp8)
5079 delete arg8;
5080 }
5081 return resultobj;
5082 fail:
5083 {
5084 if (temp4)
5085 delete arg4;
5086 }
5087 {
5088 if (temp8)
5089 delete arg8;
5090 }
5091 return NULL;
5092 }
5093
5094
5095 static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5096 PyObject *resultobj;
5097 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5098 wxVisualAttributes result;
5099 PyObject * obj0 = 0 ;
5100 char *kwnames[] = {
5101 (char *) "variant", NULL
5102 };
5103
5104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5105 if (obj0) {
5106 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 if (!wxPyCheckForApp()) SWIG_fail;
5111 PyThreadState* __tstate = wxPyBeginAllowThreads();
5112 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5113
5114 wxPyEndAllowThreads(__tstate);
5115 if (PyErr_Occurred()) SWIG_fail;
5116 }
5117 {
5118 wxVisualAttributes * resultptr;
5119 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5120 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5121 }
5122 return resultobj;
5123 fail:
5124 return NULL;
5125 }
5126
5127
5128 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5129 PyObject *obj;
5130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5131 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5132 Py_INCREF(obj);
5133 return Py_BuildValue((char *)"");
5134 }
5135 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxWindow *arg1 = (wxWindow *) 0 ;
5138 int arg2 ;
5139 wxBitmap *arg3 = 0 ;
5140 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5141 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5142 wxSize const &arg5_defvalue = wxDefaultSize ;
5143 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5144 long arg6 = (long) 0 ;
5145 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5146 wxString *arg7 = (wxString *) &arg7_defvalue ;
5147 wxStaticBitmap *result;
5148 wxPoint temp4 ;
5149 wxSize temp5 ;
5150 bool temp7 = False ;
5151 PyObject * obj0 = 0 ;
5152 PyObject * obj1 = 0 ;
5153 PyObject * obj2 = 0 ;
5154 PyObject * obj3 = 0 ;
5155 PyObject * obj4 = 0 ;
5156 PyObject * obj5 = 0 ;
5157 PyObject * obj6 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5165 arg2 = (int) SWIG_AsInt(obj1);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1)
5169 SWIG_fail;
5170 if (arg3 == NULL) {
5171 PyErr_SetString(PyExc_TypeError,"null reference");
5172 SWIG_fail;
5173 }
5174 if (obj3) {
5175 {
5176 arg4 = &temp4;
5177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5178 }
5179 }
5180 if (obj4) {
5181 {
5182 arg5 = &temp5;
5183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5184 }
5185 }
5186 if (obj5) {
5187 arg6 = (long) SWIG_AsLong(obj5);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 if (obj6) {
5191 {
5192 arg7 = wxString_in_helper(obj6);
5193 if (arg7 == NULL) SWIG_fail;
5194 temp7 = True;
5195 }
5196 }
5197 {
5198 if (!wxPyCheckForApp()) SWIG_fail;
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5206 {
5207 if (temp7)
5208 delete arg7;
5209 }
5210 return resultobj;
5211 fail:
5212 {
5213 if (temp7)
5214 delete arg7;
5215 }
5216 return NULL;
5217 }
5218
5219
5220 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject *resultobj;
5222 wxStaticBitmap *result;
5223 char *kwnames[] = {
5224 NULL
5225 };
5226
5227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5228 {
5229 if (!wxPyCheckForApp()) SWIG_fail;
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (wxStaticBitmap *)new wxStaticBitmap();
5232
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5244 PyObject *resultobj;
5245 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5246 wxWindow *arg2 = (wxWindow *) 0 ;
5247 int arg3 ;
5248 wxBitmap *arg4 = 0 ;
5249 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5250 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5251 wxSize const &arg6_defvalue = wxDefaultSize ;
5252 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5253 long arg7 = (long) 0 ;
5254 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5255 wxString *arg8 = (wxString *) &arg8_defvalue ;
5256 bool result;
5257 wxPoint temp5 ;
5258 wxSize temp6 ;
5259 bool temp8 = False ;
5260 PyObject * obj0 = 0 ;
5261 PyObject * obj1 = 0 ;
5262 PyObject * obj2 = 0 ;
5263 PyObject * obj3 = 0 ;
5264 PyObject * obj4 = 0 ;
5265 PyObject * obj5 = 0 ;
5266 PyObject * obj6 = 0 ;
5267 PyObject * obj7 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5277 arg3 = (int) SWIG_AsInt(obj2);
5278 if (PyErr_Occurred()) SWIG_fail;
5279 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5280 SWIG_POINTER_EXCEPTION | 0)) == -1)
5281 SWIG_fail;
5282 if (arg4 == NULL) {
5283 PyErr_SetString(PyExc_TypeError,"null reference");
5284 SWIG_fail;
5285 }
5286 if (obj4) {
5287 {
5288 arg5 = &temp5;
5289 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5290 }
5291 }
5292 if (obj5) {
5293 {
5294 arg6 = &temp6;
5295 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5296 }
5297 }
5298 if (obj6) {
5299 arg7 = (long) SWIG_AsLong(obj6);
5300 if (PyErr_Occurred()) SWIG_fail;
5301 }
5302 if (obj7) {
5303 {
5304 arg8 = wxString_in_helper(obj7);
5305 if (arg8 == NULL) SWIG_fail;
5306 temp8 = True;
5307 }
5308 }
5309 {
5310 PyThreadState* __tstate = wxPyBeginAllowThreads();
5311 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5312
5313 wxPyEndAllowThreads(__tstate);
5314 if (PyErr_Occurred()) SWIG_fail;
5315 }
5316 {
5317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5318 }
5319 {
5320 if (temp8)
5321 delete arg8;
5322 }
5323 return resultobj;
5324 fail:
5325 {
5326 if (temp8)
5327 delete arg8;
5328 }
5329 return NULL;
5330 }
5331
5332
5333 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5334 PyObject *resultobj;
5335 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5336 wxBitmap result;
5337 PyObject * obj0 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (arg1)->GetBitmap();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 {
5353 wxBitmap * resultptr;
5354 resultptr = new wxBitmap((wxBitmap &) result);
5355 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5356 }
5357 return resultobj;
5358 fail:
5359 return NULL;
5360 }
5361
5362
5363 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5364 PyObject *resultobj;
5365 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5366 wxBitmap *arg2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char *kwnames[] = {
5370 (char *) "self",(char *) "bitmap", NULL
5371 };
5372
5373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5377 SWIG_POINTER_EXCEPTION | 0)) == -1)
5378 SWIG_fail;
5379 if (arg2 == NULL) {
5380 PyErr_SetString(PyExc_TypeError,"null reference");
5381 SWIG_fail;
5382 }
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5400 wxIcon *arg2 = 0 ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 char *kwnames[] = {
5404 (char *) "self",(char *) "icon", NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5411 SWIG_POINTER_EXCEPTION | 0)) == -1)
5412 SWIG_fail;
5413 if (arg2 == NULL) {
5414 PyErr_SetString(PyExc_TypeError,"null reference");
5415 SWIG_fail;
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 (arg1)->SetIcon((wxIcon const &)*arg2);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 Py_INCREF(Py_None); resultobj = Py_None;
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5434 wxVisualAttributes result;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "variant", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5441 if (obj0) {
5442 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 {
5446 if (!wxPyCheckForApp()) SWIG_fail;
5447 PyThreadState* __tstate = wxPyBeginAllowThreads();
5448 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5449
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 {
5454 wxVisualAttributes * resultptr;
5455 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5456 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5457 }
5458 return resultobj;
5459 fail:
5460 return NULL;
5461 }
5462
5463
5464 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5465 PyObject *obj;
5466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5467 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5468 Py_INCREF(obj);
5469 return Py_BuildValue((char *)"");
5470 }
5471 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5472 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5473 return 1;
5474 }
5475
5476
5477 static PyObject *_wrap_ListBoxNameStr_get() {
5478 PyObject *pyobj;
5479
5480 {
5481 #if wxUSE_UNICODE
5482 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5483 #else
5484 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5485 #endif
5486 }
5487 return pyobj;
5488 }
5489
5490
5491 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxWindow *arg1 = (wxWindow *) 0 ;
5494 int arg2 ;
5495 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5496 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5497 wxSize const &arg4_defvalue = wxDefaultSize ;
5498 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5499 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5500 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5501 long arg6 = (long) 0 ;
5502 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5503 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5504 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5505 wxString *arg8 = (wxString *) &arg8_defvalue ;
5506 wxListBox *result;
5507 wxPoint temp3 ;
5508 wxSize temp4 ;
5509 bool temp5 = False ;
5510 bool temp8 = False ;
5511 PyObject * obj0 = 0 ;
5512 PyObject * obj1 = 0 ;
5513 PyObject * obj2 = 0 ;
5514 PyObject * obj3 = 0 ;
5515 PyObject * obj4 = 0 ;
5516 PyObject * obj5 = 0 ;
5517 PyObject * obj6 = 0 ;
5518 PyObject * obj7 = 0 ;
5519 char *kwnames[] = {
5520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5521 };
5522
5523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5526 arg2 = (int) SWIG_AsInt(obj1);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 if (obj2) {
5529 {
5530 arg3 = &temp3;
5531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5532 }
5533 }
5534 if (obj3) {
5535 {
5536 arg4 = &temp4;
5537 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5538 }
5539 }
5540 if (obj4) {
5541 {
5542 if (! PySequence_Check(obj4)) {
5543 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5544 SWIG_fail;
5545 }
5546 arg5 = new wxArrayString;
5547 temp5 = True;
5548 int i, len=PySequence_Length(obj4);
5549 for (i=0; i<len; i++) {
5550 PyObject* item = PySequence_GetItem(obj4, i);
5551 #if wxUSE_UNICODE
5552 PyObject* str = PyObject_Unicode(item);
5553 #else
5554 PyObject* str = PyObject_Str(item);
5555 #endif
5556 if (PyErr_Occurred()) SWIG_fail;
5557 arg5->Add(Py2wxString(str));
5558 Py_DECREF(item);
5559 Py_DECREF(str);
5560 }
5561 }
5562 }
5563 if (obj5) {
5564 arg6 = (long) SWIG_AsLong(obj5);
5565 if (PyErr_Occurred()) SWIG_fail;
5566 }
5567 if (obj6) {
5568 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5569 SWIG_POINTER_EXCEPTION | 0)) == -1)
5570 SWIG_fail;
5571 if (arg7 == NULL) {
5572 PyErr_SetString(PyExc_TypeError,"null reference");
5573 SWIG_fail;
5574 }
5575 }
5576 if (obj7) {
5577 {
5578 arg8 = wxString_in_helper(obj7);
5579 if (arg8 == NULL) SWIG_fail;
5580 temp8 = True;
5581 }
5582 }
5583 {
5584 if (!wxPyCheckForApp()) SWIG_fail;
5585 PyThreadState* __tstate = wxPyBeginAllowThreads();
5586 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5587
5588 wxPyEndAllowThreads(__tstate);
5589 if (PyErr_Occurred()) SWIG_fail;
5590 }
5591 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5592 {
5593 if (temp5) delete arg5;
5594 }
5595 {
5596 if (temp8)
5597 delete arg8;
5598 }
5599 return resultobj;
5600 fail:
5601 {
5602 if (temp5) delete arg5;
5603 }
5604 {
5605 if (temp8)
5606 delete arg8;
5607 }
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxListBox *result;
5615 char *kwnames[] = {
5616 NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5620 {
5621 if (!wxPyCheckForApp()) SWIG_fail;
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (wxListBox *)new wxListBox();
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxListBox *arg1 = (wxListBox *) 0 ;
5638 wxWindow *arg2 = (wxWindow *) 0 ;
5639 int arg3 ;
5640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5642 wxSize const &arg5_defvalue = wxDefaultSize ;
5643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5644 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5645 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5646 long arg7 = (long) 0 ;
5647 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5648 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5649 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5650 wxString *arg9 = (wxString *) &arg9_defvalue ;
5651 bool result;
5652 wxPoint temp4 ;
5653 wxSize temp5 ;
5654 bool temp6 = False ;
5655 bool temp9 = False ;
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
5658 PyObject * obj2 = 0 ;
5659 PyObject * obj3 = 0 ;
5660 PyObject * obj4 = 0 ;
5661 PyObject * obj5 = 0 ;
5662 PyObject * obj6 = 0 ;
5663 PyObject * obj7 = 0 ;
5664 PyObject * obj8 = 0 ;
5665 char *kwnames[] = {
5666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5667 };
5668
5669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5674 arg3 = (int) SWIG_AsInt(obj2);
5675 if (PyErr_Occurred()) SWIG_fail;
5676 if (obj3) {
5677 {
5678 arg4 = &temp4;
5679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5680 }
5681 }
5682 if (obj4) {
5683 {
5684 arg5 = &temp5;
5685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5686 }
5687 }
5688 if (obj5) {
5689 {
5690 if (! PySequence_Check(obj5)) {
5691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5692 SWIG_fail;
5693 }
5694 arg6 = new wxArrayString;
5695 temp6 = True;
5696 int i, len=PySequence_Length(obj5);
5697 for (i=0; i<len; i++) {
5698 PyObject* item = PySequence_GetItem(obj5, i);
5699 #if wxUSE_UNICODE
5700 PyObject* str = PyObject_Unicode(item);
5701 #else
5702 PyObject* str = PyObject_Str(item);
5703 #endif
5704 if (PyErr_Occurred()) SWIG_fail;
5705 arg6->Add(Py2wxString(str));
5706 Py_DECREF(item);
5707 Py_DECREF(str);
5708 }
5709 }
5710 }
5711 if (obj6) {
5712 arg7 = (long) SWIG_AsLong(obj6);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 if (obj7) {
5716 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5717 SWIG_POINTER_EXCEPTION | 0)) == -1)
5718 SWIG_fail;
5719 if (arg8 == NULL) {
5720 PyErr_SetString(PyExc_TypeError,"null reference");
5721 SWIG_fail;
5722 }
5723 }
5724 if (obj8) {
5725 {
5726 arg9 = wxString_in_helper(obj8);
5727 if (arg9 == NULL) SWIG_fail;
5728 temp9 = True;
5729 }
5730 }
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
5738 {
5739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5740 }
5741 {
5742 if (temp6) delete arg6;
5743 }
5744 {
5745 if (temp9)
5746 delete arg9;
5747 }
5748 return resultobj;
5749 fail:
5750 {
5751 if (temp6) delete arg6;
5752 }
5753 {
5754 if (temp9)
5755 delete arg9;
5756 }
5757 return NULL;
5758 }
5759
5760
5761 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5762 PyObject *resultobj;
5763 wxListBox *arg1 = (wxListBox *) 0 ;
5764 wxString *arg2 = 0 ;
5765 int arg3 ;
5766 PyObject *arg4 = (PyObject *) NULL ;
5767 bool temp2 = False ;
5768 PyObject * obj0 = 0 ;
5769 PyObject * obj1 = 0 ;
5770 PyObject * obj2 = 0 ;
5771 PyObject * obj3 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5779 {
5780 arg2 = wxString_in_helper(obj1);
5781 if (arg2 == NULL) SWIG_fail;
5782 temp2 = True;
5783 }
5784 arg3 = (int) SWIG_AsInt(obj2);
5785 if (PyErr_Occurred()) SWIG_fail;
5786 if (obj3) {
5787 arg4 = obj3;
5788 }
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 Py_INCREF(Py_None); resultobj = Py_None;
5797 {
5798 if (temp2)
5799 delete arg2;
5800 }
5801 return resultobj;
5802 fail:
5803 {
5804 if (temp2)
5805 delete arg2;
5806 }
5807 return NULL;
5808 }
5809
5810
5811 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5812 PyObject *resultobj;
5813 wxListBox *arg1 = (wxListBox *) 0 ;
5814 wxArrayString *arg2 = 0 ;
5815 int arg3 ;
5816 bool temp2 = False ;
5817 PyObject * obj0 = 0 ;
5818 PyObject * obj1 = 0 ;
5819 PyObject * obj2 = 0 ;
5820 char *kwnames[] = {
5821 (char *) "self",(char *) "items",(char *) "pos", NULL
5822 };
5823
5824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5827 {
5828 if (! PySequence_Check(obj1)) {
5829 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5830 SWIG_fail;
5831 }
5832 arg2 = new wxArrayString;
5833 temp2 = True;
5834 int i, len=PySequence_Length(obj1);
5835 for (i=0; i<len; i++) {
5836 PyObject* item = PySequence_GetItem(obj1, i);
5837 #if wxUSE_UNICODE
5838 PyObject* str = PyObject_Unicode(item);
5839 #else
5840 PyObject* str = PyObject_Str(item);
5841 #endif
5842 if (PyErr_Occurred()) SWIG_fail;
5843 arg2->Add(Py2wxString(str));
5844 Py_DECREF(item);
5845 Py_DECREF(str);
5846 }
5847 }
5848 arg3 = (int) SWIG_AsInt(obj2);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 {
5859 if (temp2) delete arg2;
5860 }
5861 return resultobj;
5862 fail:
5863 {
5864 if (temp2) delete arg2;
5865 }
5866 return NULL;
5867 }
5868
5869
5870 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5871 PyObject *resultobj;
5872 wxListBox *arg1 = (wxListBox *) 0 ;
5873 wxArrayString *arg2 = 0 ;
5874 bool temp2 = False ;
5875 PyObject * obj0 = 0 ;
5876 PyObject * obj1 = 0 ;
5877 char *kwnames[] = {
5878 (char *) "self",(char *) "items", NULL
5879 };
5880
5881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5884 {
5885 if (! PySequence_Check(obj1)) {
5886 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5887 SWIG_fail;
5888 }
5889 arg2 = new wxArrayString;
5890 temp2 = True;
5891 int i, len=PySequence_Length(obj1);
5892 for (i=0; i<len; i++) {
5893 PyObject* item = PySequence_GetItem(obj1, i);
5894 #if wxUSE_UNICODE
5895 PyObject* str = PyObject_Unicode(item);
5896 #else
5897 PyObject* str = PyObject_Str(item);
5898 #endif
5899 if (PyErr_Occurred()) SWIG_fail;
5900 arg2->Add(Py2wxString(str));
5901 Py_DECREF(item);
5902 Py_DECREF(str);
5903 }
5904 }
5905 {
5906 PyThreadState* __tstate = wxPyBeginAllowThreads();
5907 (arg1)->Set((wxArrayString const &)*arg2);
5908
5909 wxPyEndAllowThreads(__tstate);
5910 if (PyErr_Occurred()) SWIG_fail;
5911 }
5912 Py_INCREF(Py_None); resultobj = Py_None;
5913 {
5914 if (temp2) delete arg2;
5915 }
5916 return resultobj;
5917 fail:
5918 {
5919 if (temp2) delete arg2;
5920 }
5921 return NULL;
5922 }
5923
5924
5925 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj;
5927 wxListBox *arg1 = (wxListBox *) 0 ;
5928 int arg2 ;
5929 bool result;
5930 PyObject * obj0 = 0 ;
5931 PyObject * obj1 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "n", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5939 arg2 = (int) SWIG_AsInt(obj1);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 {
5942 PyThreadState* __tstate = wxPyBeginAllowThreads();
5943 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 {
5949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5950 }
5951 return resultobj;
5952 fail:
5953 return NULL;
5954 }
5955
5956
5957 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5958 PyObject *resultobj;
5959 wxListBox *arg1 = (wxListBox *) 0 ;
5960 int arg2 ;
5961 bool arg3 = (bool) True ;
5962 PyObject * obj0 = 0 ;
5963 PyObject * obj1 = 0 ;
5964 PyObject * obj2 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self",(char *) "n",(char *) "select", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5972 arg2 = (int) SWIG_AsInt(obj1);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 if (obj2) {
5975 arg3 = (bool) SWIG_AsBool(obj2);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 (arg1)->SetSelection(arg2,arg3);
5981
5982 wxPyEndAllowThreads(__tstate);
5983 if (PyErr_Occurred()) SWIG_fail;
5984 }
5985 Py_INCREF(Py_None); resultobj = Py_None;
5986 return resultobj;
5987 fail:
5988 return NULL;
5989 }
5990
5991
5992 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5993 PyObject *resultobj;
5994 wxListBox *arg1 = (wxListBox *) 0 ;
5995 int arg2 ;
5996 PyObject * obj0 = 0 ;
5997 PyObject * obj1 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "n", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6005 arg2 = (int) SWIG_AsInt(obj1);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 {
6008 PyThreadState* __tstate = wxPyBeginAllowThreads();
6009 (arg1)->Select(arg2);
6010
6011 wxPyEndAllowThreads(__tstate);
6012 if (PyErr_Occurred()) SWIG_fail;
6013 }
6014 Py_INCREF(Py_None); resultobj = Py_None;
6015 return resultobj;
6016 fail:
6017 return NULL;
6018 }
6019
6020
6021 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6022 PyObject *resultobj;
6023 wxListBox *arg1 = (wxListBox *) 0 ;
6024 int arg2 ;
6025 PyObject * obj0 = 0 ;
6026 PyObject * obj1 = 0 ;
6027 char *kwnames[] = {
6028 (char *) "self",(char *) "n", NULL
6029 };
6030
6031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6034 arg2 = (int) SWIG_AsInt(obj1);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->Deselect(arg2);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
6044 return resultobj;
6045 fail:
6046 return NULL;
6047 }
6048
6049
6050 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxListBox *arg1 = (wxListBox *) 0 ;
6053 int arg2 = (int) -1 ;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 char *kwnames[] = {
6057 (char *) "self",(char *) "itemToLeaveSelected", NULL
6058 };
6059
6060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6063 if (obj1) {
6064 arg2 = (int) SWIG_AsInt(obj1);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 {
6068 PyThreadState* __tstate = wxPyBeginAllowThreads();
6069 (arg1)->DeselectAll(arg2);
6070
6071 wxPyEndAllowThreads(__tstate);
6072 if (PyErr_Occurred()) SWIG_fail;
6073 }
6074 Py_INCREF(Py_None); resultobj = Py_None;
6075 return resultobj;
6076 fail:
6077 return NULL;
6078 }
6079
6080
6081 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6082 PyObject *resultobj;
6083 wxListBox *arg1 = (wxListBox *) 0 ;
6084 wxString *arg2 = 0 ;
6085 bool arg3 = (bool) True ;
6086 bool result;
6087 bool temp2 = False ;
6088 PyObject * obj0 = 0 ;
6089 PyObject * obj1 = 0 ;
6090 PyObject * obj2 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self",(char *) "s",(char *) "select", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6098 {
6099 arg2 = wxString_in_helper(obj1);
6100 if (arg2 == NULL) SWIG_fail;
6101 temp2 = True;
6102 }
6103 if (obj2) {
6104 arg3 = (bool) SWIG_AsBool(obj2);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 {
6115 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6116 }
6117 {
6118 if (temp2)
6119 delete arg2;
6120 }
6121 return resultobj;
6122 fail:
6123 {
6124 if (temp2)
6125 delete arg2;
6126 }
6127 return NULL;
6128 }
6129
6130
6131 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6132 PyObject *resultobj;
6133 wxListBox *arg1 = (wxListBox *) 0 ;
6134 PyObject *result;
6135 PyObject * obj0 = 0 ;
6136 char *kwnames[] = {
6137 (char *) "self", NULL
6138 };
6139
6140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 result = (PyObject *)wxListBox_GetSelections(arg1);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 resultobj = result;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxListBox *arg1 = (wxListBox *) 0 ;
6160 int arg2 ;
6161 PyObject * obj0 = 0 ;
6162 PyObject * obj1 = 0 ;
6163 char *kwnames[] = {
6164 (char *) "self",(char *) "n", NULL
6165 };
6166
6167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6170 arg2 = (int) SWIG_AsInt(obj1);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 (arg1)->SetFirstItem(arg2);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 Py_INCREF(Py_None); resultobj = Py_None;
6180 return resultobj;
6181 fail:
6182 return NULL;
6183 }
6184
6185
6186 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxListBox *arg1 = (wxListBox *) 0 ;
6189 wxString *arg2 = 0 ;
6190 bool temp2 = False ;
6191 PyObject * obj0 = 0 ;
6192 PyObject * obj1 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "s", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6200 {
6201 arg2 = wxString_in_helper(obj1);
6202 if (arg2 == NULL) SWIG_fail;
6203 temp2 = True;
6204 }
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 (arg1)->SetFirstItem((wxString const &)*arg2);
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 Py_INCREF(Py_None); resultobj = Py_None;
6213 {
6214 if (temp2)
6215 delete arg2;
6216 }
6217 return resultobj;
6218 fail:
6219 {
6220 if (temp2)
6221 delete arg2;
6222 }
6223 return NULL;
6224 }
6225
6226
6227 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxListBox *arg1 = (wxListBox *) 0 ;
6230 int arg2 ;
6231 PyObject * obj0 = 0 ;
6232 PyObject * obj1 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "self",(char *) "n", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6240 arg2 = (int) SWIG_AsInt(obj1);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 {
6243 PyThreadState* __tstate = wxPyBeginAllowThreads();
6244 (arg1)->EnsureVisible(arg2);
6245
6246 wxPyEndAllowThreads(__tstate);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 }
6249 Py_INCREF(Py_None); resultobj = Py_None;
6250 return resultobj;
6251 fail:
6252 return NULL;
6253 }
6254
6255
6256 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6257 PyObject *resultobj;
6258 wxListBox *arg1 = (wxListBox *) 0 ;
6259 wxString *arg2 = 0 ;
6260 bool temp2 = False ;
6261 PyObject * obj0 = 0 ;
6262 PyObject * obj1 = 0 ;
6263 char *kwnames[] = {
6264 (char *) "self",(char *) "s", NULL
6265 };
6266
6267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6270 {
6271 arg2 = wxString_in_helper(obj1);
6272 if (arg2 == NULL) SWIG_fail;
6273 temp2 = True;
6274 }
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 Py_INCREF(Py_None); resultobj = Py_None;
6283 {
6284 if (temp2)
6285 delete arg2;
6286 }
6287 return resultobj;
6288 fail:
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxListBox *arg1 = (wxListBox *) 0 ;
6300 bool result;
6301 PyObject * obj0 = 0 ;
6302 char *kwnames[] = {
6303 (char *) "self", NULL
6304 };
6305
6306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6309 {
6310 PyThreadState* __tstate = wxPyBeginAllowThreads();
6311 result = (bool)((wxListBox const *)arg1)->IsSorted();
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 {
6317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6318 }
6319 return resultobj;
6320 fail:
6321 return NULL;
6322 }
6323
6324
6325 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6326 PyObject *resultobj;
6327 wxListBox *arg1 = (wxListBox *) 0 ;
6328 int arg2 ;
6329 wxColour *arg3 = 0 ;
6330 wxColour temp3 ;
6331 PyObject * obj0 = 0 ;
6332 PyObject * obj1 = 0 ;
6333 PyObject * obj2 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self",(char *) "item",(char *) "c", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6341 arg2 = (int) SWIG_AsInt(obj1);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 {
6344 arg3 = &temp3;
6345 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6346 }
6347 {
6348 PyThreadState* __tstate = wxPyBeginAllowThreads();
6349 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6350
6351 wxPyEndAllowThreads(__tstate);
6352 if (PyErr_Occurred()) SWIG_fail;
6353 }
6354 Py_INCREF(Py_None); resultobj = Py_None;
6355 return resultobj;
6356 fail:
6357 return NULL;
6358 }
6359
6360
6361 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6362 PyObject *resultobj;
6363 wxListBox *arg1 = (wxListBox *) 0 ;
6364 int arg2 ;
6365 wxColour *arg3 = 0 ;
6366 wxColour temp3 ;
6367 PyObject * obj0 = 0 ;
6368 PyObject * obj1 = 0 ;
6369 PyObject * obj2 = 0 ;
6370 char *kwnames[] = {
6371 (char *) "self",(char *) "item",(char *) "c", NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6377 arg2 = (int) SWIG_AsInt(obj1);
6378 if (PyErr_Occurred()) SWIG_fail;
6379 {
6380 arg3 = &temp3;
6381 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6382 }
6383 {
6384 PyThreadState* __tstate = wxPyBeginAllowThreads();
6385 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6386
6387 wxPyEndAllowThreads(__tstate);
6388 if (PyErr_Occurred()) SWIG_fail;
6389 }
6390 Py_INCREF(Py_None); resultobj = Py_None;
6391 return resultobj;
6392 fail:
6393 return NULL;
6394 }
6395
6396
6397 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6398 PyObject *resultobj;
6399 wxListBox *arg1 = (wxListBox *) 0 ;
6400 int arg2 ;
6401 wxFont *arg3 = 0 ;
6402 PyObject * obj0 = 0 ;
6403 PyObject * obj1 = 0 ;
6404 PyObject * obj2 = 0 ;
6405 char *kwnames[] = {
6406 (char *) "self",(char *) "item",(char *) "f", NULL
6407 };
6408
6409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6412 arg2 = (int) SWIG_AsInt(obj1);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6415 SWIG_POINTER_EXCEPTION | 0)) == -1)
6416 SWIG_fail;
6417 if (arg3 == NULL) {
6418 PyErr_SetString(PyExc_TypeError,"null reference");
6419 SWIG_fail;
6420 }
6421 {
6422 PyThreadState* __tstate = wxPyBeginAllowThreads();
6423 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6424
6425 wxPyEndAllowThreads(__tstate);
6426 if (PyErr_Occurred()) SWIG_fail;
6427 }
6428 Py_INCREF(Py_None); resultobj = Py_None;
6429 return resultobj;
6430 fail:
6431 return NULL;
6432 }
6433
6434
6435 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6436 PyObject *resultobj;
6437 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6438 wxVisualAttributes result;
6439 PyObject * obj0 = 0 ;
6440 char *kwnames[] = {
6441 (char *) "variant", NULL
6442 };
6443
6444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6445 if (obj0) {
6446 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 if (!wxPyCheckForApp()) SWIG_fail;
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 {
6458 wxVisualAttributes * resultptr;
6459 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6460 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6461 }
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6469 PyObject *obj;
6470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6471 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6472 Py_INCREF(obj);
6473 return Py_BuildValue((char *)"");
6474 }
6475 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6476 PyObject *resultobj;
6477 wxWindow *arg1 = (wxWindow *) 0 ;
6478 int arg2 ;
6479 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6480 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6481 wxSize const &arg4_defvalue = wxDefaultSize ;
6482 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6483 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6484 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6485 long arg6 = (long) 0 ;
6486 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6487 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6488 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6489 wxString *arg8 = (wxString *) &arg8_defvalue ;
6490 wxCheckListBox *result;
6491 wxPoint temp3 ;
6492 wxSize temp4 ;
6493 bool temp5 = False ;
6494 bool temp8 = False ;
6495 PyObject * obj0 = 0 ;
6496 PyObject * obj1 = 0 ;
6497 PyObject * obj2 = 0 ;
6498 PyObject * obj3 = 0 ;
6499 PyObject * obj4 = 0 ;
6500 PyObject * obj5 = 0 ;
6501 PyObject * obj6 = 0 ;
6502 PyObject * obj7 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6510 arg2 = (int) SWIG_AsInt(obj1);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 if (obj2) {
6513 {
6514 arg3 = &temp3;
6515 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6516 }
6517 }
6518 if (obj3) {
6519 {
6520 arg4 = &temp4;
6521 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6522 }
6523 }
6524 if (obj4) {
6525 {
6526 if (! PySequence_Check(obj4)) {
6527 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6528 SWIG_fail;
6529 }
6530 arg5 = new wxArrayString;
6531 temp5 = True;
6532 int i, len=PySequence_Length(obj4);
6533 for (i=0; i<len; i++) {
6534 PyObject* item = PySequence_GetItem(obj4, i);
6535 #if wxUSE_UNICODE
6536 PyObject* str = PyObject_Unicode(item);
6537 #else
6538 PyObject* str = PyObject_Str(item);
6539 #endif
6540 if (PyErr_Occurred()) SWIG_fail;
6541 arg5->Add(Py2wxString(str));
6542 Py_DECREF(item);
6543 Py_DECREF(str);
6544 }
6545 }
6546 }
6547 if (obj5) {
6548 arg6 = (long) SWIG_AsLong(obj5);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 if (obj6) {
6552 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6553 SWIG_POINTER_EXCEPTION | 0)) == -1)
6554 SWIG_fail;
6555 if (arg7 == NULL) {
6556 PyErr_SetString(PyExc_TypeError,"null reference");
6557 SWIG_fail;
6558 }
6559 }
6560 if (obj7) {
6561 {
6562 arg8 = wxString_in_helper(obj7);
6563 if (arg8 == NULL) SWIG_fail;
6564 temp8 = True;
6565 }
6566 }
6567 {
6568 if (!wxPyCheckForApp()) SWIG_fail;
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6571
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6576 {
6577 if (temp5) delete arg5;
6578 }
6579 {
6580 if (temp8)
6581 delete arg8;
6582 }
6583 return resultobj;
6584 fail:
6585 {
6586 if (temp5) delete arg5;
6587 }
6588 {
6589 if (temp8)
6590 delete arg8;
6591 }
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxCheckListBox *result;
6599 char *kwnames[] = {
6600 NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6604 {
6605 if (!wxPyCheckForApp()) SWIG_fail;
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (wxCheckListBox *)new wxCheckListBox();
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6622 wxWindow *arg2 = (wxWindow *) 0 ;
6623 int arg3 ;
6624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6626 wxSize const &arg5_defvalue = wxDefaultSize ;
6627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6628 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6629 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6630 long arg7 = (long) 0 ;
6631 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6632 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6633 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6634 wxString *arg9 = (wxString *) &arg9_defvalue ;
6635 bool result;
6636 wxPoint temp4 ;
6637 wxSize temp5 ;
6638 bool temp6 = False ;
6639 bool temp9 = False ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 PyObject * obj2 = 0 ;
6643 PyObject * obj3 = 0 ;
6644 PyObject * obj4 = 0 ;
6645 PyObject * obj5 = 0 ;
6646 PyObject * obj6 = 0 ;
6647 PyObject * obj7 = 0 ;
6648 PyObject * obj8 = 0 ;
6649 char *kwnames[] = {
6650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6651 };
6652
6653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6658 arg3 = (int) SWIG_AsInt(obj2);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 if (obj3) {
6661 {
6662 arg4 = &temp4;
6663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6664 }
6665 }
6666 if (obj4) {
6667 {
6668 arg5 = &temp5;
6669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6670 }
6671 }
6672 if (obj5) {
6673 {
6674 if (! PySequence_Check(obj5)) {
6675 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6676 SWIG_fail;
6677 }
6678 arg6 = new wxArrayString;
6679 temp6 = True;
6680 int i, len=PySequence_Length(obj5);
6681 for (i=0; i<len; i++) {
6682 PyObject* item = PySequence_GetItem(obj5, i);
6683 #if wxUSE_UNICODE
6684 PyObject* str = PyObject_Unicode(item);
6685 #else
6686 PyObject* str = PyObject_Str(item);
6687 #endif
6688 if (PyErr_Occurred()) SWIG_fail;
6689 arg6->Add(Py2wxString(str));
6690 Py_DECREF(item);
6691 Py_DECREF(str);
6692 }
6693 }
6694 }
6695 if (obj6) {
6696 arg7 = (long) SWIG_AsLong(obj6);
6697 if (PyErr_Occurred()) SWIG_fail;
6698 }
6699 if (obj7) {
6700 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6701 SWIG_POINTER_EXCEPTION | 0)) == -1)
6702 SWIG_fail;
6703 if (arg8 == NULL) {
6704 PyErr_SetString(PyExc_TypeError,"null reference");
6705 SWIG_fail;
6706 }
6707 }
6708 if (obj8) {
6709 {
6710 arg9 = wxString_in_helper(obj8);
6711 if (arg9 == NULL) SWIG_fail;
6712 temp9 = True;
6713 }
6714 }
6715 {
6716 PyThreadState* __tstate = wxPyBeginAllowThreads();
6717 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6718
6719 wxPyEndAllowThreads(__tstate);
6720 if (PyErr_Occurred()) SWIG_fail;
6721 }
6722 {
6723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6724 }
6725 {
6726 if (temp6) delete arg6;
6727 }
6728 {
6729 if (temp9)
6730 delete arg9;
6731 }
6732 return resultobj;
6733 fail:
6734 {
6735 if (temp6) delete arg6;
6736 }
6737 {
6738 if (temp9)
6739 delete arg9;
6740 }
6741 return NULL;
6742 }
6743
6744
6745 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6746 PyObject *resultobj;
6747 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6748 int arg2 ;
6749 bool result;
6750 PyObject * obj0 = 0 ;
6751 PyObject * obj1 = 0 ;
6752 char *kwnames[] = {
6753 (char *) "self",(char *) "index", NULL
6754 };
6755
6756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6759 arg2 = (int) SWIG_AsInt(obj1);
6760 if (PyErr_Occurred()) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (bool)(arg1)->IsChecked(arg2);
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 {
6769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6770 }
6771 return resultobj;
6772 fail:
6773 return NULL;
6774 }
6775
6776
6777 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6778 PyObject *resultobj;
6779 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6780 int arg2 ;
6781 int arg3 = (int) True ;
6782 PyObject * obj0 = 0 ;
6783 PyObject * obj1 = 0 ;
6784 PyObject * obj2 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "index",(char *) "check", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6792 arg2 = (int) SWIG_AsInt(obj1);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 if (obj2) {
6795 arg3 = (int) SWIG_AsInt(obj2);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->Check(arg2,arg3);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 return resultobj;
6807 fail:
6808 return NULL;
6809 }
6810
6811
6812 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6815 wxPoint *arg2 = 0 ;
6816 int result;
6817 wxPoint temp2 ;
6818 PyObject * obj0 = 0 ;
6819 PyObject * obj1 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "pt", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6827 {
6828 arg2 = &temp2;
6829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6830 }
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 resultobj = SWIG_FromInt((int)result);
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6848 int arg2 ;
6849 int arg3 ;
6850 int result;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 PyObject * obj2 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self",(char *) "x",(char *) "y", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6861 arg2 = (int) SWIG_AsInt(obj1);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 arg3 = (int) SWIG_AsInt(obj2);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = SWIG_FromInt((int)result);
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6880 PyObject *obj;
6881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6882 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6883 Py_INCREF(obj);
6884 return Py_BuildValue((char *)"");
6885 }
6886 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6887 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6888 return 1;
6889 }
6890
6891
6892 static PyObject *_wrap_TextCtrlNameStr_get() {
6893 PyObject *pyobj;
6894
6895 {
6896 #if wxUSE_UNICODE
6897 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6898 #else
6899 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6900 #endif
6901 }
6902 return pyobj;
6903 }
6904
6905
6906 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6907 PyObject *resultobj;
6908 wxTextAttr *result;
6909
6910 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6911 {
6912 PyThreadState* __tstate = wxPyBeginAllowThreads();
6913 result = (wxTextAttr *)new wxTextAttr();
6914
6915 wxPyEndAllowThreads(__tstate);
6916 if (PyErr_Occurred()) SWIG_fail;
6917 }
6918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6919 return resultobj;
6920 fail:
6921 return NULL;
6922 }
6923
6924
6925 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6926 PyObject *resultobj;
6927 wxColour *arg1 = 0 ;
6928 wxColour const &arg2_defvalue = wxNullColour ;
6929 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6930 wxFont const &arg3_defvalue = wxNullFont ;
6931 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6932 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6933 wxTextAttr *result;
6934 wxColour temp1 ;
6935 wxColour temp2 ;
6936 PyObject * obj0 = 0 ;
6937 PyObject * obj1 = 0 ;
6938 PyObject * obj2 = 0 ;
6939 PyObject * obj3 = 0 ;
6940
6941 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6942 {
6943 arg1 = &temp1;
6944 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6945 }
6946 if (obj1) {
6947 {
6948 arg2 = &temp2;
6949 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6950 }
6951 }
6952 if (obj2) {
6953 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1)
6955 SWIG_fail;
6956 if (arg3 == NULL) {
6957 PyErr_SetString(PyExc_TypeError,"null reference");
6958 SWIG_fail;
6959 }
6960 }
6961 if (obj3) {
6962 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 {
6966 PyThreadState* __tstate = wxPyBeginAllowThreads();
6967 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6968
6969 wxPyEndAllowThreads(__tstate);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 }
6972 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6973 return resultobj;
6974 fail:
6975 return NULL;
6976 }
6977
6978
6979 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6980 int argc;
6981 PyObject *argv[5];
6982 int ii;
6983
6984 argc = PyObject_Length(args);
6985 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6986 argv[ii] = PyTuple_GetItem(args,ii);
6987 }
6988 if (argc == 0) {
6989 return _wrap_new_TextAttr__SWIG_0(self,args);
6990 }
6991 if ((argc >= 1) && (argc <= 4)) {
6992 int _v;
6993 {
6994 _v = wxColour_typecheck(argv[0]);
6995 }
6996 if (_v) {
6997 if (argc <= 1) {
6998 return _wrap_new_TextAttr__SWIG_1(self,args);
6999 }
7000 {
7001 _v = wxColour_typecheck(argv[1]);
7002 }
7003 if (_v) {
7004 if (argc <= 2) {
7005 return _wrap_new_TextAttr__SWIG_1(self,args);
7006 }
7007 {
7008 void *ptr;
7009 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
7010 _v = 0;
7011 PyErr_Clear();
7012 } else {
7013 _v = 1;
7014 }
7015 }
7016 if (_v) {
7017 if (argc <= 3) {
7018 return _wrap_new_TextAttr__SWIG_1(self,args);
7019 }
7020 _v = SWIG_CheckInt(argv[3]);
7021 if (_v) {
7022 return _wrap_new_TextAttr__SWIG_1(self,args);
7023 }
7024 }
7025 }
7026 }
7027 }
7028
7029 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7037 PyObject * obj0 = 0 ;
7038 char *kwnames[] = {
7039 (char *) "self", NULL
7040 };
7041
7042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 delete arg1;
7048
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 Py_INCREF(Py_None); resultobj = Py_None;
7053 return resultobj;
7054 fail:
7055 return NULL;
7056 }
7057
7058
7059 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7060 PyObject *resultobj;
7061 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->Init();
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 Py_INCREF(Py_None); resultobj = Py_None;
7078 return resultobj;
7079 fail:
7080 return NULL;
7081 }
7082
7083
7084 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7085 PyObject *resultobj;
7086 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7087 wxColour *arg2 = 0 ;
7088 wxColour temp2 ;
7089 PyObject * obj0 = 0 ;
7090 PyObject * obj1 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self",(char *) "colText", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 {
7099 arg2 = &temp2;
7100 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7101 }
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 (arg1)->SetTextColour((wxColour const &)*arg2);
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 Py_INCREF(Py_None); resultobj = Py_None;
7110 return resultobj;
7111 fail:
7112 return NULL;
7113 }
7114
7115
7116 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7119 wxColour *arg2 = 0 ;
7120 wxColour temp2 ;
7121 PyObject * obj0 = 0 ;
7122 PyObject * obj1 = 0 ;
7123 char *kwnames[] = {
7124 (char *) "self",(char *) "colBack", NULL
7125 };
7126
7127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7130 {
7131 arg2 = &temp2;
7132 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7133 }
7134 {
7135 PyThreadState* __tstate = wxPyBeginAllowThreads();
7136 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7137
7138 wxPyEndAllowThreads(__tstate);
7139 if (PyErr_Occurred()) SWIG_fail;
7140 }
7141 Py_INCREF(Py_None); resultobj = Py_None;
7142 return resultobj;
7143 fail:
7144 return NULL;
7145 }
7146
7147
7148 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7149 PyObject *resultobj;
7150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7151 wxFont *arg2 = 0 ;
7152 long arg3 = (long) wxTEXT_ATTR_FONT ;
7153 PyObject * obj0 = 0 ;
7154 PyObject * obj1 = 0 ;
7155 PyObject * obj2 = 0 ;
7156 char *kwnames[] = {
7157 (char *) "self",(char *) "font",(char *) "flags", NULL
7158 };
7159
7160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7163 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7164 SWIG_POINTER_EXCEPTION | 0)) == -1)
7165 SWIG_fail;
7166 if (arg2 == NULL) {
7167 PyErr_SetString(PyExc_TypeError,"null reference");
7168 SWIG_fail;
7169 }
7170 if (obj2) {
7171 arg3 = (long) SWIG_AsLong(obj2);
7172 if (PyErr_Occurred()) SWIG_fail;
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185 }
7186
7187
7188 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7191 int arg2 ;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "alignment", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7201 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7202 if (PyErr_Occurred()) SWIG_fail;
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 Py_INCREF(Py_None); resultobj = Py_None;
7211 return resultobj;
7212 fail:
7213 return NULL;
7214 }
7215
7216
7217 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7220 wxArrayInt *arg2 = 0 ;
7221 bool temp2 = False ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "tabs", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7231 {
7232 if (! PySequence_Check(obj1)) {
7233 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7234 SWIG_fail;
7235 }
7236 arg2 = new wxArrayInt;
7237 temp2 = True;
7238 int i, len=PySequence_Length(obj1);
7239 for (i=0; i<len; i++) {
7240 PyObject* item = PySequence_GetItem(obj1, i);
7241 PyObject* number = PyNumber_Int(item);
7242 arg2->Add(PyInt_AS_LONG(number));
7243 Py_DECREF(item);
7244 Py_DECREF(number);
7245 }
7246 }
7247 {
7248 PyThreadState* __tstate = wxPyBeginAllowThreads();
7249 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7250
7251 wxPyEndAllowThreads(__tstate);
7252 if (PyErr_Occurred()) SWIG_fail;
7253 }
7254 Py_INCREF(Py_None); resultobj = Py_None;
7255 {
7256 if (temp2) delete arg2;
7257 }
7258 return resultobj;
7259 fail:
7260 {
7261 if (temp2) delete arg2;
7262 }
7263 return NULL;
7264 }
7265
7266
7267 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7268 PyObject *resultobj;
7269 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7270 int arg2 ;
7271 int arg3 = (int) 0 ;
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 PyObject * obj2 = 0 ;
7275 char *kwnames[] = {
7276 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7277 };
7278
7279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
7280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7282 arg2 = (int) SWIG_AsInt(obj1);
7283 if (PyErr_Occurred()) SWIG_fail;
7284 if (obj2) {
7285 arg3 = (int) SWIG_AsInt(obj2);
7286 if (PyErr_Occurred()) SWIG_fail;
7287 }
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 (arg1)->SetLeftIndent(arg2,arg3);
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
7295 Py_INCREF(Py_None); resultobj = Py_None;
7296 return resultobj;
7297 fail:
7298 return NULL;
7299 }
7300
7301
7302 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7305 int arg2 ;
7306 PyObject * obj0 = 0 ;
7307 PyObject * obj1 = 0 ;
7308 char *kwnames[] = {
7309 (char *) "self",(char *) "indent", NULL
7310 };
7311
7312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7315 arg2 = (int) SWIG_AsInt(obj1);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 (arg1)->SetRightIndent(arg2);
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 Py_INCREF(Py_None); resultobj = Py_None;
7325 return resultobj;
7326 fail:
7327 return NULL;
7328 }
7329
7330
7331 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj;
7333 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7334 long arg2 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char *kwnames[] = {
7338 (char *) "self",(char *) "flags", NULL
7339 };
7340
7341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7344 arg2 = (long) SWIG_AsLong(obj1);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetFlags(arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7363 bool result;
7364 PyObject * obj0 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7381 }
7382 return resultobj;
7383 fail:
7384 return NULL;
7385 }
7386
7387
7388 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7389 PyObject *resultobj;
7390 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7391 bool result;
7392 PyObject * obj0 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7400 {
7401 PyThreadState* __tstate = wxPyBeginAllowThreads();
7402 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7403
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 {
7408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7409 }
7410 return resultobj;
7411 fail:
7412 return NULL;
7413 }
7414
7415
7416 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7417 PyObject *resultobj;
7418 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7419 bool result;
7420 PyObject * obj0 = 0 ;
7421 char *kwnames[] = {
7422 (char *) "self", NULL
7423 };
7424
7425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7428 {
7429 PyThreadState* __tstate = wxPyBeginAllowThreads();
7430 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7431
7432 wxPyEndAllowThreads(__tstate);
7433 if (PyErr_Occurred()) SWIG_fail;
7434 }
7435 {
7436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7437 }
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7447 bool result;
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 {
7464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7465 }
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7475 bool result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7484 {
7485 PyThreadState* __tstate = wxPyBeginAllowThreads();
7486 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7487
7488 wxPyEndAllowThreads(__tstate);
7489 if (PyErr_Occurred()) SWIG_fail;
7490 }
7491 {
7492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7493 }
7494 return resultobj;
7495 fail:
7496 return NULL;
7497 }
7498
7499
7500 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7503 bool result;
7504 PyObject * obj0 = 0 ;
7505 char *kwnames[] = {
7506 (char *) "self", NULL
7507 };
7508
7509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7512 {
7513 PyThreadState* __tstate = wxPyBeginAllowThreads();
7514 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7515
7516 wxPyEndAllowThreads(__tstate);
7517 if (PyErr_Occurred()) SWIG_fail;
7518 }
7519 {
7520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7521 }
7522 return resultobj;
7523 fail:
7524 return NULL;
7525 }
7526
7527
7528 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7529 PyObject *resultobj;
7530 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7531 bool result;
7532 PyObject * obj0 = 0 ;
7533 char *kwnames[] = {
7534 (char *) "self", NULL
7535 };
7536
7537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7543
7544 wxPyEndAllowThreads(__tstate);
7545 if (PyErr_Occurred()) SWIG_fail;
7546 }
7547 {
7548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7549 }
7550 return resultobj;
7551 fail:
7552 return NULL;
7553 }
7554
7555
7556 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7557 PyObject *resultobj;
7558 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7559 long arg2 ;
7560 bool result;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "self",(char *) "flag", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7570 arg2 = (long) SWIG_AsLong(obj1);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 {
7573 PyThreadState* __tstate = wxPyBeginAllowThreads();
7574 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7575
7576 wxPyEndAllowThreads(__tstate);
7577 if (PyErr_Occurred()) SWIG_fail;
7578 }
7579 {
7580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7581 }
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7591 wxColour *result;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 {
7603 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7604 result = (wxColour *) &_result_ref;
7605 }
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7620 wxColour *result;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 {
7632 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7633 result = (wxColour *) &_result_ref;
7634 }
7635
7636 wxPyEndAllowThreads(__tstate);
7637 if (PyErr_Occurred()) SWIG_fail;
7638 }
7639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7640 return resultobj;
7641 fail:
7642 return NULL;
7643 }
7644
7645
7646 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7647 PyObject *resultobj;
7648 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7649 wxFont *result;
7650 PyObject * obj0 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 {
7661 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7662 result = (wxFont *) &_result_ref;
7663 }
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 {
7669 wxFont* resultptr = new wxFont(*result);
7670 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7671 }
7672 return resultobj;
7673 fail:
7674 return NULL;
7675 }
7676
7677
7678 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7679 PyObject *resultobj;
7680 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7681 int result;
7682 PyObject * obj0 = 0 ;
7683 char *kwnames[] = {
7684 (char *) "self", NULL
7685 };
7686
7687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = SWIG_FromInt((int)result);
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7707 wxArrayInt *result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 {
7719 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7720 result = (wxArrayInt *) &_result_ref;
7721 }
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 {
7727 resultobj = PyList_New(0);
7728 size_t idx;
7729 for (idx = 0; idx < result->GetCount(); idx += 1) {
7730 PyObject* val = PyInt_FromLong( result->Item(idx) );
7731 PyList_Append(resultobj, val);
7732 Py_DECREF(val);
7733 }
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7744 long result;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 resultobj = SWIG_FromLong((long)result);
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7770 long result;
7771 PyObject * obj0 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_FromLong((long)result);
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7796 long result;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7805 {
7806 PyThreadState* __tstate = wxPyBeginAllowThreads();
7807 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7808
7809 wxPyEndAllowThreads(__tstate);
7810 if (PyErr_Occurred()) SWIG_fail;
7811 }
7812 resultobj = SWIG_FromLong((long)result);
7813 return resultobj;
7814 fail:
7815 return NULL;
7816 }
7817
7818
7819 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7820 PyObject *resultobj;
7821 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7822 long result;
7823 PyObject * obj0 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 resultobj = SWIG_FromLong((long)result);
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7848 bool result;
7849 PyObject * obj0 = 0 ;
7850 char *kwnames[] = {
7851 (char *) "self", NULL
7852 };
7853
7854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7857 {
7858 PyThreadState* __tstate = wxPyBeginAllowThreads();
7859 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7860
7861 wxPyEndAllowThreads(__tstate);
7862 if (PyErr_Occurred()) SWIG_fail;
7863 }
7864 {
7865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7866 }
7867 return resultobj;
7868 fail:
7869 return NULL;
7870 }
7871
7872
7873 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxTextAttr *arg1 = 0 ;
7876 wxTextAttr *arg2 = 0 ;
7877 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7878 wxTextAttr result;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 PyObject * obj2 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7888 SWIG_POINTER_EXCEPTION | 0)) == -1)
7889 SWIG_fail;
7890 if (arg1 == NULL) {
7891 PyErr_SetString(PyExc_TypeError,"null reference");
7892 SWIG_fail;
7893 }
7894 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7895 SWIG_POINTER_EXCEPTION | 0)) == -1)
7896 SWIG_fail;
7897 if (arg2 == NULL) {
7898 PyErr_SetString(PyExc_TypeError,"null reference");
7899 SWIG_fail;
7900 }
7901 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 {
7911 wxTextAttr * resultptr;
7912 resultptr = new wxTextAttr((wxTextAttr &) result);
7913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7914 }
7915 return resultobj;
7916 fail:
7917 return NULL;
7918 }
7919
7920
7921 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7922 PyObject *obj;
7923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7924 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7925 Py_INCREF(obj);
7926 return Py_BuildValue((char *)"");
7927 }
7928 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxWindow *arg1 = (wxWindow *) 0 ;
7931 int arg2 ;
7932 wxString const &arg3_defvalue = wxPyEmptyString ;
7933 wxString *arg3 = (wxString *) &arg3_defvalue ;
7934 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7935 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7936 wxSize const &arg5_defvalue = wxDefaultSize ;
7937 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7938 long arg6 = (long) 0 ;
7939 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7940 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7941 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7942 wxString *arg8 = (wxString *) &arg8_defvalue ;
7943 wxTextCtrl *result;
7944 bool temp3 = False ;
7945 wxPoint temp4 ;
7946 wxSize temp5 ;
7947 bool temp8 = False ;
7948 PyObject * obj0 = 0 ;
7949 PyObject * obj1 = 0 ;
7950 PyObject * obj2 = 0 ;
7951 PyObject * obj3 = 0 ;
7952 PyObject * obj4 = 0 ;
7953 PyObject * obj5 = 0 ;
7954 PyObject * obj6 = 0 ;
7955 PyObject * obj7 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 arg2 = (int) SWIG_AsInt(obj1);
7964 if (PyErr_Occurred()) SWIG_fail;
7965 if (obj2) {
7966 {
7967 arg3 = wxString_in_helper(obj2);
7968 if (arg3 == NULL) SWIG_fail;
7969 temp3 = True;
7970 }
7971 }
7972 if (obj3) {
7973 {
7974 arg4 = &temp4;
7975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7976 }
7977 }
7978 if (obj4) {
7979 {
7980 arg5 = &temp5;
7981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7982 }
7983 }
7984 if (obj5) {
7985 arg6 = (long) SWIG_AsLong(obj5);
7986 if (PyErr_Occurred()) SWIG_fail;
7987 }
7988 if (obj6) {
7989 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7990 SWIG_POINTER_EXCEPTION | 0)) == -1)
7991 SWIG_fail;
7992 if (arg7 == NULL) {
7993 PyErr_SetString(PyExc_TypeError,"null reference");
7994 SWIG_fail;
7995 }
7996 }
7997 if (obj7) {
7998 {
7999 arg8 = wxString_in_helper(obj7);
8000 if (arg8 == NULL) SWIG_fail;
8001 temp8 = True;
8002 }
8003 }
8004 {
8005 if (!wxPyCheckForApp()) SWIG_fail;
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 {
8013 resultobj = wxPyMake_wxObject(result);
8014 }
8015 {
8016 if (temp3)
8017 delete arg3;
8018 }
8019 {
8020 if (temp8)
8021 delete arg8;
8022 }
8023 return resultobj;
8024 fail:
8025 {
8026 if (temp3)
8027 delete arg3;
8028 }
8029 {
8030 if (temp8)
8031 delete arg8;
8032 }
8033 return NULL;
8034 }
8035
8036
8037 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxTextCtrl *result;
8040 char *kwnames[] = {
8041 NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8045 {
8046 if (!wxPyCheckForApp()) SWIG_fail;
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 result = (wxTextCtrl *)new wxTextCtrl();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 {
8054 resultobj = wxPyMake_wxObject(result);
8055 }
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj;
8064 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8065 wxWindow *arg2 = (wxWindow *) 0 ;
8066 int arg3 ;
8067 wxString const &arg4_defvalue = wxPyEmptyString ;
8068 wxString *arg4 = (wxString *) &arg4_defvalue ;
8069 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8070 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8071 wxSize const &arg6_defvalue = wxDefaultSize ;
8072 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8073 long arg7 = (long) 0 ;
8074 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8075 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8076 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8077 wxString *arg9 = (wxString *) &arg9_defvalue ;
8078 bool result;
8079 bool temp4 = False ;
8080 wxPoint temp5 ;
8081 wxSize temp6 ;
8082 bool temp9 = False ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 PyObject * obj2 = 0 ;
8086 PyObject * obj3 = 0 ;
8087 PyObject * obj4 = 0 ;
8088 PyObject * obj5 = 0 ;
8089 PyObject * obj6 = 0 ;
8090 PyObject * obj7 = 0 ;
8091 PyObject * obj8 = 0 ;
8092 char *kwnames[] = {
8093 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8094 };
8095
8096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8099 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8101 arg3 = (int) SWIG_AsInt(obj2);
8102 if (PyErr_Occurred()) SWIG_fail;
8103 if (obj3) {
8104 {
8105 arg4 = wxString_in_helper(obj3);
8106 if (arg4 == NULL) SWIG_fail;
8107 temp4 = True;
8108 }
8109 }
8110 if (obj4) {
8111 {
8112 arg5 = &temp5;
8113 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8114 }
8115 }
8116 if (obj5) {
8117 {
8118 arg6 = &temp6;
8119 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8120 }
8121 }
8122 if (obj6) {
8123 arg7 = (long) SWIG_AsLong(obj6);
8124 if (PyErr_Occurred()) SWIG_fail;
8125 }
8126 if (obj7) {
8127 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8128 SWIG_POINTER_EXCEPTION | 0)) == -1)
8129 SWIG_fail;
8130 if (arg8 == NULL) {
8131 PyErr_SetString(PyExc_TypeError,"null reference");
8132 SWIG_fail;
8133 }
8134 }
8135 if (obj8) {
8136 {
8137 arg9 = wxString_in_helper(obj8);
8138 if (arg9 == NULL) SWIG_fail;
8139 temp9 = True;
8140 }
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 {
8150 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8151 }
8152 {
8153 if (temp4)
8154 delete arg4;
8155 }
8156 {
8157 if (temp9)
8158 delete arg9;
8159 }
8160 return resultobj;
8161 fail:
8162 {
8163 if (temp4)
8164 delete arg4;
8165 }
8166 {
8167 if (temp9)
8168 delete arg9;
8169 }
8170 return NULL;
8171 }
8172
8173
8174 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8175 PyObject *resultobj;
8176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8177 wxString result;
8178 PyObject * obj0 = 0 ;
8179 char *kwnames[] = {
8180 (char *) "self", NULL
8181 };
8182
8183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8186 {
8187 PyThreadState* __tstate = wxPyBeginAllowThreads();
8188 result = ((wxTextCtrl const *)arg1)->GetValue();
8189
8190 wxPyEndAllowThreads(__tstate);
8191 if (PyErr_Occurred()) SWIG_fail;
8192 }
8193 {
8194 #if wxUSE_UNICODE
8195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8196 #else
8197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8198 #endif
8199 }
8200 return resultobj;
8201 fail:
8202 return NULL;
8203 }
8204
8205
8206 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8209 wxString *arg2 = 0 ;
8210 bool temp2 = False ;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 char *kwnames[] = {
8214 (char *) "self",(char *) "value", NULL
8215 };
8216
8217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8220 {
8221 arg2 = wxString_in_helper(obj1);
8222 if (arg2 == NULL) SWIG_fail;
8223 temp2 = True;
8224 }
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 (arg1)->SetValue((wxString const &)*arg2);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 Py_INCREF(Py_None); resultobj = Py_None;
8233 {
8234 if (temp2)
8235 delete arg2;
8236 }
8237 return resultobj;
8238 fail:
8239 {
8240 if (temp2)
8241 delete arg2;
8242 }
8243 return NULL;
8244 }
8245
8246
8247 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8248 PyObject *resultobj;
8249 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8250 long arg2 ;
8251 long arg3 ;
8252 wxString result;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 PyObject * obj2 = 0 ;
8256 char *kwnames[] = {
8257 (char *) "self",(char *) "from",(char *) "to", NULL
8258 };
8259
8260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8263 arg2 = (long) SWIG_AsLong(obj1);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 arg3 = (long) SWIG_AsLong(obj2);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 {
8275 #if wxUSE_UNICODE
8276 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8277 #else
8278 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8279 #endif
8280 }
8281 return resultobj;
8282 fail:
8283 return NULL;
8284 }
8285
8286
8287 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8288 PyObject *resultobj;
8289 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8290 long arg2 ;
8291 int result;
8292 PyObject * obj0 = 0 ;
8293 PyObject * obj1 = 0 ;
8294 char *kwnames[] = {
8295 (char *) "self",(char *) "lineNo", NULL
8296 };
8297
8298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8301 arg2 = (long) SWIG_AsLong(obj1);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 {
8304 PyThreadState* __tstate = wxPyBeginAllowThreads();
8305 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8306
8307 wxPyEndAllowThreads(__tstate);
8308 if (PyErr_Occurred()) SWIG_fail;
8309 }
8310 resultobj = SWIG_FromInt((int)result);
8311 return resultobj;
8312 fail:
8313 return NULL;
8314 }
8315
8316
8317 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8318 PyObject *resultobj;
8319 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8320 long arg2 ;
8321 wxString result;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "lineNo", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8331 arg2 = (long) SWIG_AsLong(obj1);
8332 if (PyErr_Occurred()) SWIG_fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 {
8341 #if wxUSE_UNICODE
8342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8343 #else
8344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8345 #endif
8346 }
8347 return resultobj;
8348 fail:
8349 return NULL;
8350 }
8351
8352
8353 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8356 int result;
8357 PyObject * obj0 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_FromInt((int)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8382 bool result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 {
8399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8400 }
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8410 bool result;
8411 PyObject * obj0 = 0 ;
8412 char *kwnames[] = {
8413 (char *) "self", NULL
8414 };
8415
8416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8419 {
8420 PyThreadState* __tstate = wxPyBeginAllowThreads();
8421 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8422
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 {
8427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8428 }
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj;
8437 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8438 bool result;
8439 PyObject * obj0 = 0 ;
8440 char *kwnames[] = {
8441 (char *) "self", NULL
8442 };
8443
8444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 {
8455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8456 }
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8466 bool result;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "self", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 {
8483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8484 }
8485 return resultobj;
8486 fail:
8487 return NULL;
8488 }
8489
8490
8491 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8494 long *arg2 = (long *) 0 ;
8495 long *arg3 = (long *) 0 ;
8496 long temp2 ;
8497 long temp3 ;
8498 PyObject * obj0 = 0 ;
8499 char *kwnames[] = {
8500 (char *) "self", NULL
8501 };
8502
8503 arg2 = &temp2;
8504 arg3 = &temp3;
8505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 Py_INCREF(Py_None); resultobj = Py_None;
8516 {
8517 PyObject *o = PyInt_FromLong((long) (*arg2));
8518 resultobj = t_output_helper(resultobj,o);
8519 }
8520 {
8521 PyObject *o = PyInt_FromLong((long) (*arg3));
8522 resultobj = t_output_helper(resultobj,o);
8523 }
8524 return resultobj;
8525 fail:
8526 return NULL;
8527 }
8528
8529
8530 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8533 wxString result;
8534 PyObject * obj0 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "self", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 {
8550 #if wxUSE_UNICODE
8551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8552 #else
8553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8554 #endif
8555 }
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8565 PyObject * obj0 = 0 ;
8566 char *kwnames[] = {
8567 (char *) "self", NULL
8568 };
8569
8570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 (arg1)->Clear();
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 Py_INCREF(Py_None); resultobj = Py_None;
8581 return resultobj;
8582 fail:
8583 return NULL;
8584 }
8585
8586
8587 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8590 long arg2 ;
8591 long arg3 ;
8592 wxString *arg4 = 0 ;
8593 bool temp4 = False ;
8594 PyObject * obj0 = 0 ;
8595 PyObject * obj1 = 0 ;
8596 PyObject * obj2 = 0 ;
8597 PyObject * obj3 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 arg2 = (long) SWIG_AsLong(obj1);
8606 if (PyErr_Occurred()) SWIG_fail;
8607 arg3 = (long) SWIG_AsLong(obj2);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 {
8610 arg4 = wxString_in_helper(obj3);
8611 if (arg4 == NULL) SWIG_fail;
8612 temp4 = True;
8613 }
8614 {
8615 PyThreadState* __tstate = wxPyBeginAllowThreads();
8616 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8617
8618 wxPyEndAllowThreads(__tstate);
8619 if (PyErr_Occurred()) SWIG_fail;
8620 }
8621 Py_INCREF(Py_None); resultobj = Py_None;
8622 {
8623 if (temp4)
8624 delete arg4;
8625 }
8626 return resultobj;
8627 fail:
8628 {
8629 if (temp4)
8630 delete arg4;
8631 }
8632 return NULL;
8633 }
8634
8635
8636 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj;
8638 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8639 long arg2 ;
8640 long arg3 ;
8641 PyObject * obj0 = 0 ;
8642 PyObject * obj1 = 0 ;
8643 PyObject * obj2 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "from",(char *) "to", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8651 arg2 = (long) SWIG_AsLong(obj1);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 arg3 = (long) SWIG_AsLong(obj2);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 {
8656 PyThreadState* __tstate = wxPyBeginAllowThreads();
8657 (arg1)->Remove(arg2,arg3);
8658
8659 wxPyEndAllowThreads(__tstate);
8660 if (PyErr_Occurred()) SWIG_fail;
8661 }
8662 Py_INCREF(Py_None); resultobj = Py_None;
8663 return resultobj;
8664 fail:
8665 return NULL;
8666 }
8667
8668
8669 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8670 PyObject *resultobj;
8671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8672 wxString *arg2 = 0 ;
8673 bool result;
8674 bool temp2 = False ;
8675 PyObject * obj0 = 0 ;
8676 PyObject * obj1 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "self",(char *) "file", NULL
8679 };
8680
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8684 {
8685 arg2 = wxString_in_helper(obj1);
8686 if (arg2 == NULL) SWIG_fail;
8687 temp2 = True;
8688 }
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 {
8697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8698 }
8699 {
8700 if (temp2)
8701 delete arg2;
8702 }
8703 return resultobj;
8704 fail:
8705 {
8706 if (temp2)
8707 delete arg2;
8708 }
8709 return NULL;
8710 }
8711
8712
8713 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8714 PyObject *resultobj;
8715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8716 wxString const &arg2_defvalue = wxPyEmptyString ;
8717 wxString *arg2 = (wxString *) &arg2_defvalue ;
8718 bool result;
8719 bool temp2 = False ;
8720 PyObject * obj0 = 0 ;
8721 PyObject * obj1 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self",(char *) "file", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 if (obj1) {
8730 {
8731 arg2 = wxString_in_helper(obj1);
8732 if (arg2 == NULL) SWIG_fail;
8733 temp2 = True;
8734 }
8735 }
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8745 }
8746 {
8747 if (temp2)
8748 delete arg2;
8749 }
8750 return resultobj;
8751 fail:
8752 {
8753 if (temp2)
8754 delete arg2;
8755 }
8756 return NULL;
8757 }
8758
8759
8760 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8761 PyObject *resultobj;
8762 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 (arg1)->MarkDirty();
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 Py_INCREF(Py_None); resultobj = Py_None;
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 (arg1)->DiscardEdits();
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 return resultobj;
8805 fail:
8806 return NULL;
8807 }
8808
8809
8810 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8813 unsigned long arg2 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char *kwnames[] = {
8817 (char *) "self",(char *) "len", NULL
8818 };
8819
8820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8823 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8824 if (PyErr_Occurred()) SWIG_fail;
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 (arg1)->SetMaxLength(arg2);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
8832 Py_INCREF(Py_None); resultobj = Py_None;
8833 return resultobj;
8834 fail:
8835 return NULL;
8836 }
8837
8838
8839 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8840 PyObject *resultobj;
8841 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8842 wxString *arg2 = 0 ;
8843 bool temp2 = False ;
8844 PyObject * obj0 = 0 ;
8845 PyObject * obj1 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self",(char *) "text", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8853 {
8854 arg2 = wxString_in_helper(obj1);
8855 if (arg2 == NULL) SWIG_fail;
8856 temp2 = True;
8857 }
8858 {
8859 PyThreadState* __tstate = wxPyBeginAllowThreads();
8860 (arg1)->WriteText((wxString const &)*arg2);
8861
8862 wxPyEndAllowThreads(__tstate);
8863 if (PyErr_Occurred()) SWIG_fail;
8864 }
8865 Py_INCREF(Py_None); resultobj = Py_None;
8866 {
8867 if (temp2)
8868 delete arg2;
8869 }
8870 return resultobj;
8871 fail:
8872 {
8873 if (temp2)
8874 delete arg2;
8875 }
8876 return NULL;
8877 }
8878
8879
8880 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8881 PyObject *resultobj;
8882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8883 wxString *arg2 = 0 ;
8884 bool temp2 = False ;
8885 PyObject * obj0 = 0 ;
8886 PyObject * obj1 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "text", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8894 {
8895 arg2 = wxString_in_helper(obj1);
8896 if (arg2 == NULL) SWIG_fail;
8897 temp2 = True;
8898 }
8899 {
8900 PyThreadState* __tstate = wxPyBeginAllowThreads();
8901 (arg1)->AppendText((wxString const &)*arg2);
8902
8903 wxPyEndAllowThreads(__tstate);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 }
8906 Py_INCREF(Py_None); resultobj = Py_None;
8907 {
8908 if (temp2)
8909 delete arg2;
8910 }
8911 return resultobj;
8912 fail:
8913 {
8914 if (temp2)
8915 delete arg2;
8916 }
8917 return NULL;
8918 }
8919
8920
8921 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8922 PyObject *resultobj;
8923 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8924 wxKeyEvent *arg2 = 0 ;
8925 bool result;
8926 PyObject * obj0 = 0 ;
8927 PyObject * obj1 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "event", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8936 SWIG_POINTER_EXCEPTION | 0)) == -1)
8937 SWIG_fail;
8938 if (arg2 == NULL) {
8939 PyErr_SetString(PyExc_TypeError,"null reference");
8940 SWIG_fail;
8941 }
8942 {
8943 PyThreadState* __tstate = wxPyBeginAllowThreads();
8944 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8945
8946 wxPyEndAllowThreads(__tstate);
8947 if (PyErr_Occurred()) SWIG_fail;
8948 }
8949 {
8950 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8951 }
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8961 long arg2 ;
8962 long arg3 ;
8963 wxTextAttr *arg4 = 0 ;
8964 bool result;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 PyObject * obj2 = 0 ;
8968 PyObject * obj3 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8976 arg2 = (long) SWIG_AsLong(obj1);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 arg3 = (long) SWIG_AsLong(obj2);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8981 SWIG_POINTER_EXCEPTION | 0)) == -1)
8982 SWIG_fail;
8983 if (arg4 == NULL) {
8984 PyErr_SetString(PyExc_TypeError,"null reference");
8985 SWIG_fail;
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8990
8991 wxPyEndAllowThreads(__tstate);
8992 if (PyErr_Occurred()) SWIG_fail;
8993 }
8994 {
8995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8996 }
8997 return resultobj;
8998 fail:
8999 return NULL;
9000 }
9001
9002
9003 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9004 PyObject *resultobj;
9005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9006 long arg2 ;
9007 wxTextAttr *arg3 = 0 ;
9008 bool result;
9009 PyObject * obj0 = 0 ;
9010 PyObject * obj1 = 0 ;
9011 PyObject * obj2 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "position",(char *) "style", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 arg2 = (long) SWIG_AsLong(obj1);
9020 if (PyErr_Occurred()) SWIG_fail;
9021 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9022 SWIG_POINTER_EXCEPTION | 0)) == -1)
9023 SWIG_fail;
9024 if (arg3 == NULL) {
9025 PyErr_SetString(PyExc_TypeError,"null reference");
9026 SWIG_fail;
9027 }
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 {
9036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9037 }
9038 return resultobj;
9039 fail:
9040 return NULL;
9041 }
9042
9043
9044 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9045 PyObject *resultobj;
9046 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9047 wxTextAttr *arg2 = 0 ;
9048 bool result;
9049 PyObject * obj0 = 0 ;
9050 PyObject * obj1 = 0 ;
9051 char *kwnames[] = {
9052 (char *) "self",(char *) "style", NULL
9053 };
9054
9055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9059 SWIG_POINTER_EXCEPTION | 0)) == -1)
9060 SWIG_fail;
9061 if (arg2 == NULL) {
9062 PyErr_SetString(PyExc_TypeError,"null reference");
9063 SWIG_fail;
9064 }
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 {
9073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9074 }
9075 return resultobj;
9076 fail:
9077 return NULL;
9078 }
9079
9080
9081 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9084 wxTextAttr *result;
9085 PyObject * obj0 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 {
9096 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9097 result = (wxTextAttr *) &_result_ref;
9098 }
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9104 return resultobj;
9105 fail:
9106 return NULL;
9107 }
9108
9109
9110 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9111 PyObject *resultobj;
9112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9113 long arg2 ;
9114 long arg3 ;
9115 long result;
9116 PyObject * obj0 = 0 ;
9117 PyObject * obj1 = 0 ;
9118 PyObject * obj2 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "self",(char *) "x",(char *) "y", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9126 arg2 = (long) SWIG_AsLong(obj1);
9127 if (PyErr_Occurred()) SWIG_fail;
9128 arg3 = (long) SWIG_AsLong(obj2);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 {
9131 PyThreadState* __tstate = wxPyBeginAllowThreads();
9132 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9133
9134 wxPyEndAllowThreads(__tstate);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 resultobj = SWIG_FromLong((long)result);
9138 return resultobj;
9139 fail:
9140 return NULL;
9141 }
9142
9143
9144 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9145 PyObject *resultobj;
9146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9147 long arg2 ;
9148 long *arg3 = (long *) 0 ;
9149 long *arg4 = (long *) 0 ;
9150 long temp3 ;
9151 long temp4 ;
9152 PyObject * obj0 = 0 ;
9153 PyObject * obj1 = 0 ;
9154 char *kwnames[] = {
9155 (char *) "self",(char *) "pos", NULL
9156 };
9157
9158 arg3 = &temp3;
9159 arg4 = &temp4;
9160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9163 arg2 = (long) SWIG_AsLong(obj1);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 Py_INCREF(Py_None); resultobj = Py_None;
9173 {
9174 PyObject *o = PyInt_FromLong((long) (*arg3));
9175 resultobj = t_output_helper(resultobj,o);
9176 }
9177 {
9178 PyObject *o = PyInt_FromLong((long) (*arg4));
9179 resultobj = t_output_helper(resultobj,o);
9180 }
9181 return resultobj;
9182 fail:
9183 return NULL;
9184 }
9185
9186
9187 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9190 long arg2 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "pos", NULL
9195 };
9196
9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9200 arg2 = (long) SWIG_AsLong(obj1);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 (arg1)->ShowPosition(arg2);
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 Py_INCREF(Py_None); resultobj = Py_None;
9210 return resultobj;
9211 fail:
9212 return NULL;
9213 }
9214
9215
9216 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9219 wxPoint *arg2 = 0 ;
9220 long *arg3 = (long *) 0 ;
9221 long *arg4 = (long *) 0 ;
9222 int result;
9223 wxPoint temp2 ;
9224 long temp3 ;
9225 long temp4 ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self",(char *) "pt", NULL
9230 };
9231
9232 arg3 = &temp3;
9233 arg4 = &temp4;
9234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9237 {
9238 arg2 = &temp2;
9239 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9240 }
9241 {
9242 PyThreadState* __tstate = wxPyBeginAllowThreads();
9243 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9244
9245 wxPyEndAllowThreads(__tstate);
9246 if (PyErr_Occurred()) SWIG_fail;
9247 }
9248 resultobj = SWIG_FromInt((int)result);
9249 {
9250 PyObject *o = PyInt_FromLong((long) (*arg3));
9251 resultobj = t_output_helper(resultobj,o);
9252 }
9253 {
9254 PyObject *o = PyInt_FromLong((long) (*arg4));
9255 resultobj = t_output_helper(resultobj,o);
9256 }
9257 return resultobj;
9258 fail:
9259 return NULL;
9260 }
9261
9262
9263 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9264 PyObject *resultobj;
9265 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9266 PyObject * obj0 = 0 ;
9267 char *kwnames[] = {
9268 (char *) "self", NULL
9269 };
9270
9271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9274 {
9275 PyThreadState* __tstate = wxPyBeginAllowThreads();
9276 (arg1)->Copy();
9277
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 Py_INCREF(Py_None); resultobj = Py_None;
9282 return resultobj;
9283 fail:
9284 return NULL;
9285 }
9286
9287
9288 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj;
9290 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9291 PyObject * obj0 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "self", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9299 {
9300 PyThreadState* __tstate = wxPyBeginAllowThreads();
9301 (arg1)->Cut();
9302
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 Py_INCREF(Py_None); resultobj = Py_None;
9307 return resultobj;
9308 fail:
9309 return NULL;
9310 }
9311
9312
9313 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9316 PyObject * obj0 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->Paste();
9327
9328 wxPyEndAllowThreads(__tstate);
9329 if (PyErr_Occurred()) SWIG_fail;
9330 }
9331 Py_INCREF(Py_None); resultobj = Py_None;
9332 return resultobj;
9333 fail:
9334 return NULL;
9335 }
9336
9337
9338 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9339 PyObject *resultobj;
9340 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9341 bool result;
9342 PyObject * obj0 = 0 ;
9343 char *kwnames[] = {
9344 (char *) "self", NULL
9345 };
9346
9347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 {
9358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9359 }
9360 return resultobj;
9361 fail:
9362 return NULL;
9363 }
9364
9365
9366 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9367 PyObject *resultobj;
9368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9369 bool result;
9370 PyObject * obj0 = 0 ;
9371 char *kwnames[] = {
9372 (char *) "self", NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 {
9386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9387 }
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9397 bool result;
9398 PyObject * obj0 = 0 ;
9399 char *kwnames[] = {
9400 (char *) "self", NULL
9401 };
9402
9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 {
9414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9415 }
9416 return resultobj;
9417 fail:
9418 return NULL;
9419 }
9420
9421
9422 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9425 PyObject * obj0 = 0 ;
9426 char *kwnames[] = {
9427 (char *) "self", NULL
9428 };
9429
9430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Undo();
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 Py_INCREF(Py_None); resultobj = Py_None;
9441 return resultobj;
9442 fail:
9443 return NULL;
9444 }
9445
9446
9447 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->Redo();
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 Py_INCREF(Py_None); resultobj = Py_None;
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9475 bool result;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9484 {
9485 PyThreadState* __tstate = wxPyBeginAllowThreads();
9486 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9487
9488 wxPyEndAllowThreads(__tstate);
9489 if (PyErr_Occurred()) SWIG_fail;
9490 }
9491 {
9492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9493 }
9494 return resultobj;
9495 fail:
9496 return NULL;
9497 }
9498
9499
9500 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9503 bool result;
9504 PyObject * obj0 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 {
9520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9521 }
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9531 long arg2 ;
9532 PyObject * obj0 = 0 ;
9533 PyObject * obj1 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "pos", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9541 arg2 = (long) SWIG_AsLong(obj1);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->SetInsertionPoint(arg2);
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 (arg1)->SetInsertionPointEnd();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 Py_INCREF(Py_None); resultobj = Py_None;
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9585 long result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 resultobj = SWIG_FromLong((long)result);
9602 return resultobj;
9603 fail:
9604 return NULL;
9605 }
9606
9607
9608 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9611 long result;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9620 {
9621 PyThreadState* __tstate = wxPyBeginAllowThreads();
9622 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9623
9624 wxPyEndAllowThreads(__tstate);
9625 if (PyErr_Occurred()) SWIG_fail;
9626 }
9627 resultobj = SWIG_FromLong((long)result);
9628 return resultobj;
9629 fail:
9630 return NULL;
9631 }
9632
9633
9634 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject *resultobj;
9636 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9637 long arg2 ;
9638 long arg3 ;
9639 PyObject * obj0 = 0 ;
9640 PyObject * obj1 = 0 ;
9641 PyObject * obj2 = 0 ;
9642 char *kwnames[] = {
9643 (char *) "self",(char *) "from",(char *) "to", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9649 arg2 = (long) SWIG_AsLong(obj1);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 arg3 = (long) SWIG_AsLong(obj2);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 (arg1)->SetSelection(arg2,arg3);
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 Py_INCREF(Py_None); resultobj = Py_None;
9661 return resultobj;
9662 fail:
9663 return NULL;
9664 }
9665
9666
9667 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 (arg1)->SelectAll();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 Py_INCREF(Py_None); resultobj = Py_None;
9686 return resultobj;
9687 fail:
9688 return NULL;
9689 }
9690
9691
9692 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9695 bool arg2 ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "editable", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9705 arg2 = (bool) SWIG_AsBool(obj1);
9706 if (PyErr_Occurred()) SWIG_fail;
9707 {
9708 PyThreadState* __tstate = wxPyBeginAllowThreads();
9709 (arg1)->SetEditable(arg2);
9710
9711 wxPyEndAllowThreads(__tstate);
9712 if (PyErr_Occurred()) SWIG_fail;
9713 }
9714 Py_INCREF(Py_None); resultobj = Py_None;
9715 return resultobj;
9716 fail:
9717 return NULL;
9718 }
9719
9720
9721 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9722 PyObject *resultobj;
9723 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9724 wxString *arg2 = 0 ;
9725 bool temp2 = False ;
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "text", NULL
9730 };
9731
9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9735 {
9736 arg2 = wxString_in_helper(obj1);
9737 if (arg2 == NULL) SWIG_fail;
9738 temp2 = True;
9739 }
9740 {
9741 PyThreadState* __tstate = wxPyBeginAllowThreads();
9742 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 Py_INCREF(Py_None); resultobj = Py_None;
9748 {
9749 if (temp2)
9750 delete arg2;
9751 }
9752 return resultobj;
9753 fail:
9754 {
9755 if (temp2)
9756 delete arg2;
9757 }
9758 return NULL;
9759 }
9760
9761
9762 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9765 long arg2 ;
9766 long arg3 ;
9767 wxString result;
9768 PyObject * obj0 = 0 ;
9769 PyObject * obj1 = 0 ;
9770 PyObject * obj2 = 0 ;
9771 char *kwnames[] = {
9772 (char *) "self",(char *) "from",(char *) "to", NULL
9773 };
9774
9775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9778 arg2 = (long) SWIG_AsLong(obj1);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 arg3 = (long) SWIG_AsLong(obj2);
9781 if (PyErr_Occurred()) SWIG_fail;
9782 {
9783 PyThreadState* __tstate = wxPyBeginAllowThreads();
9784 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9785
9786 wxPyEndAllowThreads(__tstate);
9787 if (PyErr_Occurred()) SWIG_fail;
9788 }
9789 {
9790 #if wxUSE_UNICODE
9791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9792 #else
9793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9794 #endif
9795 }
9796 return resultobj;
9797 fail:
9798 return NULL;
9799 }
9800
9801
9802 static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9805 wxVisualAttributes result;
9806 PyObject * obj0 = 0 ;
9807 char *kwnames[] = {
9808 (char *) "variant", NULL
9809 };
9810
9811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9812 if (obj0) {
9813 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9814 if (PyErr_Occurred()) SWIG_fail;
9815 }
9816 {
9817 if (!wxPyCheckForApp()) SWIG_fail;
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 {
9825 wxVisualAttributes * resultptr;
9826 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9827 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9828 }
9829 return resultobj;
9830 fail:
9831 return NULL;
9832 }
9833
9834
9835 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9836 PyObject *obj;
9837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9838 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9839 Py_INCREF(obj);
9840 return Py_BuildValue((char *)"");
9841 }
9842 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 int arg1 ;
9845 wxMouseEvent *arg2 = 0 ;
9846 long arg3 ;
9847 long arg4 ;
9848 wxTextUrlEvent *result;
9849 PyObject * obj0 = 0 ;
9850 PyObject * obj1 = 0 ;
9851 PyObject * obj2 = 0 ;
9852 PyObject * obj3 = 0 ;
9853 char *kwnames[] = {
9854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9855 };
9856
9857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9858 arg1 = (int) SWIG_AsInt(obj0);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9861 SWIG_POINTER_EXCEPTION | 0)) == -1)
9862 SWIG_fail;
9863 if (arg2 == NULL) {
9864 PyErr_SetString(PyExc_TypeError,"null reference");
9865 SWIG_fail;
9866 }
9867 arg3 = (long) SWIG_AsLong(obj2);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 arg4 = (long) SWIG_AsLong(obj3);
9870 if (PyErr_Occurred()) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9888 wxMouseEvent *result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 {
9900 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9901 result = (wxMouseEvent *) &_result_ref;
9902 }
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9917 long result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_FromLong((long)result);
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9943 long result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 resultobj = SWIG_FromLong((long)result);
9960 return resultobj;
9961 fail:
9962 return NULL;
9963 }
9964
9965
9966 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9967 PyObject *obj;
9968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9970 Py_INCREF(obj);
9971 return Py_BuildValue((char *)"");
9972 }
9973 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9974 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9975 return 1;
9976 }
9977
9978
9979 static PyObject *_wrap_ScrollBarNameStr_get() {
9980 PyObject *pyobj;
9981
9982 {
9983 #if wxUSE_UNICODE
9984 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9985 #else
9986 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9987 #endif
9988 }
9989 return pyobj;
9990 }
9991
9992
9993 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9994 PyObject *resultobj;
9995 wxWindow *arg1 = (wxWindow *) 0 ;
9996 int arg2 = (int) -1 ;
9997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9999 wxSize const &arg4_defvalue = wxDefaultSize ;
10000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10001 long arg5 = (long) wxSB_HORIZONTAL ;
10002 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10003 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10004 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10005 wxString *arg7 = (wxString *) &arg7_defvalue ;
10006 wxScrollBar *result;
10007 wxPoint temp3 ;
10008 wxSize temp4 ;
10009 bool temp7 = False ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 PyObject * obj2 = 0 ;
10013 PyObject * obj3 = 0 ;
10014 PyObject * obj4 = 0 ;
10015 PyObject * obj5 = 0 ;
10016 PyObject * obj6 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10024 if (obj1) {
10025 arg2 = (int) SWIG_AsInt(obj1);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 if (obj2) {
10029 {
10030 arg3 = &temp3;
10031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10032 }
10033 }
10034 if (obj3) {
10035 {
10036 arg4 = &temp4;
10037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10038 }
10039 }
10040 if (obj4) {
10041 arg5 = (long) SWIG_AsLong(obj4);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 }
10044 if (obj5) {
10045 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10046 SWIG_POINTER_EXCEPTION | 0)) == -1)
10047 SWIG_fail;
10048 if (arg6 == NULL) {
10049 PyErr_SetString(PyExc_TypeError,"null reference");
10050 SWIG_fail;
10051 }
10052 }
10053 if (obj6) {
10054 {
10055 arg7 = wxString_in_helper(obj6);
10056 if (arg7 == NULL) SWIG_fail;
10057 temp7 = True;
10058 }
10059 }
10060 {
10061 if (!wxPyCheckForApp()) SWIG_fail;
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10069 {
10070 if (temp7)
10071 delete arg7;
10072 }
10073 return resultobj;
10074 fail:
10075 {
10076 if (temp7)
10077 delete arg7;
10078 }
10079 return NULL;
10080 }
10081
10082
10083 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxScrollBar *result;
10086 char *kwnames[] = {
10087 NULL
10088 };
10089
10090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10091 {
10092 if (!wxPyCheckForApp()) SWIG_fail;
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 result = (wxScrollBar *)new wxScrollBar();
10095
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10100 return resultobj;
10101 fail:
10102 return NULL;
10103 }
10104
10105
10106 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj;
10108 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10109 wxWindow *arg2 = (wxWindow *) 0 ;
10110 int arg3 = (int) -1 ;
10111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10113 wxSize const &arg5_defvalue = wxDefaultSize ;
10114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10115 long arg6 = (long) wxSB_HORIZONTAL ;
10116 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10117 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10118 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10119 wxString *arg8 = (wxString *) &arg8_defvalue ;
10120 bool result;
10121 wxPoint temp4 ;
10122 wxSize temp5 ;
10123 bool temp8 = False ;
10124 PyObject * obj0 = 0 ;
10125 PyObject * obj1 = 0 ;
10126 PyObject * obj2 = 0 ;
10127 PyObject * obj3 = 0 ;
10128 PyObject * obj4 = 0 ;
10129 PyObject * obj5 = 0 ;
10130 PyObject * obj6 = 0 ;
10131 PyObject * obj7 = 0 ;
10132 char *kwnames[] = {
10133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10134 };
10135
10136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10139 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10141 if (obj2) {
10142 arg3 = (int) SWIG_AsInt(obj2);
10143 if (PyErr_Occurred()) SWIG_fail;
10144 }
10145 if (obj3) {
10146 {
10147 arg4 = &temp4;
10148 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10149 }
10150 }
10151 if (obj4) {
10152 {
10153 arg5 = &temp5;
10154 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10155 }
10156 }
10157 if (obj5) {
10158 arg6 = (long) SWIG_AsLong(obj5);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 if (obj6) {
10162 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10163 SWIG_POINTER_EXCEPTION | 0)) == -1)
10164 SWIG_fail;
10165 if (arg7 == NULL) {
10166 PyErr_SetString(PyExc_TypeError,"null reference");
10167 SWIG_fail;
10168 }
10169 }
10170 if (obj7) {
10171 {
10172 arg8 = wxString_in_helper(obj7);
10173 if (arg8 == NULL) SWIG_fail;
10174 temp8 = True;
10175 }
10176 }
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 {
10185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10186 }
10187 {
10188 if (temp8)
10189 delete arg8;
10190 }
10191 return resultobj;
10192 fail:
10193 {
10194 if (temp8)
10195 delete arg8;
10196 }
10197 return NULL;
10198 }
10199
10200
10201 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10202 PyObject *resultobj;
10203 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10204 int result;
10205 PyObject * obj0 = 0 ;
10206 char *kwnames[] = {
10207 (char *) "self", NULL
10208 };
10209
10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 {
10214 PyThreadState* __tstate = wxPyBeginAllowThreads();
10215 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10216
10217 wxPyEndAllowThreads(__tstate);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 resultobj = SWIG_FromInt((int)result);
10221 return resultobj;
10222 fail:
10223 return NULL;
10224 }
10225
10226
10227 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj;
10229 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10230 int result;
10231 PyObject * obj0 = 0 ;
10232 char *kwnames[] = {
10233 (char *) "self", NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10239 {
10240 PyThreadState* __tstate = wxPyBeginAllowThreads();
10241 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10242
10243 wxPyEndAllowThreads(__tstate);
10244 if (PyErr_Occurred()) SWIG_fail;
10245 }
10246 resultobj = SWIG_FromInt((int)result);
10247 return resultobj;
10248 fail:
10249 return NULL;
10250 }
10251
10252
10253 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10254 PyObject *resultobj;
10255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10256 int result;
10257 PyObject * obj0 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self", NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 resultobj = SWIG_FromInt((int)result);
10273 return resultobj;
10274 fail:
10275 return NULL;
10276 }
10277
10278
10279 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10280 PyObject *resultobj;
10281 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10282 int result;
10283 PyObject * obj0 = 0 ;
10284 char *kwnames[] = {
10285 (char *) "self", NULL
10286 };
10287
10288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
10293 result = (int)((wxScrollBar const *)arg1)->GetRange();
10294
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = SWIG_FromInt((int)result);
10299 return resultobj;
10300 fail:
10301 return NULL;
10302 }
10303
10304
10305 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10306 PyObject *resultobj;
10307 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10308 bool result;
10309 PyObject * obj0 = 0 ;
10310 char *kwnames[] = {
10311 (char *) "self", NULL
10312 };
10313
10314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10317 {
10318 PyThreadState* __tstate = wxPyBeginAllowThreads();
10319 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10320
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 {
10325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10326 }
10327 return resultobj;
10328 fail:
10329 return NULL;
10330 }
10331
10332
10333 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10334 PyObject *resultobj;
10335 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10336 int arg2 ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char *kwnames[] = {
10340 (char *) "self",(char *) "viewStart", NULL
10341 };
10342
10343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10346 arg2 = (int) SWIG_AsInt(obj1);
10347 if (PyErr_Occurred()) SWIG_fail;
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 (arg1)->SetThumbPosition(arg2);
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
10355 Py_INCREF(Py_None); resultobj = Py_None;
10356 return resultobj;
10357 fail:
10358 return NULL;
10359 }
10360
10361
10362 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10365 int arg2 ;
10366 int arg3 ;
10367 int arg4 ;
10368 int arg5 ;
10369 bool arg6 = (bool) True ;
10370 PyObject * obj0 = 0 ;
10371 PyObject * obj1 = 0 ;
10372 PyObject * obj2 = 0 ;
10373 PyObject * obj3 = 0 ;
10374 PyObject * obj4 = 0 ;
10375 PyObject * obj5 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10383 arg2 = (int) SWIG_AsInt(obj1);
10384 if (PyErr_Occurred()) SWIG_fail;
10385 arg3 = (int) SWIG_AsInt(obj2);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 arg4 = (int) SWIG_AsInt(obj3);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 arg5 = (int) SWIG_AsInt(obj4);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 if (obj5) {
10392 arg6 = (bool) SWIG_AsBool(obj5);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10398
10399 wxPyEndAllowThreads(__tstate);
10400 if (PyErr_Occurred()) SWIG_fail;
10401 }
10402 Py_INCREF(Py_None); resultobj = Py_None;
10403 return resultobj;
10404 fail:
10405 return NULL;
10406 }
10407
10408
10409 static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10412 wxVisualAttributes result;
10413 PyObject * obj0 = 0 ;
10414 char *kwnames[] = {
10415 (char *) "variant", NULL
10416 };
10417
10418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10419 if (obj0) {
10420 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10421 if (PyErr_Occurred()) SWIG_fail;
10422 }
10423 {
10424 if (!wxPyCheckForApp()) SWIG_fail;
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 {
10432 wxVisualAttributes * resultptr;
10433 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10434 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10435 }
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10443 PyObject *obj;
10444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10445 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10446 Py_INCREF(obj);
10447 return Py_BuildValue((char *)"");
10448 }
10449 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10450 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10451 return 1;
10452 }
10453
10454
10455 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10456 PyObject *pyobj;
10457
10458 {
10459 #if wxUSE_UNICODE
10460 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10461 #else
10462 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10463 #endif
10464 }
10465 return pyobj;
10466 }
10467
10468
10469 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10470 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10471 return 1;
10472 }
10473
10474
10475 static PyObject *_wrap_SpinCtrlNameStr_get() {
10476 PyObject *pyobj;
10477
10478 {
10479 #if wxUSE_UNICODE
10480 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10481 #else
10482 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10483 #endif
10484 }
10485 return pyobj;
10486 }
10487
10488
10489 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10490 PyObject *resultobj;
10491 wxWindow *arg1 = (wxWindow *) 0 ;
10492 int arg2 = (int) -1 ;
10493 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10494 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10495 wxSize const &arg4_defvalue = wxDefaultSize ;
10496 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10497 long arg5 = (long) wxSP_HORIZONTAL ;
10498 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10499 wxString *arg6 = (wxString *) &arg6_defvalue ;
10500 wxSpinButton *result;
10501 wxPoint temp3 ;
10502 wxSize temp4 ;
10503 bool temp6 = False ;
10504 PyObject * obj0 = 0 ;
10505 PyObject * obj1 = 0 ;
10506 PyObject * obj2 = 0 ;
10507 PyObject * obj3 = 0 ;
10508 PyObject * obj4 = 0 ;
10509 PyObject * obj5 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10517 if (obj1) {
10518 arg2 = (int) SWIG_AsInt(obj1);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 if (obj2) {
10522 {
10523 arg3 = &temp3;
10524 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10525 }
10526 }
10527 if (obj3) {
10528 {
10529 arg4 = &temp4;
10530 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10531 }
10532 }
10533 if (obj4) {
10534 arg5 = (long) SWIG_AsLong(obj4);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 if (obj5) {
10538 {
10539 arg6 = wxString_in_helper(obj5);
10540 if (arg6 == NULL) SWIG_fail;
10541 temp6 = True;
10542 }
10543 }
10544 {
10545 if (!wxPyCheckForApp()) SWIG_fail;
10546 PyThreadState* __tstate = wxPyBeginAllowThreads();
10547 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10548
10549 wxPyEndAllowThreads(__tstate);
10550 if (PyErr_Occurred()) SWIG_fail;
10551 }
10552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10553 {
10554 if (temp6)
10555 delete arg6;
10556 }
10557 return resultobj;
10558 fail:
10559 {
10560 if (temp6)
10561 delete arg6;
10562 }
10563 return NULL;
10564 }
10565
10566
10567 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj;
10569 wxSpinButton *result;
10570 char *kwnames[] = {
10571 NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10575 {
10576 if (!wxPyCheckForApp()) SWIG_fail;
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 result = (wxSpinButton *)new wxSpinButton();
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10593 wxWindow *arg2 = (wxWindow *) 0 ;
10594 int arg3 = (int) -1 ;
10595 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10596 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10597 wxSize const &arg5_defvalue = wxDefaultSize ;
10598 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10599 long arg6 = (long) wxSP_HORIZONTAL ;
10600 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10601 wxString *arg7 = (wxString *) &arg7_defvalue ;
10602 bool result;
10603 wxPoint temp4 ;
10604 wxSize temp5 ;
10605 bool temp7 = False ;
10606 PyObject * obj0 = 0 ;
10607 PyObject * obj1 = 0 ;
10608 PyObject * obj2 = 0 ;
10609 PyObject * obj3 = 0 ;
10610 PyObject * obj4 = 0 ;
10611 PyObject * obj5 = 0 ;
10612 PyObject * obj6 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10622 if (obj2) {
10623 arg3 = (int) SWIG_AsInt(obj2);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 if (obj3) {
10627 {
10628 arg4 = &temp4;
10629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10630 }
10631 }
10632 if (obj4) {
10633 {
10634 arg5 = &temp5;
10635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10636 }
10637 }
10638 if (obj5) {
10639 arg6 = (long) SWIG_AsLong(obj5);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 if (obj6) {
10643 {
10644 arg7 = wxString_in_helper(obj6);
10645 if (arg7 == NULL) SWIG_fail;
10646 temp7 = True;
10647 }
10648 }
10649 {
10650 PyThreadState* __tstate = wxPyBeginAllowThreads();
10651 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10652
10653 wxPyEndAllowThreads(__tstate);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 {
10657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10658 }
10659 {
10660 if (temp7)
10661 delete arg7;
10662 }
10663 return resultobj;
10664 fail:
10665 {
10666 if (temp7)
10667 delete arg7;
10668 }
10669 return NULL;
10670 }
10671
10672
10673 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj;
10675 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10676 int result;
10677 PyObject * obj0 = 0 ;
10678 char *kwnames[] = {
10679 (char *) "self", NULL
10680 };
10681
10682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10685 {
10686 PyThreadState* __tstate = wxPyBeginAllowThreads();
10687 result = (int)((wxSpinButton const *)arg1)->GetValue();
10688
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_FromInt((int)result);
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10700 PyObject *resultobj;
10701 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10702 int result;
10703 PyObject * obj0 = 0 ;
10704 char *kwnames[] = {
10705 (char *) "self", NULL
10706 };
10707
10708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxSpinButton const *)arg1)->GetMin();
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_FromInt((int)result);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 result = (int)((wxSpinButton const *)arg1)->GetMax();
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 resultobj = SWIG_FromInt((int)result);
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10754 int arg2 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self",(char *) "val", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10764 arg2 = (int) SWIG_AsInt(obj1);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 (arg1)->SetValue(arg2);
10769
10770 wxPyEndAllowThreads(__tstate);
10771 if (PyErr_Occurred()) SWIG_fail;
10772 }
10773 Py_INCREF(Py_None); resultobj = Py_None;
10774 return resultobj;
10775 fail:
10776 return NULL;
10777 }
10778
10779
10780 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10781 PyObject *resultobj;
10782 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10783 int arg2 ;
10784 PyObject * obj0 = 0 ;
10785 PyObject * obj1 = 0 ;
10786 char *kwnames[] = {
10787 (char *) "self",(char *) "minVal", NULL
10788 };
10789
10790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10793 arg2 = (int) SWIG_AsInt(obj1);
10794 if (PyErr_Occurred()) SWIG_fail;
10795 {
10796 PyThreadState* __tstate = wxPyBeginAllowThreads();
10797 (arg1)->SetMin(arg2);
10798
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 Py_INCREF(Py_None); resultobj = Py_None;
10803 return resultobj;
10804 fail:
10805 return NULL;
10806 }
10807
10808
10809 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10810 PyObject *resultobj;
10811 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10812 int arg2 ;
10813 PyObject * obj0 = 0 ;
10814 PyObject * obj1 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "self",(char *) "maxVal", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10822 arg2 = (int) SWIG_AsInt(obj1);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 {
10825 PyThreadState* __tstate = wxPyBeginAllowThreads();
10826 (arg1)->SetMax(arg2);
10827
10828 wxPyEndAllowThreads(__tstate);
10829 if (PyErr_Occurred()) SWIG_fail;
10830 }
10831 Py_INCREF(Py_None); resultobj = Py_None;
10832 return resultobj;
10833 fail:
10834 return NULL;
10835 }
10836
10837
10838 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10841 int arg2 ;
10842 int arg3 ;
10843 PyObject * obj0 = 0 ;
10844 PyObject * obj1 = 0 ;
10845 PyObject * obj2 = 0 ;
10846 char *kwnames[] = {
10847 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10853 arg2 = (int) SWIG_AsInt(obj1);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 arg3 = (int) SWIG_AsInt(obj2);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 (arg1)->SetRange(arg2,arg3);
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 Py_INCREF(Py_None); resultobj = Py_None;
10865 return resultobj;
10866 fail:
10867 return NULL;
10868 }
10869
10870
10871 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10874 bool result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 {
10891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10892 }
10893 return resultobj;
10894 fail:
10895 return NULL;
10896 }
10897
10898
10899 static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10902 wxVisualAttributes result;
10903 PyObject * obj0 = 0 ;
10904 char *kwnames[] = {
10905 (char *) "variant", NULL
10906 };
10907
10908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10909 if (obj0) {
10910 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10911 if (PyErr_Occurred()) SWIG_fail;
10912 }
10913 {
10914 if (!wxPyCheckForApp()) SWIG_fail;
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
10917
10918 wxPyEndAllowThreads(__tstate);
10919 if (PyErr_Occurred()) SWIG_fail;
10920 }
10921 {
10922 wxVisualAttributes * resultptr;
10923 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10925 }
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10933 PyObject *obj;
10934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10935 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10936 Py_INCREF(obj);
10937 return Py_BuildValue((char *)"");
10938 }
10939 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxWindow *arg1 = (wxWindow *) 0 ;
10942 int arg2 = (int) -1 ;
10943 wxString const &arg3_defvalue = wxPyEmptyString ;
10944 wxString *arg3 = (wxString *) &arg3_defvalue ;
10945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10947 wxSize const &arg5_defvalue = wxDefaultSize ;
10948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10949 long arg6 = (long) wxSP_ARROW_KEYS ;
10950 int arg7 = (int) 0 ;
10951 int arg8 = (int) 100 ;
10952 int arg9 = (int) 0 ;
10953 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10954 wxString *arg10 = (wxString *) &arg10_defvalue ;
10955 wxSpinCtrl *result;
10956 bool temp3 = False ;
10957 wxPoint temp4 ;
10958 wxSize temp5 ;
10959 bool temp10 = False ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 PyObject * obj2 = 0 ;
10963 PyObject * obj3 = 0 ;
10964 PyObject * obj4 = 0 ;
10965 PyObject * obj5 = 0 ;
10966 PyObject * obj6 = 0 ;
10967 PyObject * obj7 = 0 ;
10968 PyObject * obj8 = 0 ;
10969 PyObject * obj9 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10977 if (obj1) {
10978 arg2 = (int) SWIG_AsInt(obj1);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 if (obj2) {
10982 {
10983 arg3 = wxString_in_helper(obj2);
10984 if (arg3 == NULL) SWIG_fail;
10985 temp3 = True;
10986 }
10987 }
10988 if (obj3) {
10989 {
10990 arg4 = &temp4;
10991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10992 }
10993 }
10994 if (obj4) {
10995 {
10996 arg5 = &temp5;
10997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10998 }
10999 }
11000 if (obj5) {
11001 arg6 = (long) SWIG_AsLong(obj5);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 if (obj6) {
11005 arg7 = (int) SWIG_AsInt(obj6);
11006 if (PyErr_Occurred()) SWIG_fail;
11007 }
11008 if (obj7) {
11009 arg8 = (int) SWIG_AsInt(obj7);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 if (obj8) {
11013 arg9 = (int) SWIG_AsInt(obj8);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 if (obj9) {
11017 {
11018 arg10 = wxString_in_helper(obj9);
11019 if (arg10 == NULL) SWIG_fail;
11020 temp10 = True;
11021 }
11022 }
11023 {
11024 if (!wxPyCheckForApp()) SWIG_fail;
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11027
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11032 {
11033 if (temp3)
11034 delete arg3;
11035 }
11036 {
11037 if (temp10)
11038 delete arg10;
11039 }
11040 return resultobj;
11041 fail:
11042 {
11043 if (temp3)
11044 delete arg3;
11045 }
11046 {
11047 if (temp10)
11048 delete arg10;
11049 }
11050 return NULL;
11051 }
11052
11053
11054 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11055 PyObject *resultobj;
11056 wxSpinCtrl *result;
11057 char *kwnames[] = {
11058 NULL
11059 };
11060
11061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11062 {
11063 if (!wxPyCheckForApp()) SWIG_fail;
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 result = (wxSpinCtrl *)new wxSpinCtrl();
11066
11067 wxPyEndAllowThreads(__tstate);
11068 if (PyErr_Occurred()) SWIG_fail;
11069 }
11070 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11071 return resultobj;
11072 fail:
11073 return NULL;
11074 }
11075
11076
11077 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11078 PyObject *resultobj;
11079 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11080 wxWindow *arg2 = (wxWindow *) 0 ;
11081 int arg3 = (int) -1 ;
11082 wxString const &arg4_defvalue = wxPyEmptyString ;
11083 wxString *arg4 = (wxString *) &arg4_defvalue ;
11084 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11085 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11086 wxSize const &arg6_defvalue = wxDefaultSize ;
11087 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11088 long arg7 = (long) wxSP_ARROW_KEYS ;
11089 int arg8 = (int) 0 ;
11090 int arg9 = (int) 100 ;
11091 int arg10 = (int) 0 ;
11092 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11093 wxString *arg11 = (wxString *) &arg11_defvalue ;
11094 bool result;
11095 bool temp4 = False ;
11096 wxPoint temp5 ;
11097 wxSize temp6 ;
11098 bool temp11 = False ;
11099 PyObject * obj0 = 0 ;
11100 PyObject * obj1 = 0 ;
11101 PyObject * obj2 = 0 ;
11102 PyObject * obj3 = 0 ;
11103 PyObject * obj4 = 0 ;
11104 PyObject * obj5 = 0 ;
11105 PyObject * obj6 = 0 ;
11106 PyObject * obj7 = 0 ;
11107 PyObject * obj8 = 0 ;
11108 PyObject * obj9 = 0 ;
11109 PyObject * obj10 = 0 ;
11110 char *kwnames[] = {
11111 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11112 };
11113
11114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11119 if (obj2) {
11120 arg3 = (int) SWIG_AsInt(obj2);
11121 if (PyErr_Occurred()) SWIG_fail;
11122 }
11123 if (obj3) {
11124 {
11125 arg4 = wxString_in_helper(obj3);
11126 if (arg4 == NULL) SWIG_fail;
11127 temp4 = True;
11128 }
11129 }
11130 if (obj4) {
11131 {
11132 arg5 = &temp5;
11133 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11134 }
11135 }
11136 if (obj5) {
11137 {
11138 arg6 = &temp6;
11139 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11140 }
11141 }
11142 if (obj6) {
11143 arg7 = (long) SWIG_AsLong(obj6);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 if (obj7) {
11147 arg8 = (int) SWIG_AsInt(obj7);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 if (obj8) {
11151 arg9 = (int) SWIG_AsInt(obj8);
11152 if (PyErr_Occurred()) SWIG_fail;
11153 }
11154 if (obj9) {
11155 arg10 = (int) SWIG_AsInt(obj9);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 }
11158 if (obj10) {
11159 {
11160 arg11 = wxString_in_helper(obj10);
11161 if (arg11 == NULL) SWIG_fail;
11162 temp11 = True;
11163 }
11164 }
11165 {
11166 PyThreadState* __tstate = wxPyBeginAllowThreads();
11167 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11168
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 {
11173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11174 }
11175 {
11176 if (temp4)
11177 delete arg4;
11178 }
11179 {
11180 if (temp11)
11181 delete arg11;
11182 }
11183 return resultobj;
11184 fail:
11185 {
11186 if (temp4)
11187 delete arg4;
11188 }
11189 {
11190 if (temp11)
11191 delete arg11;
11192 }
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11200 int result;
11201 PyObject * obj0 = 0 ;
11202 char *kwnames[] = {
11203 (char *) "self", NULL
11204 };
11205
11206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11209 {
11210 PyThreadState* __tstate = wxPyBeginAllowThreads();
11211 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11212
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_FromInt((int)result);
11217 return resultobj;
11218 fail:
11219 return NULL;
11220 }
11221
11222
11223 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11224 PyObject *resultobj;
11225 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11226 int arg2 ;
11227 PyObject * obj0 = 0 ;
11228 PyObject * obj1 = 0 ;
11229 char *kwnames[] = {
11230 (char *) "self",(char *) "value", NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11236 arg2 = (int) SWIG_AsInt(obj1);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 (arg1)->SetValue(arg2);
11241
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 Py_INCREF(Py_None); resultobj = Py_None;
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj;
11254 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11255 wxString *arg2 = 0 ;
11256 bool temp2 = False ;
11257 PyObject * obj0 = 0 ;
11258 PyObject * obj1 = 0 ;
11259 char *kwnames[] = {
11260 (char *) "self",(char *) "text", NULL
11261 };
11262
11263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11266 {
11267 arg2 = wxString_in_helper(obj1);
11268 if (arg2 == NULL) SWIG_fail;
11269 temp2 = True;
11270 }
11271 {
11272 PyThreadState* __tstate = wxPyBeginAllowThreads();
11273 (arg1)->SetValue((wxString const &)*arg2);
11274
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 Py_INCREF(Py_None); resultobj = Py_None;
11279 {
11280 if (temp2)
11281 delete arg2;
11282 }
11283 return resultobj;
11284 fail:
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11296 int arg2 ;
11297 int arg3 ;
11298 PyObject * obj0 = 0 ;
11299 PyObject * obj1 = 0 ;
11300 PyObject * obj2 = 0 ;
11301 char *kwnames[] = {
11302 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11308 arg2 = (int) SWIG_AsInt(obj1);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 arg3 = (int) SWIG_AsInt(obj2);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 {
11313 PyThreadState* __tstate = wxPyBeginAllowThreads();
11314 (arg1)->SetRange(arg2,arg3);
11315
11316 wxPyEndAllowThreads(__tstate);
11317 if (PyErr_Occurred()) SWIG_fail;
11318 }
11319 Py_INCREF(Py_None); resultobj = Py_None;
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11329 int result;
11330 PyObject * obj0 = 0 ;
11331 char *kwnames[] = {
11332 (char *) "self", NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11338 {
11339 PyThreadState* __tstate = wxPyBeginAllowThreads();
11340 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11341
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = SWIG_FromInt((int)result);
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11353 PyObject *resultobj;
11354 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11355 int result;
11356 PyObject * obj0 = 0 ;
11357 char *kwnames[] = {
11358 (char *) "self", NULL
11359 };
11360
11361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 resultobj = SWIG_FromInt((int)result);
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11381 long arg2 ;
11382 long arg3 ;
11383 PyObject * obj0 = 0 ;
11384 PyObject * obj1 = 0 ;
11385 PyObject * obj2 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "from",(char *) "to", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11393 arg2 = (long) SWIG_AsLong(obj1);
11394 if (PyErr_Occurred()) SWIG_fail;
11395 arg3 = (long) SWIG_AsLong(obj2);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 (arg1)->SetSelection(arg2,arg3);
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 Py_INCREF(Py_None); resultobj = Py_None;
11405 return resultobj;
11406 fail:
11407 return NULL;
11408 }
11409
11410
11411 static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11412 PyObject *resultobj;
11413 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11414 wxVisualAttributes result;
11415 PyObject * obj0 = 0 ;
11416 char *kwnames[] = {
11417 (char *) "variant", NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11421 if (obj0) {
11422 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 {
11426 if (!wxPyCheckForApp()) SWIG_fail;
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 {
11434 wxVisualAttributes * resultptr;
11435 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11437 }
11438 return resultobj;
11439 fail:
11440 return NULL;
11441 }
11442
11443
11444 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11445 PyObject *obj;
11446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11447 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11448 Py_INCREF(obj);
11449 return Py_BuildValue((char *)"");
11450 }
11451 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11452 PyObject *resultobj;
11453 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11454 int arg2 = (int) 0 ;
11455 wxSpinEvent *result;
11456 PyObject * obj0 = 0 ;
11457 PyObject * obj1 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "commandType",(char *) "winid", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11463 if (obj0) {
11464 arg1 = (wxEventType) SWIG_AsInt(obj0);
11465 if (PyErr_Occurred()) SWIG_fail;
11466 }
11467 if (obj1) {
11468 arg2 = (int) SWIG_AsInt(obj1);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 }
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482 }
11483
11484
11485 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11488 int result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 resultobj = SWIG_FromInt((int)result);
11505 return resultobj;
11506 fail:
11507 return NULL;
11508 }
11509
11510
11511 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11512 PyObject *resultobj;
11513 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11514 int arg2 ;
11515 PyObject * obj0 = 0 ;
11516 PyObject * obj1 = 0 ;
11517 char *kwnames[] = {
11518 (char *) "self",(char *) "pos", NULL
11519 };
11520
11521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11524 arg2 = (int) SWIG_AsInt(obj1);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 (arg1)->SetPosition(arg2);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 Py_INCREF(Py_None); resultobj = Py_None;
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11541 PyObject *obj;
11542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11543 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11544 Py_INCREF(obj);
11545 return Py_BuildValue((char *)"");
11546 }
11547 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11548 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11549 return 1;
11550 }
11551
11552
11553 static PyObject *_wrap_RadioBoxNameStr_get() {
11554 PyObject *pyobj;
11555
11556 {
11557 #if wxUSE_UNICODE
11558 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11559 #else
11560 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11561 #endif
11562 }
11563 return pyobj;
11564 }
11565
11566
11567 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11568 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11569 return 1;
11570 }
11571
11572
11573 static PyObject *_wrap_RadioButtonNameStr_get() {
11574 PyObject *pyobj;
11575
11576 {
11577 #if wxUSE_UNICODE
11578 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11579 #else
11580 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11581 #endif
11582 }
11583 return pyobj;
11584 }
11585
11586
11587 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxWindow *arg1 = (wxWindow *) 0 ;
11590 int arg2 ;
11591 wxString *arg3 = 0 ;
11592 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11593 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11594 wxSize const &arg5_defvalue = wxDefaultSize ;
11595 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11596 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11597 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11598 int arg7 = (int) 0 ;
11599 long arg8 = (long) wxRA_HORIZONTAL ;
11600 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11601 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11602 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11603 wxString *arg10 = (wxString *) &arg10_defvalue ;
11604 wxRadioBox *result;
11605 bool temp3 = False ;
11606 wxPoint temp4 ;
11607 wxSize temp5 ;
11608 bool temp6 = False ;
11609 bool temp10 = False ;
11610 PyObject * obj0 = 0 ;
11611 PyObject * obj1 = 0 ;
11612 PyObject * obj2 = 0 ;
11613 PyObject * obj3 = 0 ;
11614 PyObject * obj4 = 0 ;
11615 PyObject * obj5 = 0 ;
11616 PyObject * obj6 = 0 ;
11617 PyObject * obj7 = 0 ;
11618 PyObject * obj8 = 0 ;
11619 PyObject * obj9 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11627 arg2 = (int) SWIG_AsInt(obj1);
11628 if (PyErr_Occurred()) SWIG_fail;
11629 {
11630 arg3 = wxString_in_helper(obj2);
11631 if (arg3 == NULL) SWIG_fail;
11632 temp3 = True;
11633 }
11634 if (obj3) {
11635 {
11636 arg4 = &temp4;
11637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11638 }
11639 }
11640 if (obj4) {
11641 {
11642 arg5 = &temp5;
11643 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11644 }
11645 }
11646 if (obj5) {
11647 {
11648 if (! PySequence_Check(obj5)) {
11649 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11650 SWIG_fail;
11651 }
11652 arg6 = new wxArrayString;
11653 temp6 = True;
11654 int i, len=PySequence_Length(obj5);
11655 for (i=0; i<len; i++) {
11656 PyObject* item = PySequence_GetItem(obj5, i);
11657 #if wxUSE_UNICODE
11658 PyObject* str = PyObject_Unicode(item);
11659 #else
11660 PyObject* str = PyObject_Str(item);
11661 #endif
11662 if (PyErr_Occurred()) SWIG_fail;
11663 arg6->Add(Py2wxString(str));
11664 Py_DECREF(item);
11665 Py_DECREF(str);
11666 }
11667 }
11668 }
11669 if (obj6) {
11670 arg7 = (int) SWIG_AsInt(obj6);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 if (obj7) {
11674 arg8 = (long) SWIG_AsLong(obj7);
11675 if (PyErr_Occurred()) SWIG_fail;
11676 }
11677 if (obj8) {
11678 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11679 SWIG_POINTER_EXCEPTION | 0)) == -1)
11680 SWIG_fail;
11681 if (arg9 == NULL) {
11682 PyErr_SetString(PyExc_TypeError,"null reference");
11683 SWIG_fail;
11684 }
11685 }
11686 if (obj9) {
11687 {
11688 arg10 = wxString_in_helper(obj9);
11689 if (arg10 == NULL) SWIG_fail;
11690 temp10 = True;
11691 }
11692 }
11693 {
11694 if (!wxPyCheckForApp()) SWIG_fail;
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11702 {
11703 if (temp3)
11704 delete arg3;
11705 }
11706 {
11707 if (temp6) delete arg6;
11708 }
11709 {
11710 if (temp10)
11711 delete arg10;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp3)
11717 delete arg3;
11718 }
11719 {
11720 if (temp6) delete arg6;
11721 }
11722 {
11723 if (temp10)
11724 delete arg10;
11725 }
11726 return NULL;
11727 }
11728
11729
11730 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11731 PyObject *resultobj;
11732 wxRadioBox *result;
11733 char *kwnames[] = {
11734 NULL
11735 };
11736
11737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11738 {
11739 if (!wxPyCheckForApp()) SWIG_fail;
11740 PyThreadState* __tstate = wxPyBeginAllowThreads();
11741 result = (wxRadioBox *)new wxRadioBox();
11742
11743 wxPyEndAllowThreads(__tstate);
11744 if (PyErr_Occurred()) SWIG_fail;
11745 }
11746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11747 return resultobj;
11748 fail:
11749 return NULL;
11750 }
11751
11752
11753 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11754 PyObject *resultobj;
11755 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11756 wxWindow *arg2 = (wxWindow *) 0 ;
11757 int arg3 ;
11758 wxString *arg4 = 0 ;
11759 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11760 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11761 wxSize const &arg6_defvalue = wxDefaultSize ;
11762 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11763 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11764 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11765 int arg8 = (int) 0 ;
11766 long arg9 = (long) wxRA_HORIZONTAL ;
11767 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11768 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11769 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11770 wxString *arg11 = (wxString *) &arg11_defvalue ;
11771 bool result;
11772 bool temp4 = False ;
11773 wxPoint temp5 ;
11774 wxSize temp6 ;
11775 bool temp7 = False ;
11776 bool temp11 = False ;
11777 PyObject * obj0 = 0 ;
11778 PyObject * obj1 = 0 ;
11779 PyObject * obj2 = 0 ;
11780 PyObject * obj3 = 0 ;
11781 PyObject * obj4 = 0 ;
11782 PyObject * obj5 = 0 ;
11783 PyObject * obj6 = 0 ;
11784 PyObject * obj7 = 0 ;
11785 PyObject * obj8 = 0 ;
11786 PyObject * obj9 = 0 ;
11787 PyObject * obj10 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11797 arg3 = (int) SWIG_AsInt(obj2);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 {
11800 arg4 = wxString_in_helper(obj3);
11801 if (arg4 == NULL) SWIG_fail;
11802 temp4 = True;
11803 }
11804 if (obj4) {
11805 {
11806 arg5 = &temp5;
11807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11808 }
11809 }
11810 if (obj5) {
11811 {
11812 arg6 = &temp6;
11813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11814 }
11815 }
11816 if (obj6) {
11817 {
11818 if (! PySequence_Check(obj6)) {
11819 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11820 SWIG_fail;
11821 }
11822 arg7 = new wxArrayString;
11823 temp7 = True;
11824 int i, len=PySequence_Length(obj6);
11825 for (i=0; i<len; i++) {
11826 PyObject* item = PySequence_GetItem(obj6, i);
11827 #if wxUSE_UNICODE
11828 PyObject* str = PyObject_Unicode(item);
11829 #else
11830 PyObject* str = PyObject_Str(item);
11831 #endif
11832 if (PyErr_Occurred()) SWIG_fail;
11833 arg7->Add(Py2wxString(str));
11834 Py_DECREF(item);
11835 Py_DECREF(str);
11836 }
11837 }
11838 }
11839 if (obj7) {
11840 arg8 = (int) SWIG_AsInt(obj7);
11841 if (PyErr_Occurred()) SWIG_fail;
11842 }
11843 if (obj8) {
11844 arg9 = (long) SWIG_AsLong(obj8);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 if (obj9) {
11848 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11849 SWIG_POINTER_EXCEPTION | 0)) == -1)
11850 SWIG_fail;
11851 if (arg10 == NULL) {
11852 PyErr_SetString(PyExc_TypeError,"null reference");
11853 SWIG_fail;
11854 }
11855 }
11856 if (obj10) {
11857 {
11858 arg11 = wxString_in_helper(obj10);
11859 if (arg11 == NULL) SWIG_fail;
11860 temp11 = True;
11861 }
11862 }
11863 {
11864 PyThreadState* __tstate = wxPyBeginAllowThreads();
11865 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxArrayString const &)*arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
11866
11867 wxPyEndAllowThreads(__tstate);
11868 if (PyErr_Occurred()) SWIG_fail;
11869 }
11870 {
11871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11872 }
11873 {
11874 if (temp4)
11875 delete arg4;
11876 }
11877 {
11878 if (temp7) delete arg7;
11879 }
11880 {
11881 if (temp11)
11882 delete arg11;
11883 }
11884 return resultobj;
11885 fail:
11886 {
11887 if (temp4)
11888 delete arg4;
11889 }
11890 {
11891 if (temp7) delete arg7;
11892 }
11893 {
11894 if (temp11)
11895 delete arg11;
11896 }
11897 return NULL;
11898 }
11899
11900
11901 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj;
11903 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11904 int arg2 ;
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:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11914 arg2 = (int) SWIG_AsInt(obj1);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 {
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 (arg1)->SetSelection(arg2);
11919
11920 wxPyEndAllowThreads(__tstate);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 Py_INCREF(Py_None); resultobj = Py_None;
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11933 int result;
11934 PyObject * obj0 = 0 ;
11935 char *kwnames[] = {
11936 (char *) "self", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11942 {
11943 PyThreadState* __tstate = wxPyBeginAllowThreads();
11944 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11945
11946 wxPyEndAllowThreads(__tstate);
11947 if (PyErr_Occurred()) SWIG_fail;
11948 }
11949 resultobj = SWIG_FromInt((int)result);
11950 return resultobj;
11951 fail:
11952 return NULL;
11953 }
11954
11955
11956 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11957 PyObject *resultobj;
11958 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11959 wxString result;
11960 PyObject * obj0 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11971
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 {
11976 #if wxUSE_UNICODE
11977 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11978 #else
11979 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11980 #endif
11981 }
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11991 wxString *arg2 = 0 ;
11992 bool result;
11993 bool temp2 = False ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self",(char *) "s", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12003 {
12004 arg2 = wxString_in_helper(obj1);
12005 if (arg2 == NULL) SWIG_fail;
12006 temp2 = True;
12007 }
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 {
12016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12017 }
12018 {
12019 if (temp2)
12020 delete arg2;
12021 }
12022 return resultobj;
12023 fail:
12024 {
12025 if (temp2)
12026 delete arg2;
12027 }
12028 return NULL;
12029 }
12030
12031
12032 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12035 int result;
12036 PyObject * obj0 = 0 ;
12037 char *kwnames[] = {
12038 (char *) "self", NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12044 {
12045 PyThreadState* __tstate = wxPyBeginAllowThreads();
12046 result = (int)((wxRadioBox const *)arg1)->GetCount();
12047
12048 wxPyEndAllowThreads(__tstate);
12049 if (PyErr_Occurred()) SWIG_fail;
12050 }
12051 resultobj = SWIG_FromInt((int)result);
12052 return resultobj;
12053 fail:
12054 return NULL;
12055 }
12056
12057
12058 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12059 PyObject *resultobj;
12060 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12061 wxString *arg2 = 0 ;
12062 int result;
12063 bool temp2 = False ;
12064 PyObject * obj0 = 0 ;
12065 PyObject * obj1 = 0 ;
12066 char *kwnames[] = {
12067 (char *) "self",(char *) "s", NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12073 {
12074 arg2 = wxString_in_helper(obj1);
12075 if (arg2 == NULL) SWIG_fail;
12076 temp2 = True;
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_FromInt((int)result);
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 return resultobj;
12091 fail:
12092 {
12093 if (temp2)
12094 delete arg2;
12095 }
12096 return NULL;
12097 }
12098
12099
12100 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12101 PyObject *resultobj;
12102 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12103 int arg2 ;
12104 wxString result;
12105 PyObject * obj0 = 0 ;
12106 PyObject * obj1 = 0 ;
12107 char *kwnames[] = {
12108 (char *) "self",(char *) "n", NULL
12109 };
12110
12111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12114 arg2 = (int) SWIG_AsInt(obj1);
12115 if (PyErr_Occurred()) SWIG_fail;
12116 {
12117 PyThreadState* __tstate = wxPyBeginAllowThreads();
12118 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12119
12120 wxPyEndAllowThreads(__tstate);
12121 if (PyErr_Occurred()) SWIG_fail;
12122 }
12123 {
12124 #if wxUSE_UNICODE
12125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12126 #else
12127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12128 #endif
12129 }
12130 return resultobj;
12131 fail:
12132 return NULL;
12133 }
12134
12135
12136 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12137 PyObject *resultobj;
12138 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12139 int arg2 ;
12140 wxString *arg3 = 0 ;
12141 bool temp3 = False ;
12142 PyObject * obj0 = 0 ;
12143 PyObject * obj1 = 0 ;
12144 PyObject * obj2 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "n",(char *) "label", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12152 arg2 = (int) SWIG_AsInt(obj1);
12153 if (PyErr_Occurred()) SWIG_fail;
12154 {
12155 arg3 = wxString_in_helper(obj2);
12156 if (arg3 == NULL) SWIG_fail;
12157 temp3 = True;
12158 }
12159 {
12160 PyThreadState* __tstate = wxPyBeginAllowThreads();
12161 (arg1)->SetString(arg2,(wxString const &)*arg3);
12162
12163 wxPyEndAllowThreads(__tstate);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 Py_INCREF(Py_None); resultobj = Py_None;
12167 {
12168 if (temp3)
12169 delete arg3;
12170 }
12171 return resultobj;
12172 fail:
12173 {
12174 if (temp3)
12175 delete arg3;
12176 }
12177 return NULL;
12178 }
12179
12180
12181 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12184 int arg2 ;
12185 bool arg3 = (bool) True ;
12186 PyObject * obj0 = 0 ;
12187 PyObject * obj1 = 0 ;
12188 PyObject * obj2 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self",(char *) "n",(char *) "enable", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12196 arg2 = (int) SWIG_AsInt(obj1);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 if (obj2) {
12199 arg3 = (bool) SWIG_AsBool(obj2);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 {
12203 PyThreadState* __tstate = wxPyBeginAllowThreads();
12204 (arg1)->Enable(arg2,arg3);
12205
12206 wxPyEndAllowThreads(__tstate);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 }
12209 Py_INCREF(Py_None); resultobj = Py_None;
12210 return resultobj;
12211 fail:
12212 return NULL;
12213 }
12214
12215
12216 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12219 int arg2 ;
12220 bool arg3 = (bool) True ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 PyObject * obj2 = 0 ;
12224 char *kwnames[] = {
12225 (char *) "self",(char *) "n",(char *) "show", NULL
12226 };
12227
12228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12231 arg2 = (int) SWIG_AsInt(obj1);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 if (obj2) {
12234 arg3 = (bool) SWIG_AsBool(obj2);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 {
12238 PyThreadState* __tstate = wxPyBeginAllowThreads();
12239 (arg1)->Show(arg2,arg3);
12240
12241 wxPyEndAllowThreads(__tstate);
12242 if (PyErr_Occurred()) SWIG_fail;
12243 }
12244 Py_INCREF(Py_None); resultobj = Py_None;
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12254 int result;
12255 PyObject * obj0 = 0 ;
12256 char *kwnames[] = {
12257 (char *) "self", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 resultobj = SWIG_FromInt((int)result);
12271 return resultobj;
12272 fail:
12273 return NULL;
12274 }
12275
12276
12277 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12278 PyObject *resultobj;
12279 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12280 int result;
12281 PyObject * obj0 = 0 ;
12282 char *kwnames[] = {
12283 (char *) "self", NULL
12284 };
12285
12286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12289 {
12290 PyThreadState* __tstate = wxPyBeginAllowThreads();
12291 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12292
12293 wxPyEndAllowThreads(__tstate);
12294 if (PyErr_Occurred()) SWIG_fail;
12295 }
12296 resultobj = SWIG_FromInt((int)result);
12297 return resultobj;
12298 fail:
12299 return NULL;
12300 }
12301
12302
12303 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12304 PyObject *resultobj;
12305 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12306 int arg2 ;
12307 int arg3 ;
12308 long arg4 ;
12309 int result;
12310 PyObject * obj0 = 0 ;
12311 PyObject * obj1 = 0 ;
12312 PyObject * obj2 = 0 ;
12313 PyObject * obj3 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12321 arg2 = (int) SWIG_AsInt(obj1);
12322 if (PyErr_Occurred()) SWIG_fail;
12323 arg3 = (wxDirection) SWIG_AsInt(obj2);
12324 if (PyErr_Occurred()) SWIG_fail;
12325 arg4 = (long) SWIG_AsLong(obj3);
12326 if (PyErr_Occurred()) SWIG_fail;
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
12334 resultobj = SWIG_FromInt((int)result);
12335 return resultobj;
12336 fail:
12337 return NULL;
12338 }
12339
12340
12341 static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12342 PyObject *resultobj;
12343 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12344 wxVisualAttributes result;
12345 PyObject * obj0 = 0 ;
12346 char *kwnames[] = {
12347 (char *) "variant", NULL
12348 };
12349
12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12351 if (obj0) {
12352 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12353 if (PyErr_Occurred()) SWIG_fail;
12354 }
12355 {
12356 if (!wxPyCheckForApp()) SWIG_fail;
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12359
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 {
12364 wxVisualAttributes * resultptr;
12365 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12367 }
12368 return resultobj;
12369 fail:
12370 return NULL;
12371 }
12372
12373
12374 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12375 PyObject *obj;
12376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12377 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12378 Py_INCREF(obj);
12379 return Py_BuildValue((char *)"");
12380 }
12381 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12382 PyObject *resultobj;
12383 wxWindow *arg1 = (wxWindow *) 0 ;
12384 int arg2 ;
12385 wxString *arg3 = 0 ;
12386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12388 wxSize const &arg5_defvalue = wxDefaultSize ;
12389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12390 long arg6 = (long) 0 ;
12391 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12392 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12393 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12394 wxString *arg8 = (wxString *) &arg8_defvalue ;
12395 wxRadioButton *result;
12396 bool temp3 = False ;
12397 wxPoint temp4 ;
12398 wxSize temp5 ;
12399 bool temp8 = False ;
12400 PyObject * obj0 = 0 ;
12401 PyObject * obj1 = 0 ;
12402 PyObject * obj2 = 0 ;
12403 PyObject * obj3 = 0 ;
12404 PyObject * obj4 = 0 ;
12405 PyObject * obj5 = 0 ;
12406 PyObject * obj6 = 0 ;
12407 PyObject * obj7 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12415 arg2 = (int) SWIG_AsInt(obj1);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 {
12418 arg3 = wxString_in_helper(obj2);
12419 if (arg3 == NULL) SWIG_fail;
12420 temp3 = True;
12421 }
12422 if (obj3) {
12423 {
12424 arg4 = &temp4;
12425 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12426 }
12427 }
12428 if (obj4) {
12429 {
12430 arg5 = &temp5;
12431 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12432 }
12433 }
12434 if (obj5) {
12435 arg6 = (long) SWIG_AsLong(obj5);
12436 if (PyErr_Occurred()) SWIG_fail;
12437 }
12438 if (obj6) {
12439 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12440 SWIG_POINTER_EXCEPTION | 0)) == -1)
12441 SWIG_fail;
12442 if (arg7 == NULL) {
12443 PyErr_SetString(PyExc_TypeError,"null reference");
12444 SWIG_fail;
12445 }
12446 }
12447 if (obj7) {
12448 {
12449 arg8 = wxString_in_helper(obj7);
12450 if (arg8 == NULL) SWIG_fail;
12451 temp8 = True;
12452 }
12453 }
12454 {
12455 if (!wxPyCheckForApp()) SWIG_fail;
12456 PyThreadState* __tstate = wxPyBeginAllowThreads();
12457 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12458
12459 wxPyEndAllowThreads(__tstate);
12460 if (PyErr_Occurred()) SWIG_fail;
12461 }
12462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12463 {
12464 if (temp3)
12465 delete arg3;
12466 }
12467 {
12468 if (temp8)
12469 delete arg8;
12470 }
12471 return resultobj;
12472 fail:
12473 {
12474 if (temp3)
12475 delete arg3;
12476 }
12477 {
12478 if (temp8)
12479 delete arg8;
12480 }
12481 return NULL;
12482 }
12483
12484
12485 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12486 PyObject *resultobj;
12487 wxRadioButton *result;
12488 char *kwnames[] = {
12489 NULL
12490 };
12491
12492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12493 {
12494 if (!wxPyCheckForApp()) SWIG_fail;
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxRadioButton *)new wxRadioButton();
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12502 return resultobj;
12503 fail:
12504 return NULL;
12505 }
12506
12507
12508 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12511 wxWindow *arg2 = (wxWindow *) 0 ;
12512 int arg3 ;
12513 wxString *arg4 = 0 ;
12514 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12515 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12516 wxSize const &arg6_defvalue = wxDefaultSize ;
12517 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12518 long arg7 = (long) 0 ;
12519 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12520 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12521 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12522 wxString *arg9 = (wxString *) &arg9_defvalue ;
12523 bool result;
12524 bool temp4 = False ;
12525 wxPoint temp5 ;
12526 wxSize temp6 ;
12527 bool temp9 = False ;
12528 PyObject * obj0 = 0 ;
12529 PyObject * obj1 = 0 ;
12530 PyObject * obj2 = 0 ;
12531 PyObject * obj3 = 0 ;
12532 PyObject * obj4 = 0 ;
12533 PyObject * obj5 = 0 ;
12534 PyObject * obj6 = 0 ;
12535 PyObject * obj7 = 0 ;
12536 PyObject * obj8 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12546 arg3 = (int) SWIG_AsInt(obj2);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 {
12549 arg4 = wxString_in_helper(obj3);
12550 if (arg4 == NULL) SWIG_fail;
12551 temp4 = True;
12552 }
12553 if (obj4) {
12554 {
12555 arg5 = &temp5;
12556 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12557 }
12558 }
12559 if (obj5) {
12560 {
12561 arg6 = &temp6;
12562 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12563 }
12564 }
12565 if (obj6) {
12566 arg7 = (long) SWIG_AsLong(obj6);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 if (obj7) {
12570 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12571 SWIG_POINTER_EXCEPTION | 0)) == -1)
12572 SWIG_fail;
12573 if (arg8 == NULL) {
12574 PyErr_SetString(PyExc_TypeError,"null reference");
12575 SWIG_fail;
12576 }
12577 }
12578 if (obj8) {
12579 {
12580 arg9 = wxString_in_helper(obj8);
12581 if (arg9 == NULL) SWIG_fail;
12582 temp9 = True;
12583 }
12584 }
12585 {
12586 PyThreadState* __tstate = wxPyBeginAllowThreads();
12587 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12588
12589 wxPyEndAllowThreads(__tstate);
12590 if (PyErr_Occurred()) SWIG_fail;
12591 }
12592 {
12593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12594 }
12595 {
12596 if (temp4)
12597 delete arg4;
12598 }
12599 {
12600 if (temp9)
12601 delete arg9;
12602 }
12603 return resultobj;
12604 fail:
12605 {
12606 if (temp4)
12607 delete arg4;
12608 }
12609 {
12610 if (temp9)
12611 delete arg9;
12612 }
12613 return NULL;
12614 }
12615
12616
12617 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12618 PyObject *resultobj;
12619 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12620 bool result;
12621 PyObject * obj0 = 0 ;
12622 char *kwnames[] = {
12623 (char *) "self", NULL
12624 };
12625
12626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 result = (bool)(arg1)->GetValue();
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 {
12637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12638 }
12639 return resultobj;
12640 fail:
12641 return NULL;
12642 }
12643
12644
12645 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12648 bool arg2 ;
12649 PyObject * obj0 = 0 ;
12650 PyObject * obj1 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self",(char *) "value", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12658 arg2 = (bool) SWIG_AsBool(obj1);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 {
12661 PyThreadState* __tstate = wxPyBeginAllowThreads();
12662 (arg1)->SetValue(arg2);
12663
12664 wxPyEndAllowThreads(__tstate);
12665 if (PyErr_Occurred()) SWIG_fail;
12666 }
12667 Py_INCREF(Py_None); resultobj = Py_None;
12668 return resultobj;
12669 fail:
12670 return NULL;
12671 }
12672
12673
12674 static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12677 wxVisualAttributes result;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "variant", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12684 if (obj0) {
12685 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12686 if (PyErr_Occurred()) SWIG_fail;
12687 }
12688 {
12689 if (!wxPyCheckForApp()) SWIG_fail;
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
12696 {
12697 wxVisualAttributes * resultptr;
12698 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12700 }
12701 return resultobj;
12702 fail:
12703 return NULL;
12704 }
12705
12706
12707 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12708 PyObject *obj;
12709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12710 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12711 Py_INCREF(obj);
12712 return Py_BuildValue((char *)"");
12713 }
12714 static int _wrap_SliderNameStr_set(PyObject *_val) {
12715 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12716 return 1;
12717 }
12718
12719
12720 static PyObject *_wrap_SliderNameStr_get() {
12721 PyObject *pyobj;
12722
12723 {
12724 #if wxUSE_UNICODE
12725 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12726 #else
12727 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12728 #endif
12729 }
12730 return pyobj;
12731 }
12732
12733
12734 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12735 PyObject *resultobj;
12736 wxWindow *arg1 = (wxWindow *) 0 ;
12737 int arg2 ;
12738 int arg3 ;
12739 int arg4 ;
12740 int arg5 ;
12741 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12742 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12743 wxSize const &arg7_defvalue = wxDefaultSize ;
12744 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12745 long arg8 = (long) wxSL_HORIZONTAL ;
12746 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12747 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12748 wxString const &arg10_defvalue = wxPySliderNameStr ;
12749 wxString *arg10 = (wxString *) &arg10_defvalue ;
12750 wxSlider *result;
12751 wxPoint temp6 ;
12752 wxSize temp7 ;
12753 bool temp10 = False ;
12754 PyObject * obj0 = 0 ;
12755 PyObject * obj1 = 0 ;
12756 PyObject * obj2 = 0 ;
12757 PyObject * obj3 = 0 ;
12758 PyObject * obj4 = 0 ;
12759 PyObject * obj5 = 0 ;
12760 PyObject * obj6 = 0 ;
12761 PyObject * obj7 = 0 ;
12762 PyObject * obj8 = 0 ;
12763 PyObject * obj9 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 arg2 = (int) SWIG_AsInt(obj1);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 arg3 = (int) SWIG_AsInt(obj2);
12774 if (PyErr_Occurred()) SWIG_fail;
12775 arg4 = (int) SWIG_AsInt(obj3);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 arg5 = (int) SWIG_AsInt(obj4);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 if (obj5) {
12780 {
12781 arg6 = &temp6;
12782 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12783 }
12784 }
12785 if (obj6) {
12786 {
12787 arg7 = &temp7;
12788 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12789 }
12790 }
12791 if (obj7) {
12792 arg8 = (long) SWIG_AsLong(obj7);
12793 if (PyErr_Occurred()) SWIG_fail;
12794 }
12795 if (obj8) {
12796 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12797 SWIG_POINTER_EXCEPTION | 0)) == -1)
12798 SWIG_fail;
12799 if (arg9 == NULL) {
12800 PyErr_SetString(PyExc_TypeError,"null reference");
12801 SWIG_fail;
12802 }
12803 }
12804 if (obj9) {
12805 {
12806 arg10 = wxString_in_helper(obj9);
12807 if (arg10 == NULL) SWIG_fail;
12808 temp10 = True;
12809 }
12810 }
12811 {
12812 if (!wxPyCheckForApp()) SWIG_fail;
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12820 {
12821 if (temp10)
12822 delete arg10;
12823 }
12824 return resultobj;
12825 fail:
12826 {
12827 if (temp10)
12828 delete arg10;
12829 }
12830 return NULL;
12831 }
12832
12833
12834 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxSlider *result;
12837 char *kwnames[] = {
12838 NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12842 {
12843 if (!wxPyCheckForApp()) SWIG_fail;
12844 PyThreadState* __tstate = wxPyBeginAllowThreads();
12845 result = (wxSlider *)new wxSlider();
12846
12847 wxPyEndAllowThreads(__tstate);
12848 if (PyErr_Occurred()) SWIG_fail;
12849 }
12850 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12851 return resultobj;
12852 fail:
12853 return NULL;
12854 }
12855
12856
12857 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12858 PyObject *resultobj;
12859 wxSlider *arg1 = (wxSlider *) 0 ;
12860 wxWindow *arg2 = (wxWindow *) 0 ;
12861 int arg3 ;
12862 int arg4 ;
12863 int arg5 ;
12864 int arg6 ;
12865 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12866 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12867 wxSize const &arg8_defvalue = wxDefaultSize ;
12868 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12869 long arg9 = (long) wxSL_HORIZONTAL ;
12870 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12871 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12872 wxString const &arg11_defvalue = wxPySliderNameStr ;
12873 wxString *arg11 = (wxString *) &arg11_defvalue ;
12874 bool result;
12875 wxPoint temp7 ;
12876 wxSize temp8 ;
12877 bool temp11 = False ;
12878 PyObject * obj0 = 0 ;
12879 PyObject * obj1 = 0 ;
12880 PyObject * obj2 = 0 ;
12881 PyObject * obj3 = 0 ;
12882 PyObject * obj4 = 0 ;
12883 PyObject * obj5 = 0 ;
12884 PyObject * obj6 = 0 ;
12885 PyObject * obj7 = 0 ;
12886 PyObject * obj8 = 0 ;
12887 PyObject * obj9 = 0 ;
12888 PyObject * obj10 = 0 ;
12889 char *kwnames[] = {
12890 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12891 };
12892
12893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12896 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12898 arg3 = (int) SWIG_AsInt(obj2);
12899 if (PyErr_Occurred()) SWIG_fail;
12900 arg4 = (int) SWIG_AsInt(obj3);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 arg5 = (int) SWIG_AsInt(obj4);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 arg6 = (int) SWIG_AsInt(obj5);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 if (obj6) {
12907 {
12908 arg7 = &temp7;
12909 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12910 }
12911 }
12912 if (obj7) {
12913 {
12914 arg8 = &temp8;
12915 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12916 }
12917 }
12918 if (obj8) {
12919 arg9 = (long) SWIG_AsLong(obj8);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 if (obj9) {
12923 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1)
12925 SWIG_fail;
12926 if (arg10 == NULL) {
12927 PyErr_SetString(PyExc_TypeError,"null reference");
12928 SWIG_fail;
12929 }
12930 }
12931 if (obj10) {
12932 {
12933 arg11 = wxString_in_helper(obj10);
12934 if (arg11 == NULL) SWIG_fail;
12935 temp11 = True;
12936 }
12937 }
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
12945 {
12946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12947 }
12948 {
12949 if (temp11)
12950 delete arg11;
12951 }
12952 return resultobj;
12953 fail:
12954 {
12955 if (temp11)
12956 delete arg11;
12957 }
12958 return NULL;
12959 }
12960
12961
12962 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12963 PyObject *resultobj;
12964 wxSlider *arg1 = (wxSlider *) 0 ;
12965 int result;
12966 PyObject * obj0 = 0 ;
12967 char *kwnames[] = {
12968 (char *) "self", NULL
12969 };
12970
12971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (int)((wxSlider const *)arg1)->GetValue();
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 resultobj = SWIG_FromInt((int)result);
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj;
12990 wxSlider *arg1 = (wxSlider *) 0 ;
12991 int arg2 ;
12992 PyObject * obj0 = 0 ;
12993 PyObject * obj1 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self",(char *) "value", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13001 arg2 = (int) SWIG_AsInt(obj1);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 (arg1)->SetValue(arg2);
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 Py_INCREF(Py_None); resultobj = Py_None;
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxSlider *arg1 = (wxSlider *) 0 ;
13020 int arg2 ;
13021 int arg3 ;
13022 PyObject * obj0 = 0 ;
13023 PyObject * obj1 = 0 ;
13024 PyObject * obj2 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13032 arg2 = (int) SWIG_AsInt(obj1);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 arg3 = (int) SWIG_AsInt(obj2);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 {
13037 PyThreadState* __tstate = wxPyBeginAllowThreads();
13038 (arg1)->SetRange(arg2,arg3);
13039
13040 wxPyEndAllowThreads(__tstate);
13041 if (PyErr_Occurred()) SWIG_fail;
13042 }
13043 Py_INCREF(Py_None); resultobj = Py_None;
13044 return resultobj;
13045 fail:
13046 return NULL;
13047 }
13048
13049
13050 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13051 PyObject *resultobj;
13052 wxSlider *arg1 = (wxSlider *) 0 ;
13053 int result;
13054 PyObject * obj0 = 0 ;
13055 char *kwnames[] = {
13056 (char *) "self", NULL
13057 };
13058
13059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 result = (int)((wxSlider const *)arg1)->GetMin();
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 resultobj = SWIG_FromInt((int)result);
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxSlider *arg1 = (wxSlider *) 0 ;
13079 int result;
13080 PyObject * obj0 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13088 {
13089 PyThreadState* __tstate = wxPyBeginAllowThreads();
13090 result = (int)((wxSlider const *)arg1)->GetMax();
13091
13092 wxPyEndAllowThreads(__tstate);
13093 if (PyErr_Occurred()) SWIG_fail;
13094 }
13095 resultobj = SWIG_FromInt((int)result);
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxSlider *arg1 = (wxSlider *) 0 ;
13105 int arg2 ;
13106 PyObject * obj0 = 0 ;
13107 PyObject * obj1 = 0 ;
13108 char *kwnames[] = {
13109 (char *) "self",(char *) "minValue", NULL
13110 };
13111
13112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13115 arg2 = (int) SWIG_AsInt(obj1);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 (arg1)->SetMin(arg2);
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 Py_INCREF(Py_None); resultobj = Py_None;
13125 return resultobj;
13126 fail:
13127 return NULL;
13128 }
13129
13130
13131 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxSlider *arg1 = (wxSlider *) 0 ;
13134 int arg2 ;
13135 PyObject * obj0 = 0 ;
13136 PyObject * obj1 = 0 ;
13137 char *kwnames[] = {
13138 (char *) "self",(char *) "maxValue", NULL
13139 };
13140
13141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13144 arg2 = (int) SWIG_AsInt(obj1);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 (arg1)->SetMax(arg2);
13149
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 Py_INCREF(Py_None); resultobj = Py_None;
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj;
13162 wxSlider *arg1 = (wxSlider *) 0 ;
13163 int arg2 ;
13164 PyObject * obj0 = 0 ;
13165 PyObject * obj1 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self",(char *) "lineSize", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13173 arg2 = (int) SWIG_AsInt(obj1);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 (arg1)->SetLineSize(arg2);
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 Py_INCREF(Py_None); resultobj = Py_None;
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj;
13191 wxSlider *arg1 = (wxSlider *) 0 ;
13192 int arg2 ;
13193 PyObject * obj0 = 0 ;
13194 PyObject * obj1 = 0 ;
13195 char *kwnames[] = {
13196 (char *) "self",(char *) "pageSize", NULL
13197 };
13198
13199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13202 arg2 = (int) SWIG_AsInt(obj1);
13203 if (PyErr_Occurred()) SWIG_fail;
13204 {
13205 PyThreadState* __tstate = wxPyBeginAllowThreads();
13206 (arg1)->SetPageSize(arg2);
13207
13208 wxPyEndAllowThreads(__tstate);
13209 if (PyErr_Occurred()) SWIG_fail;
13210 }
13211 Py_INCREF(Py_None); resultobj = Py_None;
13212 return resultobj;
13213 fail:
13214 return NULL;
13215 }
13216
13217
13218 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13219 PyObject *resultobj;
13220 wxSlider *arg1 = (wxSlider *) 0 ;
13221 int result;
13222 PyObject * obj0 = 0 ;
13223 char *kwnames[] = {
13224 (char *) "self", NULL
13225 };
13226
13227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13230 {
13231 PyThreadState* __tstate = wxPyBeginAllowThreads();
13232 result = (int)((wxSlider const *)arg1)->GetLineSize();
13233
13234 wxPyEndAllowThreads(__tstate);
13235 if (PyErr_Occurred()) SWIG_fail;
13236 }
13237 resultobj = SWIG_FromInt((int)result);
13238 return resultobj;
13239 fail:
13240 return NULL;
13241 }
13242
13243
13244 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13245 PyObject *resultobj;
13246 wxSlider *arg1 = (wxSlider *) 0 ;
13247 int result;
13248 PyObject * obj0 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13256 {
13257 PyThreadState* __tstate = wxPyBeginAllowThreads();
13258 result = (int)((wxSlider const *)arg1)->GetPageSize();
13259
13260 wxPyEndAllowThreads(__tstate);
13261 if (PyErr_Occurred()) SWIG_fail;
13262 }
13263 resultobj = SWIG_FromInt((int)result);
13264 return resultobj;
13265 fail:
13266 return NULL;
13267 }
13268
13269
13270 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13271 PyObject *resultobj;
13272 wxSlider *arg1 = (wxSlider *) 0 ;
13273 int arg2 ;
13274 PyObject * obj0 = 0 ;
13275 PyObject * obj1 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self",(char *) "lenPixels", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13283 arg2 = (int) SWIG_AsInt(obj1);
13284 if (PyErr_Occurred()) SWIG_fail;
13285 {
13286 PyThreadState* __tstate = wxPyBeginAllowThreads();
13287 (arg1)->SetThumbLength(arg2);
13288
13289 wxPyEndAllowThreads(__tstate);
13290 if (PyErr_Occurred()) SWIG_fail;
13291 }
13292 Py_INCREF(Py_None); resultobj = Py_None;
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxSlider *arg1 = (wxSlider *) 0 ;
13302 int result;
13303 PyObject * obj0 = 0 ;
13304 char *kwnames[] = {
13305 (char *) "self", NULL
13306 };
13307
13308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13311 {
13312 PyThreadState* __tstate = wxPyBeginAllowThreads();
13313 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13314
13315 wxPyEndAllowThreads(__tstate);
13316 if (PyErr_Occurred()) SWIG_fail;
13317 }
13318 resultobj = SWIG_FromInt((int)result);
13319 return resultobj;
13320 fail:
13321 return NULL;
13322 }
13323
13324
13325 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13326 PyObject *resultobj;
13327 wxSlider *arg1 = (wxSlider *) 0 ;
13328 int arg2 ;
13329 int arg3 = (int) 1 ;
13330 PyObject * obj0 = 0 ;
13331 PyObject * obj1 = 0 ;
13332 PyObject * obj2 = 0 ;
13333 char *kwnames[] = {
13334 (char *) "self",(char *) "n",(char *) "pos", NULL
13335 };
13336
13337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13340 arg2 = (int) SWIG_AsInt(obj1);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 if (obj2) {
13343 arg3 = (int) SWIG_AsInt(obj2);
13344 if (PyErr_Occurred()) SWIG_fail;
13345 }
13346 {
13347 PyThreadState* __tstate = wxPyBeginAllowThreads();
13348 (arg1)->SetTickFreq(arg2,arg3);
13349
13350 wxPyEndAllowThreads(__tstate);
13351 if (PyErr_Occurred()) SWIG_fail;
13352 }
13353 Py_INCREF(Py_None); resultobj = Py_None;
13354 return resultobj;
13355 fail:
13356 return NULL;
13357 }
13358
13359
13360 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxSlider *arg1 = (wxSlider *) 0 ;
13363 int result;
13364 PyObject * obj0 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 resultobj = SWIG_FromInt((int)result);
13380 return resultobj;
13381 fail:
13382 return NULL;
13383 }
13384
13385
13386 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxSlider *arg1 = (wxSlider *) 0 ;
13389 PyObject * obj0 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->ClearTicks();
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 Py_INCREF(Py_None); resultobj = Py_None;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408 }
13409
13410
13411 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13412 PyObject *resultobj;
13413 wxSlider *arg1 = (wxSlider *) 0 ;
13414 int arg2 ;
13415 PyObject * obj0 = 0 ;
13416 PyObject * obj1 = 0 ;
13417 char *kwnames[] = {
13418 (char *) "self",(char *) "tickPos", NULL
13419 };
13420
13421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13424 arg2 = (int) SWIG_AsInt(obj1);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 {
13427 PyThreadState* __tstate = wxPyBeginAllowThreads();
13428 (arg1)->SetTick(arg2);
13429
13430 wxPyEndAllowThreads(__tstate);
13431 if (PyErr_Occurred()) SWIG_fail;
13432 }
13433 Py_INCREF(Py_None); resultobj = Py_None;
13434 return resultobj;
13435 fail:
13436 return NULL;
13437 }
13438
13439
13440 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxSlider *arg1 = (wxSlider *) 0 ;
13443 PyObject * obj0 = 0 ;
13444 char *kwnames[] = {
13445 (char *) "self", NULL
13446 };
13447
13448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13451 {
13452 PyThreadState* __tstate = wxPyBeginAllowThreads();
13453 (arg1)->ClearSel();
13454
13455 wxPyEndAllowThreads(__tstate);
13456 if (PyErr_Occurred()) SWIG_fail;
13457 }
13458 Py_INCREF(Py_None); resultobj = Py_None;
13459 return resultobj;
13460 fail:
13461 return NULL;
13462 }
13463
13464
13465 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj;
13467 wxSlider *arg1 = (wxSlider *) 0 ;
13468 int result;
13469 PyObject * obj0 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13477 {
13478 PyThreadState* __tstate = wxPyBeginAllowThreads();
13479 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13480
13481 wxPyEndAllowThreads(__tstate);
13482 if (PyErr_Occurred()) SWIG_fail;
13483 }
13484 resultobj = SWIG_FromInt((int)result);
13485 return resultobj;
13486 fail:
13487 return NULL;
13488 }
13489
13490
13491 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13492 PyObject *resultobj;
13493 wxSlider *arg1 = (wxSlider *) 0 ;
13494 int result;
13495 PyObject * obj0 = 0 ;
13496 char *kwnames[] = {
13497 (char *) "self", NULL
13498 };
13499
13500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (int)((wxSlider const *)arg1)->GetSelStart();
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 resultobj = SWIG_FromInt((int)result);
13511 return resultobj;
13512 fail:
13513 return NULL;
13514 }
13515
13516
13517 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13518 PyObject *resultobj;
13519 wxSlider *arg1 = (wxSlider *) 0 ;
13520 int arg2 ;
13521 int arg3 ;
13522 PyObject * obj0 = 0 ;
13523 PyObject * obj1 = 0 ;
13524 PyObject * obj2 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "self",(char *) "min",(char *) "max", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13532 arg2 = (int) SWIG_AsInt(obj1);
13533 if (PyErr_Occurred()) SWIG_fail;
13534 arg3 = (int) SWIG_AsInt(obj2);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 {
13537 PyThreadState* __tstate = wxPyBeginAllowThreads();
13538 (arg1)->SetSelection(arg2,arg3);
13539
13540 wxPyEndAllowThreads(__tstate);
13541 if (PyErr_Occurred()) SWIG_fail;
13542 }
13543 Py_INCREF(Py_None); resultobj = Py_None;
13544 return resultobj;
13545 fail:
13546 return NULL;
13547 }
13548
13549
13550 static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13553 wxVisualAttributes result;
13554 PyObject * obj0 = 0 ;
13555 char *kwnames[] = {
13556 (char *) "variant", NULL
13557 };
13558
13559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13560 if (obj0) {
13561 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13562 if (PyErr_Occurred()) SWIG_fail;
13563 }
13564 {
13565 if (!wxPyCheckForApp()) SWIG_fail;
13566 PyThreadState* __tstate = wxPyBeginAllowThreads();
13567 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13568
13569 wxPyEndAllowThreads(__tstate);
13570 if (PyErr_Occurred()) SWIG_fail;
13571 }
13572 {
13573 wxVisualAttributes * resultptr;
13574 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13576 }
13577 return resultobj;
13578 fail:
13579 return NULL;
13580 }
13581
13582
13583 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13584 PyObject *obj;
13585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13586 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13587 Py_INCREF(obj);
13588 return Py_BuildValue((char *)"");
13589 }
13590 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13591 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13592 return 1;
13593 }
13594
13595
13596 static PyObject *_wrap_ToggleButtonNameStr_get() {
13597 PyObject *pyobj;
13598
13599 {
13600 #if wxUSE_UNICODE
13601 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13602 #else
13603 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13604 #endif
13605 }
13606 return pyobj;
13607 }
13608
13609
13610 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxWindow *arg1 = (wxWindow *) 0 ;
13613 int arg2 ;
13614 wxString *arg3 = 0 ;
13615 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13616 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13617 wxSize const &arg5_defvalue = wxDefaultSize ;
13618 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13619 long arg6 = (long) 0 ;
13620 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13621 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13622 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13623 wxString *arg8 = (wxString *) &arg8_defvalue ;
13624 wxToggleButton *result;
13625 bool temp3 = False ;
13626 wxPoint temp4 ;
13627 wxSize temp5 ;
13628 bool temp8 = False ;
13629 PyObject * obj0 = 0 ;
13630 PyObject * obj1 = 0 ;
13631 PyObject * obj2 = 0 ;
13632 PyObject * obj3 = 0 ;
13633 PyObject * obj4 = 0 ;
13634 PyObject * obj5 = 0 ;
13635 PyObject * obj6 = 0 ;
13636 PyObject * obj7 = 0 ;
13637 char *kwnames[] = {
13638 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13639 };
13640
13641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13644 arg2 = (int) SWIG_AsInt(obj1);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 {
13647 arg3 = wxString_in_helper(obj2);
13648 if (arg3 == NULL) SWIG_fail;
13649 temp3 = True;
13650 }
13651 if (obj3) {
13652 {
13653 arg4 = &temp4;
13654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13655 }
13656 }
13657 if (obj4) {
13658 {
13659 arg5 = &temp5;
13660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13661 }
13662 }
13663 if (obj5) {
13664 arg6 = (long) SWIG_AsLong(obj5);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
13667 if (obj6) {
13668 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1)
13670 SWIG_fail;
13671 if (arg7 == NULL) {
13672 PyErr_SetString(PyExc_TypeError,"null reference");
13673 SWIG_fail;
13674 }
13675 }
13676 if (obj7) {
13677 {
13678 arg8 = wxString_in_helper(obj7);
13679 if (arg8 == NULL) SWIG_fail;
13680 temp8 = True;
13681 }
13682 }
13683 {
13684 if (!wxPyCheckForApp()) SWIG_fail;
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13687
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
13691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13692 {
13693 if (temp3)
13694 delete arg3;
13695 }
13696 {
13697 if (temp8)
13698 delete arg8;
13699 }
13700 return resultobj;
13701 fail:
13702 {
13703 if (temp3)
13704 delete arg3;
13705 }
13706 {
13707 if (temp8)
13708 delete arg8;
13709 }
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxToggleButton *result;
13717 char *kwnames[] = {
13718 NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13722 {
13723 if (!wxPyCheckForApp()) SWIG_fail;
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 result = (wxToggleButton *)new wxToggleButton();
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
13730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13731 return resultobj;
13732 fail:
13733 return NULL;
13734 }
13735
13736
13737 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13738 PyObject *resultobj;
13739 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13740 wxWindow *arg2 = (wxWindow *) 0 ;
13741 int arg3 ;
13742 wxString *arg4 = 0 ;
13743 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13744 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13745 wxSize const &arg6_defvalue = wxDefaultSize ;
13746 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13747 long arg7 = (long) 0 ;
13748 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13749 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13750 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13751 wxString *arg9 = (wxString *) &arg9_defvalue ;
13752 bool result;
13753 bool temp4 = False ;
13754 wxPoint temp5 ;
13755 wxSize temp6 ;
13756 bool temp9 = False ;
13757 PyObject * obj0 = 0 ;
13758 PyObject * obj1 = 0 ;
13759 PyObject * obj2 = 0 ;
13760 PyObject * obj3 = 0 ;
13761 PyObject * obj4 = 0 ;
13762 PyObject * obj5 = 0 ;
13763 PyObject * obj6 = 0 ;
13764 PyObject * obj7 = 0 ;
13765 PyObject * obj8 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13775 arg3 = (int) SWIG_AsInt(obj2);
13776 if (PyErr_Occurred()) SWIG_fail;
13777 {
13778 arg4 = wxString_in_helper(obj3);
13779 if (arg4 == NULL) SWIG_fail;
13780 temp4 = True;
13781 }
13782 if (obj4) {
13783 {
13784 arg5 = &temp5;
13785 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13786 }
13787 }
13788 if (obj5) {
13789 {
13790 arg6 = &temp6;
13791 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13792 }
13793 }
13794 if (obj6) {
13795 arg7 = (long) SWIG_AsLong(obj6);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 if (obj7) {
13799 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13800 SWIG_POINTER_EXCEPTION | 0)) == -1)
13801 SWIG_fail;
13802 if (arg8 == NULL) {
13803 PyErr_SetString(PyExc_TypeError,"null reference");
13804 SWIG_fail;
13805 }
13806 }
13807 if (obj8) {
13808 {
13809 arg9 = wxString_in_helper(obj8);
13810 if (arg9 == NULL) SWIG_fail;
13811 temp9 = True;
13812 }
13813 }
13814 {
13815 PyThreadState* __tstate = wxPyBeginAllowThreads();
13816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13817
13818 wxPyEndAllowThreads(__tstate);
13819 if (PyErr_Occurred()) SWIG_fail;
13820 }
13821 {
13822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13823 }
13824 {
13825 if (temp4)
13826 delete arg4;
13827 }
13828 {
13829 if (temp9)
13830 delete arg9;
13831 }
13832 return resultobj;
13833 fail:
13834 {
13835 if (temp4)
13836 delete arg4;
13837 }
13838 {
13839 if (temp9)
13840 delete arg9;
13841 }
13842 return NULL;
13843 }
13844
13845
13846 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13849 bool arg2 ;
13850 PyObject * obj0 = 0 ;
13851 PyObject * obj1 = 0 ;
13852 char *kwnames[] = {
13853 (char *) "self",(char *) "value", NULL
13854 };
13855
13856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13859 arg2 = (bool) SWIG_AsBool(obj1);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 (arg1)->SetValue(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 Py_INCREF(Py_None); resultobj = Py_None;
13869 return resultobj;
13870 fail:
13871 return NULL;
13872 }
13873
13874
13875 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13876 PyObject *resultobj;
13877 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13878 bool result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13887 {
13888 PyThreadState* __tstate = wxPyBeginAllowThreads();
13889 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13890
13891 wxPyEndAllowThreads(__tstate);
13892 if (PyErr_Occurred()) SWIG_fail;
13893 }
13894 {
13895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13896 }
13897 return resultobj;
13898 fail:
13899 return NULL;
13900 }
13901
13902
13903 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13906 wxString *arg2 = 0 ;
13907 bool temp2 = False ;
13908 PyObject * obj0 = 0 ;
13909 PyObject * obj1 = 0 ;
13910 char *kwnames[] = {
13911 (char *) "self",(char *) "label", NULL
13912 };
13913
13914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13917 {
13918 arg2 = wxString_in_helper(obj1);
13919 if (arg2 == NULL) SWIG_fail;
13920 temp2 = True;
13921 }
13922 {
13923 PyThreadState* __tstate = wxPyBeginAllowThreads();
13924 (arg1)->SetLabel((wxString const &)*arg2);
13925
13926 wxPyEndAllowThreads(__tstate);
13927 if (PyErr_Occurred()) SWIG_fail;
13928 }
13929 Py_INCREF(Py_None); resultobj = Py_None;
13930 {
13931 if (temp2)
13932 delete arg2;
13933 }
13934 return resultobj;
13935 fail:
13936 {
13937 if (temp2)
13938 delete arg2;
13939 }
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13947 wxVisualAttributes result;
13948 PyObject * obj0 = 0 ;
13949 char *kwnames[] = {
13950 (char *) "variant", NULL
13951 };
13952
13953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13954 if (obj0) {
13955 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13956 if (PyErr_Occurred()) SWIG_fail;
13957 }
13958 {
13959 if (!wxPyCheckForApp()) SWIG_fail;
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 wxVisualAttributes * resultptr;
13968 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13969 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13970 }
13971 return resultobj;
13972 fail:
13973 return NULL;
13974 }
13975
13976
13977 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13978 PyObject *obj;
13979 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13980 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13981 Py_INCREF(obj);
13982 return Py_BuildValue((char *)"");
13983 }
13984 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13985 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13986 return 1;
13987 }
13988
13989
13990 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13991 PyObject *pyobj;
13992
13993 {
13994 #if wxUSE_UNICODE
13995 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13996 #else
13997 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13998 #endif
13999 }
14000 return pyobj;
14001 }
14002
14003
14004 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14005 PyObject *resultobj;
14006 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14007 size_t result;
14008 PyObject * obj0 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14016 {
14017 PyThreadState* __tstate = wxPyBeginAllowThreads();
14018 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14019
14020 wxPyEndAllowThreads(__tstate);
14021 if (PyErr_Occurred()) SWIG_fail;
14022 }
14023 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14024 return resultobj;
14025 fail:
14026 return NULL;
14027 }
14028
14029
14030 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14031 PyObject *resultobj;
14032 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14033 size_t arg2 ;
14034 wxWindow *result;
14035 PyObject * obj0 = 0 ;
14036 PyObject * obj1 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "n", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14044 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14045 if (PyErr_Occurred()) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 result = (wxWindow *)(arg1)->GetPage(arg2);
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 {
14054 resultobj = wxPyMake_wxObject(result);
14055 }
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14063 PyObject *resultobj;
14064 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14065 int result;
14066 PyObject * obj0 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 resultobj = SWIG_FromInt((int)result);
14082 return resultobj;
14083 fail:
14084 return NULL;
14085 }
14086
14087
14088 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14091 size_t arg2 ;
14092 wxString *arg3 = 0 ;
14093 bool result;
14094 bool temp3 = False ;
14095 PyObject * obj0 = 0 ;
14096 PyObject * obj1 = 0 ;
14097 PyObject * obj2 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self",(char *) "n",(char *) "strText", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14105 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 {
14108 arg3 = wxString_in_helper(obj2);
14109 if (arg3 == NULL) SWIG_fail;
14110 temp3 = True;
14111 }
14112 {
14113 PyThreadState* __tstate = wxPyBeginAllowThreads();
14114 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14115
14116 wxPyEndAllowThreads(__tstate);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 {
14120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14121 }
14122 {
14123 if (temp3)
14124 delete arg3;
14125 }
14126 return resultobj;
14127 fail:
14128 {
14129 if (temp3)
14130 delete arg3;
14131 }
14132 return NULL;
14133 }
14134
14135
14136 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14139 size_t arg2 ;
14140 wxString result;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "n", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14150 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 {
14153 PyThreadState* __tstate = wxPyBeginAllowThreads();
14154 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14155
14156 wxPyEndAllowThreads(__tstate);
14157 if (PyErr_Occurred()) SWIG_fail;
14158 }
14159 {
14160 #if wxUSE_UNICODE
14161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14162 #else
14163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14164 #endif
14165 }
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14175 wxImageList *arg2 = (wxImageList *) 0 ;
14176 PyObject * obj0 = 0 ;
14177 PyObject * obj1 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "imageList", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14185 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 (arg1)->SetImageList(arg2);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 Py_INCREF(Py_None); resultobj = Py_None;
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14204 wxImageList *arg2 = (wxImageList *) 0 ;
14205 PyObject * obj0 = 0 ;
14206 PyObject * obj1 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "imageList", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14214 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14215 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 (arg1)->AssignImageList(arg2);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 Py_INCREF(Py_None); resultobj = Py_None;
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14233 wxImageList *result;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14242 {
14243 PyThreadState* __tstate = wxPyBeginAllowThreads();
14244 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14245
14246 wxPyEndAllowThreads(__tstate);
14247 if (PyErr_Occurred()) SWIG_fail;
14248 }
14249 {
14250 resultobj = wxPyMake_wxObject(result);
14251 }
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14261 size_t arg2 ;
14262 int result;
14263 PyObject * obj0 = 0 ;
14264 PyObject * obj1 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "n", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14272 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 resultobj = SWIG_FromInt((int)result);
14282 return resultobj;
14283 fail:
14284 return NULL;
14285 }
14286
14287
14288 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14291 size_t arg2 ;
14292 int arg3 ;
14293 bool result;
14294 PyObject * obj0 = 0 ;
14295 PyObject * obj1 = 0 ;
14296 PyObject * obj2 = 0 ;
14297 char *kwnames[] = {
14298 (char *) "self",(char *) "n",(char *) "imageId", NULL
14299 };
14300
14301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14304 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 arg3 = (int) SWIG_AsInt(obj2);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 {
14309 PyThreadState* __tstate = wxPyBeginAllowThreads();
14310 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14311
14312 wxPyEndAllowThreads(__tstate);
14313 if (PyErr_Occurred()) SWIG_fail;
14314 }
14315 {
14316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14317 }
14318 return resultobj;
14319 fail:
14320 return NULL;
14321 }
14322
14323
14324 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14325 PyObject *resultobj;
14326 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14327 wxSize *arg2 = 0 ;
14328 wxSize temp2 ;
14329 PyObject * obj0 = 0 ;
14330 PyObject * obj1 = 0 ;
14331 char *kwnames[] = {
14332 (char *) "self",(char *) "size", NULL
14333 };
14334
14335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14338 {
14339 arg2 = &temp2;
14340 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14341 }
14342 {
14343 PyThreadState* __tstate = wxPyBeginAllowThreads();
14344 (arg1)->SetPageSize((wxSize const &)*arg2);
14345
14346 wxPyEndAllowThreads(__tstate);
14347 if (PyErr_Occurred()) SWIG_fail;
14348 }
14349 Py_INCREF(Py_None); resultobj = Py_None;
14350 return resultobj;
14351 fail:
14352 return NULL;
14353 }
14354
14355
14356 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14357 PyObject *resultobj;
14358 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14359 wxSize *arg2 = 0 ;
14360 wxSize result;
14361 wxSize temp2 ;
14362 PyObject * obj0 = 0 ;
14363 PyObject * obj1 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self",(char *) "sizePage", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14371 {
14372 arg2 = &temp2;
14373 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14374 }
14375 {
14376 PyThreadState* __tstate = wxPyBeginAllowThreads();
14377 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14378
14379 wxPyEndAllowThreads(__tstate);
14380 if (PyErr_Occurred()) SWIG_fail;
14381 }
14382 {
14383 wxSize * resultptr;
14384 resultptr = new wxSize((wxSize &) result);
14385 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14386 }
14387 return resultobj;
14388 fail:
14389 return NULL;
14390 }
14391
14392
14393 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14396 size_t arg2 ;
14397 bool result;
14398 PyObject * obj0 = 0 ;
14399 PyObject * obj1 = 0 ;
14400 char *kwnames[] = {
14401 (char *) "self",(char *) "n", NULL
14402 };
14403
14404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14407 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (bool)(arg1)->DeletePage(arg2);
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 {
14417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14418 }
14419 return resultobj;
14420 fail:
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14428 size_t arg2 ;
14429 bool result;
14430 PyObject * obj0 = 0 ;
14431 PyObject * obj1 = 0 ;
14432 char *kwnames[] = {
14433 (char *) "self",(char *) "n", NULL
14434 };
14435
14436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14439 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 result = (bool)(arg1)->RemovePage(arg2);
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 {
14449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14460 bool result;
14461 PyObject * obj0 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 result = (bool)(arg1)->DeleteAllPages();
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 {
14477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14478 }
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14488 wxWindow *arg2 = (wxWindow *) 0 ;
14489 wxString *arg3 = 0 ;
14490 bool arg4 = (bool) False ;
14491 int arg5 = (int) -1 ;
14492 bool result;
14493 bool temp3 = False ;
14494 PyObject * obj0 = 0 ;
14495 PyObject * obj1 = 0 ;
14496 PyObject * obj2 = 0 ;
14497 PyObject * obj3 = 0 ;
14498 PyObject * obj4 = 0 ;
14499 char *kwnames[] = {
14500 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14501 };
14502
14503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14508 {
14509 arg3 = wxString_in_helper(obj2);
14510 if (arg3 == NULL) SWIG_fail;
14511 temp3 = True;
14512 }
14513 if (obj3) {
14514 arg4 = (bool) SWIG_AsBool(obj3);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 if (obj4) {
14518 arg5 = (int) SWIG_AsInt(obj4);
14519 if (PyErr_Occurred()) SWIG_fail;
14520 }
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14530 }
14531 {
14532 if (temp3)
14533 delete arg3;
14534 }
14535 return resultobj;
14536 fail:
14537 {
14538 if (temp3)
14539 delete arg3;
14540 }
14541 return NULL;
14542 }
14543
14544
14545 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14546 PyObject *resultobj;
14547 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14548 size_t arg2 ;
14549 wxWindow *arg3 = (wxWindow *) 0 ;
14550 wxString *arg4 = 0 ;
14551 bool arg5 = (bool) False ;
14552 int arg6 = (int) -1 ;
14553 bool result;
14554 bool temp4 = False ;
14555 PyObject * obj0 = 0 ;
14556 PyObject * obj1 = 0 ;
14557 PyObject * obj2 = 0 ;
14558 PyObject * obj3 = 0 ;
14559 PyObject * obj4 = 0 ;
14560 PyObject * obj5 = 0 ;
14561 char *kwnames[] = {
14562 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14563 };
14564
14565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14568 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14572 {
14573 arg4 = wxString_in_helper(obj3);
14574 if (arg4 == NULL) SWIG_fail;
14575 temp4 = True;
14576 }
14577 if (obj4) {
14578 arg5 = (bool) SWIG_AsBool(obj4);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 if (obj5) {
14582 arg6 = (int) SWIG_AsInt(obj5);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 {
14586 PyThreadState* __tstate = wxPyBeginAllowThreads();
14587 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14588
14589 wxPyEndAllowThreads(__tstate);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 {
14593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14594 }
14595 {
14596 if (temp4)
14597 delete arg4;
14598 }
14599 return resultobj;
14600 fail:
14601 {
14602 if (temp4)
14603 delete arg4;
14604 }
14605 return NULL;
14606 }
14607
14608
14609 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14610 PyObject *resultobj;
14611 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14612 size_t arg2 ;
14613 int result;
14614 PyObject * obj0 = 0 ;
14615 PyObject * obj1 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self",(char *) "n", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14623 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14624 if (PyErr_Occurred()) SWIG_fail;
14625 {
14626 PyThreadState* __tstate = wxPyBeginAllowThreads();
14627 result = (int)(arg1)->SetSelection(arg2);
14628
14629 wxPyEndAllowThreads(__tstate);
14630 if (PyErr_Occurred()) SWIG_fail;
14631 }
14632 resultobj = SWIG_FromInt((int)result);
14633 return resultobj;
14634 fail:
14635 return NULL;
14636 }
14637
14638
14639 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14640 PyObject *resultobj;
14641 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14642 bool arg2 = (bool) True ;
14643 PyObject * obj0 = 0 ;
14644 PyObject * obj1 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self",(char *) "forward", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14652 if (obj1) {
14653 arg2 = (bool) SWIG_AsBool(obj1);
14654 if (PyErr_Occurred()) SWIG_fail;
14655 }
14656 {
14657 PyThreadState* __tstate = wxPyBeginAllowThreads();
14658 (arg1)->AdvanceSelection(arg2);
14659
14660 wxPyEndAllowThreads(__tstate);
14661 if (PyErr_Occurred()) SWIG_fail;
14662 }
14663 Py_INCREF(Py_None); resultobj = Py_None;
14664 return resultobj;
14665 fail:
14666 return NULL;
14667 }
14668
14669
14670 static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14671 PyObject *resultobj;
14672 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14673 wxVisualAttributes result;
14674 PyObject * obj0 = 0 ;
14675 char *kwnames[] = {
14676 (char *) "variant", NULL
14677 };
14678
14679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14680 if (obj0) {
14681 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 {
14685 if (!wxPyCheckForApp()) SWIG_fail;
14686 PyThreadState* __tstate = wxPyBeginAllowThreads();
14687 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14688
14689 wxPyEndAllowThreads(__tstate);
14690 if (PyErr_Occurred()) SWIG_fail;
14691 }
14692 {
14693 wxVisualAttributes * resultptr;
14694 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14695 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700 }
14701
14702
14703 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14704 PyObject *obj;
14705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14706 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14707 Py_INCREF(obj);
14708 return Py_BuildValue((char *)"");
14709 }
14710 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14713 int arg2 = (int) 0 ;
14714 int arg3 = (int) -1 ;
14715 int arg4 = (int) -1 ;
14716 wxBookCtrlEvent *result;
14717 PyObject * obj0 = 0 ;
14718 PyObject * obj1 = 0 ;
14719 PyObject * obj2 = 0 ;
14720 PyObject * obj3 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14726 if (obj0) {
14727 arg1 = (wxEventType) SWIG_AsInt(obj0);
14728 if (PyErr_Occurred()) SWIG_fail;
14729 }
14730 if (obj1) {
14731 arg2 = (int) SWIG_AsInt(obj1);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 if (obj2) {
14735 arg3 = (int) SWIG_AsInt(obj2);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 if (obj3) {
14739 arg4 = (int) SWIG_AsInt(obj3);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14750 return resultobj;
14751 fail:
14752 return NULL;
14753 }
14754
14755
14756 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14759 int result;
14760 PyObject * obj0 = 0 ;
14761 char *kwnames[] = {
14762 (char *) "self", NULL
14763 };
14764
14765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14768 {
14769 PyThreadState* __tstate = wxPyBeginAllowThreads();
14770 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14771
14772 wxPyEndAllowThreads(__tstate);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
14775 resultobj = SWIG_FromInt((int)result);
14776 return resultobj;
14777 fail:
14778 return NULL;
14779 }
14780
14781
14782 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14783 PyObject *resultobj;
14784 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14785 int arg2 ;
14786 PyObject * obj0 = 0 ;
14787 PyObject * obj1 = 0 ;
14788 char *kwnames[] = {
14789 (char *) "self",(char *) "nSel", NULL
14790 };
14791
14792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14795 arg2 = (int) SWIG_AsInt(obj1);
14796 if (PyErr_Occurred()) SWIG_fail;
14797 {
14798 PyThreadState* __tstate = wxPyBeginAllowThreads();
14799 (arg1)->SetSelection(arg2);
14800
14801 wxPyEndAllowThreads(__tstate);
14802 if (PyErr_Occurred()) SWIG_fail;
14803 }
14804 Py_INCREF(Py_None); resultobj = Py_None;
14805 return resultobj;
14806 fail:
14807 return NULL;
14808 }
14809
14810
14811 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj;
14813 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14814 int result;
14815 PyObject * obj0 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "self", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
14830 resultobj = SWIG_FromInt((int)result);
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14840 int arg2 ;
14841 PyObject * obj0 = 0 ;
14842 PyObject * obj1 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self",(char *) "nOldSel", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14850 arg2 = (int) SWIG_AsInt(obj1);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 {
14853 PyThreadState* __tstate = wxPyBeginAllowThreads();
14854 (arg1)->SetOldSelection(arg2);
14855
14856 wxPyEndAllowThreads(__tstate);
14857 if (PyErr_Occurred()) SWIG_fail;
14858 }
14859 Py_INCREF(Py_None); resultobj = Py_None;
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14867 PyObject *obj;
14868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14869 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14870 Py_INCREF(obj);
14871 return Py_BuildValue((char *)"");
14872 }
14873 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxWindow *arg1 = (wxWindow *) 0 ;
14876 int arg2 = (int) -1 ;
14877 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14878 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14879 wxSize const &arg4_defvalue = wxDefaultSize ;
14880 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14881 long arg5 = (long) 0 ;
14882 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14883 wxString *arg6 = (wxString *) &arg6_defvalue ;
14884 wxNotebook *result;
14885 wxPoint temp3 ;
14886 wxSize temp4 ;
14887 bool temp6 = False ;
14888 PyObject * obj0 = 0 ;
14889 PyObject * obj1 = 0 ;
14890 PyObject * obj2 = 0 ;
14891 PyObject * obj3 = 0 ;
14892 PyObject * obj4 = 0 ;
14893 PyObject * obj5 = 0 ;
14894 char *kwnames[] = {
14895 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14896 };
14897
14898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14901 if (obj1) {
14902 arg2 = (int) SWIG_AsInt(obj1);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 if (obj2) {
14906 {
14907 arg3 = &temp3;
14908 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14909 }
14910 }
14911 if (obj3) {
14912 {
14913 arg4 = &temp4;
14914 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14915 }
14916 }
14917 if (obj4) {
14918 arg5 = (long) SWIG_AsLong(obj4);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 if (obj5) {
14922 {
14923 arg6 = wxString_in_helper(obj5);
14924 if (arg6 == NULL) SWIG_fail;
14925 temp6 = True;
14926 }
14927 }
14928 {
14929 if (!wxPyCheckForApp()) SWIG_fail;
14930 PyThreadState* __tstate = wxPyBeginAllowThreads();
14931 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14932
14933 wxPyEndAllowThreads(__tstate);
14934 if (PyErr_Occurred()) SWIG_fail;
14935 }
14936 {
14937 resultobj = wxPyMake_wxObject(result);
14938 }
14939 {
14940 if (temp6)
14941 delete arg6;
14942 }
14943 return resultobj;
14944 fail:
14945 {
14946 if (temp6)
14947 delete arg6;
14948 }
14949 return NULL;
14950 }
14951
14952
14953 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14954 PyObject *resultobj;
14955 wxNotebook *result;
14956 char *kwnames[] = {
14957 NULL
14958 };
14959
14960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14961 {
14962 if (!wxPyCheckForApp()) SWIG_fail;
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 result = (wxNotebook *)new wxNotebook();
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 {
14970 resultobj = wxPyMake_wxObject(result);
14971 }
14972 return resultobj;
14973 fail:
14974 return NULL;
14975 }
14976
14977
14978 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14979 PyObject *resultobj;
14980 wxNotebook *arg1 = (wxNotebook *) 0 ;
14981 wxWindow *arg2 = (wxWindow *) 0 ;
14982 int arg3 ;
14983 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14984 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14985 wxSize const &arg5_defvalue = wxDefaultSize ;
14986 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14987 long arg6 = (long) 0 ;
14988 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14989 wxString *arg7 = (wxString *) &arg7_defvalue ;
14990 bool result;
14991 wxPoint temp4 ;
14992 wxSize temp5 ;
14993 bool temp7 = False ;
14994 PyObject * obj0 = 0 ;
14995 PyObject * obj1 = 0 ;
14996 PyObject * obj2 = 0 ;
14997 PyObject * obj3 = 0 ;
14998 PyObject * obj4 = 0 ;
14999 PyObject * obj5 = 0 ;
15000 PyObject * obj6 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15010 arg3 = (int) SWIG_AsInt(obj2);
15011 if (PyErr_Occurred()) SWIG_fail;
15012 if (obj3) {
15013 {
15014 arg4 = &temp4;
15015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15016 }
15017 }
15018 if (obj4) {
15019 {
15020 arg5 = &temp5;
15021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15022 }
15023 }
15024 if (obj5) {
15025 arg6 = (long) SWIG_AsLong(obj5);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 if (obj6) {
15029 {
15030 arg7 = wxString_in_helper(obj6);
15031 if (arg7 == NULL) SWIG_fail;
15032 temp7 = True;
15033 }
15034 }
15035 {
15036 PyThreadState* __tstate = wxPyBeginAllowThreads();
15037 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15038
15039 wxPyEndAllowThreads(__tstate);
15040 if (PyErr_Occurred()) SWIG_fail;
15041 }
15042 {
15043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15044 }
15045 {
15046 if (temp7)
15047 delete arg7;
15048 }
15049 return resultobj;
15050 fail:
15051 {
15052 if (temp7)
15053 delete arg7;
15054 }
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxNotebook *arg1 = (wxNotebook *) 0 ;
15062 int result;
15063 PyObject * obj0 = 0 ;
15064 char *kwnames[] = {
15065 (char *) "self", NULL
15066 };
15067
15068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = SWIG_FromInt((int)result);
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxNotebook *arg1 = (wxNotebook *) 0 ;
15088 wxSize *arg2 = 0 ;
15089 wxSize temp2 ;
15090 PyObject * obj0 = 0 ;
15091 PyObject * obj1 = 0 ;
15092 char *kwnames[] = {
15093 (char *) "self",(char *) "padding", NULL
15094 };
15095
15096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15099 {
15100 arg2 = &temp2;
15101 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15102 }
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetPadding((wxSize const &)*arg2);
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 Py_INCREF(Py_None); resultobj = Py_None;
15111 return resultobj;
15112 fail:
15113 return NULL;
15114 }
15115
15116
15117 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj;
15119 wxNotebook *arg1 = (wxNotebook *) 0 ;
15120 wxSize *arg2 = 0 ;
15121 wxSize temp2 ;
15122 PyObject * obj0 = 0 ;
15123 PyObject * obj1 = 0 ;
15124 char *kwnames[] = {
15125 (char *) "self",(char *) "sz", NULL
15126 };
15127
15128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15131 {
15132 arg2 = &temp2;
15133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15134 }
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 (arg1)->SetTabSize((wxSize const &)*arg2);
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15142 Py_INCREF(Py_None); resultobj = Py_None;
15143 return resultobj;
15144 fail:
15145 return NULL;
15146 }
15147
15148
15149 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 wxNotebook *arg1 = (wxNotebook *) 0 ;
15152 wxPoint *arg2 = 0 ;
15153 long *arg3 = (long *) 0 ;
15154 int result;
15155 wxPoint temp2 ;
15156 long temp3 ;
15157 PyObject * obj0 = 0 ;
15158 PyObject * obj1 = 0 ;
15159 char *kwnames[] = {
15160 (char *) "self",(char *) "pt", NULL
15161 };
15162
15163 arg3 = &temp3;
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15167 {
15168 arg2 = &temp2;
15169 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15170 }
15171 {
15172 PyThreadState* __tstate = wxPyBeginAllowThreads();
15173 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15174
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 resultobj = SWIG_FromInt((int)result);
15179 {
15180 PyObject *o = PyInt_FromLong((long) (*arg3));
15181 resultobj = t_output_helper(resultobj,o);
15182 }
15183 return resultobj;
15184 fail:
15185 return NULL;
15186 }
15187
15188
15189 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15190 PyObject *resultobj;
15191 wxNotebook *arg1 = (wxNotebook *) 0 ;
15192 wxSize *arg2 = 0 ;
15193 wxSize result;
15194 wxSize temp2 ;
15195 PyObject * obj0 = 0 ;
15196 PyObject * obj1 = 0 ;
15197 char *kwnames[] = {
15198 (char *) "self",(char *) "sizePage", NULL
15199 };
15200
15201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15204 {
15205 arg2 = &temp2;
15206 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15207 }
15208 {
15209 PyThreadState* __tstate = wxPyBeginAllowThreads();
15210 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15211
15212 wxPyEndAllowThreads(__tstate);
15213 if (PyErr_Occurred()) SWIG_fail;
15214 }
15215 {
15216 wxSize * resultptr;
15217 resultptr = new wxSize((wxSize &) result);
15218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15219 }
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15229 wxVisualAttributes result;
15230 PyObject * obj0 = 0 ;
15231 char *kwnames[] = {
15232 (char *) "variant", NULL
15233 };
15234
15235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15236 if (obj0) {
15237 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15238 if (PyErr_Occurred()) SWIG_fail;
15239 }
15240 {
15241 if (!wxPyCheckForApp()) SWIG_fail;
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249 wxVisualAttributes * resultptr;
15250 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15251 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15252 }
15253 return resultobj;
15254 fail:
15255 return NULL;
15256 }
15257
15258
15259 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15260 PyObject *obj;
15261 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15262 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15263 Py_INCREF(obj);
15264 return Py_BuildValue((char *)"");
15265 }
15266 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15267 PyObject *resultobj;
15268 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15269 int arg2 = (int) 0 ;
15270 int arg3 = (int) -1 ;
15271 int arg4 = (int) -1 ;
15272 wxNotebookEvent *result;
15273 PyObject * obj0 = 0 ;
15274 PyObject * obj1 = 0 ;
15275 PyObject * obj2 = 0 ;
15276 PyObject * obj3 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15282 if (obj0) {
15283 arg1 = (wxEventType) SWIG_AsInt(obj0);
15284 if (PyErr_Occurred()) SWIG_fail;
15285 }
15286 if (obj1) {
15287 arg2 = (int) SWIG_AsInt(obj1);
15288 if (PyErr_Occurred()) SWIG_fail;
15289 }
15290 if (obj2) {
15291 arg3 = (int) SWIG_AsInt(obj2);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 if (obj3) {
15295 arg4 = (int) SWIG_AsInt(obj3);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 {
15299 PyThreadState* __tstate = wxPyBeginAllowThreads();
15300 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15301
15302 wxPyEndAllowThreads(__tstate);
15303 if (PyErr_Occurred()) SWIG_fail;
15304 }
15305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15306 return resultobj;
15307 fail:
15308 return NULL;
15309 }
15310
15311
15312 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15313 PyObject *obj;
15314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15315 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15316 Py_INCREF(obj);
15317 return Py_BuildValue((char *)"");
15318 }
15319 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15320 PyObject *resultobj;
15321 wxWindow *arg1 = (wxWindow *) 0 ;
15322 int arg2 = (int) -1 ;
15323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15325 wxSize const &arg4_defvalue = wxDefaultSize ;
15326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15327 long arg5 = (long) 0 ;
15328 wxString const &arg6_defvalue = wxPyEmptyString ;
15329 wxString *arg6 = (wxString *) &arg6_defvalue ;
15330 wxListbook *result;
15331 wxPoint temp3 ;
15332 wxSize temp4 ;
15333 bool temp6 = False ;
15334 PyObject * obj0 = 0 ;
15335 PyObject * obj1 = 0 ;
15336 PyObject * obj2 = 0 ;
15337 PyObject * obj3 = 0 ;
15338 PyObject * obj4 = 0 ;
15339 PyObject * obj5 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15347 if (obj1) {
15348 arg2 = (int) SWIG_AsInt(obj1);
15349 if (PyErr_Occurred()) SWIG_fail;
15350 }
15351 if (obj2) {
15352 {
15353 arg3 = &temp3;
15354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15355 }
15356 }
15357 if (obj3) {
15358 {
15359 arg4 = &temp4;
15360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15361 }
15362 }
15363 if (obj4) {
15364 arg5 = (long) SWIG_AsLong(obj4);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 if (obj5) {
15368 {
15369 arg6 = wxString_in_helper(obj5);
15370 if (arg6 == NULL) SWIG_fail;
15371 temp6 = True;
15372 }
15373 }
15374 {
15375 if (!wxPyCheckForApp()) SWIG_fail;
15376 PyThreadState* __tstate = wxPyBeginAllowThreads();
15377 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15378
15379 wxPyEndAllowThreads(__tstate);
15380 if (PyErr_Occurred()) SWIG_fail;
15381 }
15382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15383 {
15384 if (temp6)
15385 delete arg6;
15386 }
15387 return resultobj;
15388 fail:
15389 {
15390 if (temp6)
15391 delete arg6;
15392 }
15393 return NULL;
15394 }
15395
15396
15397 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15398 PyObject *resultobj;
15399 wxListbook *result;
15400 char *kwnames[] = {
15401 NULL
15402 };
15403
15404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15405 {
15406 if (!wxPyCheckForApp()) SWIG_fail;
15407 PyThreadState* __tstate = wxPyBeginAllowThreads();
15408 result = (wxListbook *)new wxListbook();
15409
15410 wxPyEndAllowThreads(__tstate);
15411 if (PyErr_Occurred()) SWIG_fail;
15412 }
15413 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15414 return resultobj;
15415 fail:
15416 return NULL;
15417 }
15418
15419
15420 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxListbook *arg1 = (wxListbook *) 0 ;
15423 wxWindow *arg2 = (wxWindow *) 0 ;
15424 int arg3 ;
15425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15427 wxSize const &arg5_defvalue = wxDefaultSize ;
15428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15429 long arg6 = (long) 0 ;
15430 wxString const &arg7_defvalue = wxPyEmptyString ;
15431 wxString *arg7 = (wxString *) &arg7_defvalue ;
15432 bool result;
15433 wxPoint temp4 ;
15434 wxSize temp5 ;
15435 bool temp7 = False ;
15436 PyObject * obj0 = 0 ;
15437 PyObject * obj1 = 0 ;
15438 PyObject * obj2 = 0 ;
15439 PyObject * obj3 = 0 ;
15440 PyObject * obj4 = 0 ;
15441 PyObject * obj5 = 0 ;
15442 PyObject * obj6 = 0 ;
15443 char *kwnames[] = {
15444 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15445 };
15446
15447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15450 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 arg3 = (int) SWIG_AsInt(obj2);
15453 if (PyErr_Occurred()) SWIG_fail;
15454 if (obj3) {
15455 {
15456 arg4 = &temp4;
15457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15458 }
15459 }
15460 if (obj4) {
15461 {
15462 arg5 = &temp5;
15463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15464 }
15465 }
15466 if (obj5) {
15467 arg6 = (long) SWIG_AsLong(obj5);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 if (obj6) {
15471 {
15472 arg7 = wxString_in_helper(obj6);
15473 if (arg7 == NULL) SWIG_fail;
15474 temp7 = True;
15475 }
15476 }
15477 {
15478 PyThreadState* __tstate = wxPyBeginAllowThreads();
15479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15480
15481 wxPyEndAllowThreads(__tstate);
15482 if (PyErr_Occurred()) SWIG_fail;
15483 }
15484 {
15485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15486 }
15487 {
15488 if (temp7)
15489 delete arg7;
15490 }
15491 return resultobj;
15492 fail:
15493 {
15494 if (temp7)
15495 delete arg7;
15496 }
15497 return NULL;
15498 }
15499
15500
15501 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj;
15503 wxListbook *arg1 = (wxListbook *) 0 ;
15504 bool result;
15505 PyObject * obj0 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (bool)((wxListbook const *)arg1)->IsVertical();
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15522 }
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15530 PyObject *obj;
15531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15533 Py_INCREF(obj);
15534 return Py_BuildValue((char *)"");
15535 }
15536 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15537 PyObject *resultobj;
15538 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15539 int arg2 = (int) 0 ;
15540 int arg3 = (int) -1 ;
15541 int arg4 = (int) -1 ;
15542 wxListbookEvent *result;
15543 PyObject * obj0 = 0 ;
15544 PyObject * obj1 = 0 ;
15545 PyObject * obj2 = 0 ;
15546 PyObject * obj3 = 0 ;
15547 char *kwnames[] = {
15548 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15549 };
15550
15551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15552 if (obj0) {
15553 arg1 = (wxEventType) SWIG_AsInt(obj0);
15554 if (PyErr_Occurred()) SWIG_fail;
15555 }
15556 if (obj1) {
15557 arg2 = (int) SWIG_AsInt(obj1);
15558 if (PyErr_Occurred()) SWIG_fail;
15559 }
15560 if (obj2) {
15561 arg3 = (int) SWIG_AsInt(obj2);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 if (obj3) {
15565 arg4 = (int) SWIG_AsInt(obj3);
15566 if (PyErr_Occurred()) SWIG_fail;
15567 }
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15583 PyObject *obj;
15584 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15585 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15586 Py_INCREF(obj);
15587 return Py_BuildValue((char *)"");
15588 }
15589 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15592 wxBookCtrlSizer *result;
15593 PyObject * obj0 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "nb", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15609 return resultobj;
15610 fail:
15611 return NULL;
15612 }
15613
15614
15615 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj;
15617 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15618 PyObject * obj0 = 0 ;
15619 char *kwnames[] = {
15620 (char *) "self", NULL
15621 };
15622
15623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15626 {
15627 PyThreadState* __tstate = wxPyBeginAllowThreads();
15628 (arg1)->RecalcSizes();
15629
15630 wxPyEndAllowThreads(__tstate);
15631 if (PyErr_Occurred()) SWIG_fail;
15632 }
15633 Py_INCREF(Py_None); resultobj = Py_None;
15634 return resultobj;
15635 fail:
15636 return NULL;
15637 }
15638
15639
15640 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15643 wxSize result;
15644 PyObject * obj0 = 0 ;
15645 char *kwnames[] = {
15646 (char *) "self", NULL
15647 };
15648
15649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15652 {
15653 PyThreadState* __tstate = wxPyBeginAllowThreads();
15654 result = (arg1)->CalcMin();
15655
15656 wxPyEndAllowThreads(__tstate);
15657 if (PyErr_Occurred()) SWIG_fail;
15658 }
15659 {
15660 wxSize * resultptr;
15661 resultptr = new wxSize((wxSize &) result);
15662 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15663 }
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15673 wxBookCtrl *result;
15674 PyObject * obj0 = 0 ;
15675 char *kwnames[] = {
15676 (char *) "self", NULL
15677 };
15678
15679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15682 {
15683 PyThreadState* __tstate = wxPyBeginAllowThreads();
15684 result = (wxBookCtrl *)(arg1)->GetControl();
15685
15686 wxPyEndAllowThreads(__tstate);
15687 if (PyErr_Occurred()) SWIG_fail;
15688 }
15689 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15690 return resultobj;
15691 fail:
15692 return NULL;
15693 }
15694
15695
15696 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15697 PyObject *obj;
15698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15699 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15700 Py_INCREF(obj);
15701 return Py_BuildValue((char *)"");
15702 }
15703 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15704 PyObject *resultobj;
15705 wxNotebook *arg1 = (wxNotebook *) 0 ;
15706 wxNotebookSizer *result;
15707 PyObject * obj0 = 0 ;
15708 char *kwnames[] = {
15709 (char *) "nb", NULL
15710 };
15711
15712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15732 PyObject * obj0 = 0 ;
15733 char *kwnames[] = {
15734 (char *) "self", NULL
15735 };
15736
15737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 (arg1)->RecalcSizes();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 Py_INCREF(Py_None); resultobj = Py_None;
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15757 wxSize result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15766 {
15767 PyThreadState* __tstate = wxPyBeginAllowThreads();
15768 result = (arg1)->CalcMin();
15769
15770 wxPyEndAllowThreads(__tstate);
15771 if (PyErr_Occurred()) SWIG_fail;
15772 }
15773 {
15774 wxSize * resultptr;
15775 resultptr = new wxSize((wxSize &) result);
15776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15777 }
15778 return resultobj;
15779 fail:
15780 return NULL;
15781 }
15782
15783
15784 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15785 PyObject *resultobj;
15786 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15787 wxNotebook *result;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (wxNotebook *)(arg1)->GetNotebook();
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 {
15804 resultobj = wxPyMake_wxObject(result);
15805 }
15806 return resultobj;
15807 fail:
15808 return NULL;
15809 }
15810
15811
15812 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15813 PyObject *obj;
15814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15815 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15816 Py_INCREF(obj);
15817 return Py_BuildValue((char *)"");
15818 }
15819 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15822 int result;
15823 PyObject * obj0 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15831 {
15832 PyThreadState* __tstate = wxPyBeginAllowThreads();
15833 result = (int)(arg1)->GetId();
15834
15835 wxPyEndAllowThreads(__tstate);
15836 if (PyErr_Occurred()) SWIG_fail;
15837 }
15838 resultobj = SWIG_FromInt((int)result);
15839 return resultobj;
15840 fail:
15841 return NULL;
15842 }
15843
15844
15845 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15846 PyObject *resultobj;
15847 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15848 wxControl *result;
15849 PyObject * obj0 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 {
15858 PyThreadState* __tstate = wxPyBeginAllowThreads();
15859 result = (wxControl *)(arg1)->GetControl();
15860
15861 wxPyEndAllowThreads(__tstate);
15862 if (PyErr_Occurred()) SWIG_fail;
15863 }
15864 {
15865 resultobj = wxPyMake_wxObject(result);
15866 }
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15876 wxToolBarBase *result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (wxToolBarBase *)(arg1)->GetToolBar();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 {
15893 resultobj = wxPyMake_wxObject(result);
15894 }
15895 return resultobj;
15896 fail:
15897 return NULL;
15898 }
15899
15900
15901 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15904 int result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (int)(arg1)->IsButton();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = SWIG_FromInt((int)result);
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15930 int result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (int)(arg1)->IsControl();
15942
15943 wxPyEndAllowThreads(__tstate);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 resultobj = SWIG_FromInt((int)result);
15947 return resultobj;
15948 fail:
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15956 int result;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 result = (int)(arg1)->IsSeparator();
15968
15969 wxPyEndAllowThreads(__tstate);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 }
15972 resultobj = SWIG_FromInt((int)result);
15973 return resultobj;
15974 fail:
15975 return NULL;
15976 }
15977
15978
15979 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15982 int result;
15983 PyObject * obj0 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 {
15992 PyThreadState* __tstate = wxPyBeginAllowThreads();
15993 result = (int)(arg1)->GetStyle();
15994
15995 wxPyEndAllowThreads(__tstate);
15996 if (PyErr_Occurred()) SWIG_fail;
15997 }
15998 resultobj = SWIG_FromInt((int)result);
15999 return resultobj;
16000 fail:
16001 return NULL;
16002 }
16003
16004
16005 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16006 PyObject *resultobj;
16007 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16008 int result;
16009 PyObject * obj0 = 0 ;
16010 char *kwnames[] = {
16011 (char *) "self", NULL
16012 };
16013
16014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 result = (int)(arg1)->GetKind();
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 resultobj = SWIG_FromInt((int)result);
16025 return resultobj;
16026 fail:
16027 return NULL;
16028 }
16029
16030
16031 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16032 PyObject *resultobj;
16033 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16034 bool result;
16035 PyObject * obj0 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16043 {
16044 PyThreadState* __tstate = wxPyBeginAllowThreads();
16045 result = (bool)(arg1)->IsEnabled();
16046
16047 wxPyEndAllowThreads(__tstate);
16048 if (PyErr_Occurred()) SWIG_fail;
16049 }
16050 {
16051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16052 }
16053 return resultobj;
16054 fail:
16055 return NULL;
16056 }
16057
16058
16059 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16062 bool result;
16063 PyObject * obj0 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (bool)(arg1)->IsToggled();
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 {
16079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16080 }
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16090 bool result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (bool)(arg1)->CanBeToggled();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 {
16107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16108 }
16109 return resultobj;
16110 fail:
16111 return NULL;
16112 }
16113
16114
16115 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16118 wxBitmap *result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 {
16130 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16131 result = (wxBitmap *) &_result_ref;
16132 }
16133
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 {
16138 wxBitmap* resultptr = new wxBitmap(*result);
16139 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16140 }
16141 return resultobj;
16142 fail:
16143 return NULL;
16144 }
16145
16146
16147 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16148 PyObject *resultobj;
16149 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16150 wxBitmap *result;
16151 PyObject * obj0 = 0 ;
16152 char *kwnames[] = {
16153 (char *) "self", NULL
16154 };
16155
16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16159 {
16160 PyThreadState* __tstate = wxPyBeginAllowThreads();
16161 {
16162 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16163 result = (wxBitmap *) &_result_ref;
16164 }
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 {
16170 wxBitmap* resultptr = new wxBitmap(*result);
16171 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16172 }
16173 return resultobj;
16174 fail:
16175 return NULL;
16176 }
16177
16178
16179 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16180 PyObject *resultobj;
16181 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16182 wxBitmap result;
16183 PyObject * obj0 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self", NULL
16186 };
16187
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16191 {
16192 PyThreadState* __tstate = wxPyBeginAllowThreads();
16193 result = (arg1)->GetBitmap();
16194
16195 wxPyEndAllowThreads(__tstate);
16196 if (PyErr_Occurred()) SWIG_fail;
16197 }
16198 {
16199 wxBitmap * resultptr;
16200 resultptr = new wxBitmap((wxBitmap &) result);
16201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16202 }
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16212 wxString result;
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (arg1)->GetLabel();
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 {
16229 #if wxUSE_UNICODE
16230 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16231 #else
16232 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16233 #endif
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238 }
16239
16240
16241 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16244 wxString result;
16245 PyObject * obj0 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 {
16254 PyThreadState* __tstate = wxPyBeginAllowThreads();
16255 result = (arg1)->GetShortHelp();
16256
16257 wxPyEndAllowThreads(__tstate);
16258 if (PyErr_Occurred()) SWIG_fail;
16259 }
16260 {
16261 #if wxUSE_UNICODE
16262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16263 #else
16264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16265 #endif
16266 }
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16276 wxString result;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 result = (arg1)->GetLongHelp();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 {
16293 #if wxUSE_UNICODE
16294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16295 #else
16296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16297 #endif
16298 }
16299 return resultobj;
16300 fail:
16301 return NULL;
16302 }
16303
16304
16305 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16308 bool arg2 ;
16309 bool result;
16310 PyObject * obj0 = 0 ;
16311 PyObject * obj1 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self",(char *) "enable", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16319 arg2 = (bool) SWIG_AsBool(obj1);
16320 if (PyErr_Occurred()) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 result = (bool)(arg1)->Enable(arg2);
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 {
16329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16330 }
16331 return resultobj;
16332 fail:
16333 return NULL;
16334 }
16335
16336
16337 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16338 PyObject *resultobj;
16339 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 (arg1)->Toggle();
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 Py_INCREF(Py_None); resultobj = Py_None;
16356 return resultobj;
16357 fail:
16358 return NULL;
16359 }
16360
16361
16362 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16363 PyObject *resultobj;
16364 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16365 bool arg2 ;
16366 bool result;
16367 PyObject * obj0 = 0 ;
16368 PyObject * obj1 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self",(char *) "toggle", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 arg2 = (bool) SWIG_AsBool(obj1);
16377 if (PyErr_Occurred()) SWIG_fail;
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 result = (bool)(arg1)->SetToggle(arg2);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 {
16386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16387 }
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16397 wxString *arg2 = 0 ;
16398 bool result;
16399 bool temp2 = False ;
16400 PyObject * obj0 = 0 ;
16401 PyObject * obj1 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self",(char *) "help", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16409 {
16410 arg2 = wxString_in_helper(obj1);
16411 if (arg2 == NULL) SWIG_fail;
16412 temp2 = True;
16413 }
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
16421 {
16422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16423 }
16424 {
16425 if (temp2)
16426 delete arg2;
16427 }
16428 return resultobj;
16429 fail:
16430 {
16431 if (temp2)
16432 delete arg2;
16433 }
16434 return NULL;
16435 }
16436
16437
16438 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16439 PyObject *resultobj;
16440 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16441 wxString *arg2 = 0 ;
16442 bool result;
16443 bool temp2 = False ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "help", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16453 {
16454 arg2 = wxString_in_helper(obj1);
16455 if (arg2 == NULL) SWIG_fail;
16456 temp2 = True;
16457 }
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 {
16466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16467 }
16468 {
16469 if (temp2)
16470 delete arg2;
16471 }
16472 return resultobj;
16473 fail:
16474 {
16475 if (temp2)
16476 delete arg2;
16477 }
16478 return NULL;
16479 }
16480
16481
16482 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16483 PyObject *resultobj;
16484 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16485 wxBitmap *arg2 = 0 ;
16486 PyObject * obj0 = 0 ;
16487 PyObject * obj1 = 0 ;
16488 char *kwnames[] = {
16489 (char *) "self",(char *) "bmp", NULL
16490 };
16491
16492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16496 SWIG_POINTER_EXCEPTION | 0)) == -1)
16497 SWIG_fail;
16498 if (arg2 == NULL) {
16499 PyErr_SetString(PyExc_TypeError,"null reference");
16500 SWIG_fail;
16501 }
16502 {
16503 PyThreadState* __tstate = wxPyBeginAllowThreads();
16504 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16505
16506 wxPyEndAllowThreads(__tstate);
16507 if (PyErr_Occurred()) SWIG_fail;
16508 }
16509 Py_INCREF(Py_None); resultobj = Py_None;
16510 return resultobj;
16511 fail:
16512 return NULL;
16513 }
16514
16515
16516 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16517 PyObject *resultobj;
16518 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16519 wxBitmap *arg2 = 0 ;
16520 PyObject * obj0 = 0 ;
16521 PyObject * obj1 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self",(char *) "bmp", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16530 SWIG_POINTER_EXCEPTION | 0)) == -1)
16531 SWIG_fail;
16532 if (arg2 == NULL) {
16533 PyErr_SetString(PyExc_TypeError,"null reference");
16534 SWIG_fail;
16535 }
16536 {
16537 PyThreadState* __tstate = wxPyBeginAllowThreads();
16538 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16539
16540 wxPyEndAllowThreads(__tstate);
16541 if (PyErr_Occurred()) SWIG_fail;
16542 }
16543 Py_INCREF(Py_None); resultobj = Py_None;
16544 return resultobj;
16545 fail:
16546 return NULL;
16547 }
16548
16549
16550 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16551 PyObject *resultobj;
16552 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16553 wxString *arg2 = 0 ;
16554 bool temp2 = False ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "label", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16564 {
16565 arg2 = wxString_in_helper(obj1);
16566 if (arg2 == NULL) SWIG_fail;
16567 temp2 = True;
16568 }
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 (arg1)->SetLabel((wxString const &)*arg2);
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 Py_INCREF(Py_None); resultobj = Py_None;
16577 {
16578 if (temp2)
16579 delete arg2;
16580 }
16581 return resultobj;
16582 fail:
16583 {
16584 if (temp2)
16585 delete arg2;
16586 }
16587 return NULL;
16588 }
16589
16590
16591 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16592 PyObject *resultobj;
16593 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16594 PyObject * obj0 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16602 {
16603 PyThreadState* __tstate = wxPyBeginAllowThreads();
16604 (arg1)->Detach();
16605
16606 wxPyEndAllowThreads(__tstate);
16607 if (PyErr_Occurred()) SWIG_fail;
16608 }
16609 Py_INCREF(Py_None); resultobj = Py_None;
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16619 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "tbar", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16631 {
16632 PyThreadState* __tstate = wxPyBeginAllowThreads();
16633 (arg1)->Attach(arg2);
16634
16635 wxPyEndAllowThreads(__tstate);
16636 if (PyErr_Occurred()) SWIG_fail;
16637 }
16638 Py_INCREF(Py_None); resultobj = Py_None;
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16648 PyObject *result;
16649 PyObject * obj0 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 resultobj = result;
16665 return resultobj;
16666 fail:
16667 return NULL;
16668 }
16669
16670
16671 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16674 PyObject *arg2 = (PyObject *) 0 ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self",(char *) "clientData", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16684 arg2 = obj1;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 wxToolBarToolBase_SetClientData(arg1,arg2);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 Py_INCREF(Py_None); resultobj = Py_None;
16693 return resultobj;
16694 fail:
16695 return NULL;
16696 }
16697
16698
16699 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16700 PyObject *obj;
16701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16702 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16703 Py_INCREF(obj);
16704 return Py_BuildValue((char *)"");
16705 }
16706 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16709 int arg2 ;
16710 wxString *arg3 = 0 ;
16711 wxBitmap *arg4 = 0 ;
16712 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16713 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16714 int arg6 = (int) wxITEM_NORMAL ;
16715 wxString const &arg7_defvalue = wxPyEmptyString ;
16716 wxString *arg7 = (wxString *) &arg7_defvalue ;
16717 wxString const &arg8_defvalue = wxPyEmptyString ;
16718 wxString *arg8 = (wxString *) &arg8_defvalue ;
16719 PyObject *arg9 = (PyObject *) NULL ;
16720 wxToolBarToolBase *result;
16721 bool temp3 = False ;
16722 bool temp7 = False ;
16723 bool temp8 = False ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 PyObject * obj2 = 0 ;
16727 PyObject * obj3 = 0 ;
16728 PyObject * obj4 = 0 ;
16729 PyObject * obj5 = 0 ;
16730 PyObject * obj6 = 0 ;
16731 PyObject * obj7 = 0 ;
16732 PyObject * obj8 = 0 ;
16733 char *kwnames[] = {
16734 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16735 };
16736
16737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16740 arg2 = (int) SWIG_AsInt(obj1);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 {
16743 arg3 = wxString_in_helper(obj2);
16744 if (arg3 == NULL) SWIG_fail;
16745 temp3 = True;
16746 }
16747 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16748 SWIG_POINTER_EXCEPTION | 0)) == -1)
16749 SWIG_fail;
16750 if (arg4 == NULL) {
16751 PyErr_SetString(PyExc_TypeError,"null reference");
16752 SWIG_fail;
16753 }
16754 if (obj4) {
16755 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16756 SWIG_POINTER_EXCEPTION | 0)) == -1)
16757 SWIG_fail;
16758 if (arg5 == NULL) {
16759 PyErr_SetString(PyExc_TypeError,"null reference");
16760 SWIG_fail;
16761 }
16762 }
16763 if (obj5) {
16764 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 if (obj6) {
16768 {
16769 arg7 = wxString_in_helper(obj6);
16770 if (arg7 == NULL) SWIG_fail;
16771 temp7 = True;
16772 }
16773 }
16774 if (obj7) {
16775 {
16776 arg8 = wxString_in_helper(obj7);
16777 if (arg8 == NULL) SWIG_fail;
16778 temp8 = True;
16779 }
16780 }
16781 if (obj8) {
16782 arg9 = obj8;
16783 }
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16787
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
16791 {
16792 resultobj = wxPyMake_wxObject(result);
16793 }
16794 {
16795 if (temp3)
16796 delete arg3;
16797 }
16798 {
16799 if (temp7)
16800 delete arg7;
16801 }
16802 {
16803 if (temp8)
16804 delete arg8;
16805 }
16806 return resultobj;
16807 fail:
16808 {
16809 if (temp3)
16810 delete arg3;
16811 }
16812 {
16813 if (temp7)
16814 delete arg7;
16815 }
16816 {
16817 if (temp8)
16818 delete arg8;
16819 }
16820 return NULL;
16821 }
16822
16823
16824 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16827 size_t arg2 ;
16828 int arg3 ;
16829 wxString *arg4 = 0 ;
16830 wxBitmap *arg5 = 0 ;
16831 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16832 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16833 int arg7 = (int) wxITEM_NORMAL ;
16834 wxString const &arg8_defvalue = wxPyEmptyString ;
16835 wxString *arg8 = (wxString *) &arg8_defvalue ;
16836 wxString const &arg9_defvalue = wxPyEmptyString ;
16837 wxString *arg9 = (wxString *) &arg9_defvalue ;
16838 PyObject *arg10 = (PyObject *) NULL ;
16839 wxToolBarToolBase *result;
16840 bool temp4 = False ;
16841 bool temp8 = False ;
16842 bool temp9 = False ;
16843 PyObject * obj0 = 0 ;
16844 PyObject * obj1 = 0 ;
16845 PyObject * obj2 = 0 ;
16846 PyObject * obj3 = 0 ;
16847 PyObject * obj4 = 0 ;
16848 PyObject * obj5 = 0 ;
16849 PyObject * obj6 = 0 ;
16850 PyObject * obj7 = 0 ;
16851 PyObject * obj8 = 0 ;
16852 PyObject * obj9 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16861 if (PyErr_Occurred()) SWIG_fail;
16862 arg3 = (int) SWIG_AsInt(obj2);
16863 if (PyErr_Occurred()) SWIG_fail;
16864 {
16865 arg4 = wxString_in_helper(obj3);
16866 if (arg4 == NULL) SWIG_fail;
16867 temp4 = True;
16868 }
16869 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16870 SWIG_POINTER_EXCEPTION | 0)) == -1)
16871 SWIG_fail;
16872 if (arg5 == NULL) {
16873 PyErr_SetString(PyExc_TypeError,"null reference");
16874 SWIG_fail;
16875 }
16876 if (obj5) {
16877 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16878 SWIG_POINTER_EXCEPTION | 0)) == -1)
16879 SWIG_fail;
16880 if (arg6 == NULL) {
16881 PyErr_SetString(PyExc_TypeError,"null reference");
16882 SWIG_fail;
16883 }
16884 }
16885 if (obj6) {
16886 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16887 if (PyErr_Occurred()) SWIG_fail;
16888 }
16889 if (obj7) {
16890 {
16891 arg8 = wxString_in_helper(obj7);
16892 if (arg8 == NULL) SWIG_fail;
16893 temp8 = True;
16894 }
16895 }
16896 if (obj8) {
16897 {
16898 arg9 = wxString_in_helper(obj8);
16899 if (arg9 == NULL) SWIG_fail;
16900 temp9 = True;
16901 }
16902 }
16903 if (obj9) {
16904 arg10 = obj9;
16905 }
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 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);
16909
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 {
16914 resultobj = wxPyMake_wxObject(result);
16915 }
16916 {
16917 if (temp4)
16918 delete arg4;
16919 }
16920 {
16921 if (temp8)
16922 delete arg8;
16923 }
16924 {
16925 if (temp9)
16926 delete arg9;
16927 }
16928 return resultobj;
16929 fail:
16930 {
16931 if (temp4)
16932 delete arg4;
16933 }
16934 {
16935 if (temp8)
16936 delete arg8;
16937 }
16938 {
16939 if (temp9)
16940 delete arg9;
16941 }
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16949 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16950 wxToolBarToolBase *result;
16951 PyObject * obj0 = 0 ;
16952 PyObject * obj1 = 0 ;
16953 char *kwnames[] = {
16954 (char *) "self",(char *) "tool", NULL
16955 };
16956
16957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 {
16970 resultobj = wxPyMake_wxObject(result);
16971 }
16972 return resultobj;
16973 fail:
16974 return NULL;
16975 }
16976
16977
16978 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16979 PyObject *resultobj;
16980 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16981 size_t arg2 ;
16982 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16983 wxToolBarToolBase *result;
16984 PyObject * obj0 = 0 ;
16985 PyObject * obj1 = 0 ;
16986 PyObject * obj2 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "pos",(char *) "tool", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16994 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 {
17006 resultobj = wxPyMake_wxObject(result);
17007 }
17008 return resultobj;
17009 fail:
17010 return NULL;
17011 }
17012
17013
17014 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17015 PyObject *resultobj;
17016 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17017 wxControl *arg2 = (wxControl *) 0 ;
17018 wxToolBarToolBase *result;
17019 PyObject * obj0 = 0 ;
17020 PyObject * obj1 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self",(char *) "control", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17030 {
17031 PyThreadState* __tstate = wxPyBeginAllowThreads();
17032 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17033
17034 wxPyEndAllowThreads(__tstate);
17035 if (PyErr_Occurred()) SWIG_fail;
17036 }
17037 {
17038 resultobj = wxPyMake_wxObject(result);
17039 }
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17049 size_t arg2 ;
17050 wxControl *arg3 = (wxControl *) 0 ;
17051 wxToolBarToolBase *result;
17052 PyObject * obj0 = 0 ;
17053 PyObject * obj1 = 0 ;
17054 PyObject * obj2 = 0 ;
17055 char *kwnames[] = {
17056 (char *) "self",(char *) "pos",(char *) "control", NULL
17057 };
17058
17059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17062 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17066 {
17067 PyThreadState* __tstate = wxPyBeginAllowThreads();
17068 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17069
17070 wxPyEndAllowThreads(__tstate);
17071 if (PyErr_Occurred()) SWIG_fail;
17072 }
17073 {
17074 resultobj = wxPyMake_wxObject(result);
17075 }
17076 return resultobj;
17077 fail:
17078 return NULL;
17079 }
17080
17081
17082 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17085 int arg2 ;
17086 wxControl *result;
17087 PyObject * obj0 = 0 ;
17088 PyObject * obj1 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self",(char *) "id", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17096 arg2 = (int) SWIG_AsInt(obj1);
17097 if (PyErr_Occurred()) SWIG_fail;
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 result = (wxControl *)(arg1)->FindControl(arg2);
17101
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
17105 {
17106 resultobj = wxPyMake_wxObject(result);
17107 }
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17117 wxToolBarToolBase *result;
17118 PyObject * obj0 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 {
17134 resultobj = wxPyMake_wxObject(result);
17135 }
17136 return resultobj;
17137 fail:
17138 return NULL;
17139 }
17140
17141
17142 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17145 size_t arg2 ;
17146 wxToolBarToolBase *result;
17147 PyObject * obj0 = 0 ;
17148 PyObject * obj1 = 0 ;
17149 char *kwnames[] = {
17150 (char *) "self",(char *) "pos", NULL
17151 };
17152
17153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17156 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17157 if (PyErr_Occurred()) SWIG_fail;
17158 {
17159 PyThreadState* __tstate = wxPyBeginAllowThreads();
17160 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17161
17162 wxPyEndAllowThreads(__tstate);
17163 if (PyErr_Occurred()) SWIG_fail;
17164 }
17165 {
17166 resultobj = wxPyMake_wxObject(result);
17167 }
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17177 int arg2 ;
17178 wxToolBarToolBase *result;
17179 PyObject * obj0 = 0 ;
17180 PyObject * obj1 = 0 ;
17181 char *kwnames[] = {
17182 (char *) "self",(char *) "id", NULL
17183 };
17184
17185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17188 arg2 = (int) SWIG_AsInt(obj1);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 {
17191 PyThreadState* __tstate = wxPyBeginAllowThreads();
17192 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17193
17194 wxPyEndAllowThreads(__tstate);
17195 if (PyErr_Occurred()) SWIG_fail;
17196 }
17197 {
17198 resultobj = wxPyMake_wxObject(result);
17199 }
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17209 size_t arg2 ;
17210 bool result;
17211 PyObject * obj0 = 0 ;
17212 PyObject * obj1 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self",(char *) "pos", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17220 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 result = (bool)(arg1)->DeleteToolByPos(arg2);
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
17229 {
17230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17231 }
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17241 int arg2 ;
17242 bool result;
17243 PyObject * obj0 = 0 ;
17244 PyObject * obj1 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "self",(char *) "id", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17252 arg2 = (int) SWIG_AsInt(obj1);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (bool)(arg1)->DeleteTool(arg2);
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 {
17262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17263 }
17264 return resultobj;
17265 fail:
17266 return NULL;
17267 }
17268
17269
17270 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17271 PyObject *resultobj;
17272 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17273 PyObject * obj0 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 {
17282 PyThreadState* __tstate = wxPyBeginAllowThreads();
17283 (arg1)->ClearTools();
17284
17285 wxPyEndAllowThreads(__tstate);
17286 if (PyErr_Occurred()) SWIG_fail;
17287 }
17288 Py_INCREF(Py_None); resultobj = Py_None;
17289 return resultobj;
17290 fail:
17291 return NULL;
17292 }
17293
17294
17295 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17296 PyObject *resultobj;
17297 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17298 bool result;
17299 PyObject * obj0 = 0 ;
17300 char *kwnames[] = {
17301 (char *) "self", NULL
17302 };
17303
17304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = (bool)(arg1)->Realize();
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 {
17315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17316 }
17317 return resultobj;
17318 fail:
17319 return NULL;
17320 }
17321
17322
17323 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17326 int arg2 ;
17327 bool arg3 ;
17328 PyObject * obj0 = 0 ;
17329 PyObject * obj1 = 0 ;
17330 PyObject * obj2 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "id",(char *) "enable", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17338 arg2 = (int) SWIG_AsInt(obj1);
17339 if (PyErr_Occurred()) SWIG_fail;
17340 arg3 = (bool) SWIG_AsBool(obj2);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 (arg1)->EnableTool(arg2,arg3);
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 Py_INCREF(Py_None); resultobj = Py_None;
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17359 int arg2 ;
17360 bool arg3 ;
17361 PyObject * obj0 = 0 ;
17362 PyObject * obj1 = 0 ;
17363 PyObject * obj2 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self",(char *) "id",(char *) "toggle", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17371 arg2 = (int) SWIG_AsInt(obj1);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 arg3 = (bool) SWIG_AsBool(obj2);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 {
17376 PyThreadState* __tstate = wxPyBeginAllowThreads();
17377 (arg1)->ToggleTool(arg2,arg3);
17378
17379 wxPyEndAllowThreads(__tstate);
17380 if (PyErr_Occurred()) SWIG_fail;
17381 }
17382 Py_INCREF(Py_None); resultobj = Py_None;
17383 return resultobj;
17384 fail:
17385 return NULL;
17386 }
17387
17388
17389 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17390 PyObject *resultobj;
17391 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17392 int arg2 ;
17393 bool arg3 ;
17394 PyObject * obj0 = 0 ;
17395 PyObject * obj1 = 0 ;
17396 PyObject * obj2 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self",(char *) "id",(char *) "toggle", NULL
17399 };
17400
17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17404 arg2 = (int) SWIG_AsInt(obj1);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 arg3 = (bool) SWIG_AsBool(obj2);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 (arg1)->SetToggle(arg2,arg3);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 Py_INCREF(Py_None); resultobj = Py_None;
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17425 int arg2 ;
17426 PyObject *result;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "id", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17436 arg2 = (int) SWIG_AsInt(obj1);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 {
17439 PyThreadState* __tstate = wxPyBeginAllowThreads();
17440 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17441
17442 wxPyEndAllowThreads(__tstate);
17443 if (PyErr_Occurred()) SWIG_fail;
17444 }
17445 resultobj = result;
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17455 int arg2 ;
17456 PyObject *arg3 = (PyObject *) 0 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 PyObject * obj2 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "id",(char *) "clientData", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17467 arg2 = (int) SWIG_AsInt(obj1);
17468 if (PyErr_Occurred()) SWIG_fail;
17469 arg3 = obj2;
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 Py_INCREF(Py_None); resultobj = Py_None;
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17487 int arg2 ;
17488 int result;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "id", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17498 arg2 = (int) SWIG_AsInt(obj1);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = SWIG_FromInt((int)result);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17517 int arg2 ;
17518 bool result;
17519 PyObject * obj0 = 0 ;
17520 PyObject * obj1 = 0 ;
17521 char *kwnames[] = {
17522 (char *) "self",(char *) "id", NULL
17523 };
17524
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17528 arg2 = (int) SWIG_AsInt(obj1);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = (bool)(arg1)->GetToolState(arg2);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
17537 {
17538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17539 }
17540 return resultobj;
17541 fail:
17542 return NULL;
17543 }
17544
17545
17546 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17549 int arg2 ;
17550 bool result;
17551 PyObject * obj0 = 0 ;
17552 PyObject * obj1 = 0 ;
17553 char *kwnames[] = {
17554 (char *) "self",(char *) "id", NULL
17555 };
17556
17557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17560 arg2 = (int) SWIG_AsInt(obj1);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 {
17563 PyThreadState* __tstate = wxPyBeginAllowThreads();
17564 result = (bool)(arg1)->GetToolEnabled(arg2);
17565
17566 wxPyEndAllowThreads(__tstate);
17567 if (PyErr_Occurred()) SWIG_fail;
17568 }
17569 {
17570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17571 }
17572 return resultobj;
17573 fail:
17574 return NULL;
17575 }
17576
17577
17578 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17581 int arg2 ;
17582 wxString *arg3 = 0 ;
17583 bool temp3 = False ;
17584 PyObject * obj0 = 0 ;
17585 PyObject * obj1 = 0 ;
17586 PyObject * obj2 = 0 ;
17587 char *kwnames[] = {
17588 (char *) "self",(char *) "id",(char *) "helpString", NULL
17589 };
17590
17591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17594 arg2 = (int) SWIG_AsInt(obj1);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 {
17597 arg3 = wxString_in_helper(obj2);
17598 if (arg3 == NULL) SWIG_fail;
17599 temp3 = True;
17600 }
17601 {
17602 PyThreadState* __tstate = wxPyBeginAllowThreads();
17603 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17604
17605 wxPyEndAllowThreads(__tstate);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 }
17608 Py_INCREF(Py_None); resultobj = Py_None;
17609 {
17610 if (temp3)
17611 delete arg3;
17612 }
17613 return resultobj;
17614 fail:
17615 {
17616 if (temp3)
17617 delete arg3;
17618 }
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17626 int arg2 ;
17627 wxString result;
17628 PyObject * obj0 = 0 ;
17629 PyObject * obj1 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "id", NULL
17632 };
17633
17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 arg2 = (int) SWIG_AsInt(obj1);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 result = (arg1)->GetToolShortHelp(arg2);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 {
17647 #if wxUSE_UNICODE
17648 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17649 #else
17650 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17651 #endif
17652 }
17653 return resultobj;
17654 fail:
17655 return NULL;
17656 }
17657
17658
17659 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17660 PyObject *resultobj;
17661 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17662 int arg2 ;
17663 wxString *arg3 = 0 ;
17664 bool temp3 = False ;
17665 PyObject * obj0 = 0 ;
17666 PyObject * obj1 = 0 ;
17667 PyObject * obj2 = 0 ;
17668 char *kwnames[] = {
17669 (char *) "self",(char *) "id",(char *) "helpString", NULL
17670 };
17671
17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17675 arg2 = (int) SWIG_AsInt(obj1);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 {
17678 arg3 = wxString_in_helper(obj2);
17679 if (arg3 == NULL) SWIG_fail;
17680 temp3 = True;
17681 }
17682 {
17683 PyThreadState* __tstate = wxPyBeginAllowThreads();
17684 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17685
17686 wxPyEndAllowThreads(__tstate);
17687 if (PyErr_Occurred()) SWIG_fail;
17688 }
17689 Py_INCREF(Py_None); resultobj = Py_None;
17690 {
17691 if (temp3)
17692 delete arg3;
17693 }
17694 return resultobj;
17695 fail:
17696 {
17697 if (temp3)
17698 delete arg3;
17699 }
17700 return NULL;
17701 }
17702
17703
17704 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17705 PyObject *resultobj;
17706 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17707 int arg2 ;
17708 wxString result;
17709 PyObject * obj0 = 0 ;
17710 PyObject * obj1 = 0 ;
17711 char *kwnames[] = {
17712 (char *) "self",(char *) "id", NULL
17713 };
17714
17715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17718 arg2 = (int) SWIG_AsInt(obj1);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (arg1)->GetToolLongHelp(arg2);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 {
17728 #if wxUSE_UNICODE
17729 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17730 #else
17731 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17732 #endif
17733 }
17734 return resultobj;
17735 fail:
17736 return NULL;
17737 }
17738
17739
17740 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17741 PyObject *resultobj;
17742 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17743 int arg2 ;
17744 int arg3 ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj1 = 0 ;
17747 PyObject * obj2 = 0 ;
17748 char *kwnames[] = {
17749 (char *) "self",(char *) "x",(char *) "y", NULL
17750 };
17751
17752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17755 arg2 = (int) SWIG_AsInt(obj1);
17756 if (PyErr_Occurred()) SWIG_fail;
17757 arg3 = (int) SWIG_AsInt(obj2);
17758 if (PyErr_Occurred()) SWIG_fail;
17759 {
17760 PyThreadState* __tstate = wxPyBeginAllowThreads();
17761 (arg1)->SetMargins(arg2,arg3);
17762
17763 wxPyEndAllowThreads(__tstate);
17764 if (PyErr_Occurred()) SWIG_fail;
17765 }
17766 Py_INCREF(Py_None); resultobj = Py_None;
17767 return resultobj;
17768 fail:
17769 return NULL;
17770 }
17771
17772
17773 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17774 PyObject *resultobj;
17775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17776 wxSize *arg2 = 0 ;
17777 wxSize temp2 ;
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj1 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "size", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17787 {
17788 arg2 = &temp2;
17789 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 (arg1)->SetMargins((wxSize const &)*arg2);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 Py_INCREF(Py_None); resultobj = Py_None;
17799 return resultobj;
17800 fail:
17801 return NULL;
17802 }
17803
17804
17805 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17808 int arg2 ;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "packing", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 arg2 = (int) SWIG_AsInt(obj1);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 (arg1)->SetToolPacking(arg2);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 Py_INCREF(Py_None); resultobj = Py_None;
17828 return resultobj;
17829 fail:
17830 return NULL;
17831 }
17832
17833
17834 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17835 PyObject *resultobj;
17836 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17837 int arg2 ;
17838 PyObject * obj0 = 0 ;
17839 PyObject * obj1 = 0 ;
17840 char *kwnames[] = {
17841 (char *) "self",(char *) "separation", NULL
17842 };
17843
17844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17847 arg2 = (int) SWIG_AsInt(obj1);
17848 if (PyErr_Occurred()) SWIG_fail;
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 (arg1)->SetToolSeparation(arg2);
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 Py_INCREF(Py_None); resultobj = Py_None;
17857 return resultobj;
17858 fail:
17859 return NULL;
17860 }
17861
17862
17863 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17866 wxSize result;
17867 PyObject * obj0 = 0 ;
17868 char *kwnames[] = {
17869 (char *) "self", NULL
17870 };
17871
17872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = (arg1)->GetToolMargins();
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
17882 {
17883 wxSize * resultptr;
17884 resultptr = new wxSize((wxSize &) result);
17885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17886 }
17887 return resultobj;
17888 fail:
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17896 wxSize result;
17897 PyObject * obj0 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (arg1)->GetMargins();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 {
17913 wxSize * resultptr;
17914 resultptr = new wxSize((wxSize &) result);
17915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17916 }
17917 return resultobj;
17918 fail:
17919 return NULL;
17920 }
17921
17922
17923 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj;
17925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17926 int result;
17927 PyObject * obj0 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (int)(arg1)->GetToolPacking();
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = SWIG_FromInt((int)result);
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17952 int result;
17953 PyObject * obj0 = 0 ;
17954 char *kwnames[] = {
17955 (char *) "self", NULL
17956 };
17957
17958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 result = (int)(arg1)->GetToolSeparation();
17964
17965 wxPyEndAllowThreads(__tstate);
17966 if (PyErr_Occurred()) SWIG_fail;
17967 }
17968 resultobj = SWIG_FromInt((int)result);
17969 return resultobj;
17970 fail:
17971 return NULL;
17972 }
17973
17974
17975 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17976 PyObject *resultobj;
17977 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17978 int arg2 ;
17979 PyObject * obj0 = 0 ;
17980 PyObject * obj1 = 0 ;
17981 char *kwnames[] = {
17982 (char *) "self",(char *) "nRows", NULL
17983 };
17984
17985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17988 arg2 = (int) SWIG_AsInt(obj1);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 {
17991 PyThreadState* __tstate = wxPyBeginAllowThreads();
17992 (arg1)->SetRows(arg2);
17993
17994 wxPyEndAllowThreads(__tstate);
17995 if (PyErr_Occurred()) SWIG_fail;
17996 }
17997 Py_INCREF(Py_None); resultobj = Py_None;
17998 return resultobj;
17999 fail:
18000 return NULL;
18001 }
18002
18003
18004 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18005 PyObject *resultobj;
18006 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18007 int arg2 ;
18008 int arg3 ;
18009 PyObject * obj0 = 0 ;
18010 PyObject * obj1 = 0 ;
18011 PyObject * obj2 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "rows",(char *) "cols", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18019 arg2 = (int) SWIG_AsInt(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 arg3 = (int) SWIG_AsInt(obj2);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 {
18024 PyThreadState* __tstate = wxPyBeginAllowThreads();
18025 (arg1)->SetMaxRowsCols(arg2,arg3);
18026
18027 wxPyEndAllowThreads(__tstate);
18028 if (PyErr_Occurred()) SWIG_fail;
18029 }
18030 Py_INCREF(Py_None); resultobj = Py_None;
18031 return resultobj;
18032 fail:
18033 return NULL;
18034 }
18035
18036
18037 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18038 PyObject *resultobj;
18039 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18040 int result;
18041 PyObject * obj0 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = (int)(arg1)->GetMaxRows();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 resultobj = SWIG_FromInt((int)result);
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18066 int result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (int)(arg1)->GetMaxCols();
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = SWIG_FromInt((int)result);
18083 return resultobj;
18084 fail:
18085 return NULL;
18086 }
18087
18088
18089 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18092 wxSize *arg2 = 0 ;
18093 wxSize temp2 ;
18094 PyObject * obj0 = 0 ;
18095 PyObject * obj1 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self",(char *) "size", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 arg2 = &temp2;
18105 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18106 }
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 Py_INCREF(Py_None); resultobj = Py_None;
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18124 wxSize result;
18125 PyObject * obj0 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18133 {
18134 PyThreadState* __tstate = wxPyBeginAllowThreads();
18135 result = (arg1)->GetToolBitmapSize();
18136
18137 wxPyEndAllowThreads(__tstate);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 }
18140 {
18141 wxSize * resultptr;
18142 resultptr = new wxSize((wxSize &) result);
18143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18144 }
18145 return resultobj;
18146 fail:
18147 return NULL;
18148 }
18149
18150
18151 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18154 wxSize result;
18155 PyObject * obj0 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18163 {
18164 PyThreadState* __tstate = wxPyBeginAllowThreads();
18165 result = (arg1)->GetToolSize();
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 {
18171 wxSize * resultptr;
18172 resultptr = new wxSize((wxSize &) result);
18173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18174 }
18175 return resultobj;
18176 fail:
18177 return NULL;
18178 }
18179
18180
18181 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18182 PyObject *resultobj;
18183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18184 int arg2 ;
18185 int arg3 ;
18186 wxToolBarToolBase *result;
18187 PyObject * obj0 = 0 ;
18188 PyObject * obj1 = 0 ;
18189 PyObject * obj2 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self",(char *) "x",(char *) "y", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18197 arg2 = (int) SWIG_AsInt(obj1);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 arg3 = (int) SWIG_AsInt(obj2);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 {
18202 PyThreadState* __tstate = wxPyBeginAllowThreads();
18203 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18204
18205 wxPyEndAllowThreads(__tstate);
18206 if (PyErr_Occurred()) SWIG_fail;
18207 }
18208 {
18209 resultobj = wxPyMake_wxObject(result);
18210 }
18211 return resultobj;
18212 fail:
18213 return NULL;
18214 }
18215
18216
18217 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj;
18219 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18220 int arg2 ;
18221 wxToolBarToolBase *result;
18222 PyObject * obj0 = 0 ;
18223 PyObject * obj1 = 0 ;
18224 char *kwnames[] = {
18225 (char *) "self",(char *) "toolid", NULL
18226 };
18227
18228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18231 arg2 = (int) SWIG_AsInt(obj1);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 {
18241 resultobj = wxPyMake_wxObject(result);
18242 }
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18252 bool result;
18253 PyObject * obj0 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (bool)(arg1)->IsVertical();
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18270 }
18271 return resultobj;
18272 fail:
18273 return NULL;
18274 }
18275
18276
18277 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18278 PyObject *obj;
18279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18280 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18281 Py_INCREF(obj);
18282 return Py_BuildValue((char *)"");
18283 }
18284 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18285 PyObject *resultobj;
18286 wxWindow *arg1 = (wxWindow *) 0 ;
18287 int arg2 ;
18288 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18289 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18290 wxSize const &arg4_defvalue = wxDefaultSize ;
18291 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18292 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18293 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18294 wxString *arg6 = (wxString *) &arg6_defvalue ;
18295 wxToolBar *result;
18296 wxPoint temp3 ;
18297 wxSize temp4 ;
18298 bool temp6 = False ;
18299 PyObject * obj0 = 0 ;
18300 PyObject * obj1 = 0 ;
18301 PyObject * obj2 = 0 ;
18302 PyObject * obj3 = 0 ;
18303 PyObject * obj4 = 0 ;
18304 PyObject * obj5 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18312 arg2 = (int) SWIG_AsInt(obj1);
18313 if (PyErr_Occurred()) SWIG_fail;
18314 if (obj2) {
18315 {
18316 arg3 = &temp3;
18317 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18318 }
18319 }
18320 if (obj3) {
18321 {
18322 arg4 = &temp4;
18323 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18324 }
18325 }
18326 if (obj4) {
18327 arg5 = (long) SWIG_AsLong(obj4);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 if (obj5) {
18331 {
18332 arg6 = wxString_in_helper(obj5);
18333 if (arg6 == NULL) SWIG_fail;
18334 temp6 = True;
18335 }
18336 }
18337 {
18338 if (!wxPyCheckForApp()) SWIG_fail;
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 {
18346 resultobj = wxPyMake_wxObject(result);
18347 }
18348 {
18349 if (temp6)
18350 delete arg6;
18351 }
18352 return resultobj;
18353 fail:
18354 {
18355 if (temp6)
18356 delete arg6;
18357 }
18358 return NULL;
18359 }
18360
18361
18362 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18363 PyObject *resultobj;
18364 wxToolBar *result;
18365 char *kwnames[] = {
18366 NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18370 {
18371 if (!wxPyCheckForApp()) SWIG_fail;
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 result = (wxToolBar *)new wxToolBar();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 resultobj = wxPyMake_wxObject(result);
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxToolBar *arg1 = (wxToolBar *) 0 ;
18390 wxWindow *arg2 = (wxWindow *) 0 ;
18391 int arg3 ;
18392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18394 wxSize const &arg5_defvalue = wxDefaultSize ;
18395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18396 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18397 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18398 wxString *arg7 = (wxString *) &arg7_defvalue ;
18399 bool result;
18400 wxPoint temp4 ;
18401 wxSize temp5 ;
18402 bool temp7 = False ;
18403 PyObject * obj0 = 0 ;
18404 PyObject * obj1 = 0 ;
18405 PyObject * obj2 = 0 ;
18406 PyObject * obj3 = 0 ;
18407 PyObject * obj4 = 0 ;
18408 PyObject * obj5 = 0 ;
18409 PyObject * obj6 = 0 ;
18410 char *kwnames[] = {
18411 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18412 };
18413
18414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18419 arg3 = (int) SWIG_AsInt(obj2);
18420 if (PyErr_Occurred()) SWIG_fail;
18421 if (obj3) {
18422 {
18423 arg4 = &temp4;
18424 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18425 }
18426 }
18427 if (obj4) {
18428 {
18429 arg5 = &temp5;
18430 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18431 }
18432 }
18433 if (obj5) {
18434 arg6 = (long) SWIG_AsLong(obj5);
18435 if (PyErr_Occurred()) SWIG_fail;
18436 }
18437 if (obj6) {
18438 {
18439 arg7 = wxString_in_helper(obj6);
18440 if (arg7 == NULL) SWIG_fail;
18441 temp7 = True;
18442 }
18443 }
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 {
18452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18453 }
18454 {
18455 if (temp7)
18456 delete arg7;
18457 }
18458 return resultobj;
18459 fail:
18460 {
18461 if (temp7)
18462 delete arg7;
18463 }
18464 return NULL;
18465 }
18466
18467
18468 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18469 PyObject *resultobj;
18470 wxToolBar *arg1 = (wxToolBar *) 0 ;
18471 int arg2 ;
18472 int arg3 ;
18473 wxToolBarToolBase *result;
18474 PyObject * obj0 = 0 ;
18475 PyObject * obj1 = 0 ;
18476 PyObject * obj2 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self",(char *) "x",(char *) "y", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18484 arg2 = (int) SWIG_AsInt(obj1);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 arg3 = (int) SWIG_AsInt(obj2);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 {
18496 resultobj = wxPyMake_wxObject(result);
18497 }
18498 return resultobj;
18499 fail:
18500 return NULL;
18501 }
18502
18503
18504 static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18507 wxVisualAttributes result;
18508 PyObject * obj0 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "variant", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18514 if (obj0) {
18515 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 {
18519 if (!wxPyCheckForApp()) SWIG_fail;
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 {
18527 wxVisualAttributes * resultptr;
18528 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18530 }
18531 return resultobj;
18532 fail:
18533 return NULL;
18534 }
18535
18536
18537 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18538 PyObject *obj;
18539 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18540 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18541 Py_INCREF(obj);
18542 return Py_BuildValue((char *)"");
18543 }
18544 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18545 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18546 return 1;
18547 }
18548
18549
18550 static PyObject *_wrap_ListCtrlNameStr_get() {
18551 PyObject *pyobj;
18552
18553 {
18554 #if wxUSE_UNICODE
18555 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18556 #else
18557 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18558 #endif
18559 }
18560 return pyobj;
18561 }
18562
18563
18564 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxColour const &arg1_defvalue = wxNullColour ;
18567 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18568 wxColour const &arg2_defvalue = wxNullColour ;
18569 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18570 wxFont const &arg3_defvalue = wxNullFont ;
18571 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18572 wxListItemAttr *result;
18573 wxColour temp1 ;
18574 wxColour temp2 ;
18575 PyObject * obj0 = 0 ;
18576 PyObject * obj1 = 0 ;
18577 PyObject * obj2 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18583 if (obj0) {
18584 {
18585 arg1 = &temp1;
18586 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18587 }
18588 }
18589 if (obj1) {
18590 {
18591 arg2 = &temp2;
18592 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18593 }
18594 }
18595 if (obj2) {
18596 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18597 SWIG_POINTER_EXCEPTION | 0)) == -1)
18598 SWIG_fail;
18599 if (arg3 == NULL) {
18600 PyErr_SetString(PyExc_TypeError,"null reference");
18601 SWIG_fail;
18602 }
18603 }
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18621 wxColour *arg2 = 0 ;
18622 wxColour temp2 ;
18623 PyObject * obj0 = 0 ;
18624 PyObject * obj1 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self",(char *) "colText", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18632 {
18633 arg2 = &temp2;
18634 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18635 }
18636 {
18637 PyThreadState* __tstate = wxPyBeginAllowThreads();
18638 (arg1)->SetTextColour((wxColour const &)*arg2);
18639
18640 wxPyEndAllowThreads(__tstate);
18641 if (PyErr_Occurred()) SWIG_fail;
18642 }
18643 Py_INCREF(Py_None); resultobj = Py_None;
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18653 wxColour *arg2 = 0 ;
18654 wxColour temp2 ;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj1 = 0 ;
18657 char *kwnames[] = {
18658 (char *) "self",(char *) "colBack", NULL
18659 };
18660
18661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18664 {
18665 arg2 = &temp2;
18666 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18667 }
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 Py_INCREF(Py_None); resultobj = Py_None;
18676 return resultobj;
18677 fail:
18678 return NULL;
18679 }
18680
18681
18682 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj;
18684 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18685 wxFont *arg2 = 0 ;
18686 PyObject * obj0 = 0 ;
18687 PyObject * obj1 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self",(char *) "font", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18696 SWIG_POINTER_EXCEPTION | 0)) == -1)
18697 SWIG_fail;
18698 if (arg2 == NULL) {
18699 PyErr_SetString(PyExc_TypeError,"null reference");
18700 SWIG_fail;
18701 }
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 (arg1)->SetFont((wxFont const &)*arg2);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 Py_INCREF(Py_None); resultobj = Py_None;
18710 return resultobj;
18711 fail:
18712 return NULL;
18713 }
18714
18715
18716 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18717 PyObject *resultobj;
18718 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18719 bool result;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18728 {
18729 PyThreadState* __tstate = wxPyBeginAllowThreads();
18730 result = (bool)(arg1)->HasTextColour();
18731
18732 wxPyEndAllowThreads(__tstate);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 {
18736 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18737 }
18738 return resultobj;
18739 fail:
18740 return NULL;
18741 }
18742
18743
18744 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18747 bool result;
18748 PyObject * obj0 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 result = (bool)(arg1)->HasBackgroundColour();
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 {
18764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18765 }
18766 return resultobj;
18767 fail:
18768 return NULL;
18769 }
18770
18771
18772 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18773 PyObject *resultobj;
18774 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18775 bool result;
18776 PyObject * obj0 = 0 ;
18777 char *kwnames[] = {
18778 (char *) "self", NULL
18779 };
18780
18781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18784 {
18785 PyThreadState* __tstate = wxPyBeginAllowThreads();
18786 result = (bool)(arg1)->HasFont();
18787
18788 wxPyEndAllowThreads(__tstate);
18789 if (PyErr_Occurred()) SWIG_fail;
18790 }
18791 {
18792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18793 }
18794 return resultobj;
18795 fail:
18796 return NULL;
18797 }
18798
18799
18800 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18801 PyObject *resultobj;
18802 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18803 wxColour result;
18804 PyObject * obj0 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 result = (arg1)->GetTextColour();
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 {
18820 wxColour * resultptr;
18821 resultptr = new wxColour((wxColour &) result);
18822 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18823 }
18824 return resultobj;
18825 fail:
18826 return NULL;
18827 }
18828
18829
18830 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18831 PyObject *resultobj;
18832 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18833 wxColour result;
18834 PyObject * obj0 = 0 ;
18835 char *kwnames[] = {
18836 (char *) "self", NULL
18837 };
18838
18839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 result = (arg1)->GetBackgroundColour();
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 {
18850 wxColour * resultptr;
18851 resultptr = new wxColour((wxColour &) result);
18852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18853 }
18854 return resultobj;
18855 fail:
18856 return NULL;
18857 }
18858
18859
18860 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18863 wxFont result;
18864 PyObject * obj0 = 0 ;
18865 char *kwnames[] = {
18866 (char *) "self", NULL
18867 };
18868
18869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18872 {
18873 PyThreadState* __tstate = wxPyBeginAllowThreads();
18874 result = (arg1)->GetFont();
18875
18876 wxPyEndAllowThreads(__tstate);
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 wxFont * resultptr;
18881 resultptr = new wxFont((wxFont &) result);
18882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18883 }
18884 return resultobj;
18885 fail:
18886 return NULL;
18887 }
18888
18889
18890 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18891 PyObject *resultobj;
18892 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18893 PyObject * obj0 = 0 ;
18894 char *kwnames[] = {
18895 (char *) "self", NULL
18896 };
18897
18898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18901 {
18902 PyThreadState* __tstate = wxPyBeginAllowThreads();
18903 wxListItemAttr_Destroy(arg1);
18904
18905 wxPyEndAllowThreads(__tstate);
18906 if (PyErr_Occurred()) SWIG_fail;
18907 }
18908 Py_INCREF(Py_None); resultobj = Py_None;
18909 return resultobj;
18910 fail:
18911 return NULL;
18912 }
18913
18914
18915 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18916 PyObject *obj;
18917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18918 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18919 Py_INCREF(obj);
18920 return Py_BuildValue((char *)"");
18921 }
18922 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxListItem *result;
18925 char *kwnames[] = {
18926 NULL
18927 };
18928
18929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 result = (wxListItem *)new wxListItem();
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 {
18938 resultobj = wxPyMake_wxObject(result);
18939 }
18940 return resultobj;
18941 fail:
18942 return NULL;
18943 }
18944
18945
18946 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18947 PyObject *resultobj;
18948 wxListItem *arg1 = (wxListItem *) 0 ;
18949 PyObject * obj0 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 delete arg1;
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968 }
18969
18970
18971 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxListItem *arg1 = (wxListItem *) 0 ;
18974 PyObject * obj0 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 (arg1)->Clear();
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 Py_INCREF(Py_None); resultobj = Py_None;
18990 return resultobj;
18991 fail:
18992 return NULL;
18993 }
18994
18995
18996 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxListItem *arg1 = (wxListItem *) 0 ;
18999 PyObject * obj0 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 (arg1)->ClearAttributes();
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018 }
19019
19020
19021 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxListItem *arg1 = (wxListItem *) 0 ;
19024 long arg2 ;
19025 PyObject * obj0 = 0 ;
19026 PyObject * obj1 = 0 ;
19027 char *kwnames[] = {
19028 (char *) "self",(char *) "mask", NULL
19029 };
19030
19031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19034 arg2 = (long) SWIG_AsLong(obj1);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 (arg1)->SetMask(arg2);
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 Py_INCREF(Py_None); resultobj = Py_None;
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxListItem *arg1 = (wxListItem *) 0 ;
19053 long arg2 ;
19054 PyObject * obj0 = 0 ;
19055 PyObject * obj1 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self",(char *) "id", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19063 arg2 = (long) SWIG_AsLong(obj1);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 (arg1)->SetId(arg2);
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
19072 Py_INCREF(Py_None); resultobj = Py_None;
19073 return resultobj;
19074 fail:
19075 return NULL;
19076 }
19077
19078
19079 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxListItem *arg1 = (wxListItem *) 0 ;
19082 int arg2 ;
19083 PyObject * obj0 = 0 ;
19084 PyObject * obj1 = 0 ;
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "col", NULL
19087 };
19088
19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19092 arg2 = (int) SWIG_AsInt(obj1);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 {
19095 PyThreadState* __tstate = wxPyBeginAllowThreads();
19096 (arg1)->SetColumn(arg2);
19097
19098 wxPyEndAllowThreads(__tstate);
19099 if (PyErr_Occurred()) SWIG_fail;
19100 }
19101 Py_INCREF(Py_None); resultobj = Py_None;
19102 return resultobj;
19103 fail:
19104 return NULL;
19105 }
19106
19107
19108 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19109 PyObject *resultobj;
19110 wxListItem *arg1 = (wxListItem *) 0 ;
19111 long arg2 ;
19112 PyObject * obj0 = 0 ;
19113 PyObject * obj1 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self",(char *) "state", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19121 arg2 = (long) SWIG_AsLong(obj1);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 {
19124 PyThreadState* __tstate = wxPyBeginAllowThreads();
19125 (arg1)->SetState(arg2);
19126
19127 wxPyEndAllowThreads(__tstate);
19128 if (PyErr_Occurred()) SWIG_fail;
19129 }
19130 Py_INCREF(Py_None); resultobj = Py_None;
19131 return resultobj;
19132 fail:
19133 return NULL;
19134 }
19135
19136
19137 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19138 PyObject *resultobj;
19139 wxListItem *arg1 = (wxListItem *) 0 ;
19140 long arg2 ;
19141 PyObject * obj0 = 0 ;
19142 PyObject * obj1 = 0 ;
19143 char *kwnames[] = {
19144 (char *) "self",(char *) "stateMask", NULL
19145 };
19146
19147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19150 arg2 = (long) SWIG_AsLong(obj1);
19151 if (PyErr_Occurred()) SWIG_fail;
19152 {
19153 PyThreadState* __tstate = wxPyBeginAllowThreads();
19154 (arg1)->SetStateMask(arg2);
19155
19156 wxPyEndAllowThreads(__tstate);
19157 if (PyErr_Occurred()) SWIG_fail;
19158 }
19159 Py_INCREF(Py_None); resultobj = Py_None;
19160 return resultobj;
19161 fail:
19162 return NULL;
19163 }
19164
19165
19166 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19167 PyObject *resultobj;
19168 wxListItem *arg1 = (wxListItem *) 0 ;
19169 wxString *arg2 = 0 ;
19170 bool temp2 = False ;
19171 PyObject * obj0 = 0 ;
19172 PyObject * obj1 = 0 ;
19173 char *kwnames[] = {
19174 (char *) "self",(char *) "text", NULL
19175 };
19176
19177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19180 {
19181 arg2 = wxString_in_helper(obj1);
19182 if (arg2 == NULL) SWIG_fail;
19183 temp2 = True;
19184 }
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 (arg1)->SetText((wxString const &)*arg2);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 Py_INCREF(Py_None); resultobj = Py_None;
19193 {
19194 if (temp2)
19195 delete arg2;
19196 }
19197 return resultobj;
19198 fail:
19199 {
19200 if (temp2)
19201 delete arg2;
19202 }
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxListItem *arg1 = (wxListItem *) 0 ;
19210 int arg2 ;
19211 PyObject * obj0 = 0 ;
19212 PyObject * obj1 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self",(char *) "image", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19220 arg2 = (int) SWIG_AsInt(obj1);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 (arg1)->SetImage(arg2);
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 Py_INCREF(Py_None); resultobj = Py_None;
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxListItem *arg1 = (wxListItem *) 0 ;
19239 long arg2 ;
19240 PyObject * obj0 = 0 ;
19241 PyObject * obj1 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self",(char *) "data", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19249 arg2 = (long) SWIG_AsLong(obj1);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 {
19252 PyThreadState* __tstate = wxPyBeginAllowThreads();
19253 (arg1)->SetData(arg2);
19254
19255 wxPyEndAllowThreads(__tstate);
19256 if (PyErr_Occurred()) SWIG_fail;
19257 }
19258 Py_INCREF(Py_None); resultobj = Py_None;
19259 return resultobj;
19260 fail:
19261 return NULL;
19262 }
19263
19264
19265 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxListItem *arg1 = (wxListItem *) 0 ;
19268 int arg2 ;
19269 PyObject * obj0 = 0 ;
19270 PyObject * obj1 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self",(char *) "width", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19278 arg2 = (int) SWIG_AsInt(obj1);
19279 if (PyErr_Occurred()) SWIG_fail;
19280 {
19281 PyThreadState* __tstate = wxPyBeginAllowThreads();
19282 (arg1)->SetWidth(arg2);
19283
19284 wxPyEndAllowThreads(__tstate);
19285 if (PyErr_Occurred()) SWIG_fail;
19286 }
19287 Py_INCREF(Py_None); resultobj = Py_None;
19288 return resultobj;
19289 fail:
19290 return NULL;
19291 }
19292
19293
19294 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19295 PyObject *resultobj;
19296 wxListItem *arg1 = (wxListItem *) 0 ;
19297 int arg2 ;
19298 PyObject * obj0 = 0 ;
19299 PyObject * obj1 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self",(char *) "align", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19307 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19308 if (PyErr_Occurred()) SWIG_fail;
19309 {
19310 PyThreadState* __tstate = wxPyBeginAllowThreads();
19311 (arg1)->SetAlign((wxListColumnFormat )arg2);
19312
19313 wxPyEndAllowThreads(__tstate);
19314 if (PyErr_Occurred()) SWIG_fail;
19315 }
19316 Py_INCREF(Py_None); resultobj = Py_None;
19317 return resultobj;
19318 fail:
19319 return NULL;
19320 }
19321
19322
19323 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxListItem *arg1 = (wxListItem *) 0 ;
19326 wxColour *arg2 = 0 ;
19327 wxColour temp2 ;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj1 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self",(char *) "colText", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19337 {
19338 arg2 = &temp2;
19339 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19340 }
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 (arg1)->SetTextColour((wxColour const &)*arg2);
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 Py_INCREF(Py_None); resultobj = Py_None;
19349 return resultobj;
19350 fail:
19351 return NULL;
19352 }
19353
19354
19355 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxListItem *arg1 = (wxListItem *) 0 ;
19358 wxColour *arg2 = 0 ;
19359 wxColour temp2 ;
19360 PyObject * obj0 = 0 ;
19361 PyObject * obj1 = 0 ;
19362 char *kwnames[] = {
19363 (char *) "self",(char *) "colBack", NULL
19364 };
19365
19366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19369 {
19370 arg2 = &temp2;
19371 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19372 }
19373 {
19374 PyThreadState* __tstate = wxPyBeginAllowThreads();
19375 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19376
19377 wxPyEndAllowThreads(__tstate);
19378 if (PyErr_Occurred()) SWIG_fail;
19379 }
19380 Py_INCREF(Py_None); resultobj = Py_None;
19381 return resultobj;
19382 fail:
19383 return NULL;
19384 }
19385
19386
19387 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19388 PyObject *resultobj;
19389 wxListItem *arg1 = (wxListItem *) 0 ;
19390 wxFont *arg2 = 0 ;
19391 PyObject * obj0 = 0 ;
19392 PyObject * obj1 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "self",(char *) "font", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19401 SWIG_POINTER_EXCEPTION | 0)) == -1)
19402 SWIG_fail;
19403 if (arg2 == NULL) {
19404 PyErr_SetString(PyExc_TypeError,"null reference");
19405 SWIG_fail;
19406 }
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->SetFont((wxFont const &)*arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxListItem *arg1 = (wxListItem *) 0 ;
19424 long result;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 result = (long)(arg1)->GetMask();
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 resultobj = SWIG_FromLong((long)result);
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxListItem *arg1 = (wxListItem *) 0 ;
19450 long result;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19459 {
19460 PyThreadState* __tstate = wxPyBeginAllowThreads();
19461 result = (long)(arg1)->GetId();
19462
19463 wxPyEndAllowThreads(__tstate);
19464 if (PyErr_Occurred()) SWIG_fail;
19465 }
19466 resultobj = SWIG_FromLong((long)result);
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxListItem *arg1 = (wxListItem *) 0 ;
19476 int result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (int)(arg1)->GetColumn();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = SWIG_FromInt((int)result);
19493 return resultobj;
19494 fail:
19495 return NULL;
19496 }
19497
19498
19499 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxListItem *arg1 = (wxListItem *) 0 ;
19502 long result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 result = (long)(arg1)->GetState();
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_FromLong((long)result);
19519 return resultobj;
19520 fail:
19521 return NULL;
19522 }
19523
19524
19525 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19526 PyObject *resultobj;
19527 wxListItem *arg1 = (wxListItem *) 0 ;
19528 wxString *result;
19529 PyObject * obj0 = 0 ;
19530 char *kwnames[] = {
19531 (char *) "self", NULL
19532 };
19533
19534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19537 {
19538 PyThreadState* __tstate = wxPyBeginAllowThreads();
19539 {
19540 wxString const &_result_ref = (arg1)->GetText();
19541 result = (wxString *) &_result_ref;
19542 }
19543
19544 wxPyEndAllowThreads(__tstate);
19545 if (PyErr_Occurred()) SWIG_fail;
19546 }
19547 {
19548 #if wxUSE_UNICODE
19549 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19550 #else
19551 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19552 #endif
19553 }
19554 return resultobj;
19555 fail:
19556 return NULL;
19557 }
19558
19559
19560 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19561 PyObject *resultobj;
19562 wxListItem *arg1 = (wxListItem *) 0 ;
19563 int result;
19564 PyObject * obj0 = 0 ;
19565 char *kwnames[] = {
19566 (char *) "self", NULL
19567 };
19568
19569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (int)(arg1)->GetImage();
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 resultobj = SWIG_FromInt((int)result);
19580 return resultobj;
19581 fail:
19582 return NULL;
19583 }
19584
19585
19586 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxListItem *arg1 = (wxListItem *) 0 ;
19589 long result;
19590 PyObject * obj0 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = (long)(arg1)->GetData();
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
19605 resultobj = SWIG_FromLong((long)result);
19606 return resultobj;
19607 fail:
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxListItem *arg1 = (wxListItem *) 0 ;
19615 int result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (int)(arg1)->GetWidth();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
19631 resultobj = SWIG_FromInt((int)result);
19632 return resultobj;
19633 fail:
19634 return NULL;
19635 }
19636
19637
19638 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxListItem *arg1 = (wxListItem *) 0 ;
19641 int result;
19642 PyObject * obj0 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (int)(arg1)->GetAlign();
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = SWIG_FromInt((int)result);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListItem *arg1 = (wxListItem *) 0 ;
19667 wxListItemAttr *result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 result = (wxListItemAttr *)(arg1)->GetAttributes();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19684 return resultobj;
19685 fail:
19686 return NULL;
19687 }
19688
19689
19690 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxListItem *arg1 = (wxListItem *) 0 ;
19693 bool result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 result = (bool)(arg1)->HasAttributes();
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 {
19710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19711 }
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxListItem *arg1 = (wxListItem *) 0 ;
19721 wxColour result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 result = ((wxListItem const *)arg1)->GetTextColour();
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 {
19738 wxColour * resultptr;
19739 resultptr = new wxColour((wxColour &) result);
19740 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19741 }
19742 return resultobj;
19743 fail:
19744 return NULL;
19745 }
19746
19747
19748 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19749 PyObject *resultobj;
19750 wxListItem *arg1 = (wxListItem *) 0 ;
19751 wxColour result;
19752 PyObject * obj0 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self", NULL
19755 };
19756
19757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 {
19768 wxColour * resultptr;
19769 resultptr = new wxColour((wxColour &) result);
19770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19771 }
19772 return resultobj;
19773 fail:
19774 return NULL;
19775 }
19776
19777
19778 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxListItem *arg1 = (wxListItem *) 0 ;
19781 wxFont result;
19782 PyObject * obj0 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = ((wxListItem const *)arg1)->GetFont();
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 {
19798 wxFont * resultptr;
19799 resultptr = new wxFont((wxFont &) result);
19800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19801 }
19802 return resultobj;
19803 fail:
19804 return NULL;
19805 }
19806
19807
19808 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxListItem *arg1 = (wxListItem *) 0 ;
19811 long arg2 ;
19812 PyObject * obj0 = 0 ;
19813 PyObject * obj1 = 0 ;
19814 char *kwnames[] = {
19815 (char *) "self",(char *) "m_mask", NULL
19816 };
19817
19818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19821 arg2 = (long) SWIG_AsLong(obj1);
19822 if (PyErr_Occurred()) SWIG_fail;
19823 if (arg1) (arg1)->m_mask = arg2;
19824
19825 Py_INCREF(Py_None); resultobj = Py_None;
19826 return resultobj;
19827 fail:
19828 return NULL;
19829 }
19830
19831
19832 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19833 PyObject *resultobj;
19834 wxListItem *arg1 = (wxListItem *) 0 ;
19835 long result;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19844 result = (long) ((arg1)->m_mask);
19845
19846 resultobj = SWIG_FromLong((long)result);
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19854 PyObject *resultobj;
19855 wxListItem *arg1 = (wxListItem *) 0 ;
19856 long arg2 ;
19857 PyObject * obj0 = 0 ;
19858 PyObject * obj1 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self",(char *) "m_itemId", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19866 arg2 = (long) SWIG_AsLong(obj1);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 if (arg1) (arg1)->m_itemId = arg2;
19869
19870 Py_INCREF(Py_None); resultobj = Py_None;
19871 return resultobj;
19872 fail:
19873 return NULL;
19874 }
19875
19876
19877 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19878 PyObject *resultobj;
19879 wxListItem *arg1 = (wxListItem *) 0 ;
19880 long result;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19889 result = (long) ((arg1)->m_itemId);
19890
19891 resultobj = SWIG_FromLong((long)result);
19892 return resultobj;
19893 fail:
19894 return NULL;
19895 }
19896
19897
19898 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19899 PyObject *resultobj;
19900 wxListItem *arg1 = (wxListItem *) 0 ;
19901 int arg2 ;
19902 PyObject * obj0 = 0 ;
19903 PyObject * obj1 = 0 ;
19904 char *kwnames[] = {
19905 (char *) "self",(char *) "m_col", NULL
19906 };
19907
19908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19911 arg2 = (int) SWIG_AsInt(obj1);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 if (arg1) (arg1)->m_col = arg2;
19914
19915 Py_INCREF(Py_None); resultobj = Py_None;
19916 return resultobj;
19917 fail:
19918 return NULL;
19919 }
19920
19921
19922 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19923 PyObject *resultobj;
19924 wxListItem *arg1 = (wxListItem *) 0 ;
19925 int result;
19926 PyObject * obj0 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19934 result = (int) ((arg1)->m_col);
19935
19936 resultobj = SWIG_FromInt((int)result);
19937 return resultobj;
19938 fail:
19939 return NULL;
19940 }
19941
19942
19943 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19944 PyObject *resultobj;
19945 wxListItem *arg1 = (wxListItem *) 0 ;
19946 long arg2 ;
19947 PyObject * obj0 = 0 ;
19948 PyObject * obj1 = 0 ;
19949 char *kwnames[] = {
19950 (char *) "self",(char *) "m_state", NULL
19951 };
19952
19953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19956 arg2 = (long) SWIG_AsLong(obj1);
19957 if (PyErr_Occurred()) SWIG_fail;
19958 if (arg1) (arg1)->m_state = arg2;
19959
19960 Py_INCREF(Py_None); resultobj = Py_None;
19961 return resultobj;
19962 fail:
19963 return NULL;
19964 }
19965
19966
19967 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj;
19969 wxListItem *arg1 = (wxListItem *) 0 ;
19970 long result;
19971 PyObject * obj0 = 0 ;
19972 char *kwnames[] = {
19973 (char *) "self", NULL
19974 };
19975
19976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19979 result = (long) ((arg1)->m_state);
19980
19981 resultobj = SWIG_FromLong((long)result);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxListItem *arg1 = (wxListItem *) 0 ;
19991 long arg2 ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "m_stateMask", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20001 arg2 = (long) SWIG_AsLong(obj1);
20002 if (PyErr_Occurred()) SWIG_fail;
20003 if (arg1) (arg1)->m_stateMask = arg2;
20004
20005 Py_INCREF(Py_None); resultobj = Py_None;
20006 return resultobj;
20007 fail:
20008 return NULL;
20009 }
20010
20011
20012 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20013 PyObject *resultobj;
20014 wxListItem *arg1 = (wxListItem *) 0 ;
20015 long result;
20016 PyObject * obj0 = 0 ;
20017 char *kwnames[] = {
20018 (char *) "self", NULL
20019 };
20020
20021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20024 result = (long) ((arg1)->m_stateMask);
20025
20026 resultobj = SWIG_FromLong((long)result);
20027 return resultobj;
20028 fail:
20029 return NULL;
20030 }
20031
20032
20033 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20034 PyObject *resultobj;
20035 wxListItem *arg1 = (wxListItem *) 0 ;
20036 wxString *arg2 = (wxString *) 0 ;
20037 bool temp2 = False ;
20038 PyObject * obj0 = 0 ;
20039 PyObject * obj1 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self",(char *) "m_text", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20047 {
20048 arg2 = wxString_in_helper(obj1);
20049 if (arg2 == NULL) SWIG_fail;
20050 temp2 = True;
20051 }
20052 if (arg1) (arg1)->m_text = *arg2;
20053
20054 Py_INCREF(Py_None); resultobj = Py_None;
20055 {
20056 if (temp2)
20057 delete arg2;
20058 }
20059 return resultobj;
20060 fail:
20061 {
20062 if (temp2)
20063 delete arg2;
20064 }
20065 return NULL;
20066 }
20067
20068
20069 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20070 PyObject *resultobj;
20071 wxListItem *arg1 = (wxListItem *) 0 ;
20072 wxString *result;
20073 PyObject * obj0 = 0 ;
20074 char *kwnames[] = {
20075 (char *) "self", NULL
20076 };
20077
20078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20081 result = (wxString *)& ((arg1)->m_text);
20082
20083 {
20084 #if wxUSE_UNICODE
20085 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20086 #else
20087 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20088 #endif
20089 }
20090 return resultobj;
20091 fail:
20092 return NULL;
20093 }
20094
20095
20096 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20097 PyObject *resultobj;
20098 wxListItem *arg1 = (wxListItem *) 0 ;
20099 int arg2 ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "m_image", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20109 arg2 = (int) SWIG_AsInt(obj1);
20110 if (PyErr_Occurred()) SWIG_fail;
20111 if (arg1) (arg1)->m_image = arg2;
20112
20113 Py_INCREF(Py_None); resultobj = Py_None;
20114 return resultobj;
20115 fail:
20116 return NULL;
20117 }
20118
20119
20120 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20121 PyObject *resultobj;
20122 wxListItem *arg1 = (wxListItem *) 0 ;
20123 int result;
20124 PyObject * obj0 = 0 ;
20125 char *kwnames[] = {
20126 (char *) "self", NULL
20127 };
20128
20129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20132 result = (int) ((arg1)->m_image);
20133
20134 resultobj = SWIG_FromInt((int)result);
20135 return resultobj;
20136 fail:
20137 return NULL;
20138 }
20139
20140
20141 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20142 PyObject *resultobj;
20143 wxListItem *arg1 = (wxListItem *) 0 ;
20144 long arg2 ;
20145 PyObject * obj0 = 0 ;
20146 PyObject * obj1 = 0 ;
20147 char *kwnames[] = {
20148 (char *) "self",(char *) "m_data", NULL
20149 };
20150
20151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20154 arg2 = (long) SWIG_AsLong(obj1);
20155 if (PyErr_Occurred()) SWIG_fail;
20156 if (arg1) (arg1)->m_data = arg2;
20157
20158 Py_INCREF(Py_None); resultobj = Py_None;
20159 return resultobj;
20160 fail:
20161 return NULL;
20162 }
20163
20164
20165 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20166 PyObject *resultobj;
20167 wxListItem *arg1 = (wxListItem *) 0 ;
20168 long result;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20177 result = (long) ((arg1)->m_data);
20178
20179 resultobj = SWIG_FromLong((long)result);
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20187 PyObject *resultobj;
20188 wxListItem *arg1 = (wxListItem *) 0 ;
20189 int arg2 ;
20190 PyObject * obj0 = 0 ;
20191 PyObject * obj1 = 0 ;
20192 char *kwnames[] = {
20193 (char *) "self",(char *) "m_format", NULL
20194 };
20195
20196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20199 arg2 = (int) SWIG_AsInt(obj1);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 if (arg1) (arg1)->m_format = arg2;
20202
20203 Py_INCREF(Py_None); resultobj = Py_None;
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj;
20212 wxListItem *arg1 = (wxListItem *) 0 ;
20213 int result;
20214 PyObject * obj0 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20222 result = (int) ((arg1)->m_format);
20223
20224 resultobj = SWIG_FromInt((int)result);
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxListItem *arg1 = (wxListItem *) 0 ;
20234 int arg2 ;
20235 PyObject * obj0 = 0 ;
20236 PyObject * obj1 = 0 ;
20237 char *kwnames[] = {
20238 (char *) "self",(char *) "m_width", NULL
20239 };
20240
20241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20244 arg2 = (int) SWIG_AsInt(obj1);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 if (arg1) (arg1)->m_width = arg2;
20247
20248 Py_INCREF(Py_None); resultobj = Py_None;
20249 return resultobj;
20250 fail:
20251 return NULL;
20252 }
20253
20254
20255 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj;
20257 wxListItem *arg1 = (wxListItem *) 0 ;
20258 int result;
20259 PyObject * obj0 = 0 ;
20260 char *kwnames[] = {
20261 (char *) "self", NULL
20262 };
20263
20264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20267 result = (int) ((arg1)->m_width);
20268
20269 resultobj = SWIG_FromInt((int)result);
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20277 PyObject *obj;
20278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20279 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20280 Py_INCREF(obj);
20281 return Py_BuildValue((char *)"");
20282 }
20283 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20284 PyObject *resultobj;
20285 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20286 int arg2 = (int) 0 ;
20287 wxListEvent *result;
20288 PyObject * obj0 = 0 ;
20289 PyObject * obj1 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "commandType",(char *) "id", NULL
20292 };
20293
20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20295 if (obj0) {
20296 arg1 = (wxEventType) SWIG_AsInt(obj0);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 if (obj1) {
20300 arg2 = (int) SWIG_AsInt(obj1);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 {
20304 PyThreadState* __tstate = wxPyBeginAllowThreads();
20305 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20306
20307 wxPyEndAllowThreads(__tstate);
20308 if (PyErr_Occurred()) SWIG_fail;
20309 }
20310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxListEvent *arg1 = (wxListEvent *) 0 ;
20320 int arg2 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self",(char *) "m_code", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20330 arg2 = (int) SWIG_AsInt(obj1);
20331 if (PyErr_Occurred()) SWIG_fail;
20332 if (arg1) (arg1)->m_code = arg2;
20333
20334 Py_INCREF(Py_None); resultobj = Py_None;
20335 return resultobj;
20336 fail:
20337 return NULL;
20338 }
20339
20340
20341 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20342 PyObject *resultobj;
20343 wxListEvent *arg1 = (wxListEvent *) 0 ;
20344 int result;
20345 PyObject * obj0 = 0 ;
20346 char *kwnames[] = {
20347 (char *) "self", NULL
20348 };
20349
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20353 result = (int) ((arg1)->m_code);
20354
20355 resultobj = SWIG_FromInt((int)result);
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxListEvent *arg1 = (wxListEvent *) 0 ;
20365 long arg2 ;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "m_oldItemIndex", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20375 arg2 = (long) SWIG_AsLong(obj1);
20376 if (PyErr_Occurred()) SWIG_fail;
20377 if (arg1) (arg1)->m_oldItemIndex = arg2;
20378
20379 Py_INCREF(Py_None); resultobj = Py_None;
20380 return resultobj;
20381 fail:
20382 return NULL;
20383 }
20384
20385
20386 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20387 PyObject *resultobj;
20388 wxListEvent *arg1 = (wxListEvent *) 0 ;
20389 long result;
20390 PyObject * obj0 = 0 ;
20391 char *kwnames[] = {
20392 (char *) "self", NULL
20393 };
20394
20395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20398 result = (long) ((arg1)->m_oldItemIndex);
20399
20400 resultobj = SWIG_FromLong((long)result);
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxListEvent *arg1 = (wxListEvent *) 0 ;
20410 long arg2 ;
20411 PyObject * obj0 = 0 ;
20412 PyObject * obj1 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self",(char *) "m_itemIndex", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20420 arg2 = (long) SWIG_AsLong(obj1);
20421 if (PyErr_Occurred()) SWIG_fail;
20422 if (arg1) (arg1)->m_itemIndex = arg2;
20423
20424 Py_INCREF(Py_None); resultobj = Py_None;
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20432 PyObject *resultobj;
20433 wxListEvent *arg1 = (wxListEvent *) 0 ;
20434 long result;
20435 PyObject * obj0 = 0 ;
20436 char *kwnames[] = {
20437 (char *) "self", NULL
20438 };
20439
20440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20443 result = (long) ((arg1)->m_itemIndex);
20444
20445 resultobj = SWIG_FromLong((long)result);
20446 return resultobj;
20447 fail:
20448 return NULL;
20449 }
20450
20451
20452 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20453 PyObject *resultobj;
20454 wxListEvent *arg1 = (wxListEvent *) 0 ;
20455 int arg2 ;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 char *kwnames[] = {
20459 (char *) "self",(char *) "m_col", NULL
20460 };
20461
20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20465 arg2 = (int) SWIG_AsInt(obj1);
20466 if (PyErr_Occurred()) SWIG_fail;
20467 if (arg1) (arg1)->m_col = arg2;
20468
20469 Py_INCREF(Py_None); resultobj = Py_None;
20470 return resultobj;
20471 fail:
20472 return NULL;
20473 }
20474
20475
20476 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj;
20478 wxListEvent *arg1 = (wxListEvent *) 0 ;
20479 int result;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20488 result = (int) ((arg1)->m_col);
20489
20490 resultobj = SWIG_FromInt((int)result);
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxListEvent *arg1 = (wxListEvent *) 0 ;
20500 wxPoint *arg2 = (wxPoint *) 0 ;
20501 PyObject * obj0 = 0 ;
20502 PyObject * obj1 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "m_pointDrag", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20510 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20512 if (arg1) (arg1)->m_pointDrag = *arg2;
20513
20514 Py_INCREF(Py_None); resultobj = Py_None;
20515 return resultobj;
20516 fail:
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxListEvent *arg1 = (wxListEvent *) 0 ;
20524 wxPoint *result;
20525 PyObject * obj0 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20533 result = (wxPoint *)& ((arg1)->m_pointDrag);
20534
20535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20536 return resultobj;
20537 fail:
20538 return NULL;
20539 }
20540
20541
20542 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20543 PyObject *resultobj;
20544 wxListEvent *arg1 = (wxListEvent *) 0 ;
20545 wxListItem *result;
20546 PyObject * obj0 = 0 ;
20547 char *kwnames[] = {
20548 (char *) "self", NULL
20549 };
20550
20551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20554 result = (wxListItem *)& ((arg1)->m_item);
20555
20556 {
20557 resultobj = wxPyMake_wxObject(result);
20558 }
20559 return resultobj;
20560 fail:
20561 return NULL;
20562 }
20563
20564
20565 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20566 PyObject *resultobj;
20567 wxListEvent *arg1 = (wxListEvent *) 0 ;
20568 int result;
20569 PyObject * obj0 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 result = (int)(arg1)->GetKeyCode();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 resultobj = SWIG_FromInt((int)result);
20585 return resultobj;
20586 fail:
20587 return NULL;
20588 }
20589
20590
20591 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxListEvent *arg1 = (wxListEvent *) 0 ;
20594 long result;
20595 PyObject * obj0 = 0 ;
20596 char *kwnames[] = {
20597 (char *) "self", NULL
20598 };
20599
20600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 result = (long)(arg1)->GetIndex();
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 resultobj = SWIG_FromLong((long)result);
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxListEvent *arg1 = (wxListEvent *) 0 ;
20620 int result;
20621 PyObject * obj0 = 0 ;
20622 char *kwnames[] = {
20623 (char *) "self", NULL
20624 };
20625
20626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (int)(arg1)->GetColumn();
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_FromInt((int)result);
20637 return resultobj;
20638 fail:
20639 return NULL;
20640 }
20641
20642
20643 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20644 PyObject *resultobj;
20645 wxListEvent *arg1 = (wxListEvent *) 0 ;
20646 wxPoint result;
20647 PyObject * obj0 = 0 ;
20648 char *kwnames[] = {
20649 (char *) "self", NULL
20650 };
20651
20652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20655 {
20656 PyThreadState* __tstate = wxPyBeginAllowThreads();
20657 result = (arg1)->GetPoint();
20658
20659 wxPyEndAllowThreads(__tstate);
20660 if (PyErr_Occurred()) SWIG_fail;
20661 }
20662 {
20663 wxPoint * resultptr;
20664 resultptr = new wxPoint((wxPoint &) result);
20665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20666 }
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxListEvent *arg1 = (wxListEvent *) 0 ;
20676 wxString *result;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20685 {
20686 PyThreadState* __tstate = wxPyBeginAllowThreads();
20687 {
20688 wxString const &_result_ref = (arg1)->GetLabel();
20689 result = (wxString *) &_result_ref;
20690 }
20691
20692 wxPyEndAllowThreads(__tstate);
20693 if (PyErr_Occurred()) SWIG_fail;
20694 }
20695 {
20696 #if wxUSE_UNICODE
20697 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20698 #else
20699 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20700 #endif
20701 }
20702 return resultobj;
20703 fail:
20704 return NULL;
20705 }
20706
20707
20708 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxListEvent *arg1 = (wxListEvent *) 0 ;
20711 wxString *result;
20712 PyObject * obj0 = 0 ;
20713 char *kwnames[] = {
20714 (char *) "self", NULL
20715 };
20716
20717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20720 {
20721 PyThreadState* __tstate = wxPyBeginAllowThreads();
20722 {
20723 wxString const &_result_ref = (arg1)->GetText();
20724 result = (wxString *) &_result_ref;
20725 }
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 {
20731 #if wxUSE_UNICODE
20732 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20733 #else
20734 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20735 #endif
20736 }
20737 return resultobj;
20738 fail:
20739 return NULL;
20740 }
20741
20742
20743 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20744 PyObject *resultobj;
20745 wxListEvent *arg1 = (wxListEvent *) 0 ;
20746 int result;
20747 PyObject * obj0 = 0 ;
20748 char *kwnames[] = {
20749 (char *) "self", NULL
20750 };
20751
20752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20755 {
20756 PyThreadState* __tstate = wxPyBeginAllowThreads();
20757 result = (int)(arg1)->GetImage();
20758
20759 wxPyEndAllowThreads(__tstate);
20760 if (PyErr_Occurred()) SWIG_fail;
20761 }
20762 resultobj = SWIG_FromInt((int)result);
20763 return resultobj;
20764 fail:
20765 return NULL;
20766 }
20767
20768
20769 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20770 PyObject *resultobj;
20771 wxListEvent *arg1 = (wxListEvent *) 0 ;
20772 long result;
20773 PyObject * obj0 = 0 ;
20774 char *kwnames[] = {
20775 (char *) "self", NULL
20776 };
20777
20778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20781 {
20782 PyThreadState* __tstate = wxPyBeginAllowThreads();
20783 result = (long)(arg1)->GetData();
20784
20785 wxPyEndAllowThreads(__tstate);
20786 if (PyErr_Occurred()) SWIG_fail;
20787 }
20788 resultobj = SWIG_FromLong((long)result);
20789 return resultobj;
20790 fail:
20791 return NULL;
20792 }
20793
20794
20795 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20796 PyObject *resultobj;
20797 wxListEvent *arg1 = (wxListEvent *) 0 ;
20798 long result;
20799 PyObject * obj0 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 result = (long)(arg1)->GetMask();
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 resultobj = SWIG_FromLong((long)result);
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20822 PyObject *resultobj;
20823 wxListEvent *arg1 = (wxListEvent *) 0 ;
20824 wxListItem *result;
20825 PyObject * obj0 = 0 ;
20826 char *kwnames[] = {
20827 (char *) "self", NULL
20828 };
20829
20830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20833 {
20834 PyThreadState* __tstate = wxPyBeginAllowThreads();
20835 {
20836 wxListItem const &_result_ref = (arg1)->GetItem();
20837 result = (wxListItem *) &_result_ref;
20838 }
20839
20840 wxPyEndAllowThreads(__tstate);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20844 return resultobj;
20845 fail:
20846 return NULL;
20847 }
20848
20849
20850 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20851 PyObject *resultobj;
20852 wxListEvent *arg1 = (wxListEvent *) 0 ;
20853 long result;
20854 PyObject * obj0 = 0 ;
20855 char *kwnames[] = {
20856 (char *) "self", NULL
20857 };
20858
20859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (long)(arg1)->GetCacheFrom();
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_FromLong((long)result);
20870 return resultobj;
20871 fail:
20872 return NULL;
20873 }
20874
20875
20876 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxListEvent *arg1 = (wxListEvent *) 0 ;
20879 long result;
20880 PyObject * obj0 = 0 ;
20881 char *kwnames[] = {
20882 (char *) "self", NULL
20883 };
20884
20885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20888 {
20889 PyThreadState* __tstate = wxPyBeginAllowThreads();
20890 result = (long)(arg1)->GetCacheTo();
20891
20892 wxPyEndAllowThreads(__tstate);
20893 if (PyErr_Occurred()) SWIG_fail;
20894 }
20895 resultobj = SWIG_FromLong((long)result);
20896 return resultobj;
20897 fail:
20898 return NULL;
20899 }
20900
20901
20902 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20903 PyObject *resultobj;
20904 wxListEvent *arg1 = (wxListEvent *) 0 ;
20905 bool result;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 {
20915 PyThreadState* __tstate = wxPyBeginAllowThreads();
20916 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20917
20918 wxPyEndAllowThreads(__tstate);
20919 if (PyErr_Occurred()) SWIG_fail;
20920 }
20921 {
20922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20923 }
20924 return resultobj;
20925 fail:
20926 return NULL;
20927 }
20928
20929
20930 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxListEvent *arg1 = (wxListEvent *) 0 ;
20933 bool arg2 ;
20934 PyObject * obj0 = 0 ;
20935 PyObject * obj1 = 0 ;
20936 char *kwnames[] = {
20937 (char *) "self",(char *) "editCancelled", NULL
20938 };
20939
20940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20943 arg2 = (bool) SWIG_AsBool(obj1);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 (arg1)->SetEditCanceled(arg2);
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 Py_INCREF(Py_None); resultobj = Py_None;
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20960 PyObject *obj;
20961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20962 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20963 Py_INCREF(obj);
20964 return Py_BuildValue((char *)"");
20965 }
20966 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxWindow *arg1 = (wxWindow *) 0 ;
20969 int arg2 = (int) -1 ;
20970 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20971 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20972 wxSize const &arg4_defvalue = wxDefaultSize ;
20973 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20974 long arg5 = (long) wxLC_ICON ;
20975 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20976 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20977 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20978 wxString *arg7 = (wxString *) &arg7_defvalue ;
20979 wxPyListCtrl *result;
20980 wxPoint temp3 ;
20981 wxSize temp4 ;
20982 bool temp7 = False ;
20983 PyObject * obj0 = 0 ;
20984 PyObject * obj1 = 0 ;
20985 PyObject * obj2 = 0 ;
20986 PyObject * obj3 = 0 ;
20987 PyObject * obj4 = 0 ;
20988 PyObject * obj5 = 0 ;
20989 PyObject * obj6 = 0 ;
20990 char *kwnames[] = {
20991 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20992 };
20993
20994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20997 if (obj1) {
20998 arg2 = (int) SWIG_AsInt(obj1);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 if (obj2) {
21002 {
21003 arg3 = &temp3;
21004 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21005 }
21006 }
21007 if (obj3) {
21008 {
21009 arg4 = &temp4;
21010 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21011 }
21012 }
21013 if (obj4) {
21014 arg5 = (long) SWIG_AsLong(obj4);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 }
21017 if (obj5) {
21018 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21019 SWIG_POINTER_EXCEPTION | 0)) == -1)
21020 SWIG_fail;
21021 if (arg6 == NULL) {
21022 PyErr_SetString(PyExc_TypeError,"null reference");
21023 SWIG_fail;
21024 }
21025 }
21026 if (obj6) {
21027 {
21028 arg7 = wxString_in_helper(obj6);
21029 if (arg7 == NULL) SWIG_fail;
21030 temp7 = True;
21031 }
21032 }
21033 {
21034 if (!wxPyCheckForApp()) SWIG_fail;
21035 PyThreadState* __tstate = wxPyBeginAllowThreads();
21036 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21037
21038 wxPyEndAllowThreads(__tstate);
21039 if (PyErr_Occurred()) SWIG_fail;
21040 }
21041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21042 {
21043 if (temp7)
21044 delete arg7;
21045 }
21046 return resultobj;
21047 fail:
21048 {
21049 if (temp7)
21050 delete arg7;
21051 }
21052 return NULL;
21053 }
21054
21055
21056 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21057 PyObject *resultobj;
21058 wxPyListCtrl *result;
21059 char *kwnames[] = {
21060 NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21064 {
21065 if (!wxPyCheckForApp()) SWIG_fail;
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 result = (wxPyListCtrl *)new wxPyListCtrl();
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21082 wxWindow *arg2 = (wxWindow *) 0 ;
21083 int arg3 = (int) -1 ;
21084 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21085 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21086 wxSize const &arg5_defvalue = wxDefaultSize ;
21087 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21088 long arg6 = (long) wxLC_ICON ;
21089 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21090 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21091 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21092 wxString *arg8 = (wxString *) &arg8_defvalue ;
21093 bool result;
21094 wxPoint temp4 ;
21095 wxSize temp5 ;
21096 bool temp8 = False ;
21097 PyObject * obj0 = 0 ;
21098 PyObject * obj1 = 0 ;
21099 PyObject * obj2 = 0 ;
21100 PyObject * obj3 = 0 ;
21101 PyObject * obj4 = 0 ;
21102 PyObject * obj5 = 0 ;
21103 PyObject * obj6 = 0 ;
21104 PyObject * obj7 = 0 ;
21105 char *kwnames[] = {
21106 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21107 };
21108
21109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21112 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21114 if (obj2) {
21115 arg3 = (int) SWIG_AsInt(obj2);
21116 if (PyErr_Occurred()) SWIG_fail;
21117 }
21118 if (obj3) {
21119 {
21120 arg4 = &temp4;
21121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21122 }
21123 }
21124 if (obj4) {
21125 {
21126 arg5 = &temp5;
21127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21128 }
21129 }
21130 if (obj5) {
21131 arg6 = (long) SWIG_AsLong(obj5);
21132 if (PyErr_Occurred()) SWIG_fail;
21133 }
21134 if (obj6) {
21135 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21136 SWIG_POINTER_EXCEPTION | 0)) == -1)
21137 SWIG_fail;
21138 if (arg7 == NULL) {
21139 PyErr_SetString(PyExc_TypeError,"null reference");
21140 SWIG_fail;
21141 }
21142 }
21143 if (obj7) {
21144 {
21145 arg8 = wxString_in_helper(obj7);
21146 if (arg8 == NULL) SWIG_fail;
21147 temp8 = True;
21148 }
21149 }
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 {
21158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21159 }
21160 {
21161 if (temp8)
21162 delete arg8;
21163 }
21164 return resultobj;
21165 fail:
21166 {
21167 if (temp8)
21168 delete arg8;
21169 }
21170 return NULL;
21171 }
21172
21173
21174 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21177 PyObject *arg2 = (PyObject *) 0 ;
21178 PyObject *arg3 = (PyObject *) 0 ;
21179 PyObject * obj0 = 0 ;
21180 PyObject * obj1 = 0 ;
21181 PyObject * obj2 = 0 ;
21182 char *kwnames[] = {
21183 (char *) "self",(char *) "self",(char *) "_class", NULL
21184 };
21185
21186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21189 arg2 = obj1;
21190 arg3 = obj2;
21191 {
21192 PyThreadState* __tstate = wxPyBeginAllowThreads();
21193 (arg1)->_setCallbackInfo(arg2,arg3);
21194
21195 wxPyEndAllowThreads(__tstate);
21196 if (PyErr_Occurred()) SWIG_fail;
21197 }
21198 Py_INCREF(Py_None); resultobj = Py_None;
21199 return resultobj;
21200 fail:
21201 return NULL;
21202 }
21203
21204
21205 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21206 PyObject *resultobj;
21207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21208 wxColour *arg2 = 0 ;
21209 bool result;
21210 wxColour temp2 ;
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "col", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21220 {
21221 arg2 = &temp2;
21222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21233 }
21234 return resultobj;
21235 fail:
21236 return NULL;
21237 }
21238
21239
21240 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21241 PyObject *resultobj;
21242 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21243 wxColour *arg2 = 0 ;
21244 bool result;
21245 wxColour temp2 ;
21246 PyObject * obj0 = 0 ;
21247 PyObject * obj1 = 0 ;
21248 char *kwnames[] = {
21249 (char *) "self",(char *) "col", NULL
21250 };
21251
21252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21255 {
21256 arg2 = &temp2;
21257 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21258 }
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 {
21267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21268 }
21269 return resultobj;
21270 fail:
21271 return NULL;
21272 }
21273
21274
21275 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21276 PyObject *resultobj;
21277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21278 int arg2 ;
21279 wxListItem *result;
21280 PyObject * obj0 = 0 ;
21281 PyObject * obj1 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self",(char *) "col", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21289 arg2 = (int) SWIG_AsInt(obj1);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 {
21292 PyThreadState* __tstate = wxPyBeginAllowThreads();
21293 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21294
21295 wxPyEndAllowThreads(__tstate);
21296 if (PyErr_Occurred()) SWIG_fail;
21297 }
21298 {
21299 resultobj = wxPyMake_wxObject(result);
21300 }
21301 return resultobj;
21302 fail:
21303 return NULL;
21304 }
21305
21306
21307 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21308 PyObject *resultobj;
21309 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21310 int arg2 ;
21311 wxListItem *arg3 = 0 ;
21312 bool result;
21313 PyObject * obj0 = 0 ;
21314 PyObject * obj1 = 0 ;
21315 PyObject * obj2 = 0 ;
21316 char *kwnames[] = {
21317 (char *) "self",(char *) "col",(char *) "item", NULL
21318 };
21319
21320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21323 arg2 = (int) SWIG_AsInt(obj1);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21326 SWIG_POINTER_EXCEPTION | 0)) == -1)
21327 SWIG_fail;
21328 if (arg3 == NULL) {
21329 PyErr_SetString(PyExc_TypeError,"null reference");
21330 SWIG_fail;
21331 }
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 {
21340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21341 }
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21351 int arg2 ;
21352 int result;
21353 PyObject * obj0 = 0 ;
21354 PyObject * obj1 = 0 ;
21355 char *kwnames[] = {
21356 (char *) "self",(char *) "col", NULL
21357 };
21358
21359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21362 arg2 = (int) SWIG_AsInt(obj1);
21363 if (PyErr_Occurred()) SWIG_fail;
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 resultobj = SWIG_FromInt((int)result);
21372 return resultobj;
21373 fail:
21374 return NULL;
21375 }
21376
21377
21378 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21381 int arg2 ;
21382 int arg3 ;
21383 bool result;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 PyObject * obj2 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "col",(char *) "width", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21394 arg2 = (int) SWIG_AsInt(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 arg3 = (int) SWIG_AsInt(obj2);
21397 if (PyErr_Occurred()) SWIG_fail;
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 {
21406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21407 }
21408 return resultobj;
21409 fail:
21410 return NULL;
21411 }
21412
21413
21414 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21415 PyObject *resultobj;
21416 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21417 int result;
21418 PyObject * obj0 = 0 ;
21419 char *kwnames[] = {
21420 (char *) "self", NULL
21421 };
21422
21423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21426 {
21427 PyThreadState* __tstate = wxPyBeginAllowThreads();
21428 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21429
21430 wxPyEndAllowThreads(__tstate);
21431 if (PyErr_Occurred()) SWIG_fail;
21432 }
21433 resultobj = SWIG_FromInt((int)result);
21434 return resultobj;
21435 fail:
21436 return NULL;
21437 }
21438
21439
21440 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21441 PyObject *resultobj;
21442 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21443 wxRect result;
21444 PyObject * obj0 = 0 ;
21445 char *kwnames[] = {
21446 (char *) "self", NULL
21447 };
21448
21449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21452 {
21453 PyThreadState* __tstate = wxPyBeginAllowThreads();
21454 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21455
21456 wxPyEndAllowThreads(__tstate);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
21459 {
21460 wxRect * resultptr;
21461 resultptr = new wxRect((wxRect &) result);
21462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21463 }
21464 return resultobj;
21465 fail:
21466 return NULL;
21467 }
21468
21469
21470 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21471 PyObject *resultobj;
21472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21473 long arg2 ;
21474 int arg3 = (int) 0 ;
21475 wxListItem *result;
21476 PyObject * obj0 = 0 ;
21477 PyObject * obj1 = 0 ;
21478 PyObject * obj2 = 0 ;
21479 char *kwnames[] = {
21480 (char *) "self",(char *) "itemId",(char *) "col", NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21486 arg2 = (long) SWIG_AsLong(obj1);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 if (obj2) {
21489 arg3 = (int) SWIG_AsInt(obj2);
21490 if (PyErr_Occurred()) SWIG_fail;
21491 }
21492 {
21493 PyThreadState* __tstate = wxPyBeginAllowThreads();
21494 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21495
21496 wxPyEndAllowThreads(__tstate);
21497 if (PyErr_Occurred()) SWIG_fail;
21498 }
21499 {
21500 resultobj = wxPyMake_wxObject(result);
21501 }
21502 return resultobj;
21503 fail:
21504 return NULL;
21505 }
21506
21507
21508 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21509 PyObject *resultobj;
21510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21511 wxListItem *arg2 = 0 ;
21512 bool result;
21513 PyObject * obj0 = 0 ;
21514 PyObject * obj1 = 0 ;
21515 char *kwnames[] = {
21516 (char *) "self",(char *) "info", NULL
21517 };
21518
21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21523 SWIG_POINTER_EXCEPTION | 0)) == -1)
21524 SWIG_fail;
21525 if (arg2 == NULL) {
21526 PyErr_SetString(PyExc_TypeError,"null reference");
21527 SWIG_fail;
21528 }
21529 {
21530 PyThreadState* __tstate = wxPyBeginAllowThreads();
21531 result = (bool)(arg1)->SetItem(*arg2);
21532
21533 wxPyEndAllowThreads(__tstate);
21534 if (PyErr_Occurred()) SWIG_fail;
21535 }
21536 {
21537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21538 }
21539 return resultobj;
21540 fail:
21541 return NULL;
21542 }
21543
21544
21545 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21546 PyObject *resultobj;
21547 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21548 long arg2 ;
21549 int arg3 ;
21550 wxString *arg4 = 0 ;
21551 int arg5 = (int) -1 ;
21552 long result;
21553 bool temp4 = False ;
21554 PyObject * obj0 = 0 ;
21555 PyObject * obj1 = 0 ;
21556 PyObject * obj2 = 0 ;
21557 PyObject * obj3 = 0 ;
21558 PyObject * obj4 = 0 ;
21559 char *kwnames[] = {
21560 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21561 };
21562
21563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21566 arg2 = (long) SWIG_AsLong(obj1);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 arg3 = (int) SWIG_AsInt(obj2);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 {
21571 arg4 = wxString_in_helper(obj3);
21572 if (arg4 == NULL) SWIG_fail;
21573 temp4 = True;
21574 }
21575 if (obj4) {
21576 arg5 = (int) SWIG_AsInt(obj4);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 {
21580 PyThreadState* __tstate = wxPyBeginAllowThreads();
21581 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21582
21583 wxPyEndAllowThreads(__tstate);
21584 if (PyErr_Occurred()) SWIG_fail;
21585 }
21586 resultobj = SWIG_FromLong((long)result);
21587 {
21588 if (temp4)
21589 delete arg4;
21590 }
21591 return resultobj;
21592 fail:
21593 {
21594 if (temp4)
21595 delete arg4;
21596 }
21597 return NULL;
21598 }
21599
21600
21601 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21602 PyObject *resultobj;
21603 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21604 long arg2 ;
21605 long arg3 ;
21606 int result;
21607 PyObject * obj0 = 0 ;
21608 PyObject * obj1 = 0 ;
21609 PyObject * obj2 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 arg2 = (long) SWIG_AsLong(obj1);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 arg3 = (long) SWIG_AsLong(obj2);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 {
21622 PyThreadState* __tstate = wxPyBeginAllowThreads();
21623 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21624
21625 wxPyEndAllowThreads(__tstate);
21626 if (PyErr_Occurred()) SWIG_fail;
21627 }
21628 resultobj = SWIG_FromInt((int)result);
21629 return resultobj;
21630 fail:
21631 return NULL;
21632 }
21633
21634
21635 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21636 PyObject *resultobj;
21637 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21638 long arg2 ;
21639 long arg3 ;
21640 long arg4 ;
21641 bool result;
21642 PyObject * obj0 = 0 ;
21643 PyObject * obj1 = 0 ;
21644 PyObject * obj2 = 0 ;
21645 PyObject * obj3 = 0 ;
21646 char *kwnames[] = {
21647 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21648 };
21649
21650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21653 arg2 = (long) SWIG_AsLong(obj1);
21654 if (PyErr_Occurred()) SWIG_fail;
21655 arg3 = (long) SWIG_AsLong(obj2);
21656 if (PyErr_Occurred()) SWIG_fail;
21657 arg4 = (long) SWIG_AsLong(obj3);
21658 if (PyErr_Occurred()) SWIG_fail;
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 {
21667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21668 }
21669 return resultobj;
21670 fail:
21671 return NULL;
21672 }
21673
21674
21675 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21678 long arg2 ;
21679 int arg3 ;
21680 int arg4 ;
21681 bool result;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 PyObject * obj2 = 0 ;
21685 PyObject * obj3 = 0 ;
21686 char *kwnames[] = {
21687 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21688 };
21689
21690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21693 arg2 = (long) SWIG_AsLong(obj1);
21694 if (PyErr_Occurred()) SWIG_fail;
21695 arg3 = (int) SWIG_AsInt(obj2);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 arg4 = (int) SWIG_AsInt(obj3);
21698 if (PyErr_Occurred()) SWIG_fail;
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 {
21707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21708 }
21709 return resultobj;
21710 fail:
21711 return NULL;
21712 }
21713
21714
21715 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21716 PyObject *resultobj;
21717 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21718 long arg2 ;
21719 wxString result;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 char *kwnames[] = {
21723 (char *) "self",(char *) "item", NULL
21724 };
21725
21726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21729 arg2 = (long) SWIG_AsLong(obj1);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
21738 {
21739 #if wxUSE_UNICODE
21740 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21741 #else
21742 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21743 #endif
21744 }
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21754 long arg2 ;
21755 wxString *arg3 = 0 ;
21756 bool temp3 = False ;
21757 PyObject * obj0 = 0 ;
21758 PyObject * obj1 = 0 ;
21759 PyObject * obj2 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "item",(char *) "str", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21767 arg2 = (long) SWIG_AsLong(obj1);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 {
21770 arg3 = wxString_in_helper(obj2);
21771 if (arg3 == NULL) SWIG_fail;
21772 temp3 = True;
21773 }
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 Py_INCREF(Py_None); resultobj = Py_None;
21782 {
21783 if (temp3)
21784 delete arg3;
21785 }
21786 return resultobj;
21787 fail:
21788 {
21789 if (temp3)
21790 delete arg3;
21791 }
21792 return NULL;
21793 }
21794
21795
21796 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21797 PyObject *resultobj;
21798 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21799 long arg2 ;
21800 long result;
21801 PyObject * obj0 = 0 ;
21802 PyObject * obj1 = 0 ;
21803 char *kwnames[] = {
21804 (char *) "self",(char *) "item", NULL
21805 };
21806
21807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21810 arg2 = (long) SWIG_AsLong(obj1);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 resultobj = SWIG_FromLong((long)result);
21820 return resultobj;
21821 fail:
21822 return NULL;
21823 }
21824
21825
21826 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21829 long arg2 ;
21830 long arg3 ;
21831 bool result;
21832 PyObject * obj0 = 0 ;
21833 PyObject * obj1 = 0 ;
21834 PyObject * obj2 = 0 ;
21835 char *kwnames[] = {
21836 (char *) "self",(char *) "item",(char *) "data", NULL
21837 };
21838
21839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21842 arg2 = (long) SWIG_AsLong(obj1);
21843 if (PyErr_Occurred()) SWIG_fail;
21844 arg3 = (long) SWIG_AsLong(obj2);
21845 if (PyErr_Occurred()) SWIG_fail;
21846 {
21847 PyThreadState* __tstate = wxPyBeginAllowThreads();
21848 result = (bool)(arg1)->SetItemData(arg2,arg3);
21849
21850 wxPyEndAllowThreads(__tstate);
21851 if (PyErr_Occurred()) SWIG_fail;
21852 }
21853 {
21854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21855 }
21856 return resultobj;
21857 fail:
21858 return NULL;
21859 }
21860
21861
21862 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21863 PyObject *resultobj;
21864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21865 long arg2 ;
21866 wxPoint result;
21867 PyObject * obj0 = 0 ;
21868 PyObject * obj1 = 0 ;
21869 char *kwnames[] = {
21870 (char *) "self",(char *) "item", NULL
21871 };
21872
21873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21876 arg2 = (long) SWIG_AsLong(obj1);
21877 if (PyErr_Occurred()) SWIG_fail;
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 {
21886 wxPoint * resultptr;
21887 resultptr = new wxPoint((wxPoint &) result);
21888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21889 }
21890 return resultobj;
21891 fail:
21892 return NULL;
21893 }
21894
21895
21896 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21897 PyObject *resultobj;
21898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21899 long arg2 ;
21900 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21901 wxRect result;
21902 PyObject * obj0 = 0 ;
21903 PyObject * obj1 = 0 ;
21904 PyObject * obj2 = 0 ;
21905 char *kwnames[] = {
21906 (char *) "self",(char *) "item",(char *) "code", NULL
21907 };
21908
21909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21912 arg2 = (long) SWIG_AsLong(obj1);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 if (obj2) {
21915 arg3 = (int) SWIG_AsInt(obj2);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 {
21919 PyThreadState* __tstate = wxPyBeginAllowThreads();
21920 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21921
21922 wxPyEndAllowThreads(__tstate);
21923 if (PyErr_Occurred()) SWIG_fail;
21924 }
21925 {
21926 wxRect * resultptr;
21927 resultptr = new wxRect((wxRect &) result);
21928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21929 }
21930 return resultobj;
21931 fail:
21932 return NULL;
21933 }
21934
21935
21936 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21937 PyObject *resultobj;
21938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21939 long arg2 ;
21940 wxPoint *arg3 = 0 ;
21941 bool result;
21942 wxPoint temp3 ;
21943 PyObject * obj0 = 0 ;
21944 PyObject * obj1 = 0 ;
21945 PyObject * obj2 = 0 ;
21946 char *kwnames[] = {
21947 (char *) "self",(char *) "item",(char *) "pos", NULL
21948 };
21949
21950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21953 arg2 = (long) SWIG_AsLong(obj1);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 {
21956 arg3 = &temp3;
21957 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21958 }
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
21961 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 {
21967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21968 }
21969 return resultobj;
21970 fail:
21971 return NULL;
21972 }
21973
21974
21975 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21976 PyObject *resultobj;
21977 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21978 int result;
21979 PyObject * obj0 = 0 ;
21980 char *kwnames[] = {
21981 (char *) "self", NULL
21982 };
21983
21984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21987 {
21988 PyThreadState* __tstate = wxPyBeginAllowThreads();
21989 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21990
21991 wxPyEndAllowThreads(__tstate);
21992 if (PyErr_Occurred()) SWIG_fail;
21993 }
21994 resultobj = SWIG_FromInt((int)result);
21995 return resultobj;
21996 fail:
21997 return NULL;
21998 }
21999
22000
22001 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22004 int result;
22005 PyObject * obj0 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22013 {
22014 PyThreadState* __tstate = wxPyBeginAllowThreads();
22015 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22016
22017 wxPyEndAllowThreads(__tstate);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 resultobj = SWIG_FromInt((int)result);
22021 return resultobj;
22022 fail:
22023 return NULL;
22024 }
22025
22026
22027 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22028 PyObject *resultobj;
22029 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22030 wxSize result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 {
22040 PyThreadState* __tstate = wxPyBeginAllowThreads();
22041 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22042
22043 wxPyEndAllowThreads(__tstate);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 }
22046 {
22047 wxSize * resultptr;
22048 resultptr = new wxSize((wxSize &) result);
22049 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22050 }
22051 return resultobj;
22052 fail:
22053 return NULL;
22054 }
22055
22056
22057 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22058 PyObject *resultobj;
22059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22060 int arg2 ;
22061 bool arg3 = (bool) False ;
22062 PyObject * obj0 = 0 ;
22063 PyObject * obj1 = 0 ;
22064 PyObject * obj2 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
22070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 arg2 = (int) SWIG_AsInt(obj1);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 if (obj2) {
22075 arg3 = (bool) SWIG_AsBool(obj2);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 (arg1)->SetItemSpacing(arg2,arg3);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 Py_INCREF(Py_None); resultobj = Py_None;
22086 return resultobj;
22087 fail:
22088 return NULL;
22089 }
22090
22091
22092 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22093 PyObject *resultobj;
22094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22095 int result;
22096 PyObject * obj0 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 resultobj = SWIG_FromInt((int)result);
22112 return resultobj;
22113 fail:
22114 return NULL;
22115 }
22116
22117
22118 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22121 wxColour result;
22122 PyObject * obj0 = 0 ;
22123 char *kwnames[] = {
22124 (char *) "self", NULL
22125 };
22126
22127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 {
22138 wxColour * resultptr;
22139 resultptr = new wxColour((wxColour &) result);
22140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22141 }
22142 return resultobj;
22143 fail:
22144 return NULL;
22145 }
22146
22147
22148 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22151 wxColour *arg2 = 0 ;
22152 wxColour temp2 ;
22153 PyObject * obj0 = 0 ;
22154 PyObject * obj1 = 0 ;
22155 char *kwnames[] = {
22156 (char *) "self",(char *) "col", NULL
22157 };
22158
22159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22162 {
22163 arg2 = &temp2;
22164 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22165 }
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 (arg1)->SetTextColour((wxColour const &)*arg2);
22169
22170 wxPyEndAllowThreads(__tstate);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
22173 Py_INCREF(Py_None); resultobj = Py_None;
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj;
22182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22183 long result;
22184 PyObject * obj0 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22192 {
22193 PyThreadState* __tstate = wxPyBeginAllowThreads();
22194 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22195
22196 wxPyEndAllowThreads(__tstate);
22197 if (PyErr_Occurred()) SWIG_fail;
22198 }
22199 resultobj = SWIG_FromLong((long)result);
22200 return resultobj;
22201 fail:
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22209 long arg2 ;
22210 bool arg3 = (bool) True ;
22211 PyObject * obj0 = 0 ;
22212 PyObject * obj1 = 0 ;
22213 PyObject * obj2 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self",(char *) "style",(char *) "add", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22221 arg2 = (long) SWIG_AsLong(obj1);
22222 if (PyErr_Occurred()) SWIG_fail;
22223 if (obj2) {
22224 arg3 = (bool) SWIG_AsBool(obj2);
22225 if (PyErr_Occurred()) SWIG_fail;
22226 }
22227 {
22228 PyThreadState* __tstate = wxPyBeginAllowThreads();
22229 (arg1)->SetSingleStyle(arg2,arg3);
22230
22231 wxPyEndAllowThreads(__tstate);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 }
22234 Py_INCREF(Py_None); resultobj = Py_None;
22235 return resultobj;
22236 fail:
22237 return NULL;
22238 }
22239
22240
22241 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22242 PyObject *resultobj;
22243 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22244 long arg2 ;
22245 PyObject * obj0 = 0 ;
22246 PyObject * obj1 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self",(char *) "style", NULL
22249 };
22250
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22254 arg2 = (long) SWIG_AsLong(obj1);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 (arg1)->SetWindowStyleFlag(arg2);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 Py_INCREF(Py_None); resultobj = Py_None;
22264 return resultobj;
22265 fail:
22266 return NULL;
22267 }
22268
22269
22270 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22273 long arg2 ;
22274 int arg3 = (int) wxLIST_NEXT_ALL ;
22275 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22276 long result;
22277 PyObject * obj0 = 0 ;
22278 PyObject * obj1 = 0 ;
22279 PyObject * obj2 = 0 ;
22280 PyObject * obj3 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22288 arg2 = (long) SWIG_AsLong(obj1);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 if (obj2) {
22291 arg3 = (int) SWIG_AsInt(obj2);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 if (obj3) {
22295 arg4 = (int) SWIG_AsInt(obj3);
22296 if (PyErr_Occurred()) SWIG_fail;
22297 }
22298 {
22299 PyThreadState* __tstate = wxPyBeginAllowThreads();
22300 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22301
22302 wxPyEndAllowThreads(__tstate);
22303 if (PyErr_Occurred()) SWIG_fail;
22304 }
22305 resultobj = SWIG_FromLong((long)result);
22306 return resultobj;
22307 fail:
22308 return NULL;
22309 }
22310
22311
22312 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22315 int arg2 ;
22316 wxImageList *result;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self",(char *) "which", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22326 arg2 = (int) SWIG_AsInt(obj1);
22327 if (PyErr_Occurred()) SWIG_fail;
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 {
22336 resultobj = wxPyMake_wxObject(result);
22337 }
22338 return resultobj;
22339 fail:
22340 return NULL;
22341 }
22342
22343
22344 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22345 PyObject *resultobj;
22346 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22347 wxImageList *arg2 = (wxImageList *) 0 ;
22348 int arg3 ;
22349 PyObject * obj0 = 0 ;
22350 PyObject * obj1 = 0 ;
22351 PyObject * obj2 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self",(char *) "imageList",(char *) "which", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22361 arg3 = (int) SWIG_AsInt(obj2);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 (arg1)->SetImageList(arg2,arg3);
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 Py_INCREF(Py_None); resultobj = Py_None;
22371 return resultobj;
22372 fail:
22373 return NULL;
22374 }
22375
22376
22377 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22378 PyObject *resultobj;
22379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22380 wxImageList *arg2 = (wxImageList *) 0 ;
22381 int arg3 ;
22382 PyObject * obj0 = 0 ;
22383 PyObject * obj1 = 0 ;
22384 PyObject * obj2 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "imageList",(char *) "which", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22392 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22393 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22394 arg3 = (int) SWIG_AsInt(obj2);
22395 if (PyErr_Occurred()) SWIG_fail;
22396 {
22397 PyThreadState* __tstate = wxPyBeginAllowThreads();
22398 (arg1)->AssignImageList(arg2,arg3);
22399
22400 wxPyEndAllowThreads(__tstate);
22401 if (PyErr_Occurred()) SWIG_fail;
22402 }
22403 Py_INCREF(Py_None); resultobj = Py_None;
22404 return resultobj;
22405 fail:
22406 return NULL;
22407 }
22408
22409
22410 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22411 PyObject *resultobj;
22412 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22413 bool result;
22414 PyObject * obj0 = 0 ;
22415 char *kwnames[] = {
22416 (char *) "self", NULL
22417 };
22418
22419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22422 {
22423 PyThreadState* __tstate = wxPyBeginAllowThreads();
22424 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22425
22426 wxPyEndAllowThreads(__tstate);
22427 if (PyErr_Occurred()) SWIG_fail;
22428 }
22429 {
22430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22431 }
22432 return resultobj;
22433 fail:
22434 return NULL;
22435 }
22436
22437
22438 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22441 bool result;
22442 PyObject * obj0 = 0 ;
22443 char *kwnames[] = {
22444 (char *) "self", NULL
22445 };
22446
22447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22450 {
22451 PyThreadState* __tstate = wxPyBeginAllowThreads();
22452 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22453
22454 wxPyEndAllowThreads(__tstate);
22455 if (PyErr_Occurred()) SWIG_fail;
22456 }
22457 {
22458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22459 }
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22469 long arg2 ;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 char *kwnames[] = {
22473 (char *) "self",(char *) "item", NULL
22474 };
22475
22476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22479 arg2 = (long) SWIG_AsLong(obj1);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 {
22482 PyThreadState* __tstate = wxPyBeginAllowThreads();
22483 (arg1)->RefreshItem(arg2);
22484
22485 wxPyEndAllowThreads(__tstate);
22486 if (PyErr_Occurred()) SWIG_fail;
22487 }
22488 Py_INCREF(Py_None); resultobj = Py_None;
22489 return resultobj;
22490 fail:
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22498 long arg2 ;
22499 long arg3 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 PyObject * obj2 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22510 arg2 = (long) SWIG_AsLong(obj1);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 arg3 = (long) SWIG_AsLong(obj2);
22513 if (PyErr_Occurred()) SWIG_fail;
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->RefreshItems(arg2,arg3);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 Py_INCREF(Py_None); resultobj = Py_None;
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22531 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22532 bool result;
22533 PyObject * obj0 = 0 ;
22534 PyObject * obj1 = 0 ;
22535 char *kwnames[] = {
22536 (char *) "self",(char *) "flag", NULL
22537 };
22538
22539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22542 if (obj1) {
22543 arg2 = (int) SWIG_AsInt(obj1);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 {
22547 PyThreadState* __tstate = wxPyBeginAllowThreads();
22548 result = (bool)(arg1)->Arrange(arg2);
22549
22550 wxPyEndAllowThreads(__tstate);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22555 }
22556 return resultobj;
22557 fail:
22558 return NULL;
22559 }
22560
22561
22562 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22563 PyObject *resultobj;
22564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22565 long arg2 ;
22566 bool result;
22567 PyObject * obj0 = 0 ;
22568 PyObject * obj1 = 0 ;
22569 char *kwnames[] = {
22570 (char *) "self",(char *) "item", NULL
22571 };
22572
22573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22576 arg2 = (long) SWIG_AsLong(obj1);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 {
22579 PyThreadState* __tstate = wxPyBeginAllowThreads();
22580 result = (bool)(arg1)->DeleteItem(arg2);
22581
22582 wxPyEndAllowThreads(__tstate);
22583 if (PyErr_Occurred()) SWIG_fail;
22584 }
22585 {
22586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22587 }
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22597 bool result;
22598 PyObject * obj0 = 0 ;
22599 char *kwnames[] = {
22600 (char *) "self", NULL
22601 };
22602
22603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22606 {
22607 PyThreadState* __tstate = wxPyBeginAllowThreads();
22608 result = (bool)(arg1)->DeleteAllItems();
22609
22610 wxPyEndAllowThreads(__tstate);
22611 if (PyErr_Occurred()) SWIG_fail;
22612 }
22613 {
22614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22615 }
22616 return resultobj;
22617 fail:
22618 return NULL;
22619 }
22620
22621
22622 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22623 PyObject *resultobj;
22624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22625 int arg2 ;
22626 bool result;
22627 PyObject * obj0 = 0 ;
22628 PyObject * obj1 = 0 ;
22629 char *kwnames[] = {
22630 (char *) "self",(char *) "col", NULL
22631 };
22632
22633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22636 arg2 = (int) SWIG_AsInt(obj1);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 {
22639 PyThreadState* __tstate = wxPyBeginAllowThreads();
22640 result = (bool)(arg1)->DeleteColumn(arg2);
22641
22642 wxPyEndAllowThreads(__tstate);
22643 if (PyErr_Occurred()) SWIG_fail;
22644 }
22645 {
22646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22647 }
22648 return resultobj;
22649 fail:
22650 return NULL;
22651 }
22652
22653
22654 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22657 bool result;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22666 {
22667 PyThreadState* __tstate = wxPyBeginAllowThreads();
22668 result = (bool)(arg1)->DeleteAllColumns();
22669
22670 wxPyEndAllowThreads(__tstate);
22671 if (PyErr_Occurred()) SWIG_fail;
22672 }
22673 {
22674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22675 }
22676 return resultobj;
22677 fail:
22678 return NULL;
22679 }
22680
22681
22682 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22683 PyObject *resultobj;
22684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22685 PyObject * obj0 = 0 ;
22686 char *kwnames[] = {
22687 (char *) "self", NULL
22688 };
22689
22690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22693 {
22694 PyThreadState* __tstate = wxPyBeginAllowThreads();
22695 (arg1)->ClearAll();
22696
22697 wxPyEndAllowThreads(__tstate);
22698 if (PyErr_Occurred()) SWIG_fail;
22699 }
22700 Py_INCREF(Py_None); resultobj = Py_None;
22701 return resultobj;
22702 fail:
22703 return NULL;
22704 }
22705
22706
22707 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22708 PyObject *resultobj;
22709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22710 long arg2 ;
22711 PyObject * obj0 = 0 ;
22712 PyObject * obj1 = 0 ;
22713 char *kwnames[] = {
22714 (char *) "self",(char *) "item", NULL
22715 };
22716
22717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22720 arg2 = (long) SWIG_AsLong(obj1);
22721 if (PyErr_Occurred()) SWIG_fail;
22722 {
22723 PyThreadState* __tstate = wxPyBeginAllowThreads();
22724 (arg1)->EditLabel(arg2);
22725
22726 wxPyEndAllowThreads(__tstate);
22727 if (PyErr_Occurred()) SWIG_fail;
22728 }
22729 Py_INCREF(Py_None); resultobj = Py_None;
22730 return resultobj;
22731 fail:
22732 return NULL;
22733 }
22734
22735
22736 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22737 PyObject *resultobj;
22738 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22739 long arg2 ;
22740 bool result;
22741 PyObject * obj0 = 0 ;
22742 PyObject * obj1 = 0 ;
22743 char *kwnames[] = {
22744 (char *) "self",(char *) "item", NULL
22745 };
22746
22747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22750 arg2 = (long) SWIG_AsLong(obj1);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (bool)(arg1)->EnsureVisible(arg2);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
22759 {
22760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22761 }
22762 return resultobj;
22763 fail:
22764 return NULL;
22765 }
22766
22767
22768 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22769 PyObject *resultobj;
22770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22771 long arg2 ;
22772 wxString *arg3 = 0 ;
22773 bool arg4 = (bool) False ;
22774 long result;
22775 bool temp3 = False ;
22776 PyObject * obj0 = 0 ;
22777 PyObject * obj1 = 0 ;
22778 PyObject * obj2 = 0 ;
22779 PyObject * obj3 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 arg2 = (long) SWIG_AsLong(obj1);
22788 if (PyErr_Occurred()) SWIG_fail;
22789 {
22790 arg3 = wxString_in_helper(obj2);
22791 if (arg3 == NULL) SWIG_fail;
22792 temp3 = True;
22793 }
22794 if (obj3) {
22795 arg4 = (bool) SWIG_AsBool(obj3);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 {
22799 PyThreadState* __tstate = wxPyBeginAllowThreads();
22800 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22801
22802 wxPyEndAllowThreads(__tstate);
22803 if (PyErr_Occurred()) SWIG_fail;
22804 }
22805 resultobj = SWIG_FromLong((long)result);
22806 {
22807 if (temp3)
22808 delete arg3;
22809 }
22810 return resultobj;
22811 fail:
22812 {
22813 if (temp3)
22814 delete arg3;
22815 }
22816 return NULL;
22817 }
22818
22819
22820 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22821 PyObject *resultobj;
22822 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22823 long arg2 ;
22824 long arg3 ;
22825 long result;
22826 PyObject * obj0 = 0 ;
22827 PyObject * obj1 = 0 ;
22828 PyObject * obj2 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "start",(char *) "data", NULL
22831 };
22832
22833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22836 arg2 = (long) SWIG_AsLong(obj1);
22837 if (PyErr_Occurred()) SWIG_fail;
22838 arg3 = (long) SWIG_AsLong(obj2);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = (long)(arg1)->FindItem(arg2,arg3);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 resultobj = SWIG_FromLong((long)result);
22848 return resultobj;
22849 fail:
22850 return NULL;
22851 }
22852
22853
22854 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22855 PyObject *resultobj;
22856 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22857 long arg2 ;
22858 wxPoint *arg3 = 0 ;
22859 int arg4 ;
22860 long result;
22861 wxPoint temp3 ;
22862 PyObject * obj0 = 0 ;
22863 PyObject * obj1 = 0 ;
22864 PyObject * obj2 = 0 ;
22865 PyObject * obj3 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22873 arg2 = (long) SWIG_AsLong(obj1);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 {
22876 arg3 = &temp3;
22877 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22878 }
22879 arg4 = (int) SWIG_AsInt(obj3);
22880 if (PyErr_Occurred()) SWIG_fail;
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 resultobj = SWIG_FromLong((long)result);
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22898 wxPoint *arg2 = 0 ;
22899 int *arg3 = 0 ;
22900 long result;
22901 wxPoint temp2 ;
22902 int temp3 ;
22903 PyObject * obj0 = 0 ;
22904 PyObject * obj1 = 0 ;
22905 char *kwnames[] = {
22906 (char *) "self",(char *) "point", NULL
22907 };
22908
22909 arg3 = &temp3;
22910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22913 {
22914 arg2 = &temp2;
22915 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22916 }
22917 {
22918 PyThreadState* __tstate = wxPyBeginAllowThreads();
22919 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22920
22921 wxPyEndAllowThreads(__tstate);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 resultobj = SWIG_FromLong((long)result);
22925 {
22926 PyObject *o = PyInt_FromLong((long) (*arg3));
22927 resultobj = t_output_helper(resultobj,o);
22928 }
22929 return resultobj;
22930 fail:
22931 return NULL;
22932 }
22933
22934
22935 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22936 PyObject *resultobj;
22937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22938 wxListItem *arg2 = 0 ;
22939 long result;
22940 PyObject * obj0 = 0 ;
22941 PyObject * obj1 = 0 ;
22942 char *kwnames[] = {
22943 (char *) "self",(char *) "info", NULL
22944 };
22945
22946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22949 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22950 SWIG_POINTER_EXCEPTION | 0)) == -1)
22951 SWIG_fail;
22952 if (arg2 == NULL) {
22953 PyErr_SetString(PyExc_TypeError,"null reference");
22954 SWIG_fail;
22955 }
22956 {
22957 PyThreadState* __tstate = wxPyBeginAllowThreads();
22958 result = (long)(arg1)->InsertItem(*arg2);
22959
22960 wxPyEndAllowThreads(__tstate);
22961 if (PyErr_Occurred()) SWIG_fail;
22962 }
22963 resultobj = SWIG_FromLong((long)result);
22964 return resultobj;
22965 fail:
22966 return NULL;
22967 }
22968
22969
22970 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22971 PyObject *resultobj;
22972 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22973 long arg2 ;
22974 wxString *arg3 = 0 ;
22975 long result;
22976 bool temp3 = False ;
22977 PyObject * obj0 = 0 ;
22978 PyObject * obj1 = 0 ;
22979 PyObject * obj2 = 0 ;
22980 char *kwnames[] = {
22981 (char *) "self",(char *) "index",(char *) "label", NULL
22982 };
22983
22984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22987 arg2 = (long) SWIG_AsLong(obj1);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 {
22990 arg3 = wxString_in_helper(obj2);
22991 if (arg3 == NULL) SWIG_fail;
22992 temp3 = True;
22993 }
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 resultobj = SWIG_FromLong((long)result);
23002 {
23003 if (temp3)
23004 delete arg3;
23005 }
23006 return resultobj;
23007 fail:
23008 {
23009 if (temp3)
23010 delete arg3;
23011 }
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23019 long arg2 ;
23020 int arg3 ;
23021 long result;
23022 PyObject * obj0 = 0 ;
23023 PyObject * obj1 = 0 ;
23024 PyObject * obj2 = 0 ;
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23027 };
23028
23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23032 arg2 = (long) SWIG_AsLong(obj1);
23033 if (PyErr_Occurred()) SWIG_fail;
23034 arg3 = (int) SWIG_AsInt(obj2);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 result = (long)(arg1)->InsertItem(arg2,arg3);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 resultobj = SWIG_FromLong((long)result);
23044 return resultobj;
23045 fail:
23046 return NULL;
23047 }
23048
23049
23050 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23053 long arg2 ;
23054 wxString *arg3 = 0 ;
23055 int arg4 ;
23056 long result;
23057 bool temp3 = False ;
23058 PyObject * obj0 = 0 ;
23059 PyObject * obj1 = 0 ;
23060 PyObject * obj2 = 0 ;
23061 PyObject * obj3 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23069 arg2 = (long) SWIG_AsLong(obj1);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 {
23072 arg3 = wxString_in_helper(obj2);
23073 if (arg3 == NULL) SWIG_fail;
23074 temp3 = True;
23075 }
23076 arg4 = (int) SWIG_AsInt(obj3);
23077 if (PyErr_Occurred()) SWIG_fail;
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 resultobj = SWIG_FromLong((long)result);
23086 {
23087 if (temp3)
23088 delete arg3;
23089 }
23090 return resultobj;
23091 fail:
23092 {
23093 if (temp3)
23094 delete arg3;
23095 }
23096 return NULL;
23097 }
23098
23099
23100 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj;
23102 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23103 long arg2 ;
23104 wxListItem *arg3 = 0 ;
23105 long result;
23106 PyObject * obj0 = 0 ;
23107 PyObject * obj1 = 0 ;
23108 PyObject * obj2 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self",(char *) "col",(char *) "info", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23116 arg2 = (long) SWIG_AsLong(obj1);
23117 if (PyErr_Occurred()) SWIG_fail;
23118 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1)
23120 SWIG_fail;
23121 if (arg3 == NULL) {
23122 PyErr_SetString(PyExc_TypeError,"null reference");
23123 SWIG_fail;
23124 }
23125 {
23126 PyThreadState* __tstate = wxPyBeginAllowThreads();
23127 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23128
23129 wxPyEndAllowThreads(__tstate);
23130 if (PyErr_Occurred()) SWIG_fail;
23131 }
23132 resultobj = SWIG_FromLong((long)result);
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23142 long arg2 ;
23143 wxString *arg3 = 0 ;
23144 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23145 int arg5 = (int) -1 ;
23146 long result;
23147 bool temp3 = False ;
23148 PyObject * obj0 = 0 ;
23149 PyObject * obj1 = 0 ;
23150 PyObject * obj2 = 0 ;
23151 PyObject * obj3 = 0 ;
23152 PyObject * obj4 = 0 ;
23153 char *kwnames[] = {
23154 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23155 };
23156
23157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23160 arg2 = (long) SWIG_AsLong(obj1);
23161 if (PyErr_Occurred()) SWIG_fail;
23162 {
23163 arg3 = wxString_in_helper(obj2);
23164 if (arg3 == NULL) SWIG_fail;
23165 temp3 = True;
23166 }
23167 if (obj3) {
23168 arg4 = (int) SWIG_AsInt(obj3);
23169 if (PyErr_Occurred()) SWIG_fail;
23170 }
23171 if (obj4) {
23172 arg5 = (int) SWIG_AsInt(obj4);
23173 if (PyErr_Occurred()) SWIG_fail;
23174 }
23175 {
23176 PyThreadState* __tstate = wxPyBeginAllowThreads();
23177 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23178
23179 wxPyEndAllowThreads(__tstate);
23180 if (PyErr_Occurred()) SWIG_fail;
23181 }
23182 resultobj = SWIG_FromLong((long)result);
23183 {
23184 if (temp3)
23185 delete arg3;
23186 }
23187 return resultobj;
23188 fail:
23189 {
23190 if (temp3)
23191 delete arg3;
23192 }
23193 return NULL;
23194 }
23195
23196
23197 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23198 PyObject *resultobj;
23199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23200 long arg2 ;
23201 PyObject * obj0 = 0 ;
23202 PyObject * obj1 = 0 ;
23203 char *kwnames[] = {
23204 (char *) "self",(char *) "count", NULL
23205 };
23206
23207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23210 arg2 = (long) SWIG_AsLong(obj1);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 {
23213 PyThreadState* __tstate = wxPyBeginAllowThreads();
23214 (arg1)->SetItemCount(arg2);
23215
23216 wxPyEndAllowThreads(__tstate);
23217 if (PyErr_Occurred()) SWIG_fail;
23218 }
23219 Py_INCREF(Py_None); resultobj = Py_None;
23220 return resultobj;
23221 fail:
23222 return NULL;
23223 }
23224
23225
23226 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23227 PyObject *resultobj;
23228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23229 int arg2 ;
23230 int arg3 ;
23231 bool result;
23232 PyObject * obj0 = 0 ;
23233 PyObject * obj1 = 0 ;
23234 PyObject * obj2 = 0 ;
23235 char *kwnames[] = {
23236 (char *) "self",(char *) "dx",(char *) "dy", NULL
23237 };
23238
23239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23242 arg2 = (int) SWIG_AsInt(obj1);
23243 if (PyErr_Occurred()) SWIG_fail;
23244 arg3 = (int) SWIG_AsInt(obj2);
23245 if (PyErr_Occurred()) SWIG_fail;
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (bool)(arg1)->ScrollList(arg2,arg3);
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 {
23254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23255 }
23256 return resultobj;
23257 fail:
23258 return NULL;
23259 }
23260
23261
23262 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23263 PyObject *resultobj;
23264 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23265 long arg2 ;
23266 wxColour *arg3 = 0 ;
23267 wxColour temp3 ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 PyObject * obj2 = 0 ;
23271 char *kwnames[] = {
23272 (char *) "self",(char *) "item",(char *) "col", NULL
23273 };
23274
23275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23278 arg2 = (long) SWIG_AsLong(obj1);
23279 if (PyErr_Occurred()) SWIG_fail;
23280 {
23281 arg3 = &temp3;
23282 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23283 }
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 Py_INCREF(Py_None); resultobj = Py_None;
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23301 long arg2 ;
23302 wxColour result;
23303 PyObject * obj0 = 0 ;
23304 PyObject * obj1 = 0 ;
23305 char *kwnames[] = {
23306 (char *) "self",(char *) "item", NULL
23307 };
23308
23309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23312 arg2 = (long) SWIG_AsLong(obj1);
23313 if (PyErr_Occurred()) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 {
23322 wxColour * resultptr;
23323 resultptr = new wxColour((wxColour &) result);
23324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23325 }
23326 return resultobj;
23327 fail:
23328 return NULL;
23329 }
23330
23331
23332 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23335 long arg2 ;
23336 wxColour *arg3 = 0 ;
23337 wxColour temp3 ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 PyObject * obj2 = 0 ;
23341 char *kwnames[] = {
23342 (char *) "self",(char *) "item",(char *) "col", NULL
23343 };
23344
23345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23348 arg2 = (long) SWIG_AsLong(obj1);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 {
23351 arg3 = &temp3;
23352 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23353 }
23354 {
23355 PyThreadState* __tstate = wxPyBeginAllowThreads();
23356 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23357
23358 wxPyEndAllowThreads(__tstate);
23359 if (PyErr_Occurred()) SWIG_fail;
23360 }
23361 Py_INCREF(Py_None); resultobj = Py_None;
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23371 long arg2 ;
23372 wxColour result;
23373 PyObject * obj0 = 0 ;
23374 PyObject * obj1 = 0 ;
23375 char *kwnames[] = {
23376 (char *) "self",(char *) "item", NULL
23377 };
23378
23379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23382 arg2 = (long) SWIG_AsLong(obj1);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23387
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 {
23392 wxColour * resultptr;
23393 resultptr = new wxColour((wxColour &) result);
23394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23395 }
23396 return resultobj;
23397 fail:
23398 return NULL;
23399 }
23400
23401
23402 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23403 PyObject *resultobj;
23404 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23405 PyObject *arg2 = (PyObject *) 0 ;
23406 bool result;
23407 PyObject * obj0 = 0 ;
23408 PyObject * obj1 = 0 ;
23409 char *kwnames[] = {
23410 (char *) "self",(char *) "func", NULL
23411 };
23412
23413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23416 arg2 = obj1;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 {
23425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23426 }
23427 return resultobj;
23428 fail:
23429 return NULL;
23430 }
23431
23432
23433 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23434 PyObject *resultobj;
23435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23436 wxWindow *result;
23437 PyObject * obj0 = 0 ;
23438 char *kwnames[] = {
23439 (char *) "self", NULL
23440 };
23441
23442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23445 {
23446 PyThreadState* __tstate = wxPyBeginAllowThreads();
23447 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23448
23449 wxPyEndAllowThreads(__tstate);
23450 if (PyErr_Occurred()) SWIG_fail;
23451 }
23452 {
23453 resultobj = wxPyMake_wxObject(result);
23454 }
23455 return resultobj;
23456 fail:
23457 return NULL;
23458 }
23459
23460
23461 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23462 PyObject *resultobj;
23463 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23464 wxVisualAttributes result;
23465 PyObject * obj0 = 0 ;
23466 char *kwnames[] = {
23467 (char *) "variant", NULL
23468 };
23469
23470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23471 if (obj0) {
23472 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 if (!wxPyCheckForApp()) SWIG_fail;
23477 PyThreadState* __tstate = wxPyBeginAllowThreads();
23478 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23479
23480 wxPyEndAllowThreads(__tstate);
23481 if (PyErr_Occurred()) SWIG_fail;
23482 }
23483 {
23484 wxVisualAttributes * resultptr;
23485 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23487 }
23488 return resultobj;
23489 fail:
23490 return NULL;
23491 }
23492
23493
23494 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23495 PyObject *obj;
23496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23497 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23498 Py_INCREF(obj);
23499 return Py_BuildValue((char *)"");
23500 }
23501 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj;
23503 wxWindow *arg1 = (wxWindow *) 0 ;
23504 int arg2 = (int) -1 ;
23505 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23506 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23507 wxSize const &arg4_defvalue = wxDefaultSize ;
23508 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23509 long arg5 = (long) wxLC_REPORT ;
23510 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23511 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23512 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23513 wxString *arg7 = (wxString *) &arg7_defvalue ;
23514 wxListView *result;
23515 wxPoint temp3 ;
23516 wxSize temp4 ;
23517 bool temp7 = False ;
23518 PyObject * obj0 = 0 ;
23519 PyObject * obj1 = 0 ;
23520 PyObject * obj2 = 0 ;
23521 PyObject * obj3 = 0 ;
23522 PyObject * obj4 = 0 ;
23523 PyObject * obj5 = 0 ;
23524 PyObject * obj6 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 if (obj1) {
23533 arg2 = (int) SWIG_AsInt(obj1);
23534 if (PyErr_Occurred()) SWIG_fail;
23535 }
23536 if (obj2) {
23537 {
23538 arg3 = &temp3;
23539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23540 }
23541 }
23542 if (obj3) {
23543 {
23544 arg4 = &temp4;
23545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23546 }
23547 }
23548 if (obj4) {
23549 arg5 = (long) SWIG_AsLong(obj4);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 if (obj5) {
23553 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23554 SWIG_POINTER_EXCEPTION | 0)) == -1)
23555 SWIG_fail;
23556 if (arg6 == NULL) {
23557 PyErr_SetString(PyExc_TypeError,"null reference");
23558 SWIG_fail;
23559 }
23560 }
23561 if (obj6) {
23562 {
23563 arg7 = wxString_in_helper(obj6);
23564 if (arg7 == NULL) SWIG_fail;
23565 temp7 = True;
23566 }
23567 }
23568 {
23569 if (!wxPyCheckForApp()) SWIG_fail;
23570 PyThreadState* __tstate = wxPyBeginAllowThreads();
23571 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23577 {
23578 if (temp7)
23579 delete arg7;
23580 }
23581 return resultobj;
23582 fail:
23583 {
23584 if (temp7)
23585 delete arg7;
23586 }
23587 return NULL;
23588 }
23589
23590
23591 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23592 PyObject *resultobj;
23593 wxListView *result;
23594 char *kwnames[] = {
23595 NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23599 {
23600 if (!wxPyCheckForApp()) SWIG_fail;
23601 PyThreadState* __tstate = wxPyBeginAllowThreads();
23602 result = (wxListView *)new wxListView();
23603
23604 wxPyEndAllowThreads(__tstate);
23605 if (PyErr_Occurred()) SWIG_fail;
23606 }
23607 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23608 return resultobj;
23609 fail:
23610 return NULL;
23611 }
23612
23613
23614 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23615 PyObject *resultobj;
23616 wxListView *arg1 = (wxListView *) 0 ;
23617 wxWindow *arg2 = (wxWindow *) 0 ;
23618 int arg3 = (int) -1 ;
23619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23621 wxSize const &arg5_defvalue = wxDefaultSize ;
23622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23623 long arg6 = (long) wxLC_REPORT ;
23624 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23625 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23626 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23627 wxString *arg8 = (wxString *) &arg8_defvalue ;
23628 bool result;
23629 wxPoint temp4 ;
23630 wxSize temp5 ;
23631 bool temp8 = False ;
23632 PyObject * obj0 = 0 ;
23633 PyObject * obj1 = 0 ;
23634 PyObject * obj2 = 0 ;
23635 PyObject * obj3 = 0 ;
23636 PyObject * obj4 = 0 ;
23637 PyObject * obj5 = 0 ;
23638 PyObject * obj6 = 0 ;
23639 PyObject * obj7 = 0 ;
23640 char *kwnames[] = {
23641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23642 };
23643
23644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23649 if (obj2) {
23650 arg3 = (int) SWIG_AsInt(obj2);
23651 if (PyErr_Occurred()) SWIG_fail;
23652 }
23653 if (obj3) {
23654 {
23655 arg4 = &temp4;
23656 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23657 }
23658 }
23659 if (obj4) {
23660 {
23661 arg5 = &temp5;
23662 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23663 }
23664 }
23665 if (obj5) {
23666 arg6 = (long) SWIG_AsLong(obj5);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 if (obj6) {
23670 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1)
23672 SWIG_fail;
23673 if (arg7 == NULL) {
23674 PyErr_SetString(PyExc_TypeError,"null reference");
23675 SWIG_fail;
23676 }
23677 }
23678 if (obj7) {
23679 {
23680 arg8 = wxString_in_helper(obj7);
23681 if (arg8 == NULL) SWIG_fail;
23682 temp8 = True;
23683 }
23684 }
23685 {
23686 PyThreadState* __tstate = wxPyBeginAllowThreads();
23687 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23688
23689 wxPyEndAllowThreads(__tstate);
23690 if (PyErr_Occurred()) SWIG_fail;
23691 }
23692 {
23693 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23694 }
23695 {
23696 if (temp8)
23697 delete arg8;
23698 }
23699 return resultobj;
23700 fail:
23701 {
23702 if (temp8)
23703 delete arg8;
23704 }
23705 return NULL;
23706 }
23707
23708
23709 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23710 PyObject *resultobj;
23711 wxListView *arg1 = (wxListView *) 0 ;
23712 long arg2 ;
23713 bool arg3 = (bool) True ;
23714 PyObject * obj0 = 0 ;
23715 PyObject * obj1 = 0 ;
23716 PyObject * obj2 = 0 ;
23717 char *kwnames[] = {
23718 (char *) "self",(char *) "n",(char *) "on", NULL
23719 };
23720
23721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23724 arg2 = (long) SWIG_AsLong(obj1);
23725 if (PyErr_Occurred()) SWIG_fail;
23726 if (obj2) {
23727 arg3 = (bool) SWIG_AsBool(obj2);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 {
23731 PyThreadState* __tstate = wxPyBeginAllowThreads();
23732 (arg1)->Select(arg2,arg3);
23733
23734 wxPyEndAllowThreads(__tstate);
23735 if (PyErr_Occurred()) SWIG_fail;
23736 }
23737 Py_INCREF(Py_None); resultobj = Py_None;
23738 return resultobj;
23739 fail:
23740 return NULL;
23741 }
23742
23743
23744 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23745 PyObject *resultobj;
23746 wxListView *arg1 = (wxListView *) 0 ;
23747 long arg2 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "index", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23757 arg2 = (long) SWIG_AsLong(obj1);
23758 if (PyErr_Occurred()) SWIG_fail;
23759 {
23760 PyThreadState* __tstate = wxPyBeginAllowThreads();
23761 (arg1)->Focus(arg2);
23762
23763 wxPyEndAllowThreads(__tstate);
23764 if (PyErr_Occurred()) SWIG_fail;
23765 }
23766 Py_INCREF(Py_None); resultobj = Py_None;
23767 return resultobj;
23768 fail:
23769 return NULL;
23770 }
23771
23772
23773 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23774 PyObject *resultobj;
23775 wxListView *arg1 = (wxListView *) 0 ;
23776 long result;
23777 PyObject * obj0 = 0 ;
23778 char *kwnames[] = {
23779 (char *) "self", NULL
23780 };
23781
23782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23785 {
23786 PyThreadState* __tstate = wxPyBeginAllowThreads();
23787 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23788
23789 wxPyEndAllowThreads(__tstate);
23790 if (PyErr_Occurred()) SWIG_fail;
23791 }
23792 resultobj = SWIG_FromLong((long)result);
23793 return resultobj;
23794 fail:
23795 return NULL;
23796 }
23797
23798
23799 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxListView *arg1 = (wxListView *) 0 ;
23802 long arg2 ;
23803 long result;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 char *kwnames[] = {
23807 (char *) "self",(char *) "item", NULL
23808 };
23809
23810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23813 arg2 = (long) SWIG_AsLong(obj1);
23814 if (PyErr_Occurred()) SWIG_fail;
23815 {
23816 PyThreadState* __tstate = wxPyBeginAllowThreads();
23817 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23818
23819 wxPyEndAllowThreads(__tstate);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 resultobj = SWIG_FromLong((long)result);
23823 return resultobj;
23824 fail:
23825 return NULL;
23826 }
23827
23828
23829 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23830 PyObject *resultobj;
23831 wxListView *arg1 = (wxListView *) 0 ;
23832 long result;
23833 PyObject * obj0 = 0 ;
23834 char *kwnames[] = {
23835 (char *) "self", NULL
23836 };
23837
23838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 resultobj = SWIG_FromLong((long)result);
23849 return resultobj;
23850 fail:
23851 return NULL;
23852 }
23853
23854
23855 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23856 PyObject *resultobj;
23857 wxListView *arg1 = (wxListView *) 0 ;
23858 long arg2 ;
23859 bool result;
23860 PyObject * obj0 = 0 ;
23861 PyObject * obj1 = 0 ;
23862 char *kwnames[] = {
23863 (char *) "self",(char *) "index", NULL
23864 };
23865
23866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23869 arg2 = (long) SWIG_AsLong(obj1);
23870 if (PyErr_Occurred()) SWIG_fail;
23871 {
23872 PyThreadState* __tstate = wxPyBeginAllowThreads();
23873 result = (bool)(arg1)->IsSelected(arg2);
23874
23875 wxPyEndAllowThreads(__tstate);
23876 if (PyErr_Occurred()) SWIG_fail;
23877 }
23878 {
23879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23880 }
23881 return resultobj;
23882 fail:
23883 return NULL;
23884 }
23885
23886
23887 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23888 PyObject *resultobj;
23889 wxListView *arg1 = (wxListView *) 0 ;
23890 int arg2 ;
23891 int arg3 ;
23892 PyObject * obj0 = 0 ;
23893 PyObject * obj1 = 0 ;
23894 PyObject * obj2 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self",(char *) "col",(char *) "image", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23902 arg2 = (int) SWIG_AsInt(obj1);
23903 if (PyErr_Occurred()) SWIG_fail;
23904 arg3 = (int) SWIG_AsInt(obj2);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 (arg1)->SetColumnImage(arg2,arg3);
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 Py_INCREF(Py_None); resultobj = Py_None;
23914 return resultobj;
23915 fail:
23916 return NULL;
23917 }
23918
23919
23920 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23921 PyObject *resultobj;
23922 wxListView *arg1 = (wxListView *) 0 ;
23923 int arg2 ;
23924 PyObject * obj0 = 0 ;
23925 PyObject * obj1 = 0 ;
23926 char *kwnames[] = {
23927 (char *) "self",(char *) "col", NULL
23928 };
23929
23930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23933 arg2 = (int) SWIG_AsInt(obj1);
23934 if (PyErr_Occurred()) SWIG_fail;
23935 {
23936 PyThreadState* __tstate = wxPyBeginAllowThreads();
23937 (arg1)->ClearColumnImage(arg2);
23938
23939 wxPyEndAllowThreads(__tstate);
23940 if (PyErr_Occurred()) SWIG_fail;
23941 }
23942 Py_INCREF(Py_None); resultobj = Py_None;
23943 return resultobj;
23944 fail:
23945 return NULL;
23946 }
23947
23948
23949 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23950 PyObject *obj;
23951 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23952 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23953 Py_INCREF(obj);
23954 return Py_BuildValue((char *)"");
23955 }
23956 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23957 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23958 return 1;
23959 }
23960
23961
23962 static PyObject *_wrap_TreeCtrlNameStr_get() {
23963 PyObject *pyobj;
23964
23965 {
23966 #if wxUSE_UNICODE
23967 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23968 #else
23969 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23970 #endif
23971 }
23972 return pyobj;
23973 }
23974
23975
23976 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23977 PyObject *resultobj;
23978 wxTreeItemId *result;
23979 char *kwnames[] = {
23980 NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23984 {
23985 PyThreadState* __tstate = wxPyBeginAllowThreads();
23986 result = (wxTreeItemId *)new wxTreeItemId();
23987
23988 wxPyEndAllowThreads(__tstate);
23989 if (PyErr_Occurred()) SWIG_fail;
23990 }
23991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23992 return resultobj;
23993 fail:
23994 return NULL;
23995 }
23996
23997
23998 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23999 PyObject *resultobj;
24000 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24001 PyObject * obj0 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24009 {
24010 PyThreadState* __tstate = wxPyBeginAllowThreads();
24011 delete arg1;
24012
24013 wxPyEndAllowThreads(__tstate);
24014 if (PyErr_Occurred()) SWIG_fail;
24015 }
24016 Py_INCREF(Py_None); resultobj = Py_None;
24017 return resultobj;
24018 fail:
24019 return NULL;
24020 }
24021
24022
24023 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24024 PyObject *resultobj;
24025 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24026 bool result;
24027 PyObject * obj0 = 0 ;
24028 char *kwnames[] = {
24029 (char *) "self", NULL
24030 };
24031
24032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24035 {
24036 PyThreadState* __tstate = wxPyBeginAllowThreads();
24037 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24038
24039 wxPyEndAllowThreads(__tstate);
24040 if (PyErr_Occurred()) SWIG_fail;
24041 }
24042 {
24043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24044 }
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24054 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24055 bool result;
24056 PyObject * obj0 = 0 ;
24057 PyObject * obj1 = 0 ;
24058 char *kwnames[] = {
24059 (char *) "self",(char *) "other", NULL
24060 };
24061
24062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24065 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24067 {
24068 PyThreadState* __tstate = wxPyBeginAllowThreads();
24069 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24070
24071 wxPyEndAllowThreads(__tstate);
24072 if (PyErr_Occurred()) SWIG_fail;
24073 }
24074 {
24075 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24076 }
24077 return resultobj;
24078 fail:
24079 return NULL;
24080 }
24081
24082
24083 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24084 PyObject *resultobj;
24085 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24086 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24087 bool result;
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self",(char *) "other", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24097 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24099 {
24100 PyThreadState* __tstate = wxPyBeginAllowThreads();
24101 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24102
24103 wxPyEndAllowThreads(__tstate);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 }
24106 {
24107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24108 }
24109 return resultobj;
24110 fail:
24111 return NULL;
24112 }
24113
24114
24115 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24116 PyObject *resultobj;
24117 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24118 void *arg2 = (void *) 0 ;
24119 PyObject * obj0 = 0 ;
24120 PyObject * obj1 = 0 ;
24121 char *kwnames[] = {
24122 (char *) "self",(char *) "m_pItem", NULL
24123 };
24124
24125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24128 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24129 if (arg1) (arg1)->m_pItem = arg2;
24130
24131 Py_INCREF(Py_None); resultobj = Py_None;
24132 return resultobj;
24133 fail:
24134 return NULL;
24135 }
24136
24137
24138 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24139 PyObject *resultobj;
24140 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24141 void *result;
24142 PyObject * obj0 = 0 ;
24143 char *kwnames[] = {
24144 (char *) "self", NULL
24145 };
24146
24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24150 result = (void *) ((arg1)->m_pItem);
24151
24152 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24153 return resultobj;
24154 fail:
24155 return NULL;
24156 }
24157
24158
24159 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24160 PyObject *obj;
24161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24162 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24163 Py_INCREF(obj);
24164 return Py_BuildValue((char *)"");
24165 }
24166 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24167 PyObject *resultobj;
24168 PyObject *arg1 = (PyObject *) NULL ;
24169 wxPyTreeItemData *result;
24170 PyObject * obj0 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "obj", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24176 if (obj0) {
24177 arg1 = obj0;
24178 }
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24196 PyObject *result;
24197 PyObject * obj0 = 0 ;
24198 char *kwnames[] = {
24199 (char *) "self", NULL
24200 };
24201
24202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24205 {
24206 PyThreadState* __tstate = wxPyBeginAllowThreads();
24207 result = (PyObject *)(arg1)->GetData();
24208
24209 wxPyEndAllowThreads(__tstate);
24210 if (PyErr_Occurred()) SWIG_fail;
24211 }
24212 resultobj = result;
24213 return resultobj;
24214 fail:
24215 return NULL;
24216 }
24217
24218
24219 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24220 PyObject *resultobj;
24221 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24222 PyObject *arg2 = (PyObject *) 0 ;
24223 PyObject * obj0 = 0 ;
24224 PyObject * obj1 = 0 ;
24225 char *kwnames[] = {
24226 (char *) "self",(char *) "obj", NULL
24227 };
24228
24229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24232 arg2 = obj1;
24233 {
24234 PyThreadState* __tstate = wxPyBeginAllowThreads();
24235 (arg1)->SetData(arg2);
24236
24237 wxPyEndAllowThreads(__tstate);
24238 if (PyErr_Occurred()) SWIG_fail;
24239 }
24240 Py_INCREF(Py_None); resultobj = Py_None;
24241 return resultobj;
24242 fail:
24243 return NULL;
24244 }
24245
24246
24247 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24248 PyObject *resultobj;
24249 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24250 wxTreeItemId *result;
24251 PyObject * obj0 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 {
24262 wxTreeItemId const &_result_ref = (arg1)->GetId();
24263 result = (wxTreeItemId *) &_result_ref;
24264 }
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24279 wxTreeItemId *arg2 = 0 ;
24280 PyObject * obj0 = 0 ;
24281 PyObject * obj1 = 0 ;
24282 char *kwnames[] = {
24283 (char *) "self",(char *) "id", NULL
24284 };
24285
24286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1)
24291 SWIG_fail;
24292 if (arg2 == NULL) {
24293 PyErr_SetString(PyExc_TypeError,"null reference");
24294 SWIG_fail;
24295 }
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 (arg1)->SetId((wxTreeItemId const &)*arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 Py_INCREF(Py_None); resultobj = Py_None;
24304 return resultobj;
24305 fail:
24306 return NULL;
24307 }
24308
24309
24310 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24313 PyObject * obj0 = 0 ;
24314 char *kwnames[] = {
24315 (char *) "self", NULL
24316 };
24317
24318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24321 {
24322 PyThreadState* __tstate = wxPyBeginAllowThreads();
24323 wxPyTreeItemData_Destroy(arg1);
24324
24325 wxPyEndAllowThreads(__tstate);
24326 if (PyErr_Occurred()) SWIG_fail;
24327 }
24328 Py_INCREF(Py_None); resultobj = Py_None;
24329 return resultobj;
24330 fail:
24331 return NULL;
24332 }
24333
24334
24335 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24336 PyObject *obj;
24337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24338 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24339 Py_INCREF(obj);
24340 return Py_BuildValue((char *)"");
24341 }
24342 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24343 PyObject *resultobj;
24344 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24345 int arg2 = (int) 0 ;
24346 wxTreeEvent *result;
24347 PyObject * obj0 = 0 ;
24348 PyObject * obj1 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "commandType",(char *) "id", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24354 if (obj0) {
24355 arg1 = (wxEventType) SWIG_AsInt(obj0);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 if (obj1) {
24359 arg2 = (int) SWIG_AsInt(obj1);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24370 return resultobj;
24371 fail:
24372 return NULL;
24373 }
24374
24375
24376 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24379 wxTreeItemId result;
24380 PyObject * obj0 = 0 ;
24381 char *kwnames[] = {
24382 (char *) "self", NULL
24383 };
24384
24385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24388 {
24389 PyThreadState* __tstate = wxPyBeginAllowThreads();
24390 result = ((wxTreeEvent const *)arg1)->GetItem();
24391
24392 wxPyEndAllowThreads(__tstate);
24393 if (PyErr_Occurred()) SWIG_fail;
24394 }
24395 {
24396 wxTreeItemId * resultptr;
24397 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24398 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24399 }
24400 return resultobj;
24401 fail:
24402 return NULL;
24403 }
24404
24405
24406 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24407 PyObject *resultobj;
24408 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24409 wxTreeItemId *arg2 = 0 ;
24410 PyObject * obj0 = 0 ;
24411 PyObject * obj1 = 0 ;
24412 char *kwnames[] = {
24413 (char *) "self",(char *) "item", NULL
24414 };
24415
24416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24419 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24420 SWIG_POINTER_EXCEPTION | 0)) == -1)
24421 SWIG_fail;
24422 if (arg2 == NULL) {
24423 PyErr_SetString(PyExc_TypeError,"null reference");
24424 SWIG_fail;
24425 }
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24429
24430 wxPyEndAllowThreads(__tstate);
24431 if (PyErr_Occurred()) SWIG_fail;
24432 }
24433 Py_INCREF(Py_None); resultobj = Py_None;
24434 return resultobj;
24435 fail:
24436 return NULL;
24437 }
24438
24439
24440 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24443 wxTreeItemId result;
24444 PyObject * obj0 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 wxTreeItemId * resultptr;
24461 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24463 }
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24473 wxTreeItemId *arg2 = 0 ;
24474 PyObject * obj0 = 0 ;
24475 PyObject * obj1 = 0 ;
24476 char *kwnames[] = {
24477 (char *) "self",(char *) "item", NULL
24478 };
24479
24480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24484 SWIG_POINTER_EXCEPTION | 0)) == -1)
24485 SWIG_fail;
24486 if (arg2 == NULL) {
24487 PyErr_SetString(PyExc_TypeError,"null reference");
24488 SWIG_fail;
24489 }
24490 {
24491 PyThreadState* __tstate = wxPyBeginAllowThreads();
24492 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24493
24494 wxPyEndAllowThreads(__tstate);
24495 if (PyErr_Occurred()) SWIG_fail;
24496 }
24497 Py_INCREF(Py_None); resultobj = Py_None;
24498 return resultobj;
24499 fail:
24500 return NULL;
24501 }
24502
24503
24504 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24505 PyObject *resultobj;
24506 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24507 wxPoint result;
24508 PyObject * obj0 = 0 ;
24509 char *kwnames[] = {
24510 (char *) "self", NULL
24511 };
24512
24513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 result = ((wxTreeEvent const *)arg1)->GetPoint();
24519
24520 wxPyEndAllowThreads(__tstate);
24521 if (PyErr_Occurred()) SWIG_fail;
24522 }
24523 {
24524 wxPoint * resultptr;
24525 resultptr = new wxPoint((wxPoint &) result);
24526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24527 }
24528 return resultobj;
24529 fail:
24530 return NULL;
24531 }
24532
24533
24534 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24535 PyObject *resultobj;
24536 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24537 wxPoint *arg2 = 0 ;
24538 wxPoint temp2 ;
24539 PyObject * obj0 = 0 ;
24540 PyObject * obj1 = 0 ;
24541 char *kwnames[] = {
24542 (char *) "self",(char *) "pt", NULL
24543 };
24544
24545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24548 {
24549 arg2 = &temp2;
24550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24551 }
24552 {
24553 PyThreadState* __tstate = wxPyBeginAllowThreads();
24554 (arg1)->SetPoint((wxPoint const &)*arg2);
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 Py_INCREF(Py_None); resultobj = Py_None;
24560 return resultobj;
24561 fail:
24562 return NULL;
24563 }
24564
24565
24566 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24569 wxKeyEvent *result;
24570 PyObject * obj0 = 0 ;
24571 char *kwnames[] = {
24572 (char *) "self", NULL
24573 };
24574
24575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24578 {
24579 PyThreadState* __tstate = wxPyBeginAllowThreads();
24580 {
24581 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24582 result = (wxKeyEvent *) &_result_ref;
24583 }
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24589 return resultobj;
24590 fail:
24591 return NULL;
24592 }
24593
24594
24595 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24596 PyObject *resultobj;
24597 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24598 int result;
24599 PyObject * obj0 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
24614 resultobj = SWIG_FromInt((int)result);
24615 return resultobj;
24616 fail:
24617 return NULL;
24618 }
24619
24620
24621 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24622 PyObject *resultobj;
24623 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24624 wxKeyEvent *arg2 = 0 ;
24625 PyObject * obj0 = 0 ;
24626 PyObject * obj1 = 0 ;
24627 char *kwnames[] = {
24628 (char *) "self",(char *) "evt", NULL
24629 };
24630
24631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24635 SWIG_POINTER_EXCEPTION | 0)) == -1)
24636 SWIG_fail;
24637 if (arg2 == NULL) {
24638 PyErr_SetString(PyExc_TypeError,"null reference");
24639 SWIG_fail;
24640 }
24641 {
24642 PyThreadState* __tstate = wxPyBeginAllowThreads();
24643 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24644
24645 wxPyEndAllowThreads(__tstate);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 Py_INCREF(Py_None); resultobj = Py_None;
24649 return resultobj;
24650 fail:
24651 return NULL;
24652 }
24653
24654
24655 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24656 PyObject *resultobj;
24657 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24658 wxString *result;
24659 PyObject * obj0 = 0 ;
24660 char *kwnames[] = {
24661 (char *) "self", NULL
24662 };
24663
24664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 {
24670 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24671 result = (wxString *) &_result_ref;
24672 }
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
24677 {
24678 #if wxUSE_UNICODE
24679 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24680 #else
24681 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24682 #endif
24683 }
24684 return resultobj;
24685 fail:
24686 return NULL;
24687 }
24688
24689
24690 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24691 PyObject *resultobj;
24692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24693 wxString *arg2 = 0 ;
24694 bool temp2 = False ;
24695 PyObject * obj0 = 0 ;
24696 PyObject * obj1 = 0 ;
24697 char *kwnames[] = {
24698 (char *) "self",(char *) "label", NULL
24699 };
24700
24701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24704 {
24705 arg2 = wxString_in_helper(obj1);
24706 if (arg2 == NULL) SWIG_fail;
24707 temp2 = True;
24708 }
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 (arg1)->SetLabel((wxString const &)*arg2);
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 Py_INCREF(Py_None); resultobj = Py_None;
24717 {
24718 if (temp2)
24719 delete arg2;
24720 }
24721 return resultobj;
24722 fail:
24723 {
24724 if (temp2)
24725 delete arg2;
24726 }
24727 return NULL;
24728 }
24729
24730
24731 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24732 PyObject *resultobj;
24733 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24734 bool result;
24735 PyObject * obj0 = 0 ;
24736 char *kwnames[] = {
24737 (char *) "self", NULL
24738 };
24739
24740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 {
24751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24752 }
24753 return resultobj;
24754 fail:
24755 return NULL;
24756 }
24757
24758
24759 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24762 bool arg2 ;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "editCancelled", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24772 arg2 = (bool) SWIG_AsBool(obj1);
24773 if (PyErr_Occurred()) SWIG_fail;
24774 {
24775 PyThreadState* __tstate = wxPyBeginAllowThreads();
24776 (arg1)->SetEditCanceled(arg2);
24777
24778 wxPyEndAllowThreads(__tstate);
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 Py_INCREF(Py_None); resultobj = Py_None;
24782 return resultobj;
24783 fail:
24784 return NULL;
24785 }
24786
24787
24788 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24789 PyObject *resultobj;
24790 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24791 wxString *arg2 = 0 ;
24792 bool temp2 = False ;
24793 PyObject * obj0 = 0 ;
24794 PyObject * obj1 = 0 ;
24795 char *kwnames[] = {
24796 (char *) "self",(char *) "toolTip", NULL
24797 };
24798
24799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24802 {
24803 arg2 = wxString_in_helper(obj1);
24804 if (arg2 == NULL) SWIG_fail;
24805 temp2 = True;
24806 }
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 (arg1)->SetToolTip((wxString const &)*arg2);
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 Py_INCREF(Py_None); resultobj = Py_None;
24815 {
24816 if (temp2)
24817 delete arg2;
24818 }
24819 return resultobj;
24820 fail:
24821 {
24822 if (temp2)
24823 delete arg2;
24824 }
24825 return NULL;
24826 }
24827
24828
24829 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24830 PyObject *obj;
24831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24832 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24833 Py_INCREF(obj);
24834 return Py_BuildValue((char *)"");
24835 }
24836 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxWindow *arg1 = (wxWindow *) 0 ;
24839 int arg2 = (int) -1 ;
24840 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24841 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24842 wxSize const &arg4_defvalue = wxDefaultSize ;
24843 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24844 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24845 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24846 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24847 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24848 wxString *arg7 = (wxString *) &arg7_defvalue ;
24849 wxPyTreeCtrl *result;
24850 wxPoint temp3 ;
24851 wxSize temp4 ;
24852 bool temp7 = False ;
24853 PyObject * obj0 = 0 ;
24854 PyObject * obj1 = 0 ;
24855 PyObject * obj2 = 0 ;
24856 PyObject * obj3 = 0 ;
24857 PyObject * obj4 = 0 ;
24858 PyObject * obj5 = 0 ;
24859 PyObject * obj6 = 0 ;
24860 char *kwnames[] = {
24861 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24862 };
24863
24864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24867 if (obj1) {
24868 arg2 = (int) SWIG_AsInt(obj1);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 if (obj2) {
24872 {
24873 arg3 = &temp3;
24874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24875 }
24876 }
24877 if (obj3) {
24878 {
24879 arg4 = &temp4;
24880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24881 }
24882 }
24883 if (obj4) {
24884 arg5 = (long) SWIG_AsLong(obj4);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 if (obj5) {
24888 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24889 SWIG_POINTER_EXCEPTION | 0)) == -1)
24890 SWIG_fail;
24891 if (arg6 == NULL) {
24892 PyErr_SetString(PyExc_TypeError,"null reference");
24893 SWIG_fail;
24894 }
24895 }
24896 if (obj6) {
24897 {
24898 arg7 = wxString_in_helper(obj6);
24899 if (arg7 == NULL) SWIG_fail;
24900 temp7 = True;
24901 }
24902 }
24903 {
24904 if (!wxPyCheckForApp()) SWIG_fail;
24905 PyThreadState* __tstate = wxPyBeginAllowThreads();
24906 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24907
24908 wxPyEndAllowThreads(__tstate);
24909 if (PyErr_Occurred()) SWIG_fail;
24910 }
24911 {
24912 resultobj = wxPyMake_wxObject(result);
24913 }
24914 {
24915 if (temp7)
24916 delete arg7;
24917 }
24918 return resultobj;
24919 fail:
24920 {
24921 if (temp7)
24922 delete arg7;
24923 }
24924 return NULL;
24925 }
24926
24927
24928 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24929 PyObject *resultobj;
24930 wxPyTreeCtrl *result;
24931 char *kwnames[] = {
24932 NULL
24933 };
24934
24935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24936 {
24937 if (!wxPyCheckForApp()) SWIG_fail;
24938 PyThreadState* __tstate = wxPyBeginAllowThreads();
24939 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24940
24941 wxPyEndAllowThreads(__tstate);
24942 if (PyErr_Occurred()) SWIG_fail;
24943 }
24944 {
24945 resultobj = wxPyMake_wxObject(result);
24946 }
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj;
24955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24956 wxWindow *arg2 = (wxWindow *) 0 ;
24957 int arg3 = (int) -1 ;
24958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24960 wxSize const &arg5_defvalue = wxDefaultSize ;
24961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24962 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24963 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24964 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24965 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24966 wxString *arg8 = (wxString *) &arg8_defvalue ;
24967 bool result;
24968 wxPoint temp4 ;
24969 wxSize temp5 ;
24970 bool temp8 = False ;
24971 PyObject * obj0 = 0 ;
24972 PyObject * obj1 = 0 ;
24973 PyObject * obj2 = 0 ;
24974 PyObject * obj3 = 0 ;
24975 PyObject * obj4 = 0 ;
24976 PyObject * obj5 = 0 ;
24977 PyObject * obj6 = 0 ;
24978 PyObject * obj7 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24988 if (obj2) {
24989 arg3 = (int) SWIG_AsInt(obj2);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 if (obj3) {
24993 {
24994 arg4 = &temp4;
24995 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24996 }
24997 }
24998 if (obj4) {
24999 {
25000 arg5 = &temp5;
25001 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25002 }
25003 }
25004 if (obj5) {
25005 arg6 = (long) SWIG_AsLong(obj5);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
25008 if (obj6) {
25009 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25010 SWIG_POINTER_EXCEPTION | 0)) == -1)
25011 SWIG_fail;
25012 if (arg7 == NULL) {
25013 PyErr_SetString(PyExc_TypeError,"null reference");
25014 SWIG_fail;
25015 }
25016 }
25017 if (obj7) {
25018 {
25019 arg8 = wxString_in_helper(obj7);
25020 if (arg8 == NULL) SWIG_fail;
25021 temp8 = True;
25022 }
25023 }
25024 {
25025 PyThreadState* __tstate = wxPyBeginAllowThreads();
25026 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25027
25028 wxPyEndAllowThreads(__tstate);
25029 if (PyErr_Occurred()) SWIG_fail;
25030 }
25031 {
25032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25033 }
25034 {
25035 if (temp8)
25036 delete arg8;
25037 }
25038 return resultobj;
25039 fail:
25040 {
25041 if (temp8)
25042 delete arg8;
25043 }
25044 return NULL;
25045 }
25046
25047
25048 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25049 PyObject *resultobj;
25050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25051 PyObject *arg2 = (PyObject *) 0 ;
25052 PyObject *arg3 = (PyObject *) 0 ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 PyObject * obj2 = 0 ;
25056 char *kwnames[] = {
25057 (char *) "self",(char *) "self",(char *) "_class", NULL
25058 };
25059
25060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25063 arg2 = obj1;
25064 arg3 = obj2;
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 (arg1)->_setCallbackInfo(arg2,arg3);
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 Py_INCREF(Py_None); resultobj = Py_None;
25073 return resultobj;
25074 fail:
25075 return NULL;
25076 }
25077
25078
25079 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25080 PyObject *resultobj;
25081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25082 size_t result;
25083 PyObject * obj0 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj;
25107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25108 unsigned int result;
25109 PyObject * obj0 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25125 return resultobj;
25126 fail:
25127 return NULL;
25128 }
25129
25130
25131 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj;
25133 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25134 unsigned int arg2 ;
25135 PyObject * obj0 = 0 ;
25136 PyObject * obj1 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "self",(char *) "indent", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25144 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25145 if (PyErr_Occurred()) SWIG_fail;
25146 {
25147 PyThreadState* __tstate = wxPyBeginAllowThreads();
25148 (arg1)->SetIndent(arg2);
25149
25150 wxPyEndAllowThreads(__tstate);
25151 if (PyErr_Occurred()) SWIG_fail;
25152 }
25153 Py_INCREF(Py_None); resultobj = Py_None;
25154 return resultobj;
25155 fail:
25156 return NULL;
25157 }
25158
25159
25160 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25161 PyObject *resultobj;
25162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25163 unsigned int result;
25164 PyObject * obj0 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25172 {
25173 PyThreadState* __tstate = wxPyBeginAllowThreads();
25174 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25175
25176 wxPyEndAllowThreads(__tstate);
25177 if (PyErr_Occurred()) SWIG_fail;
25178 }
25179 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25180 return resultobj;
25181 fail:
25182 return NULL;
25183 }
25184
25185
25186 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25187 PyObject *resultobj;
25188 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25189 unsigned int arg2 ;
25190 PyObject * obj0 = 0 ;
25191 PyObject * obj1 = 0 ;
25192 char *kwnames[] = {
25193 (char *) "self",(char *) "spacing", NULL
25194 };
25195
25196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25199 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25200 if (PyErr_Occurred()) SWIG_fail;
25201 {
25202 PyThreadState* __tstate = wxPyBeginAllowThreads();
25203 (arg1)->SetSpacing(arg2);
25204
25205 wxPyEndAllowThreads(__tstate);
25206 if (PyErr_Occurred()) SWIG_fail;
25207 }
25208 Py_INCREF(Py_None); resultobj = Py_None;
25209 return resultobj;
25210 fail:
25211 return NULL;
25212 }
25213
25214
25215 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj;
25217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25218 wxImageList *result;
25219 PyObject * obj0 = 0 ;
25220 char *kwnames[] = {
25221 (char *) "self", NULL
25222 };
25223
25224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25227 {
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25230
25231 wxPyEndAllowThreads(__tstate);
25232 if (PyErr_Occurred()) SWIG_fail;
25233 }
25234 {
25235 resultobj = wxPyMake_wxObject(result);
25236 }
25237 return resultobj;
25238 fail:
25239 return NULL;
25240 }
25241
25242
25243 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25246 wxImageList *result;
25247 PyObject * obj0 = 0 ;
25248 char *kwnames[] = {
25249 (char *) "self", NULL
25250 };
25251
25252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 {
25263 resultobj = wxPyMake_wxObject(result);
25264 }
25265 return resultobj;
25266 fail:
25267 return NULL;
25268 }
25269
25270
25271 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25272 PyObject *resultobj;
25273 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25274 wxImageList *arg2 = (wxImageList *) 0 ;
25275 PyObject * obj0 = 0 ;
25276 PyObject * obj1 = 0 ;
25277 char *kwnames[] = {
25278 (char *) "self",(char *) "imageList", NULL
25279 };
25280
25281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25284 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 (arg1)->SetImageList(arg2);
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 Py_INCREF(Py_None); resultobj = Py_None;
25294 return resultobj;
25295 fail:
25296 return NULL;
25297 }
25298
25299
25300 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25301 PyObject *resultobj;
25302 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25303 wxImageList *arg2 = (wxImageList *) 0 ;
25304 PyObject * obj0 = 0 ;
25305 PyObject * obj1 = 0 ;
25306 char *kwnames[] = {
25307 (char *) "self",(char *) "imageList", NULL
25308 };
25309
25310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25313 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25315 {
25316 PyThreadState* __tstate = wxPyBeginAllowThreads();
25317 (arg1)->SetStateImageList(arg2);
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
25322 Py_INCREF(Py_None); resultobj = Py_None;
25323 return resultobj;
25324 fail:
25325 return NULL;
25326 }
25327
25328
25329 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25330 PyObject *resultobj;
25331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25332 wxImageList *arg2 = (wxImageList *) 0 ;
25333 PyObject * obj0 = 0 ;
25334 PyObject * obj1 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self",(char *) "imageList", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25343 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 (arg1)->AssignImageList(arg2);
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 Py_INCREF(Py_None); resultobj = Py_None;
25352 return resultobj;
25353 fail:
25354 return NULL;
25355 }
25356
25357
25358 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25361 wxImageList *arg2 = (wxImageList *) 0 ;
25362 PyObject * obj0 = 0 ;
25363 PyObject * obj1 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self",(char *) "imageList", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25372 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 (arg1)->AssignStateImageList(arg2);
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 Py_INCREF(Py_None); resultobj = Py_None;
25381 return resultobj;
25382 fail:
25383 return NULL;
25384 }
25385
25386
25387 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25388 PyObject *resultobj;
25389 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25390 wxTreeItemId *arg2 = 0 ;
25391 wxString result;
25392 PyObject * obj0 = 0 ;
25393 PyObject * obj1 = 0 ;
25394 char *kwnames[] = {
25395 (char *) "self",(char *) "item", NULL
25396 };
25397
25398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25402 SWIG_POINTER_EXCEPTION | 0)) == -1)
25403 SWIG_fail;
25404 if (arg2 == NULL) {
25405 PyErr_SetString(PyExc_TypeError,"null reference");
25406 SWIG_fail;
25407 }
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 {
25416 #if wxUSE_UNICODE
25417 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25418 #else
25419 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25420 #endif
25421 }
25422 return resultobj;
25423 fail:
25424 return NULL;
25425 }
25426
25427
25428 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25429 PyObject *resultobj;
25430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25431 wxTreeItemId *arg2 = 0 ;
25432 int arg3 = (int) wxTreeItemIcon_Normal ;
25433 int result;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 PyObject * obj2 = 0 ;
25437 char *kwnames[] = {
25438 (char *) "self",(char *) "item",(char *) "which", NULL
25439 };
25440
25441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25444 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25445 SWIG_POINTER_EXCEPTION | 0)) == -1)
25446 SWIG_fail;
25447 if (arg2 == NULL) {
25448 PyErr_SetString(PyExc_TypeError,"null reference");
25449 SWIG_fail;
25450 }
25451 if (obj2) {
25452 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25453 if (PyErr_Occurred()) SWIG_fail;
25454 }
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 resultobj = SWIG_FromInt((int)result);
25463 return resultobj;
25464 fail:
25465 return NULL;
25466 }
25467
25468
25469 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj;
25471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25472 wxTreeItemId *arg2 = 0 ;
25473 wxPyTreeItemData *result;
25474 PyObject * obj0 = 0 ;
25475 PyObject * obj1 = 0 ;
25476 char *kwnames[] = {
25477 (char *) "self",(char *) "item", NULL
25478 };
25479
25480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25484 SWIG_POINTER_EXCEPTION | 0)) == -1)
25485 SWIG_fail;
25486 if (arg2 == NULL) {
25487 PyErr_SetString(PyExc_TypeError,"null reference");
25488 SWIG_fail;
25489 }
25490 {
25491 PyThreadState* __tstate = wxPyBeginAllowThreads();
25492 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25493
25494 wxPyEndAllowThreads(__tstate);
25495 if (PyErr_Occurred()) SWIG_fail;
25496 }
25497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25498 return resultobj;
25499 fail:
25500 return NULL;
25501 }
25502
25503
25504 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25505 PyObject *resultobj;
25506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25507 wxTreeItemId *arg2 = 0 ;
25508 PyObject *result;
25509 PyObject * obj0 = 0 ;
25510 PyObject * obj1 = 0 ;
25511 char *kwnames[] = {
25512 (char *) "self",(char *) "item", NULL
25513 };
25514
25515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25519 SWIG_POINTER_EXCEPTION | 0)) == -1)
25520 SWIG_fail;
25521 if (arg2 == NULL) {
25522 PyErr_SetString(PyExc_TypeError,"null reference");
25523 SWIG_fail;
25524 }
25525 {
25526 PyThreadState* __tstate = wxPyBeginAllowThreads();
25527 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25528
25529 wxPyEndAllowThreads(__tstate);
25530 if (PyErr_Occurred()) SWIG_fail;
25531 }
25532 resultobj = result;
25533 return resultobj;
25534 fail:
25535 return NULL;
25536 }
25537
25538
25539 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25540 PyObject *resultobj;
25541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25542 wxTreeItemId *arg2 = 0 ;
25543 wxColour result;
25544 PyObject * obj0 = 0 ;
25545 PyObject * obj1 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self",(char *) "item", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25554 SWIG_POINTER_EXCEPTION | 0)) == -1)
25555 SWIG_fail;
25556 if (arg2 == NULL) {
25557 PyErr_SetString(PyExc_TypeError,"null reference");
25558 SWIG_fail;
25559 }
25560 {
25561 PyThreadState* __tstate = wxPyBeginAllowThreads();
25562 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25563
25564 wxPyEndAllowThreads(__tstate);
25565 if (PyErr_Occurred()) SWIG_fail;
25566 }
25567 {
25568 wxColour * resultptr;
25569 resultptr = new wxColour((wxColour &) result);
25570 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25571 }
25572 return resultobj;
25573 fail:
25574 return NULL;
25575 }
25576
25577
25578 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25579 PyObject *resultobj;
25580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25581 wxTreeItemId *arg2 = 0 ;
25582 wxColour result;
25583 PyObject * obj0 = 0 ;
25584 PyObject * obj1 = 0 ;
25585 char *kwnames[] = {
25586 (char *) "self",(char *) "item", NULL
25587 };
25588
25589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25592 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25593 SWIG_POINTER_EXCEPTION | 0)) == -1)
25594 SWIG_fail;
25595 if (arg2 == NULL) {
25596 PyErr_SetString(PyExc_TypeError,"null reference");
25597 SWIG_fail;
25598 }
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25602
25603 wxPyEndAllowThreads(__tstate);
25604 if (PyErr_Occurred()) SWIG_fail;
25605 }
25606 {
25607 wxColour * resultptr;
25608 resultptr = new wxColour((wxColour &) result);
25609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25610 }
25611 return resultobj;
25612 fail:
25613 return NULL;
25614 }
25615
25616
25617 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25618 PyObject *resultobj;
25619 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25620 wxTreeItemId *arg2 = 0 ;
25621 wxFont result;
25622 PyObject * obj0 = 0 ;
25623 PyObject * obj1 = 0 ;
25624 char *kwnames[] = {
25625 (char *) "self",(char *) "item", NULL
25626 };
25627
25628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25632 SWIG_POINTER_EXCEPTION | 0)) == -1)
25633 SWIG_fail;
25634 if (arg2 == NULL) {
25635 PyErr_SetString(PyExc_TypeError,"null reference");
25636 SWIG_fail;
25637 }
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25641
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 {
25646 wxFont * resultptr;
25647 resultptr = new wxFont((wxFont &) result);
25648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25649 }
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj;
25658 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25659 wxTreeItemId *arg2 = 0 ;
25660 wxString *arg3 = 0 ;
25661 bool temp3 = False ;
25662 PyObject * obj0 = 0 ;
25663 PyObject * obj1 = 0 ;
25664 PyObject * obj2 = 0 ;
25665 char *kwnames[] = {
25666 (char *) "self",(char *) "item",(char *) "text", NULL
25667 };
25668
25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25673 SWIG_POINTER_EXCEPTION | 0)) == -1)
25674 SWIG_fail;
25675 if (arg2 == NULL) {
25676 PyErr_SetString(PyExc_TypeError,"null reference");
25677 SWIG_fail;
25678 }
25679 {
25680 arg3 = wxString_in_helper(obj2);
25681 if (arg3 == NULL) SWIG_fail;
25682 temp3 = True;
25683 }
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 Py_INCREF(Py_None); resultobj = Py_None;
25692 {
25693 if (temp3)
25694 delete arg3;
25695 }
25696 return resultobj;
25697 fail:
25698 {
25699 if (temp3)
25700 delete arg3;
25701 }
25702 return NULL;
25703 }
25704
25705
25706 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25707 PyObject *resultobj;
25708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25709 wxTreeItemId *arg2 = 0 ;
25710 int arg3 ;
25711 int arg4 = (int) wxTreeItemIcon_Normal ;
25712 PyObject * obj0 = 0 ;
25713 PyObject * obj1 = 0 ;
25714 PyObject * obj2 = 0 ;
25715 PyObject * obj3 = 0 ;
25716 char *kwnames[] = {
25717 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25718 };
25719
25720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25723 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25724 SWIG_POINTER_EXCEPTION | 0)) == -1)
25725 SWIG_fail;
25726 if (arg2 == NULL) {
25727 PyErr_SetString(PyExc_TypeError,"null reference");
25728 SWIG_fail;
25729 }
25730 arg3 = (int) SWIG_AsInt(obj2);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 if (obj3) {
25733 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25734 if (PyErr_Occurred()) SWIG_fail;
25735 }
25736 {
25737 PyThreadState* __tstate = wxPyBeginAllowThreads();
25738 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25739
25740 wxPyEndAllowThreads(__tstate);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 Py_INCREF(Py_None); resultobj = Py_None;
25744 return resultobj;
25745 fail:
25746 return NULL;
25747 }
25748
25749
25750 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25751 PyObject *resultobj;
25752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25753 wxTreeItemId *arg2 = 0 ;
25754 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25755 PyObject * obj0 = 0 ;
25756 PyObject * obj1 = 0 ;
25757 PyObject * obj2 = 0 ;
25758 char *kwnames[] = {
25759 (char *) "self",(char *) "item",(char *) "data", NULL
25760 };
25761
25762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25766 SWIG_POINTER_EXCEPTION | 0)) == -1)
25767 SWIG_fail;
25768 if (arg2 == NULL) {
25769 PyErr_SetString(PyExc_TypeError,"null reference");
25770 SWIG_fail;
25771 }
25772 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25774 {
25775 PyThreadState* __tstate = wxPyBeginAllowThreads();
25776 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25777
25778 wxPyEndAllowThreads(__tstate);
25779 if (PyErr_Occurred()) SWIG_fail;
25780 }
25781 Py_INCREF(Py_None); resultobj = Py_None;
25782 return resultobj;
25783 fail:
25784 return NULL;
25785 }
25786
25787
25788 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25789 PyObject *resultobj;
25790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25791 wxTreeItemId *arg2 = 0 ;
25792 PyObject *arg3 = (PyObject *) 0 ;
25793 PyObject * obj0 = 0 ;
25794 PyObject * obj1 = 0 ;
25795 PyObject * obj2 = 0 ;
25796 char *kwnames[] = {
25797 (char *) "self",(char *) "item",(char *) "obj", NULL
25798 };
25799
25800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25804 SWIG_POINTER_EXCEPTION | 0)) == -1)
25805 SWIG_fail;
25806 if (arg2 == NULL) {
25807 PyErr_SetString(PyExc_TypeError,"null reference");
25808 SWIG_fail;
25809 }
25810 arg3 = obj2;
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 Py_INCREF(Py_None); resultobj = Py_None;
25819 return resultobj;
25820 fail:
25821 return NULL;
25822 }
25823
25824
25825 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25826 PyObject *resultobj;
25827 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25828 wxTreeItemId *arg2 = 0 ;
25829 bool arg3 = (bool) True ;
25830 PyObject * obj0 = 0 ;
25831 PyObject * obj1 = 0 ;
25832 PyObject * obj2 = 0 ;
25833 char *kwnames[] = {
25834 (char *) "self",(char *) "item",(char *) "has", NULL
25835 };
25836
25837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25841 SWIG_POINTER_EXCEPTION | 0)) == -1)
25842 SWIG_fail;
25843 if (arg2 == NULL) {
25844 PyErr_SetString(PyExc_TypeError,"null reference");
25845 SWIG_fail;
25846 }
25847 if (obj2) {
25848 arg3 = (bool) SWIG_AsBool(obj2);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
25858 Py_INCREF(Py_None); resultobj = Py_None;
25859 return resultobj;
25860 fail:
25861 return NULL;
25862 }
25863
25864
25865 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25866 PyObject *resultobj;
25867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25868 wxTreeItemId *arg2 = 0 ;
25869 bool arg3 = (bool) True ;
25870 PyObject * obj0 = 0 ;
25871 PyObject * obj1 = 0 ;
25872 PyObject * obj2 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "item",(char *) "bold", NULL
25875 };
25876
25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25880 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1)
25882 SWIG_fail;
25883 if (arg2 == NULL) {
25884 PyErr_SetString(PyExc_TypeError,"null reference");
25885 SWIG_fail;
25886 }
25887 if (obj2) {
25888 arg3 = (bool) SWIG_AsBool(obj2);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
25891 {
25892 PyThreadState* __tstate = wxPyBeginAllowThreads();
25893 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25894
25895 wxPyEndAllowThreads(__tstate);
25896 if (PyErr_Occurred()) SWIG_fail;
25897 }
25898 Py_INCREF(Py_None); resultobj = Py_None;
25899 return resultobj;
25900 fail:
25901 return NULL;
25902 }
25903
25904
25905 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25906 PyObject *resultobj;
25907 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25908 wxTreeItemId *arg2 = 0 ;
25909 wxColour *arg3 = 0 ;
25910 wxColour temp3 ;
25911 PyObject * obj0 = 0 ;
25912 PyObject * obj1 = 0 ;
25913 PyObject * obj2 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "item",(char *) "col", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25922 SWIG_POINTER_EXCEPTION | 0)) == -1)
25923 SWIG_fail;
25924 if (arg2 == NULL) {
25925 PyErr_SetString(PyExc_TypeError,"null reference");
25926 SWIG_fail;
25927 }
25928 {
25929 arg3 = &temp3;
25930 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25931 }
25932 {
25933 PyThreadState* __tstate = wxPyBeginAllowThreads();
25934 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25935
25936 wxPyEndAllowThreads(__tstate);
25937 if (PyErr_Occurred()) SWIG_fail;
25938 }
25939 Py_INCREF(Py_None); resultobj = Py_None;
25940 return resultobj;
25941 fail:
25942 return NULL;
25943 }
25944
25945
25946 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj;
25948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25949 wxTreeItemId *arg2 = 0 ;
25950 wxColour *arg3 = 0 ;
25951 wxColour temp3 ;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 PyObject * obj2 = 0 ;
25955 char *kwnames[] = {
25956 (char *) "self",(char *) "item",(char *) "col", NULL
25957 };
25958
25959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25963 SWIG_POINTER_EXCEPTION | 0)) == -1)
25964 SWIG_fail;
25965 if (arg2 == NULL) {
25966 PyErr_SetString(PyExc_TypeError,"null reference");
25967 SWIG_fail;
25968 }
25969 {
25970 arg3 = &temp3;
25971 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25972 }
25973 {
25974 PyThreadState* __tstate = wxPyBeginAllowThreads();
25975 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25976
25977 wxPyEndAllowThreads(__tstate);
25978 if (PyErr_Occurred()) SWIG_fail;
25979 }
25980 Py_INCREF(Py_None); resultobj = Py_None;
25981 return resultobj;
25982 fail:
25983 return NULL;
25984 }
25985
25986
25987 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25988 PyObject *resultobj;
25989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25990 wxTreeItemId *arg2 = 0 ;
25991 wxFont *arg3 = 0 ;
25992 PyObject * obj0 = 0 ;
25993 PyObject * obj1 = 0 ;
25994 PyObject * obj2 = 0 ;
25995 char *kwnames[] = {
25996 (char *) "self",(char *) "item",(char *) "font", NULL
25997 };
25998
25999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26002 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26003 SWIG_POINTER_EXCEPTION | 0)) == -1)
26004 SWIG_fail;
26005 if (arg2 == NULL) {
26006 PyErr_SetString(PyExc_TypeError,"null reference");
26007 SWIG_fail;
26008 }
26009 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26010 SWIG_POINTER_EXCEPTION | 0)) == -1)
26011 SWIG_fail;
26012 if (arg3 == NULL) {
26013 PyErr_SetString(PyExc_TypeError,"null reference");
26014 SWIG_fail;
26015 }
26016 {
26017 PyThreadState* __tstate = wxPyBeginAllowThreads();
26018 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26019
26020 wxPyEndAllowThreads(__tstate);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 }
26023 Py_INCREF(Py_None); resultobj = Py_None;
26024 return resultobj;
26025 fail:
26026 return NULL;
26027 }
26028
26029
26030 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26031 PyObject *resultobj;
26032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26033 wxTreeItemId *arg2 = 0 ;
26034 bool result;
26035 PyObject * obj0 = 0 ;
26036 PyObject * obj1 = 0 ;
26037 char *kwnames[] = {
26038 (char *) "self",(char *) "item", NULL
26039 };
26040
26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26045 SWIG_POINTER_EXCEPTION | 0)) == -1)
26046 SWIG_fail;
26047 if (arg2 == NULL) {
26048 PyErr_SetString(PyExc_TypeError,"null reference");
26049 SWIG_fail;
26050 }
26051 {
26052 PyThreadState* __tstate = wxPyBeginAllowThreads();
26053 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26054
26055 wxPyEndAllowThreads(__tstate);
26056 if (PyErr_Occurred()) SWIG_fail;
26057 }
26058 {
26059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26060 }
26061 return resultobj;
26062 fail:
26063 return NULL;
26064 }
26065
26066
26067 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26068 PyObject *resultobj;
26069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26070 wxTreeItemId *arg2 = 0 ;
26071 bool result;
26072 PyObject * obj0 = 0 ;
26073 PyObject * obj1 = 0 ;
26074 char *kwnames[] = {
26075 (char *) "self",(char *) "item", NULL
26076 };
26077
26078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26082 SWIG_POINTER_EXCEPTION | 0)) == -1)
26083 SWIG_fail;
26084 if (arg2 == NULL) {
26085 PyErr_SetString(PyExc_TypeError,"null reference");
26086 SWIG_fail;
26087 }
26088 {
26089 PyThreadState* __tstate = wxPyBeginAllowThreads();
26090 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26091
26092 wxPyEndAllowThreads(__tstate);
26093 if (PyErr_Occurred()) SWIG_fail;
26094 }
26095 {
26096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26097 }
26098 return resultobj;
26099 fail:
26100 return NULL;
26101 }
26102
26103
26104 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26105 PyObject *resultobj;
26106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26107 wxTreeItemId *arg2 = 0 ;
26108 bool result;
26109 PyObject * obj0 = 0 ;
26110 PyObject * obj1 = 0 ;
26111 char *kwnames[] = {
26112 (char *) "self",(char *) "item", NULL
26113 };
26114
26115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26119 SWIG_POINTER_EXCEPTION | 0)) == -1)
26120 SWIG_fail;
26121 if (arg2 == NULL) {
26122 PyErr_SetString(PyExc_TypeError,"null reference");
26123 SWIG_fail;
26124 }
26125 {
26126 PyThreadState* __tstate = wxPyBeginAllowThreads();
26127 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26128
26129 wxPyEndAllowThreads(__tstate);
26130 if (PyErr_Occurred()) SWIG_fail;
26131 }
26132 {
26133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26134 }
26135 return resultobj;
26136 fail:
26137 return NULL;
26138 }
26139
26140
26141 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26142 PyObject *resultobj;
26143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26144 wxTreeItemId *arg2 = 0 ;
26145 bool result;
26146 PyObject * obj0 = 0 ;
26147 PyObject * obj1 = 0 ;
26148 char *kwnames[] = {
26149 (char *) "self",(char *) "item", NULL
26150 };
26151
26152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26156 SWIG_POINTER_EXCEPTION | 0)) == -1)
26157 SWIG_fail;
26158 if (arg2 == NULL) {
26159 PyErr_SetString(PyExc_TypeError,"null reference");
26160 SWIG_fail;
26161 }
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
26169 {
26170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26171 }
26172 return resultobj;
26173 fail:
26174 return NULL;
26175 }
26176
26177
26178 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26179 PyObject *resultobj;
26180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26181 wxTreeItemId *arg2 = 0 ;
26182 bool result;
26183 PyObject * obj0 = 0 ;
26184 PyObject * obj1 = 0 ;
26185 char *kwnames[] = {
26186 (char *) "self",(char *) "item", NULL
26187 };
26188
26189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26193 SWIG_POINTER_EXCEPTION | 0)) == -1)
26194 SWIG_fail;
26195 if (arg2 == NULL) {
26196 PyErr_SetString(PyExc_TypeError,"null reference");
26197 SWIG_fail;
26198 }
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26202
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 {
26207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26208 }
26209 return resultobj;
26210 fail:
26211 return NULL;
26212 }
26213
26214
26215 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26216 PyObject *resultobj;
26217 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26218 wxTreeItemId *arg2 = 0 ;
26219 bool arg3 = (bool) True ;
26220 size_t result;
26221 PyObject * obj0 = 0 ;
26222 PyObject * obj1 = 0 ;
26223 PyObject * obj2 = 0 ;
26224 char *kwnames[] = {
26225 (char *) "self",(char *) "item",(char *) "recursively", NULL
26226 };
26227
26228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26232 SWIG_POINTER_EXCEPTION | 0)) == -1)
26233 SWIG_fail;
26234 if (arg2 == NULL) {
26235 PyErr_SetString(PyExc_TypeError,"null reference");
26236 SWIG_fail;
26237 }
26238 if (obj2) {
26239 arg3 = (bool) SWIG_AsBool(obj2);
26240 if (PyErr_Occurred()) SWIG_fail;
26241 }
26242 {
26243 PyThreadState* __tstate = wxPyBeginAllowThreads();
26244 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26245
26246 wxPyEndAllowThreads(__tstate);
26247 if (PyErr_Occurred()) SWIG_fail;
26248 }
26249 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26250 return resultobj;
26251 fail:
26252 return NULL;
26253 }
26254
26255
26256 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26257 PyObject *resultobj;
26258 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26259 wxTreeItemId result;
26260 PyObject * obj0 = 0 ;
26261 char *kwnames[] = {
26262 (char *) "self", NULL
26263 };
26264
26265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26268 {
26269 PyThreadState* __tstate = wxPyBeginAllowThreads();
26270 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26271
26272 wxPyEndAllowThreads(__tstate);
26273 if (PyErr_Occurred()) SWIG_fail;
26274 }
26275 {
26276 wxTreeItemId * resultptr;
26277 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26278 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26279 }
26280 return resultobj;
26281 fail:
26282 return NULL;
26283 }
26284
26285
26286 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26287 PyObject *resultobj;
26288 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26289 wxTreeItemId result;
26290 PyObject * obj0 = 0 ;
26291 char *kwnames[] = {
26292 (char *) "self", NULL
26293 };
26294
26295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26298 {
26299 PyThreadState* __tstate = wxPyBeginAllowThreads();
26300 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26301
26302 wxPyEndAllowThreads(__tstate);
26303 if (PyErr_Occurred()) SWIG_fail;
26304 }
26305 {
26306 wxTreeItemId * resultptr;
26307 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26309 }
26310 return resultobj;
26311 fail:
26312 return NULL;
26313 }
26314
26315
26316 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj;
26318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26319 PyObject *result;
26320 PyObject * obj0 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = result;
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj;
26344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26345 wxTreeItemId *arg2 = 0 ;
26346 wxTreeItemId result;
26347 PyObject * obj0 = 0 ;
26348 PyObject * obj1 = 0 ;
26349 char *kwnames[] = {
26350 (char *) "self",(char *) "item", NULL
26351 };
26352
26353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26357 SWIG_POINTER_EXCEPTION | 0)) == -1)
26358 SWIG_fail;
26359 if (arg2 == NULL) {
26360 PyErr_SetString(PyExc_TypeError,"null reference");
26361 SWIG_fail;
26362 }
26363 {
26364 PyThreadState* __tstate = wxPyBeginAllowThreads();
26365 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26366
26367 wxPyEndAllowThreads(__tstate);
26368 if (PyErr_Occurred()) SWIG_fail;
26369 }
26370 {
26371 wxTreeItemId * resultptr;
26372 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26374 }
26375 return resultobj;
26376 fail:
26377 return NULL;
26378 }
26379
26380
26381 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26382 PyObject *resultobj;
26383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26384 wxTreeItemId *arg2 = 0 ;
26385 PyObject *result;
26386 PyObject * obj0 = 0 ;
26387 PyObject * obj1 = 0 ;
26388 char *kwnames[] = {
26389 (char *) "self",(char *) "item", NULL
26390 };
26391
26392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26396 SWIG_POINTER_EXCEPTION | 0)) == -1)
26397 SWIG_fail;
26398 if (arg2 == NULL) {
26399 PyErr_SetString(PyExc_TypeError,"null reference");
26400 SWIG_fail;
26401 }
26402 {
26403 PyThreadState* __tstate = wxPyBeginAllowThreads();
26404 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26405
26406 wxPyEndAllowThreads(__tstate);
26407 if (PyErr_Occurred()) SWIG_fail;
26408 }
26409 resultobj = result;
26410 return resultobj;
26411 fail:
26412 return NULL;
26413 }
26414
26415
26416 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26417 PyObject *resultobj;
26418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26419 wxTreeItemId *arg2 = 0 ;
26420 void *arg3 = (void *) 0 ;
26421 PyObject *result;
26422 PyObject * obj0 = 0 ;
26423 PyObject * obj1 = 0 ;
26424 PyObject * obj2 = 0 ;
26425 char *kwnames[] = {
26426 (char *) "self",(char *) "item",(char *) "cookie", NULL
26427 };
26428
26429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26433 SWIG_POINTER_EXCEPTION | 0)) == -1)
26434 SWIG_fail;
26435 if (arg2 == NULL) {
26436 PyErr_SetString(PyExc_TypeError,"null reference");
26437 SWIG_fail;
26438 }
26439 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26443
26444 wxPyEndAllowThreads(__tstate);
26445 if (PyErr_Occurred()) SWIG_fail;
26446 }
26447 resultobj = result;
26448 return resultobj;
26449 fail:
26450 return NULL;
26451 }
26452
26453
26454 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26455 PyObject *resultobj;
26456 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26457 wxTreeItemId *arg2 = 0 ;
26458 wxTreeItemId result;
26459 PyObject * obj0 = 0 ;
26460 PyObject * obj1 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self",(char *) "item", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26469 SWIG_POINTER_EXCEPTION | 0)) == -1)
26470 SWIG_fail;
26471 if (arg2 == NULL) {
26472 PyErr_SetString(PyExc_TypeError,"null reference");
26473 SWIG_fail;
26474 }
26475 {
26476 PyThreadState* __tstate = wxPyBeginAllowThreads();
26477 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 {
26483 wxTreeItemId * resultptr;
26484 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26486 }
26487 return resultobj;
26488 fail:
26489 return NULL;
26490 }
26491
26492
26493 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26494 PyObject *resultobj;
26495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26496 wxTreeItemId *arg2 = 0 ;
26497 wxTreeItemId result;
26498 PyObject * obj0 = 0 ;
26499 PyObject * obj1 = 0 ;
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "item", NULL
26502 };
26503
26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26508 SWIG_POINTER_EXCEPTION | 0)) == -1)
26509 SWIG_fail;
26510 if (arg2 == NULL) {
26511 PyErr_SetString(PyExc_TypeError,"null reference");
26512 SWIG_fail;
26513 }
26514 {
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26517
26518 wxPyEndAllowThreads(__tstate);
26519 if (PyErr_Occurred()) SWIG_fail;
26520 }
26521 {
26522 wxTreeItemId * resultptr;
26523 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26525 }
26526 return resultobj;
26527 fail:
26528 return NULL;
26529 }
26530
26531
26532 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26533 PyObject *resultobj;
26534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26535 wxTreeItemId *arg2 = 0 ;
26536 wxTreeItemId result;
26537 PyObject * obj0 = 0 ;
26538 PyObject * obj1 = 0 ;
26539 char *kwnames[] = {
26540 (char *) "self",(char *) "item", NULL
26541 };
26542
26543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26547 SWIG_POINTER_EXCEPTION | 0)) == -1)
26548 SWIG_fail;
26549 if (arg2 == NULL) {
26550 PyErr_SetString(PyExc_TypeError,"null reference");
26551 SWIG_fail;
26552 }
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 {
26561 wxTreeItemId * resultptr;
26562 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26563 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26564 }
26565 return resultobj;
26566 fail:
26567 return NULL;
26568 }
26569
26570
26571 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26572 PyObject *resultobj;
26573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26574 wxTreeItemId result;
26575 PyObject * obj0 = 0 ;
26576 char *kwnames[] = {
26577 (char *) "self", NULL
26578 };
26579
26580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26583 {
26584 PyThreadState* __tstate = wxPyBeginAllowThreads();
26585 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26586
26587 wxPyEndAllowThreads(__tstate);
26588 if (PyErr_Occurred()) SWIG_fail;
26589 }
26590 {
26591 wxTreeItemId * resultptr;
26592 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26593 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26594 }
26595 return resultobj;
26596 fail:
26597 return NULL;
26598 }
26599
26600
26601 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26602 PyObject *resultobj;
26603 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26604 wxTreeItemId *arg2 = 0 ;
26605 wxTreeItemId result;
26606 PyObject * obj0 = 0 ;
26607 PyObject * obj1 = 0 ;
26608 char *kwnames[] = {
26609 (char *) "self",(char *) "item", NULL
26610 };
26611
26612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26616 SWIG_POINTER_EXCEPTION | 0)) == -1)
26617 SWIG_fail;
26618 if (arg2 == NULL) {
26619 PyErr_SetString(PyExc_TypeError,"null reference");
26620 SWIG_fail;
26621 }
26622 {
26623 PyThreadState* __tstate = wxPyBeginAllowThreads();
26624 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26625
26626 wxPyEndAllowThreads(__tstate);
26627 if (PyErr_Occurred()) SWIG_fail;
26628 }
26629 {
26630 wxTreeItemId * resultptr;
26631 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26633 }
26634 return resultobj;
26635 fail:
26636 return NULL;
26637 }
26638
26639
26640 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26641 PyObject *resultobj;
26642 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26643 wxTreeItemId *arg2 = 0 ;
26644 wxTreeItemId result;
26645 PyObject * obj0 = 0 ;
26646 PyObject * obj1 = 0 ;
26647 char *kwnames[] = {
26648 (char *) "self",(char *) "item", NULL
26649 };
26650
26651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26654 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26655 SWIG_POINTER_EXCEPTION | 0)) == -1)
26656 SWIG_fail;
26657 if (arg2 == NULL) {
26658 PyErr_SetString(PyExc_TypeError,"null reference");
26659 SWIG_fail;
26660 }
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 {
26669 wxTreeItemId * resultptr;
26670 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26672 }
26673 return resultobj;
26674 fail:
26675 return NULL;
26676 }
26677
26678
26679 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26680 PyObject *resultobj;
26681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26682 wxString *arg2 = 0 ;
26683 int arg3 = (int) -1 ;
26684 int arg4 = (int) -1 ;
26685 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26686 wxTreeItemId result;
26687 bool temp2 = False ;
26688 PyObject * obj0 = 0 ;
26689 PyObject * obj1 = 0 ;
26690 PyObject * obj2 = 0 ;
26691 PyObject * obj3 = 0 ;
26692 PyObject * obj4 = 0 ;
26693 char *kwnames[] = {
26694 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26695 };
26696
26697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26700 {
26701 arg2 = wxString_in_helper(obj1);
26702 if (arg2 == NULL) SWIG_fail;
26703 temp2 = True;
26704 }
26705 if (obj2) {
26706 arg3 = (int) SWIG_AsInt(obj2);
26707 if (PyErr_Occurred()) SWIG_fail;
26708 }
26709 if (obj3) {
26710 arg4 = (int) SWIG_AsInt(obj3);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 if (obj4) {
26714 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26716 }
26717 {
26718 PyThreadState* __tstate = wxPyBeginAllowThreads();
26719 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26720
26721 wxPyEndAllowThreads(__tstate);
26722 if (PyErr_Occurred()) SWIG_fail;
26723 }
26724 {
26725 wxTreeItemId * resultptr;
26726 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26727 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26728 }
26729 {
26730 if (temp2)
26731 delete arg2;
26732 }
26733 return resultobj;
26734 fail:
26735 {
26736 if (temp2)
26737 delete arg2;
26738 }
26739 return NULL;
26740 }
26741
26742
26743 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26744 PyObject *resultobj;
26745 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26746 wxTreeItemId *arg2 = 0 ;
26747 wxString *arg3 = 0 ;
26748 int arg4 = (int) -1 ;
26749 int arg5 = (int) -1 ;
26750 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26751 wxTreeItemId result;
26752 bool temp3 = False ;
26753 PyObject * obj0 = 0 ;
26754 PyObject * obj1 = 0 ;
26755 PyObject * obj2 = 0 ;
26756 PyObject * obj3 = 0 ;
26757 PyObject * obj4 = 0 ;
26758 PyObject * obj5 = 0 ;
26759 char *kwnames[] = {
26760 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26761 };
26762
26763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26767 SWIG_POINTER_EXCEPTION | 0)) == -1)
26768 SWIG_fail;
26769 if (arg2 == NULL) {
26770 PyErr_SetString(PyExc_TypeError,"null reference");
26771 SWIG_fail;
26772 }
26773 {
26774 arg3 = wxString_in_helper(obj2);
26775 if (arg3 == NULL) SWIG_fail;
26776 temp3 = True;
26777 }
26778 if (obj3) {
26779 arg4 = (int) SWIG_AsInt(obj3);
26780 if (PyErr_Occurred()) SWIG_fail;
26781 }
26782 if (obj4) {
26783 arg5 = (int) SWIG_AsInt(obj4);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 if (obj5) {
26787 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26789 }
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
26797 {
26798 wxTreeItemId * resultptr;
26799 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26800 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26801 }
26802 {
26803 if (temp3)
26804 delete arg3;
26805 }
26806 return resultobj;
26807 fail:
26808 {
26809 if (temp3)
26810 delete arg3;
26811 }
26812 return NULL;
26813 }
26814
26815
26816 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26817 PyObject *resultobj;
26818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26819 wxTreeItemId *arg2 = 0 ;
26820 wxTreeItemId *arg3 = 0 ;
26821 wxString *arg4 = 0 ;
26822 int arg5 = (int) -1 ;
26823 int arg6 = (int) -1 ;
26824 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26825 wxTreeItemId result;
26826 bool temp4 = False ;
26827 PyObject * obj0 = 0 ;
26828 PyObject * obj1 = 0 ;
26829 PyObject * obj2 = 0 ;
26830 PyObject * obj3 = 0 ;
26831 PyObject * obj4 = 0 ;
26832 PyObject * obj5 = 0 ;
26833 PyObject * obj6 = 0 ;
26834 char *kwnames[] = {
26835 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26836 };
26837
26838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26842 SWIG_POINTER_EXCEPTION | 0)) == -1)
26843 SWIG_fail;
26844 if (arg2 == NULL) {
26845 PyErr_SetString(PyExc_TypeError,"null reference");
26846 SWIG_fail;
26847 }
26848 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26849 SWIG_POINTER_EXCEPTION | 0)) == -1)
26850 SWIG_fail;
26851 if (arg3 == NULL) {
26852 PyErr_SetString(PyExc_TypeError,"null reference");
26853 SWIG_fail;
26854 }
26855 {
26856 arg4 = wxString_in_helper(obj3);
26857 if (arg4 == NULL) SWIG_fail;
26858 temp4 = True;
26859 }
26860 if (obj4) {
26861 arg5 = (int) SWIG_AsInt(obj4);
26862 if (PyErr_Occurred()) SWIG_fail;
26863 }
26864 if (obj5) {
26865 arg6 = (int) SWIG_AsInt(obj5);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 if (obj6) {
26869 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26871 }
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
26879 {
26880 wxTreeItemId * resultptr;
26881 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26883 }
26884 {
26885 if (temp4)
26886 delete arg4;
26887 }
26888 return resultobj;
26889 fail:
26890 {
26891 if (temp4)
26892 delete arg4;
26893 }
26894 return NULL;
26895 }
26896
26897
26898 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26899 PyObject *resultobj;
26900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26901 wxTreeItemId *arg2 = 0 ;
26902 size_t arg3 ;
26903 wxString *arg4 = 0 ;
26904 int arg5 = (int) -1 ;
26905 int arg6 = (int) -1 ;
26906 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26907 wxTreeItemId result;
26908 bool temp4 = False ;
26909 PyObject * obj0 = 0 ;
26910 PyObject * obj1 = 0 ;
26911 PyObject * obj2 = 0 ;
26912 PyObject * obj3 = 0 ;
26913 PyObject * obj4 = 0 ;
26914 PyObject * obj5 = 0 ;
26915 PyObject * obj6 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26924 SWIG_POINTER_EXCEPTION | 0)) == -1)
26925 SWIG_fail;
26926 if (arg2 == NULL) {
26927 PyErr_SetString(PyExc_TypeError,"null reference");
26928 SWIG_fail;
26929 }
26930 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26931 if (PyErr_Occurred()) SWIG_fail;
26932 {
26933 arg4 = wxString_in_helper(obj3);
26934 if (arg4 == NULL) SWIG_fail;
26935 temp4 = True;
26936 }
26937 if (obj4) {
26938 arg5 = (int) SWIG_AsInt(obj4);
26939 if (PyErr_Occurred()) SWIG_fail;
26940 }
26941 if (obj5) {
26942 arg6 = (int) SWIG_AsInt(obj5);
26943 if (PyErr_Occurred()) SWIG_fail;
26944 }
26945 if (obj6) {
26946 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 wxTreeItemId * resultptr;
26958 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26960 }
26961 {
26962 if (temp4)
26963 delete arg4;
26964 }
26965 return resultobj;
26966 fail:
26967 {
26968 if (temp4)
26969 delete arg4;
26970 }
26971 return NULL;
26972 }
26973
26974
26975 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26976 PyObject *resultobj;
26977 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26978 wxTreeItemId *arg2 = 0 ;
26979 wxString *arg3 = 0 ;
26980 int arg4 = (int) -1 ;
26981 int arg5 = (int) -1 ;
26982 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26983 wxTreeItemId result;
26984 bool temp3 = False ;
26985 PyObject * obj0 = 0 ;
26986 PyObject * obj1 = 0 ;
26987 PyObject * obj2 = 0 ;
26988 PyObject * obj3 = 0 ;
26989 PyObject * obj4 = 0 ;
26990 PyObject * obj5 = 0 ;
26991 char *kwnames[] = {
26992 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26993 };
26994
26995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26998 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26999 SWIG_POINTER_EXCEPTION | 0)) == -1)
27000 SWIG_fail;
27001 if (arg2 == NULL) {
27002 PyErr_SetString(PyExc_TypeError,"null reference");
27003 SWIG_fail;
27004 }
27005 {
27006 arg3 = wxString_in_helper(obj2);
27007 if (arg3 == NULL) SWIG_fail;
27008 temp3 = True;
27009 }
27010 if (obj3) {
27011 arg4 = (int) SWIG_AsInt(obj3);
27012 if (PyErr_Occurred()) SWIG_fail;
27013 }
27014 if (obj4) {
27015 arg5 = (int) SWIG_AsInt(obj4);
27016 if (PyErr_Occurred()) SWIG_fail;
27017 }
27018 if (obj5) {
27019 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27021 }
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 wxTreeItemId * resultptr;
27031 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27033 }
27034 {
27035 if (temp3)
27036 delete arg3;
27037 }
27038 return resultobj;
27039 fail:
27040 {
27041 if (temp3)
27042 delete arg3;
27043 }
27044 return NULL;
27045 }
27046
27047
27048 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27049 PyObject *resultobj;
27050 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27051 wxTreeItemId *arg2 = 0 ;
27052 PyObject * obj0 = 0 ;
27053 PyObject * obj1 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "self",(char *) "item", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27062 SWIG_POINTER_EXCEPTION | 0)) == -1)
27063 SWIG_fail;
27064 if (arg2 == NULL) {
27065 PyErr_SetString(PyExc_TypeError,"null reference");
27066 SWIG_fail;
27067 }
27068 {
27069 PyThreadState* __tstate = wxPyBeginAllowThreads();
27070 (arg1)->Delete((wxTreeItemId const &)*arg2);
27071
27072 wxPyEndAllowThreads(__tstate);
27073 if (PyErr_Occurred()) SWIG_fail;
27074 }
27075 Py_INCREF(Py_None); resultobj = Py_None;
27076 return resultobj;
27077 fail:
27078 return NULL;
27079 }
27080
27081
27082 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27083 PyObject *resultobj;
27084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27085 wxTreeItemId *arg2 = 0 ;
27086 PyObject * obj0 = 0 ;
27087 PyObject * obj1 = 0 ;
27088 char *kwnames[] = {
27089 (char *) "self",(char *) "item", NULL
27090 };
27091
27092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27095 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27096 SWIG_POINTER_EXCEPTION | 0)) == -1)
27097 SWIG_fail;
27098 if (arg2 == NULL) {
27099 PyErr_SetString(PyExc_TypeError,"null reference");
27100 SWIG_fail;
27101 }
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 Py_INCREF(Py_None); resultobj = Py_None;
27110 return resultobj;
27111 fail:
27112 return NULL;
27113 }
27114
27115
27116 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27117 PyObject *resultobj;
27118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27119 PyObject * obj0 = 0 ;
27120 char *kwnames[] = {
27121 (char *) "self", NULL
27122 };
27123
27124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27127 {
27128 PyThreadState* __tstate = wxPyBeginAllowThreads();
27129 (arg1)->DeleteAllItems();
27130
27131 wxPyEndAllowThreads(__tstate);
27132 if (PyErr_Occurred()) SWIG_fail;
27133 }
27134 Py_INCREF(Py_None); resultobj = Py_None;
27135 return resultobj;
27136 fail:
27137 return NULL;
27138 }
27139
27140
27141 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27142 PyObject *resultobj;
27143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27144 wxTreeItemId *arg2 = 0 ;
27145 PyObject * obj0 = 0 ;
27146 PyObject * obj1 = 0 ;
27147 char *kwnames[] = {
27148 (char *) "self",(char *) "item", NULL
27149 };
27150
27151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27155 SWIG_POINTER_EXCEPTION | 0)) == -1)
27156 SWIG_fail;
27157 if (arg2 == NULL) {
27158 PyErr_SetString(PyExc_TypeError,"null reference");
27159 SWIG_fail;
27160 }
27161 {
27162 PyThreadState* __tstate = wxPyBeginAllowThreads();
27163 (arg1)->Expand((wxTreeItemId const &)*arg2);
27164
27165 wxPyEndAllowThreads(__tstate);
27166 if (PyErr_Occurred()) SWIG_fail;
27167 }
27168 Py_INCREF(Py_None); resultobj = Py_None;
27169 return resultobj;
27170 fail:
27171 return NULL;
27172 }
27173
27174
27175 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27176 PyObject *resultobj;
27177 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27178 wxTreeItemId *arg2 = 0 ;
27179 PyObject * obj0 = 0 ;
27180 PyObject * obj1 = 0 ;
27181 char *kwnames[] = {
27182 (char *) "self",(char *) "item", NULL
27183 };
27184
27185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27188 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27189 SWIG_POINTER_EXCEPTION | 0)) == -1)
27190 SWIG_fail;
27191 if (arg2 == NULL) {
27192 PyErr_SetString(PyExc_TypeError,"null reference");
27193 SWIG_fail;
27194 }
27195 {
27196 PyThreadState* __tstate = wxPyBeginAllowThreads();
27197 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27198
27199 wxPyEndAllowThreads(__tstate);
27200 if (PyErr_Occurred()) SWIG_fail;
27201 }
27202 Py_INCREF(Py_None); resultobj = Py_None;
27203 return resultobj;
27204 fail:
27205 return NULL;
27206 }
27207
27208
27209 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27210 PyObject *resultobj;
27211 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27212 wxTreeItemId *arg2 = 0 ;
27213 PyObject * obj0 = 0 ;
27214 PyObject * obj1 = 0 ;
27215 char *kwnames[] = {
27216 (char *) "self",(char *) "item", NULL
27217 };
27218
27219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27223 SWIG_POINTER_EXCEPTION | 0)) == -1)
27224 SWIG_fail;
27225 if (arg2 == NULL) {
27226 PyErr_SetString(PyExc_TypeError,"null reference");
27227 SWIG_fail;
27228 }
27229 {
27230 PyThreadState* __tstate = wxPyBeginAllowThreads();
27231 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27232
27233 wxPyEndAllowThreads(__tstate);
27234 if (PyErr_Occurred()) SWIG_fail;
27235 }
27236 Py_INCREF(Py_None); resultobj = Py_None;
27237 return resultobj;
27238 fail:
27239 return NULL;
27240 }
27241
27242
27243 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27244 PyObject *resultobj;
27245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27246 wxTreeItemId *arg2 = 0 ;
27247 PyObject * obj0 = 0 ;
27248 PyObject * obj1 = 0 ;
27249 char *kwnames[] = {
27250 (char *) "self",(char *) "item", NULL
27251 };
27252
27253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27257 SWIG_POINTER_EXCEPTION | 0)) == -1)
27258 SWIG_fail;
27259 if (arg2 == NULL) {
27260 PyErr_SetString(PyExc_TypeError,"null reference");
27261 SWIG_fail;
27262 }
27263 {
27264 PyThreadState* __tstate = wxPyBeginAllowThreads();
27265 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27266
27267 wxPyEndAllowThreads(__tstate);
27268 if (PyErr_Occurred()) SWIG_fail;
27269 }
27270 Py_INCREF(Py_None); resultobj = Py_None;
27271 return resultobj;
27272 fail:
27273 return NULL;
27274 }
27275
27276
27277 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27278 PyObject *resultobj;
27279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27280 PyObject * obj0 = 0 ;
27281 char *kwnames[] = {
27282 (char *) "self", NULL
27283 };
27284
27285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 (arg1)->Unselect();
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 Py_INCREF(Py_None); resultobj = Py_None;
27296 return resultobj;
27297 fail:
27298 return NULL;
27299 }
27300
27301
27302 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27303 PyObject *resultobj;
27304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27305 wxTreeItemId *arg2 = 0 ;
27306 PyObject * obj0 = 0 ;
27307 PyObject * obj1 = 0 ;
27308 char *kwnames[] = {
27309 (char *) "self",(char *) "item", NULL
27310 };
27311
27312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27316 SWIG_POINTER_EXCEPTION | 0)) == -1)
27317 SWIG_fail;
27318 if (arg2 == NULL) {
27319 PyErr_SetString(PyExc_TypeError,"null reference");
27320 SWIG_fail;
27321 }
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 Py_INCREF(Py_None); resultobj = Py_None;
27330 return resultobj;
27331 fail:
27332 return NULL;
27333 }
27334
27335
27336 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27337 PyObject *resultobj;
27338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27339 PyObject * obj0 = 0 ;
27340 char *kwnames[] = {
27341 (char *) "self", NULL
27342 };
27343
27344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27347 {
27348 PyThreadState* __tstate = wxPyBeginAllowThreads();
27349 (arg1)->UnselectAll();
27350
27351 wxPyEndAllowThreads(__tstate);
27352 if (PyErr_Occurred()) SWIG_fail;
27353 }
27354 Py_INCREF(Py_None); resultobj = Py_None;
27355 return resultobj;
27356 fail:
27357 return NULL;
27358 }
27359
27360
27361 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27362 PyObject *resultobj;
27363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27364 wxTreeItemId *arg2 = 0 ;
27365 bool arg3 = (bool) True ;
27366 PyObject * obj0 = 0 ;
27367 PyObject * obj1 = 0 ;
27368 PyObject * obj2 = 0 ;
27369 char *kwnames[] = {
27370 (char *) "self",(char *) "item",(char *) "select", NULL
27371 };
27372
27373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27376 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27377 SWIG_POINTER_EXCEPTION | 0)) == -1)
27378 SWIG_fail;
27379 if (arg2 == NULL) {
27380 PyErr_SetString(PyExc_TypeError,"null reference");
27381 SWIG_fail;
27382 }
27383 if (obj2) {
27384 arg3 = (bool) SWIG_AsBool(obj2);
27385 if (PyErr_Occurred()) SWIG_fail;
27386 }
27387 {
27388 PyThreadState* __tstate = wxPyBeginAllowThreads();
27389 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27390
27391 wxPyEndAllowThreads(__tstate);
27392 if (PyErr_Occurred()) SWIG_fail;
27393 }
27394 Py_INCREF(Py_None); resultobj = Py_None;
27395 return resultobj;
27396 fail:
27397 return NULL;
27398 }
27399
27400
27401 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27404 wxTreeItemId *arg2 = 0 ;
27405 PyObject * obj0 = 0 ;
27406 PyObject * obj1 = 0 ;
27407 char *kwnames[] = {
27408 (char *) "self",(char *) "item", NULL
27409 };
27410
27411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27415 SWIG_POINTER_EXCEPTION | 0)) == -1)
27416 SWIG_fail;
27417 if (arg2 == NULL) {
27418 PyErr_SetString(PyExc_TypeError,"null reference");
27419 SWIG_fail;
27420 }
27421 {
27422 PyThreadState* __tstate = wxPyBeginAllowThreads();
27423 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27424
27425 wxPyEndAllowThreads(__tstate);
27426 if (PyErr_Occurred()) SWIG_fail;
27427 }
27428 Py_INCREF(Py_None); resultobj = Py_None;
27429 return resultobj;
27430 fail:
27431 return NULL;
27432 }
27433
27434
27435 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27436 PyObject *resultobj;
27437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27438 wxTreeItemId *arg2 = 0 ;
27439 PyObject * obj0 = 0 ;
27440 PyObject * obj1 = 0 ;
27441 char *kwnames[] = {
27442 (char *) "self",(char *) "item", NULL
27443 };
27444
27445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27449 SWIG_POINTER_EXCEPTION | 0)) == -1)
27450 SWIG_fail;
27451 if (arg2 == NULL) {
27452 PyErr_SetString(PyExc_TypeError,"null reference");
27453 SWIG_fail;
27454 }
27455 {
27456 PyThreadState* __tstate = wxPyBeginAllowThreads();
27457 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27458
27459 wxPyEndAllowThreads(__tstate);
27460 if (PyErr_Occurred()) SWIG_fail;
27461 }
27462 Py_INCREF(Py_None); resultobj = Py_None;
27463 return resultobj;
27464 fail:
27465 return NULL;
27466 }
27467
27468
27469 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27470 PyObject *resultobj;
27471 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27472 wxTreeItemId *arg2 = 0 ;
27473 PyObject * obj0 = 0 ;
27474 PyObject * obj1 = 0 ;
27475 char *kwnames[] = {
27476 (char *) "self",(char *) "item", NULL
27477 };
27478
27479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1)
27484 SWIG_fail;
27485 if (arg2 == NULL) {
27486 PyErr_SetString(PyExc_TypeError,"null reference");
27487 SWIG_fail;
27488 }
27489 {
27490 PyThreadState* __tstate = wxPyBeginAllowThreads();
27491 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27492
27493 wxPyEndAllowThreads(__tstate);
27494 if (PyErr_Occurred()) SWIG_fail;
27495 }
27496 Py_INCREF(Py_None); resultobj = Py_None;
27497 return resultobj;
27498 fail:
27499 return NULL;
27500 }
27501
27502
27503 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27504 PyObject *resultobj;
27505 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27506 wxTreeItemId *arg2 = 0 ;
27507 PyObject * obj0 = 0 ;
27508 PyObject * obj1 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self",(char *) "item", NULL
27511 };
27512
27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27516 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1)
27518 SWIG_fail;
27519 if (arg2 == NULL) {
27520 PyErr_SetString(PyExc_TypeError,"null reference");
27521 SWIG_fail;
27522 }
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 Py_INCREF(Py_None); resultobj = Py_None;
27531 return resultobj;
27532 fail:
27533 return NULL;
27534 }
27535
27536
27537 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27538 PyObject *resultobj;
27539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27540 wxTextCtrl *result;
27541 PyObject * obj0 = 0 ;
27542 char *kwnames[] = {
27543 (char *) "self", NULL
27544 };
27545
27546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27549 {
27550 PyThreadState* __tstate = wxPyBeginAllowThreads();
27551 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27552
27553 wxPyEndAllowThreads(__tstate);
27554 if (PyErr_Occurred()) SWIG_fail;
27555 }
27556 {
27557 resultobj = wxPyMake_wxObject(result);
27558 }
27559 return resultobj;
27560 fail:
27561 return NULL;
27562 }
27563
27564
27565 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27566 PyObject *resultobj;
27567 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27568 wxTreeItemId *arg2 = 0 ;
27569 PyObject * obj0 = 0 ;
27570 PyObject * obj1 = 0 ;
27571 char *kwnames[] = {
27572 (char *) "self",(char *) "item", NULL
27573 };
27574
27575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27578 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27579 SWIG_POINTER_EXCEPTION | 0)) == -1)
27580 SWIG_fail;
27581 if (arg2 == NULL) {
27582 PyErr_SetString(PyExc_TypeError,"null reference");
27583 SWIG_fail;
27584 }
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27588
27589 wxPyEndAllowThreads(__tstate);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 Py_INCREF(Py_None); resultobj = Py_None;
27593 return resultobj;
27594 fail:
27595 return NULL;
27596 }
27597
27598
27599 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27600 PyObject *resultobj;
27601 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27602 wxPoint *arg2 = 0 ;
27603 int *arg3 = 0 ;
27604 wxTreeItemId result;
27605 wxPoint temp2 ;
27606 int temp3 ;
27607 PyObject * obj0 = 0 ;
27608 PyObject * obj1 = 0 ;
27609 char *kwnames[] = {
27610 (char *) "self",(char *) "point", NULL
27611 };
27612
27613 arg3 = &temp3;
27614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27617 {
27618 arg2 = &temp2;
27619 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27620 }
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27624
27625 wxPyEndAllowThreads(__tstate);
27626 if (PyErr_Occurred()) SWIG_fail;
27627 }
27628 {
27629 wxTreeItemId * resultptr;
27630 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27631 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27632 }
27633 {
27634 PyObject *o = PyInt_FromLong((long) (*arg3));
27635 resultobj = t_output_helper(resultobj,o);
27636 }
27637 return resultobj;
27638 fail:
27639 return NULL;
27640 }
27641
27642
27643 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27644 PyObject *resultobj;
27645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27646 wxTreeItemId *arg2 = 0 ;
27647 bool arg3 = (bool) False ;
27648 PyObject *result;
27649 PyObject * obj0 = 0 ;
27650 PyObject * obj1 = 0 ;
27651 PyObject * obj2 = 0 ;
27652 char *kwnames[] = {
27653 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27654 };
27655
27656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27659 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27660 SWIG_POINTER_EXCEPTION | 0)) == -1)
27661 SWIG_fail;
27662 if (arg2 == NULL) {
27663 PyErr_SetString(PyExc_TypeError,"null reference");
27664 SWIG_fail;
27665 }
27666 if (obj2) {
27667 arg3 = (bool) SWIG_AsBool(obj2);
27668 if (PyErr_Occurred()) SWIG_fail;
27669 }
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 resultobj = result;
27678 return resultobj;
27679 fail:
27680 return NULL;
27681 }
27682
27683
27684 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27685 PyObject *resultobj;
27686 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27687 wxVisualAttributes result;
27688 PyObject * obj0 = 0 ;
27689 char *kwnames[] = {
27690 (char *) "variant", NULL
27691 };
27692
27693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27694 if (obj0) {
27695 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27696 if (PyErr_Occurred()) SWIG_fail;
27697 }
27698 {
27699 if (!wxPyCheckForApp()) SWIG_fail;
27700 PyThreadState* __tstate = wxPyBeginAllowThreads();
27701 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27702
27703 wxPyEndAllowThreads(__tstate);
27704 if (PyErr_Occurred()) SWIG_fail;
27705 }
27706 {
27707 wxVisualAttributes * resultptr;
27708 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27710 }
27711 return resultobj;
27712 fail:
27713 return NULL;
27714 }
27715
27716
27717 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27718 PyObject *obj;
27719 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27720 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27721 Py_INCREF(obj);
27722 return Py_BuildValue((char *)"");
27723 }
27724 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27725 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27726 return 1;
27727 }
27728
27729
27730 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27731 PyObject *pyobj;
27732
27733 {
27734 #if wxUSE_UNICODE
27735 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27736 #else
27737 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27738 #endif
27739 }
27740 return pyobj;
27741 }
27742
27743
27744 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27745 PyObject *resultobj;
27746 wxWindow *arg1 = (wxWindow *) 0 ;
27747 int arg2 = (int) (int)-1 ;
27748 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27749 wxString *arg3 = (wxString *) &arg3_defvalue ;
27750 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27751 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27752 wxSize const &arg5_defvalue = wxDefaultSize ;
27753 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27754 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27755 wxString const &arg7_defvalue = wxPyEmptyString ;
27756 wxString *arg7 = (wxString *) &arg7_defvalue ;
27757 int arg8 = (int) 0 ;
27758 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27759 wxString *arg9 = (wxString *) &arg9_defvalue ;
27760 wxGenericDirCtrl *result;
27761 bool temp3 = False ;
27762 wxPoint temp4 ;
27763 wxSize temp5 ;
27764 bool temp7 = False ;
27765 bool temp9 = False ;
27766 PyObject * obj0 = 0 ;
27767 PyObject * obj1 = 0 ;
27768 PyObject * obj2 = 0 ;
27769 PyObject * obj3 = 0 ;
27770 PyObject * obj4 = 0 ;
27771 PyObject * obj5 = 0 ;
27772 PyObject * obj6 = 0 ;
27773 PyObject * obj7 = 0 ;
27774 PyObject * obj8 = 0 ;
27775 char *kwnames[] = {
27776 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27777 };
27778
27779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27782 if (obj1) {
27783 arg2 = (int const) SWIG_AsInt(obj1);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 if (obj2) {
27787 {
27788 arg3 = wxString_in_helper(obj2);
27789 if (arg3 == NULL) SWIG_fail;
27790 temp3 = True;
27791 }
27792 }
27793 if (obj3) {
27794 {
27795 arg4 = &temp4;
27796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27797 }
27798 }
27799 if (obj4) {
27800 {
27801 arg5 = &temp5;
27802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27803 }
27804 }
27805 if (obj5) {
27806 arg6 = (long) SWIG_AsLong(obj5);
27807 if (PyErr_Occurred()) SWIG_fail;
27808 }
27809 if (obj6) {
27810 {
27811 arg7 = wxString_in_helper(obj6);
27812 if (arg7 == NULL) SWIG_fail;
27813 temp7 = True;
27814 }
27815 }
27816 if (obj7) {
27817 arg8 = (int) SWIG_AsInt(obj7);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 if (obj8) {
27821 {
27822 arg9 = wxString_in_helper(obj8);
27823 if (arg9 == NULL) SWIG_fail;
27824 temp9 = True;
27825 }
27826 }
27827 {
27828 if (!wxPyCheckForApp()) SWIG_fail;
27829 PyThreadState* __tstate = wxPyBeginAllowThreads();
27830 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27831
27832 wxPyEndAllowThreads(__tstate);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 }
27835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27836 {
27837 if (temp3)
27838 delete arg3;
27839 }
27840 {
27841 if (temp7)
27842 delete arg7;
27843 }
27844 {
27845 if (temp9)
27846 delete arg9;
27847 }
27848 return resultobj;
27849 fail:
27850 {
27851 if (temp3)
27852 delete arg3;
27853 }
27854 {
27855 if (temp7)
27856 delete arg7;
27857 }
27858 {
27859 if (temp9)
27860 delete arg9;
27861 }
27862 return NULL;
27863 }
27864
27865
27866 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27867 PyObject *resultobj;
27868 wxGenericDirCtrl *result;
27869 char *kwnames[] = {
27870 NULL
27871 };
27872
27873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27874 {
27875 if (!wxPyCheckForApp()) SWIG_fail;
27876 PyThreadState* __tstate = wxPyBeginAllowThreads();
27877 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27878
27879 wxPyEndAllowThreads(__tstate);
27880 if (PyErr_Occurred()) SWIG_fail;
27881 }
27882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27883 return resultobj;
27884 fail:
27885 return NULL;
27886 }
27887
27888
27889 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27890 PyObject *resultobj;
27891 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27892 wxWindow *arg2 = (wxWindow *) 0 ;
27893 int arg3 = (int) (int)-1 ;
27894 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27895 wxString *arg4 = (wxString *) &arg4_defvalue ;
27896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27898 wxSize const &arg6_defvalue = wxDefaultSize ;
27899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27900 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27901 wxString const &arg8_defvalue = wxPyEmptyString ;
27902 wxString *arg8 = (wxString *) &arg8_defvalue ;
27903 int arg9 = (int) 0 ;
27904 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27905 wxString *arg10 = (wxString *) &arg10_defvalue ;
27906 bool result;
27907 bool temp4 = False ;
27908 wxPoint temp5 ;
27909 wxSize temp6 ;
27910 bool temp8 = False ;
27911 bool temp10 = False ;
27912 PyObject * obj0 = 0 ;
27913 PyObject * obj1 = 0 ;
27914 PyObject * obj2 = 0 ;
27915 PyObject * obj3 = 0 ;
27916 PyObject * obj4 = 0 ;
27917 PyObject * obj5 = 0 ;
27918 PyObject * obj6 = 0 ;
27919 PyObject * obj7 = 0 ;
27920 PyObject * obj8 = 0 ;
27921 PyObject * obj9 = 0 ;
27922 char *kwnames[] = {
27923 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27924 };
27925
27926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27931 if (obj2) {
27932 arg3 = (int const) SWIG_AsInt(obj2);
27933 if (PyErr_Occurred()) SWIG_fail;
27934 }
27935 if (obj3) {
27936 {
27937 arg4 = wxString_in_helper(obj3);
27938 if (arg4 == NULL) SWIG_fail;
27939 temp4 = True;
27940 }
27941 }
27942 if (obj4) {
27943 {
27944 arg5 = &temp5;
27945 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27946 }
27947 }
27948 if (obj5) {
27949 {
27950 arg6 = &temp6;
27951 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27952 }
27953 }
27954 if (obj6) {
27955 arg7 = (long) SWIG_AsLong(obj6);
27956 if (PyErr_Occurred()) SWIG_fail;
27957 }
27958 if (obj7) {
27959 {
27960 arg8 = wxString_in_helper(obj7);
27961 if (arg8 == NULL) SWIG_fail;
27962 temp8 = True;
27963 }
27964 }
27965 if (obj8) {
27966 arg9 = (int) SWIG_AsInt(obj8);
27967 if (PyErr_Occurred()) SWIG_fail;
27968 }
27969 if (obj9) {
27970 {
27971 arg10 = wxString_in_helper(obj9);
27972 if (arg10 == NULL) SWIG_fail;
27973 temp10 = True;
27974 }
27975 }
27976 {
27977 PyThreadState* __tstate = wxPyBeginAllowThreads();
27978 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27979
27980 wxPyEndAllowThreads(__tstate);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 {
27984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27985 }
27986 {
27987 if (temp4)
27988 delete arg4;
27989 }
27990 {
27991 if (temp8)
27992 delete arg8;
27993 }
27994 {
27995 if (temp10)
27996 delete arg10;
27997 }
27998 return resultobj;
27999 fail:
28000 {
28001 if (temp4)
28002 delete arg4;
28003 }
28004 {
28005 if (temp8)
28006 delete arg8;
28007 }
28008 {
28009 if (temp10)
28010 delete arg10;
28011 }
28012 return NULL;
28013 }
28014
28015
28016 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28017 PyObject *resultobj;
28018 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28019 wxString *arg2 = 0 ;
28020 bool result;
28021 bool temp2 = False ;
28022 PyObject * obj0 = 0 ;
28023 PyObject * obj1 = 0 ;
28024 char *kwnames[] = {
28025 (char *) "self",(char *) "path", NULL
28026 };
28027
28028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28031 {
28032 arg2 = wxString_in_helper(obj1);
28033 if (arg2 == NULL) SWIG_fail;
28034 temp2 = True;
28035 }
28036 {
28037 PyThreadState* __tstate = wxPyBeginAllowThreads();
28038 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28039
28040 wxPyEndAllowThreads(__tstate);
28041 if (PyErr_Occurred()) SWIG_fail;
28042 }
28043 {
28044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28045 }
28046 {
28047 if (temp2)
28048 delete arg2;
28049 }
28050 return resultobj;
28051 fail:
28052 {
28053 if (temp2)
28054 delete arg2;
28055 }
28056 return NULL;
28057 }
28058
28059
28060 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28061 PyObject *resultobj;
28062 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28063 wxString result;
28064 PyObject * obj0 = 0 ;
28065 char *kwnames[] = {
28066 (char *) "self", NULL
28067 };
28068
28069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28072 {
28073 PyThreadState* __tstate = wxPyBeginAllowThreads();
28074 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28075
28076 wxPyEndAllowThreads(__tstate);
28077 if (PyErr_Occurred()) SWIG_fail;
28078 }
28079 {
28080 #if wxUSE_UNICODE
28081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28082 #else
28083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28084 #endif
28085 }
28086 return resultobj;
28087 fail:
28088 return NULL;
28089 }
28090
28091
28092 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28093 PyObject *resultobj;
28094 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28095 wxString *arg2 = 0 ;
28096 bool temp2 = False ;
28097 PyObject * obj0 = 0 ;
28098 PyObject * obj1 = 0 ;
28099 char *kwnames[] = {
28100 (char *) "self",(char *) "path", NULL
28101 };
28102
28103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28106 {
28107 arg2 = wxString_in_helper(obj1);
28108 if (arg2 == NULL) SWIG_fail;
28109 temp2 = True;
28110 }
28111 {
28112 PyThreadState* __tstate = wxPyBeginAllowThreads();
28113 (arg1)->SetDefaultPath((wxString const &)*arg2);
28114
28115 wxPyEndAllowThreads(__tstate);
28116 if (PyErr_Occurred()) SWIG_fail;
28117 }
28118 Py_INCREF(Py_None); resultobj = Py_None;
28119 {
28120 if (temp2)
28121 delete arg2;
28122 }
28123 return resultobj;
28124 fail:
28125 {
28126 if (temp2)
28127 delete arg2;
28128 }
28129 return NULL;
28130 }
28131
28132
28133 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28134 PyObject *resultobj;
28135 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28136 wxString result;
28137 PyObject * obj0 = 0 ;
28138 char *kwnames[] = {
28139 (char *) "self", NULL
28140 };
28141
28142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28145 {
28146 PyThreadState* __tstate = wxPyBeginAllowThreads();
28147 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28148
28149 wxPyEndAllowThreads(__tstate);
28150 if (PyErr_Occurred()) SWIG_fail;
28151 }
28152 {
28153 #if wxUSE_UNICODE
28154 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28155 #else
28156 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28157 #endif
28158 }
28159 return resultobj;
28160 fail:
28161 return NULL;
28162 }
28163
28164
28165 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28166 PyObject *resultobj;
28167 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28168 wxString result;
28169 PyObject * obj0 = 0 ;
28170 char *kwnames[] = {
28171 (char *) "self", NULL
28172 };
28173
28174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28177 {
28178 PyThreadState* __tstate = wxPyBeginAllowThreads();
28179 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28180
28181 wxPyEndAllowThreads(__tstate);
28182 if (PyErr_Occurred()) SWIG_fail;
28183 }
28184 {
28185 #if wxUSE_UNICODE
28186 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28187 #else
28188 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28189 #endif
28190 }
28191 return resultobj;
28192 fail:
28193 return NULL;
28194 }
28195
28196
28197 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28198 PyObject *resultobj;
28199 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28200 wxString *arg2 = 0 ;
28201 bool temp2 = False ;
28202 PyObject * obj0 = 0 ;
28203 PyObject * obj1 = 0 ;
28204 char *kwnames[] = {
28205 (char *) "self",(char *) "path", NULL
28206 };
28207
28208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28211 {
28212 arg2 = wxString_in_helper(obj1);
28213 if (arg2 == NULL) SWIG_fail;
28214 temp2 = True;
28215 }
28216 {
28217 PyThreadState* __tstate = wxPyBeginAllowThreads();
28218 (arg1)->SetPath((wxString const &)*arg2);
28219
28220 wxPyEndAllowThreads(__tstate);
28221 if (PyErr_Occurred()) SWIG_fail;
28222 }
28223 Py_INCREF(Py_None); resultobj = Py_None;
28224 {
28225 if (temp2)
28226 delete arg2;
28227 }
28228 return resultobj;
28229 fail:
28230 {
28231 if (temp2)
28232 delete arg2;
28233 }
28234 return NULL;
28235 }
28236
28237
28238 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28239 PyObject *resultobj;
28240 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28241 bool arg2 ;
28242 PyObject * obj0 = 0 ;
28243 PyObject * obj1 = 0 ;
28244 char *kwnames[] = {
28245 (char *) "self",(char *) "show", NULL
28246 };
28247
28248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28251 arg2 = (bool) SWIG_AsBool(obj1);
28252 if (PyErr_Occurred()) SWIG_fail;
28253 {
28254 PyThreadState* __tstate = wxPyBeginAllowThreads();
28255 (arg1)->ShowHidden(arg2);
28256
28257 wxPyEndAllowThreads(__tstate);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 }
28260 Py_INCREF(Py_None); resultobj = Py_None;
28261 return resultobj;
28262 fail:
28263 return NULL;
28264 }
28265
28266
28267 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28268 PyObject *resultobj;
28269 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28270 bool result;
28271 PyObject * obj0 = 0 ;
28272 char *kwnames[] = {
28273 (char *) "self", NULL
28274 };
28275
28276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 result = (bool)(arg1)->GetShowHidden();
28282
28283 wxPyEndAllowThreads(__tstate);
28284 if (PyErr_Occurred()) SWIG_fail;
28285 }
28286 {
28287 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28288 }
28289 return resultobj;
28290 fail:
28291 return NULL;
28292 }
28293
28294
28295 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28296 PyObject *resultobj;
28297 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28298 wxString result;
28299 PyObject * obj0 = 0 ;
28300 char *kwnames[] = {
28301 (char *) "self", NULL
28302 };
28303
28304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
28309 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28310
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 {
28315 #if wxUSE_UNICODE
28316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28317 #else
28318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28319 #endif
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324 }
28325
28326
28327 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28330 wxString *arg2 = 0 ;
28331 bool temp2 = False ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self",(char *) "filter", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28341 {
28342 arg2 = wxString_in_helper(obj1);
28343 if (arg2 == NULL) SWIG_fail;
28344 temp2 = True;
28345 }
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 (arg1)->SetFilter((wxString const &)*arg2);
28349
28350 wxPyEndAllowThreads(__tstate);
28351 if (PyErr_Occurred()) SWIG_fail;
28352 }
28353 Py_INCREF(Py_None); resultobj = Py_None;
28354 {
28355 if (temp2)
28356 delete arg2;
28357 }
28358 return resultobj;
28359 fail:
28360 {
28361 if (temp2)
28362 delete arg2;
28363 }
28364 return NULL;
28365 }
28366
28367
28368 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj;
28370 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28371 int result;
28372 PyObject * obj0 = 0 ;
28373 char *kwnames[] = {
28374 (char *) "self", NULL
28375 };
28376
28377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 resultobj = SWIG_FromInt((int)result);
28388 return resultobj;
28389 fail:
28390 return NULL;
28391 }
28392
28393
28394 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28395 PyObject *resultobj;
28396 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28397 int arg2 ;
28398 PyObject * obj0 = 0 ;
28399 PyObject * obj1 = 0 ;
28400 char *kwnames[] = {
28401 (char *) "self",(char *) "n", NULL
28402 };
28403
28404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28407 arg2 = (int) SWIG_AsInt(obj1);
28408 if (PyErr_Occurred()) SWIG_fail;
28409 {
28410 PyThreadState* __tstate = wxPyBeginAllowThreads();
28411 (arg1)->SetFilterIndex(arg2);
28412
28413 wxPyEndAllowThreads(__tstate);
28414 if (PyErr_Occurred()) SWIG_fail;
28415 }
28416 Py_INCREF(Py_None); resultobj = Py_None;
28417 return resultobj;
28418 fail:
28419 return NULL;
28420 }
28421
28422
28423 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28424 PyObject *resultobj;
28425 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28426 wxTreeItemId result;
28427 PyObject * obj0 = 0 ;
28428 char *kwnames[] = {
28429 (char *) "self", NULL
28430 };
28431
28432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28435 {
28436 PyThreadState* __tstate = wxPyBeginAllowThreads();
28437 result = (arg1)->GetRootId();
28438
28439 wxPyEndAllowThreads(__tstate);
28440 if (PyErr_Occurred()) SWIG_fail;
28441 }
28442 {
28443 wxTreeItemId * resultptr;
28444 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28446 }
28447 return resultobj;
28448 fail:
28449 return NULL;
28450 }
28451
28452
28453 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28454 PyObject *resultobj;
28455 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28456 wxPyTreeCtrl *result;
28457 PyObject * obj0 = 0 ;
28458 char *kwnames[] = {
28459 (char *) "self", NULL
28460 };
28461
28462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28465 {
28466 PyThreadState* __tstate = wxPyBeginAllowThreads();
28467 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28468
28469 wxPyEndAllowThreads(__tstate);
28470 if (PyErr_Occurred()) SWIG_fail;
28471 }
28472 {
28473 resultobj = wxPyMake_wxObject(result);
28474 }
28475 return resultobj;
28476 fail:
28477 return NULL;
28478 }
28479
28480
28481 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28482 PyObject *resultobj;
28483 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28484 wxDirFilterListCtrl *result;
28485 PyObject * obj0 = 0 ;
28486 char *kwnames[] = {
28487 (char *) "self", NULL
28488 };
28489
28490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28493 {
28494 PyThreadState* __tstate = wxPyBeginAllowThreads();
28495 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28496
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj;
28509 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28510 wxTreeItemId arg2 ;
28511 wxString *arg3 = 0 ;
28512 bool *arg4 = 0 ;
28513 wxTreeItemId result;
28514 wxTreeItemId *argp2 ;
28515 bool temp3 = False ;
28516 bool temp4 ;
28517 PyObject * obj0 = 0 ;
28518 PyObject * obj1 = 0 ;
28519 PyObject * obj2 = 0 ;
28520 char *kwnames[] = {
28521 (char *) "self",(char *) "parentId",(char *) "path", NULL
28522 };
28523
28524 arg4 = &temp4;
28525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28528 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28529 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28530 arg2 = *argp2;
28531 {
28532 arg3 = wxString_in_helper(obj2);
28533 if (arg3 == NULL) SWIG_fail;
28534 temp3 = True;
28535 }
28536 {
28537 PyThreadState* __tstate = wxPyBeginAllowThreads();
28538 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28539
28540 wxPyEndAllowThreads(__tstate);
28541 if (PyErr_Occurred()) SWIG_fail;
28542 }
28543 {
28544 wxTreeItemId * resultptr;
28545 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28547 }
28548 {
28549 PyObject *o = PyInt_FromLong((long) (*arg4));
28550 resultobj = t_output_helper(resultobj,o);
28551 }
28552 {
28553 if (temp3)
28554 delete arg3;
28555 }
28556 return resultobj;
28557 fail:
28558 {
28559 if (temp3)
28560 delete arg3;
28561 }
28562 return NULL;
28563 }
28564
28565
28566 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28567 PyObject *resultobj;
28568 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28569 PyObject * obj0 = 0 ;
28570 char *kwnames[] = {
28571 (char *) "self", NULL
28572 };
28573
28574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28577 {
28578 PyThreadState* __tstate = wxPyBeginAllowThreads();
28579 (arg1)->DoResize();
28580
28581 wxPyEndAllowThreads(__tstate);
28582 if (PyErr_Occurred()) SWIG_fail;
28583 }
28584 Py_INCREF(Py_None); resultobj = Py_None;
28585 return resultobj;
28586 fail:
28587 return NULL;
28588 }
28589
28590
28591 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28592 PyObject *resultobj;
28593 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28594 PyObject * obj0 = 0 ;
28595 char *kwnames[] = {
28596 (char *) "self", NULL
28597 };
28598
28599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28602 {
28603 PyThreadState* __tstate = wxPyBeginAllowThreads();
28604 (arg1)->ReCreateTree();
28605
28606 wxPyEndAllowThreads(__tstate);
28607 if (PyErr_Occurred()) SWIG_fail;
28608 }
28609 Py_INCREF(Py_None); resultobj = Py_None;
28610 return resultobj;
28611 fail:
28612 return NULL;
28613 }
28614
28615
28616 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28617 PyObject *obj;
28618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28619 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28620 Py_INCREF(obj);
28621 return Py_BuildValue((char *)"");
28622 }
28623 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28624 PyObject *resultobj;
28625 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28626 int arg2 = (int) (int)-1 ;
28627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28629 wxSize const &arg4_defvalue = wxDefaultSize ;
28630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28631 long arg5 = (long) 0 ;
28632 wxDirFilterListCtrl *result;
28633 wxPoint temp3 ;
28634 wxSize temp4 ;
28635 PyObject * obj0 = 0 ;
28636 PyObject * obj1 = 0 ;
28637 PyObject * obj2 = 0 ;
28638 PyObject * obj3 = 0 ;
28639 PyObject * obj4 = 0 ;
28640 char *kwnames[] = {
28641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28642 };
28643
28644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28647 if (obj1) {
28648 arg2 = (int const) SWIG_AsInt(obj1);
28649 if (PyErr_Occurred()) SWIG_fail;
28650 }
28651 if (obj2) {
28652 {
28653 arg3 = &temp3;
28654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28655 }
28656 }
28657 if (obj3) {
28658 {
28659 arg4 = &temp4;
28660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28661 }
28662 }
28663 if (obj4) {
28664 arg5 = (long) SWIG_AsLong(obj4);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 {
28668 if (!wxPyCheckForApp()) SWIG_fail;
28669 PyThreadState* __tstate = wxPyBeginAllowThreads();
28670 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28671
28672 wxPyEndAllowThreads(__tstate);
28673 if (PyErr_Occurred()) SWIG_fail;
28674 }
28675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28676 return resultobj;
28677 fail:
28678 return NULL;
28679 }
28680
28681
28682 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28683 PyObject *resultobj;
28684 wxDirFilterListCtrl *result;
28685 char *kwnames[] = {
28686 NULL
28687 };
28688
28689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28690 {
28691 if (!wxPyCheckForApp()) SWIG_fail;
28692 PyThreadState* __tstate = wxPyBeginAllowThreads();
28693 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28694
28695 wxPyEndAllowThreads(__tstate);
28696 if (PyErr_Occurred()) SWIG_fail;
28697 }
28698 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28699 return resultobj;
28700 fail:
28701 return NULL;
28702 }
28703
28704
28705 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28706 PyObject *resultobj;
28707 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28708 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
28709 int arg3 = (int) (int)-1 ;
28710 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28711 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28712 wxSize const &arg5_defvalue = wxDefaultSize ;
28713 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28714 long arg6 = (long) 0 ;
28715 bool result;
28716 wxPoint temp4 ;
28717 wxSize temp5 ;
28718 PyObject * obj0 = 0 ;
28719 PyObject * obj1 = 0 ;
28720 PyObject * obj2 = 0 ;
28721 PyObject * obj3 = 0 ;
28722 PyObject * obj4 = 0 ;
28723 PyObject * obj5 = 0 ;
28724 char *kwnames[] = {
28725 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28726 };
28727
28728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28731 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28733 if (obj2) {
28734 arg3 = (int const) SWIG_AsInt(obj2);
28735 if (PyErr_Occurred()) SWIG_fail;
28736 }
28737 if (obj3) {
28738 {
28739 arg4 = &temp4;
28740 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28741 }
28742 }
28743 if (obj4) {
28744 {
28745 arg5 = &temp5;
28746 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28747 }
28748 }
28749 if (obj5) {
28750 arg6 = (long) SWIG_AsLong(obj5);
28751 if (PyErr_Occurred()) SWIG_fail;
28752 }
28753 {
28754 PyThreadState* __tstate = wxPyBeginAllowThreads();
28755 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28756
28757 wxPyEndAllowThreads(__tstate);
28758 if (PyErr_Occurred()) SWIG_fail;
28759 }
28760 {
28761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28762 }
28763 return resultobj;
28764 fail:
28765 return NULL;
28766 }
28767
28768
28769 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28770 PyObject *resultobj;
28771 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28772 wxString *arg2 = 0 ;
28773 int arg3 ;
28774 bool temp2 = False ;
28775 PyObject * obj0 = 0 ;
28776 PyObject * obj1 = 0 ;
28777 PyObject * obj2 = 0 ;
28778 char *kwnames[] = {
28779 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28780 };
28781
28782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28785 {
28786 arg2 = wxString_in_helper(obj1);
28787 if (arg2 == NULL) SWIG_fail;
28788 temp2 = True;
28789 }
28790 arg3 = (int) SWIG_AsInt(obj2);
28791 if (PyErr_Occurred()) SWIG_fail;
28792 {
28793 PyThreadState* __tstate = wxPyBeginAllowThreads();
28794 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28795
28796 wxPyEndAllowThreads(__tstate);
28797 if (PyErr_Occurred()) SWIG_fail;
28798 }
28799 Py_INCREF(Py_None); resultobj = Py_None;
28800 {
28801 if (temp2)
28802 delete arg2;
28803 }
28804 return resultobj;
28805 fail:
28806 {
28807 if (temp2)
28808 delete arg2;
28809 }
28810 return NULL;
28811 }
28812
28813
28814 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28815 PyObject *obj;
28816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28817 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28818 Py_INCREF(obj);
28819 return Py_BuildValue((char *)"");
28820 }
28821 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28822 PyObject *resultobj;
28823 wxWindow *arg1 = (wxWindow *) 0 ;
28824 int arg2 ;
28825 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28826 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28827 wxSize const &arg4_defvalue = wxDefaultSize ;
28828 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28829 long arg5 = (long) 0 ;
28830 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28831 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28832 wxString const &arg7_defvalue = wxPyControlNameStr ;
28833 wxString *arg7 = (wxString *) &arg7_defvalue ;
28834 wxPyControl *result;
28835 wxPoint temp3 ;
28836 wxSize temp4 ;
28837 bool temp7 = False ;
28838 PyObject * obj0 = 0 ;
28839 PyObject * obj1 = 0 ;
28840 PyObject * obj2 = 0 ;
28841 PyObject * obj3 = 0 ;
28842 PyObject * obj4 = 0 ;
28843 PyObject * obj5 = 0 ;
28844 PyObject * obj6 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28852 arg2 = (int const) SWIG_AsInt(obj1);
28853 if (PyErr_Occurred()) SWIG_fail;
28854 if (obj2) {
28855 {
28856 arg3 = &temp3;
28857 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28858 }
28859 }
28860 if (obj3) {
28861 {
28862 arg4 = &temp4;
28863 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28864 }
28865 }
28866 if (obj4) {
28867 arg5 = (long) SWIG_AsLong(obj4);
28868 if (PyErr_Occurred()) SWIG_fail;
28869 }
28870 if (obj5) {
28871 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1)
28873 SWIG_fail;
28874 if (arg6 == NULL) {
28875 PyErr_SetString(PyExc_TypeError,"null reference");
28876 SWIG_fail;
28877 }
28878 }
28879 if (obj6) {
28880 {
28881 arg7 = wxString_in_helper(obj6);
28882 if (arg7 == NULL) SWIG_fail;
28883 temp7 = True;
28884 }
28885 }
28886 {
28887 if (!wxPyCheckForApp()) SWIG_fail;
28888 PyThreadState* __tstate = wxPyBeginAllowThreads();
28889 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28890
28891 wxPyEndAllowThreads(__tstate);
28892 if (PyErr_Occurred()) SWIG_fail;
28893 }
28894 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28895 {
28896 if (temp7)
28897 delete arg7;
28898 }
28899 return resultobj;
28900 fail:
28901 {
28902 if (temp7)
28903 delete arg7;
28904 }
28905 return NULL;
28906 }
28907
28908
28909 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28910 PyObject *resultobj;
28911 wxPyControl *result;
28912 char *kwnames[] = {
28913 NULL
28914 };
28915
28916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28917 {
28918 if (!wxPyCheckForApp()) SWIG_fail;
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 result = (wxPyControl *)new wxPyControl();
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28926 return resultobj;
28927 fail:
28928 return NULL;
28929 }
28930
28931
28932 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28933 PyObject *resultobj;
28934 wxPyControl *arg1 = (wxPyControl *) 0 ;
28935 PyObject *arg2 = (PyObject *) 0 ;
28936 PyObject *arg3 = (PyObject *) 0 ;
28937 PyObject * obj0 = 0 ;
28938 PyObject * obj1 = 0 ;
28939 PyObject * obj2 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "self",(char *) "self",(char *) "_class", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28947 arg2 = obj1;
28948 arg3 = obj2;
28949 {
28950 PyThreadState* __tstate = wxPyBeginAllowThreads();
28951 (arg1)->_setCallbackInfo(arg2,arg3);
28952
28953 wxPyEndAllowThreads(__tstate);
28954 if (PyErr_Occurred()) SWIG_fail;
28955 }
28956 Py_INCREF(Py_None); resultobj = Py_None;
28957 return resultobj;
28958 fail:
28959 return NULL;
28960 }
28961
28962
28963 static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28964 PyObject *resultobj;
28965 wxPyControl *arg1 = (wxPyControl *) 0 ;
28966 wxSize *arg2 = 0 ;
28967 wxSize temp2 ;
28968 PyObject * obj0 = 0 ;
28969 PyObject * obj1 = 0 ;
28970 char *kwnames[] = {
28971 (char *) "self",(char *) "size", NULL
28972 };
28973
28974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
28975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28977 {
28978 arg2 = &temp2;
28979 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
28980 }
28981 {
28982 PyThreadState* __tstate = wxPyBeginAllowThreads();
28983 (arg1)->SetBestSize((wxSize const &)*arg2);
28984
28985 wxPyEndAllowThreads(__tstate);
28986 if (PyErr_Occurred()) SWIG_fail;
28987 }
28988 Py_INCREF(Py_None); resultobj = Py_None;
28989 return resultobj;
28990 fail:
28991 return NULL;
28992 }
28993
28994
28995 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28996 PyObject *resultobj;
28997 wxPyControl *arg1 = (wxPyControl *) 0 ;
28998 int arg2 ;
28999 int arg3 ;
29000 int arg4 ;
29001 int arg5 ;
29002 PyObject * obj0 = 0 ;
29003 PyObject * obj1 = 0 ;
29004 PyObject * obj2 = 0 ;
29005 PyObject * obj3 = 0 ;
29006 PyObject * obj4 = 0 ;
29007 char *kwnames[] = {
29008 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29009 };
29010
29011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29014 arg2 = (int) SWIG_AsInt(obj1);
29015 if (PyErr_Occurred()) SWIG_fail;
29016 arg3 = (int) SWIG_AsInt(obj2);
29017 if (PyErr_Occurred()) SWIG_fail;
29018 arg4 = (int) SWIG_AsInt(obj3);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 arg5 = (int) SWIG_AsInt(obj4);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29025
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 Py_INCREF(Py_None); resultobj = Py_None;
29030 return resultobj;
29031 fail:
29032 return NULL;
29033 }
29034
29035
29036 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29037 PyObject *resultobj;
29038 wxPyControl *arg1 = (wxPyControl *) 0 ;
29039 int arg2 ;
29040 int arg3 ;
29041 int arg4 ;
29042 int arg5 ;
29043 int arg6 = (int) wxSIZE_AUTO ;
29044 PyObject * obj0 = 0 ;
29045 PyObject * obj1 = 0 ;
29046 PyObject * obj2 = 0 ;
29047 PyObject * obj3 = 0 ;
29048 PyObject * obj4 = 0 ;
29049 PyObject * obj5 = 0 ;
29050 char *kwnames[] = {
29051 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29052 };
29053
29054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29057 arg2 = (int) SWIG_AsInt(obj1);
29058 if (PyErr_Occurred()) SWIG_fail;
29059 arg3 = (int) SWIG_AsInt(obj2);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 arg4 = (int) SWIG_AsInt(obj3);
29062 if (PyErr_Occurred()) SWIG_fail;
29063 arg5 = (int) SWIG_AsInt(obj4);
29064 if (PyErr_Occurred()) SWIG_fail;
29065 if (obj5) {
29066 arg6 = (int) SWIG_AsInt(obj5);
29067 if (PyErr_Occurred()) SWIG_fail;
29068 }
29069 {
29070 PyThreadState* __tstate = wxPyBeginAllowThreads();
29071 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29072
29073 wxPyEndAllowThreads(__tstate);
29074 if (PyErr_Occurred()) SWIG_fail;
29075 }
29076 Py_INCREF(Py_None); resultobj = Py_None;
29077 return resultobj;
29078 fail:
29079 return NULL;
29080 }
29081
29082
29083 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29084 PyObject *resultobj;
29085 wxPyControl *arg1 = (wxPyControl *) 0 ;
29086 int arg2 ;
29087 int arg3 ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
29092 (char *) "self",(char *) "width",(char *) "height", NULL
29093 };
29094
29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29098 arg2 = (int) SWIG_AsInt(obj1);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 arg3 = (int) SWIG_AsInt(obj2);
29101 if (PyErr_Occurred()) SWIG_fail;
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 (arg1)->base_DoSetClientSize(arg2,arg3);
29105
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 Py_INCREF(Py_None); resultobj = Py_None;
29110 return resultobj;
29111 fail:
29112 return NULL;
29113 }
29114
29115
29116 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29117 PyObject *resultobj;
29118 wxPyControl *arg1 = (wxPyControl *) 0 ;
29119 int arg2 ;
29120 int arg3 ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 PyObject * obj2 = 0 ;
29124 char *kwnames[] = {
29125 (char *) "self",(char *) "x",(char *) "y", NULL
29126 };
29127
29128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29131 arg2 = (int) SWIG_AsInt(obj1);
29132 if (PyErr_Occurred()) SWIG_fail;
29133 arg3 = (int) SWIG_AsInt(obj2);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 {
29136 PyThreadState* __tstate = wxPyBeginAllowThreads();
29137 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29138
29139 wxPyEndAllowThreads(__tstate);
29140 if (PyErr_Occurred()) SWIG_fail;
29141 }
29142 Py_INCREF(Py_None); resultobj = Py_None;
29143 return resultobj;
29144 fail:
29145 return NULL;
29146 }
29147
29148
29149 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29150 PyObject *resultobj;
29151 wxPyControl *arg1 = (wxPyControl *) 0 ;
29152 int *arg2 = (int *) 0 ;
29153 int *arg3 = (int *) 0 ;
29154 int temp2 ;
29155 int temp3 ;
29156 PyObject * obj0 = 0 ;
29157 char *kwnames[] = {
29158 (char *) "self", NULL
29159 };
29160
29161 arg2 = &temp2;
29162 arg3 = &temp3;
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29166 {
29167 PyThreadState* __tstate = wxPyBeginAllowThreads();
29168 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29169
29170 wxPyEndAllowThreads(__tstate);
29171 if (PyErr_Occurred()) SWIG_fail;
29172 }
29173 Py_INCREF(Py_None); resultobj = Py_None;
29174 {
29175 PyObject *o = PyInt_FromLong((long) (*arg2));
29176 resultobj = t_output_helper(resultobj,o);
29177 }
29178 {
29179 PyObject *o = PyInt_FromLong((long) (*arg3));
29180 resultobj = t_output_helper(resultobj,o);
29181 }
29182 return resultobj;
29183 fail:
29184 return NULL;
29185 }
29186
29187
29188 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29189 PyObject *resultobj;
29190 wxPyControl *arg1 = (wxPyControl *) 0 ;
29191 int *arg2 = (int *) 0 ;
29192 int *arg3 = (int *) 0 ;
29193 int temp2 ;
29194 int temp3 ;
29195 PyObject * obj0 = 0 ;
29196 char *kwnames[] = {
29197 (char *) "self", NULL
29198 };
29199
29200 arg2 = &temp2;
29201 arg3 = &temp3;
29202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29205 {
29206 PyThreadState* __tstate = wxPyBeginAllowThreads();
29207 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29208
29209 wxPyEndAllowThreads(__tstate);
29210 if (PyErr_Occurred()) SWIG_fail;
29211 }
29212 Py_INCREF(Py_None); resultobj = Py_None;
29213 {
29214 PyObject *o = PyInt_FromLong((long) (*arg2));
29215 resultobj = t_output_helper(resultobj,o);
29216 }
29217 {
29218 PyObject *o = PyInt_FromLong((long) (*arg3));
29219 resultobj = t_output_helper(resultobj,o);
29220 }
29221 return resultobj;
29222 fail:
29223 return NULL;
29224 }
29225
29226
29227 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29228 PyObject *resultobj;
29229 wxPyControl *arg1 = (wxPyControl *) 0 ;
29230 int *arg2 = (int *) 0 ;
29231 int *arg3 = (int *) 0 ;
29232 int temp2 ;
29233 int temp3 ;
29234 PyObject * obj0 = 0 ;
29235 char *kwnames[] = {
29236 (char *) "self", NULL
29237 };
29238
29239 arg2 = &temp2;
29240 arg3 = &temp3;
29241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29244 {
29245 PyThreadState* __tstate = wxPyBeginAllowThreads();
29246 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29247
29248 wxPyEndAllowThreads(__tstate);
29249 if (PyErr_Occurred()) SWIG_fail;
29250 }
29251 Py_INCREF(Py_None); resultobj = Py_None;
29252 {
29253 PyObject *o = PyInt_FromLong((long) (*arg2));
29254 resultobj = t_output_helper(resultobj,o);
29255 }
29256 {
29257 PyObject *o = PyInt_FromLong((long) (*arg3));
29258 resultobj = t_output_helper(resultobj,o);
29259 }
29260 return resultobj;
29261 fail:
29262 return NULL;
29263 }
29264
29265
29266 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29267 PyObject *resultobj;
29268 wxPyControl *arg1 = (wxPyControl *) 0 ;
29269 wxSize result;
29270 PyObject * obj0 = 0 ;
29271 char *kwnames[] = {
29272 (char *) "self", NULL
29273 };
29274
29275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29278 {
29279 PyThreadState* __tstate = wxPyBeginAllowThreads();
29280 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29281
29282 wxPyEndAllowThreads(__tstate);
29283 if (PyErr_Occurred()) SWIG_fail;
29284 }
29285 {
29286 wxSize * resultptr;
29287 resultptr = new wxSize((wxSize &) result);
29288 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29289 }
29290 return resultobj;
29291 fail:
29292 return NULL;
29293 }
29294
29295
29296 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29297 PyObject *resultobj;
29298 wxPyControl *arg1 = (wxPyControl *) 0 ;
29299 wxSize result;
29300 PyObject * obj0 = 0 ;
29301 char *kwnames[] = {
29302 (char *) "self", NULL
29303 };
29304
29305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29308 {
29309 PyThreadState* __tstate = wxPyBeginAllowThreads();
29310 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29311
29312 wxPyEndAllowThreads(__tstate);
29313 if (PyErr_Occurred()) SWIG_fail;
29314 }
29315 {
29316 wxSize * resultptr;
29317 resultptr = new wxSize((wxSize &) result);
29318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29319 }
29320 return resultobj;
29321 fail:
29322 return NULL;
29323 }
29324
29325
29326 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29327 PyObject *resultobj;
29328 wxPyControl *arg1 = (wxPyControl *) 0 ;
29329 PyObject * obj0 = 0 ;
29330 char *kwnames[] = {
29331 (char *) "self", NULL
29332 };
29333
29334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29337 {
29338 PyThreadState* __tstate = wxPyBeginAllowThreads();
29339 (arg1)->base_InitDialog();
29340
29341 wxPyEndAllowThreads(__tstate);
29342 if (PyErr_Occurred()) SWIG_fail;
29343 }
29344 Py_INCREF(Py_None); resultobj = Py_None;
29345 return resultobj;
29346 fail:
29347 return NULL;
29348 }
29349
29350
29351 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29352 PyObject *resultobj;
29353 wxPyControl *arg1 = (wxPyControl *) 0 ;
29354 bool result;
29355 PyObject * obj0 = 0 ;
29356 char *kwnames[] = {
29357 (char *) "self", NULL
29358 };
29359
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29363 {
29364 PyThreadState* __tstate = wxPyBeginAllowThreads();
29365 result = (bool)(arg1)->base_TransferDataToWindow();
29366
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 {
29371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29372 }
29373 return resultobj;
29374 fail:
29375 return NULL;
29376 }
29377
29378
29379 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29380 PyObject *resultobj;
29381 wxPyControl *arg1 = (wxPyControl *) 0 ;
29382 bool result;
29383 PyObject * obj0 = 0 ;
29384 char *kwnames[] = {
29385 (char *) "self", NULL
29386 };
29387
29388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29391 {
29392 PyThreadState* __tstate = wxPyBeginAllowThreads();
29393 result = (bool)(arg1)->base_TransferDataFromWindow();
29394
29395 wxPyEndAllowThreads(__tstate);
29396 if (PyErr_Occurred()) SWIG_fail;
29397 }
29398 {
29399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29400 }
29401 return resultobj;
29402 fail:
29403 return NULL;
29404 }
29405
29406
29407 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29408 PyObject *resultobj;
29409 wxPyControl *arg1 = (wxPyControl *) 0 ;
29410 bool result;
29411 PyObject * obj0 = 0 ;
29412 char *kwnames[] = {
29413 (char *) "self", NULL
29414 };
29415
29416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29419 {
29420 PyThreadState* __tstate = wxPyBeginAllowThreads();
29421 result = (bool)(arg1)->base_Validate();
29422
29423 wxPyEndAllowThreads(__tstate);
29424 if (PyErr_Occurred()) SWIG_fail;
29425 }
29426 {
29427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29428 }
29429 return resultobj;
29430 fail:
29431 return NULL;
29432 }
29433
29434
29435 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29436 PyObject *resultobj;
29437 wxPyControl *arg1 = (wxPyControl *) 0 ;
29438 bool result;
29439 PyObject * obj0 = 0 ;
29440 char *kwnames[] = {
29441 (char *) "self", NULL
29442 };
29443
29444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29450
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 {
29455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29456 }
29457 return resultobj;
29458 fail:
29459 return NULL;
29460 }
29461
29462
29463 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29464 PyObject *resultobj;
29465 wxPyControl *arg1 = (wxPyControl *) 0 ;
29466 bool result;
29467 PyObject * obj0 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29475 {
29476 PyThreadState* __tstate = wxPyBeginAllowThreads();
29477 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29478
29479 wxPyEndAllowThreads(__tstate);
29480 if (PyErr_Occurred()) SWIG_fail;
29481 }
29482 {
29483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29484 }
29485 return resultobj;
29486 fail:
29487 return NULL;
29488 }
29489
29490
29491 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29492 PyObject *resultobj;
29493 wxPyControl *arg1 = (wxPyControl *) 0 ;
29494 wxSize result;
29495 PyObject * obj0 = 0 ;
29496 char *kwnames[] = {
29497 (char *) "self", NULL
29498 };
29499
29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29503 {
29504 PyThreadState* __tstate = wxPyBeginAllowThreads();
29505 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29506
29507 wxPyEndAllowThreads(__tstate);
29508 if (PyErr_Occurred()) SWIG_fail;
29509 }
29510 {
29511 wxSize * resultptr;
29512 resultptr = new wxSize((wxSize &) result);
29513 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29514 }
29515 return resultobj;
29516 fail:
29517 return NULL;
29518 }
29519
29520
29521 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29522 PyObject *resultobj;
29523 wxPyControl *arg1 = (wxPyControl *) 0 ;
29524 wxWindow *arg2 = (wxWindow *) 0 ;
29525 PyObject * obj0 = 0 ;
29526 PyObject * obj1 = 0 ;
29527 char *kwnames[] = {
29528 (char *) "self",(char *) "child", NULL
29529 };
29530
29531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29536 {
29537 PyThreadState* __tstate = wxPyBeginAllowThreads();
29538 (arg1)->base_AddChild(arg2);
29539
29540 wxPyEndAllowThreads(__tstate);
29541 if (PyErr_Occurred()) SWIG_fail;
29542 }
29543 Py_INCREF(Py_None); resultobj = Py_None;
29544 return resultobj;
29545 fail:
29546 return NULL;
29547 }
29548
29549
29550 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29551 PyObject *resultobj;
29552 wxPyControl *arg1 = (wxPyControl *) 0 ;
29553 wxWindow *arg2 = (wxWindow *) 0 ;
29554 PyObject * obj0 = 0 ;
29555 PyObject * obj1 = 0 ;
29556 char *kwnames[] = {
29557 (char *) "self",(char *) "child", NULL
29558 };
29559
29560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29565 {
29566 PyThreadState* __tstate = wxPyBeginAllowThreads();
29567 (arg1)->base_RemoveChild(arg2);
29568
29569 wxPyEndAllowThreads(__tstate);
29570 if (PyErr_Occurred()) SWIG_fail;
29571 }
29572 Py_INCREF(Py_None); resultobj = Py_None;
29573 return resultobj;
29574 fail:
29575 return NULL;
29576 }
29577
29578
29579 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29580 PyObject *resultobj;
29581 wxPyControl *arg1 = (wxPyControl *) 0 ;
29582 bool result;
29583 PyObject * obj0 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29591 {
29592 PyThreadState* __tstate = wxPyBeginAllowThreads();
29593 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
29594
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 {
29599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29600 }
29601 return resultobj;
29602 fail:
29603 return NULL;
29604 }
29605
29606
29607 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29608 PyObject *resultobj;
29609 wxPyControl *arg1 = (wxPyControl *) 0 ;
29610 wxColour *arg2 = 0 ;
29611 wxColour temp2 ;
29612 PyObject * obj0 = 0 ;
29613 PyObject * obj1 = 0 ;
29614 char *kwnames[] = {
29615 (char *) "self",(char *) "c", NULL
29616 };
29617
29618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29621 {
29622 arg2 = &temp2;
29623 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29624 }
29625 {
29626 PyThreadState* __tstate = wxPyBeginAllowThreads();
29627 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29628
29629 wxPyEndAllowThreads(__tstate);
29630 if (PyErr_Occurred()) SWIG_fail;
29631 }
29632 Py_INCREF(Py_None); resultobj = Py_None;
29633 return resultobj;
29634 fail:
29635 return NULL;
29636 }
29637
29638
29639 static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29640 PyObject *resultobj;
29641 wxPyControl *arg1 = (wxPyControl *) 0 ;
29642 wxVisualAttributes result;
29643 PyObject * obj0 = 0 ;
29644 char *kwnames[] = {
29645 (char *) "self", NULL
29646 };
29647
29648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
29653 result = (arg1)->base_GetDefaultAttributes();
29654
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 {
29659 wxVisualAttributes * resultptr;
29660 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29661 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29662 }
29663 return resultobj;
29664 fail:
29665 return NULL;
29666 }
29667
29668
29669 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29670 PyObject *obj;
29671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29672 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29673 Py_INCREF(obj);
29674 return Py_BuildValue((char *)"");
29675 }
29676 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj;
29678 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
29679 int arg2 = (int) 0 ;
29680 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29681 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29682 wxHelpEvent *result;
29683 wxPoint temp3 ;
29684 PyObject * obj0 = 0 ;
29685 PyObject * obj1 = 0 ;
29686 PyObject * obj2 = 0 ;
29687 char *kwnames[] = {
29688 (char *) "type",(char *) "winid",(char *) "pt", NULL
29689 };
29690
29691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29692 if (obj0) {
29693 arg1 = (wxEventType) SWIG_AsInt(obj0);
29694 if (PyErr_Occurred()) SWIG_fail;
29695 }
29696 if (obj1) {
29697 arg2 = (int) SWIG_AsInt(obj1);
29698 if (PyErr_Occurred()) SWIG_fail;
29699 }
29700 if (obj2) {
29701 {
29702 arg3 = &temp3;
29703 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29704 }
29705 }
29706 {
29707 PyThreadState* __tstate = wxPyBeginAllowThreads();
29708 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29709
29710 wxPyEndAllowThreads(__tstate);
29711 if (PyErr_Occurred()) SWIG_fail;
29712 }
29713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
29714 return resultobj;
29715 fail:
29716 return NULL;
29717 }
29718
29719
29720 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29721 PyObject *resultobj;
29722 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29723 wxPoint result;
29724 PyObject * obj0 = 0 ;
29725 char *kwnames[] = {
29726 (char *) "self", NULL
29727 };
29728
29729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
29730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29732 {
29733 PyThreadState* __tstate = wxPyBeginAllowThreads();
29734 result = ((wxHelpEvent const *)arg1)->GetPosition();
29735
29736 wxPyEndAllowThreads(__tstate);
29737 if (PyErr_Occurred()) SWIG_fail;
29738 }
29739 {
29740 wxPoint * resultptr;
29741 resultptr = new wxPoint((wxPoint &) result);
29742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29743 }
29744 return resultobj;
29745 fail:
29746 return NULL;
29747 }
29748
29749
29750 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29751 PyObject *resultobj;
29752 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29753 wxPoint *arg2 = 0 ;
29754 wxPoint temp2 ;
29755 PyObject * obj0 = 0 ;
29756 PyObject * obj1 = 0 ;
29757 char *kwnames[] = {
29758 (char *) "self",(char *) "pos", NULL
29759 };
29760
29761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
29762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29764 {
29765 arg2 = &temp2;
29766 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29767 }
29768 {
29769 PyThreadState* __tstate = wxPyBeginAllowThreads();
29770 (arg1)->SetPosition((wxPoint const &)*arg2);
29771
29772 wxPyEndAllowThreads(__tstate);
29773 if (PyErr_Occurred()) SWIG_fail;
29774 }
29775 Py_INCREF(Py_None); resultobj = Py_None;
29776 return resultobj;
29777 fail:
29778 return NULL;
29779 }
29780
29781
29782 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29783 PyObject *resultobj;
29784 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29785 wxString *result;
29786 PyObject * obj0 = 0 ;
29787 char *kwnames[] = {
29788 (char *) "self", NULL
29789 };
29790
29791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29794 {
29795 PyThreadState* __tstate = wxPyBeginAllowThreads();
29796 {
29797 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29798 result = (wxString *) &_result_ref;
29799 }
29800
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 {
29805 #if wxUSE_UNICODE
29806 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29807 #else
29808 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29809 #endif
29810 }
29811 return resultobj;
29812 fail:
29813 return NULL;
29814 }
29815
29816
29817 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29818 PyObject *resultobj;
29819 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29820 wxString *arg2 = 0 ;
29821 bool temp2 = False ;
29822 PyObject * obj0 = 0 ;
29823 PyObject * obj1 = 0 ;
29824 char *kwnames[] = {
29825 (char *) "self",(char *) "link", NULL
29826 };
29827
29828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29831 {
29832 arg2 = wxString_in_helper(obj1);
29833 if (arg2 == NULL) SWIG_fail;
29834 temp2 = True;
29835 }
29836 {
29837 PyThreadState* __tstate = wxPyBeginAllowThreads();
29838 (arg1)->SetLink((wxString const &)*arg2);
29839
29840 wxPyEndAllowThreads(__tstate);
29841 if (PyErr_Occurred()) SWIG_fail;
29842 }
29843 Py_INCREF(Py_None); resultobj = Py_None;
29844 {
29845 if (temp2)
29846 delete arg2;
29847 }
29848 return resultobj;
29849 fail:
29850 {
29851 if (temp2)
29852 delete arg2;
29853 }
29854 return NULL;
29855 }
29856
29857
29858 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29859 PyObject *resultobj;
29860 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29861 wxString *result;
29862 PyObject * obj0 = 0 ;
29863 char *kwnames[] = {
29864 (char *) "self", NULL
29865 };
29866
29867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29870 {
29871 PyThreadState* __tstate = wxPyBeginAllowThreads();
29872 {
29873 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29874 result = (wxString *) &_result_ref;
29875 }
29876
29877 wxPyEndAllowThreads(__tstate);
29878 if (PyErr_Occurred()) SWIG_fail;
29879 }
29880 {
29881 #if wxUSE_UNICODE
29882 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29883 #else
29884 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29885 #endif
29886 }
29887 return resultobj;
29888 fail:
29889 return NULL;
29890 }
29891
29892
29893 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29894 PyObject *resultobj;
29895 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29896 wxString *arg2 = 0 ;
29897 bool temp2 = False ;
29898 PyObject * obj0 = 0 ;
29899 PyObject * obj1 = 0 ;
29900 char *kwnames[] = {
29901 (char *) "self",(char *) "target", NULL
29902 };
29903
29904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29907 {
29908 arg2 = wxString_in_helper(obj1);
29909 if (arg2 == NULL) SWIG_fail;
29910 temp2 = True;
29911 }
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 (arg1)->SetTarget((wxString const &)*arg2);
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 Py_INCREF(Py_None); resultobj = Py_None;
29920 {
29921 if (temp2)
29922 delete arg2;
29923 }
29924 return resultobj;
29925 fail:
29926 {
29927 if (temp2)
29928 delete arg2;
29929 }
29930 return NULL;
29931 }
29932
29933
29934 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29935 PyObject *obj;
29936 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29937 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29938 Py_INCREF(obj);
29939 return Py_BuildValue((char *)"");
29940 }
29941 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29942 PyObject *resultobj;
29943 wxWindow *arg1 = (wxWindow *) NULL ;
29944 bool arg2 = (bool) True ;
29945 wxContextHelp *result;
29946 PyObject * obj0 = 0 ;
29947 PyObject * obj1 = 0 ;
29948 char *kwnames[] = {
29949 (char *) "window",(char *) "doNow", NULL
29950 };
29951
29952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29953 if (obj0) {
29954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29956 }
29957 if (obj1) {
29958 arg2 = (bool) SWIG_AsBool(obj1);
29959 if (PyErr_Occurred()) SWIG_fail;
29960 }
29961 {
29962 if (!wxPyCheckForApp()) SWIG_fail;
29963 PyThreadState* __tstate = wxPyBeginAllowThreads();
29964 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29965
29966 wxPyEndAllowThreads(__tstate);
29967 if (PyErr_Occurred()) SWIG_fail;
29968 }
29969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
29970 return resultobj;
29971 fail:
29972 return NULL;
29973 }
29974
29975
29976 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29977 PyObject *resultobj;
29978 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29979 PyObject * obj0 = 0 ;
29980 char *kwnames[] = {
29981 (char *) "self", NULL
29982 };
29983
29984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
29985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29987 {
29988 PyThreadState* __tstate = wxPyBeginAllowThreads();
29989 delete arg1;
29990
29991 wxPyEndAllowThreads(__tstate);
29992 if (PyErr_Occurred()) SWIG_fail;
29993 }
29994 Py_INCREF(Py_None); resultobj = Py_None;
29995 return resultobj;
29996 fail:
29997 return NULL;
29998 }
29999
30000
30001 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30002 PyObject *resultobj;
30003 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30004 wxWindow *arg2 = (wxWindow *) NULL ;
30005 bool result;
30006 PyObject * obj0 = 0 ;
30007 PyObject * obj1 = 0 ;
30008 char *kwnames[] = {
30009 (char *) "self",(char *) "window", NULL
30010 };
30011
30012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30015 if (obj1) {
30016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30018 }
30019 {
30020 PyThreadState* __tstate = wxPyBeginAllowThreads();
30021 result = (bool)(arg1)->BeginContextHelp(arg2);
30022
30023 wxPyEndAllowThreads(__tstate);
30024 if (PyErr_Occurred()) SWIG_fail;
30025 }
30026 {
30027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30028 }
30029 return resultobj;
30030 fail:
30031 return NULL;
30032 }
30033
30034
30035 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30036 PyObject *resultobj;
30037 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30038 bool result;
30039 PyObject * obj0 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30047 {
30048 PyThreadState* __tstate = wxPyBeginAllowThreads();
30049 result = (bool)(arg1)->EndContextHelp();
30050
30051 wxPyEndAllowThreads(__tstate);
30052 if (PyErr_Occurred()) SWIG_fail;
30053 }
30054 {
30055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30056 }
30057 return resultobj;
30058 fail:
30059 return NULL;
30060 }
30061
30062
30063 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30064 PyObject *obj;
30065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30066 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30067 Py_INCREF(obj);
30068 return Py_BuildValue((char *)"");
30069 }
30070 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30071 PyObject *resultobj;
30072 wxWindow *arg1 = (wxWindow *) 0 ;
30073 int arg2 = (int) wxID_CONTEXT_HELP ;
30074 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30075 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30076 wxSize const &arg4_defvalue = wxDefaultSize ;
30077 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30078 long arg5 = (long) wxBU_AUTODRAW ;
30079 wxContextHelpButton *result;
30080 wxPoint temp3 ;
30081 wxSize temp4 ;
30082 PyObject * obj0 = 0 ;
30083 PyObject * obj1 = 0 ;
30084 PyObject * obj2 = 0 ;
30085 PyObject * obj3 = 0 ;
30086 PyObject * obj4 = 0 ;
30087 char *kwnames[] = {
30088 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30089 };
30090
30091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30094 if (obj1) {
30095 arg2 = (int) SWIG_AsInt(obj1);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
30098 if (obj2) {
30099 {
30100 arg3 = &temp3;
30101 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30102 }
30103 }
30104 if (obj3) {
30105 {
30106 arg4 = &temp4;
30107 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30108 }
30109 }
30110 if (obj4) {
30111 arg5 = (long) SWIG_AsLong(obj4);
30112 if (PyErr_Occurred()) SWIG_fail;
30113 }
30114 {
30115 if (!wxPyCheckForApp()) SWIG_fail;
30116 PyThreadState* __tstate = wxPyBeginAllowThreads();
30117 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30118
30119 wxPyEndAllowThreads(__tstate);
30120 if (PyErr_Occurred()) SWIG_fail;
30121 }
30122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30123 return resultobj;
30124 fail:
30125 return NULL;
30126 }
30127
30128
30129 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30130 PyObject *obj;
30131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30132 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30133 Py_INCREF(obj);
30134 return Py_BuildValue((char *)"");
30135 }
30136 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30137 PyObject *resultobj;
30138 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30139 wxHelpProvider *result;
30140 PyObject * obj0 = 0 ;
30141 char *kwnames[] = {
30142 (char *) "helpProvider", NULL
30143 };
30144
30145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30148 {
30149 PyThreadState* __tstate = wxPyBeginAllowThreads();
30150 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30151
30152 wxPyEndAllowThreads(__tstate);
30153 if (PyErr_Occurred()) SWIG_fail;
30154 }
30155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30156 return resultobj;
30157 fail:
30158 return NULL;
30159 }
30160
30161
30162 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30163 PyObject *resultobj;
30164 wxHelpProvider *result;
30165 char *kwnames[] = {
30166 NULL
30167 };
30168
30169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30170 {
30171 PyThreadState* __tstate = wxPyBeginAllowThreads();
30172 result = (wxHelpProvider *)wxHelpProvider::Get();
30173
30174 wxPyEndAllowThreads(__tstate);
30175 if (PyErr_Occurred()) SWIG_fail;
30176 }
30177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30178 return resultobj;
30179 fail:
30180 return NULL;
30181 }
30182
30183
30184 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30185 PyObject *resultobj;
30186 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30187 wxWindow *arg2 = (wxWindow *) 0 ;
30188 wxString result;
30189 PyObject * obj0 = 0 ;
30190 PyObject * obj1 = 0 ;
30191 char *kwnames[] = {
30192 (char *) "self",(char *) "window", NULL
30193 };
30194
30195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30200 {
30201 PyThreadState* __tstate = wxPyBeginAllowThreads();
30202 result = (arg1)->GetHelp((wxWindow const *)arg2);
30203
30204 wxPyEndAllowThreads(__tstate);
30205 if (PyErr_Occurred()) SWIG_fail;
30206 }
30207 {
30208 #if wxUSE_UNICODE
30209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30210 #else
30211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30212 #endif
30213 }
30214 return resultobj;
30215 fail:
30216 return NULL;
30217 }
30218
30219
30220 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30221 PyObject *resultobj;
30222 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30223 wxWindow *arg2 = (wxWindow *) 0 ;
30224 bool result;
30225 PyObject * obj0 = 0 ;
30226 PyObject * obj1 = 0 ;
30227 char *kwnames[] = {
30228 (char *) "self",(char *) "window", NULL
30229 };
30230
30231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30236 {
30237 PyThreadState* __tstate = wxPyBeginAllowThreads();
30238 result = (bool)(arg1)->ShowHelp(arg2);
30239
30240 wxPyEndAllowThreads(__tstate);
30241 if (PyErr_Occurred()) SWIG_fail;
30242 }
30243 {
30244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30245 }
30246 return resultobj;
30247 fail:
30248 return NULL;
30249 }
30250
30251
30252 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30253 PyObject *resultobj;
30254 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30255 wxWindow *arg2 = (wxWindow *) 0 ;
30256 wxString *arg3 = 0 ;
30257 bool temp3 = False ;
30258 PyObject * obj0 = 0 ;
30259 PyObject * obj1 = 0 ;
30260 PyObject * obj2 = 0 ;
30261 char *kwnames[] = {
30262 (char *) "self",(char *) "window",(char *) "text", NULL
30263 };
30264
30265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30268 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30270 {
30271 arg3 = wxString_in_helper(obj2);
30272 if (arg3 == NULL) SWIG_fail;
30273 temp3 = True;
30274 }
30275 {
30276 PyThreadState* __tstate = wxPyBeginAllowThreads();
30277 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30278
30279 wxPyEndAllowThreads(__tstate);
30280 if (PyErr_Occurred()) SWIG_fail;
30281 }
30282 Py_INCREF(Py_None); resultobj = Py_None;
30283 {
30284 if (temp3)
30285 delete arg3;
30286 }
30287 return resultobj;
30288 fail:
30289 {
30290 if (temp3)
30291 delete arg3;
30292 }
30293 return NULL;
30294 }
30295
30296
30297 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30298 PyObject *resultobj;
30299 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30300 int arg2 ;
30301 wxString *arg3 = 0 ;
30302 bool temp3 = False ;
30303 PyObject * obj0 = 0 ;
30304 PyObject * obj1 = 0 ;
30305 PyObject * obj2 = 0 ;
30306 char *kwnames[] = {
30307 (char *) "self",(char *) "id",(char *) "text", NULL
30308 };
30309
30310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30313 arg2 = (int) SWIG_AsInt(obj1);
30314 if (PyErr_Occurred()) SWIG_fail;
30315 {
30316 arg3 = wxString_in_helper(obj2);
30317 if (arg3 == NULL) SWIG_fail;
30318 temp3 = True;
30319 }
30320 {
30321 PyThreadState* __tstate = wxPyBeginAllowThreads();
30322 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30323
30324 wxPyEndAllowThreads(__tstate);
30325 if (PyErr_Occurred()) SWIG_fail;
30326 }
30327 Py_INCREF(Py_None); resultobj = Py_None;
30328 {
30329 if (temp3)
30330 delete arg3;
30331 }
30332 return resultobj;
30333 fail:
30334 {
30335 if (temp3)
30336 delete arg3;
30337 }
30338 return NULL;
30339 }
30340
30341
30342 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30343 PyObject *resultobj;
30344 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30345 wxWindow *arg2 = (wxWindow *) 0 ;
30346 PyObject * obj0 = 0 ;
30347 PyObject * obj1 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self",(char *) "window", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30357 {
30358 PyThreadState* __tstate = wxPyBeginAllowThreads();
30359 (arg1)->RemoveHelp(arg2);
30360
30361 wxPyEndAllowThreads(__tstate);
30362 if (PyErr_Occurred()) SWIG_fail;
30363 }
30364 Py_INCREF(Py_None); resultobj = Py_None;
30365 return resultobj;
30366 fail:
30367 return NULL;
30368 }
30369
30370
30371 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30372 PyObject *resultobj;
30373 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30374 PyObject * obj0 = 0 ;
30375 char *kwnames[] = {
30376 (char *) "self", NULL
30377 };
30378
30379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30382 {
30383 PyThreadState* __tstate = wxPyBeginAllowThreads();
30384 wxHelpProvider_Destroy(arg1);
30385
30386 wxPyEndAllowThreads(__tstate);
30387 if (PyErr_Occurred()) SWIG_fail;
30388 }
30389 Py_INCREF(Py_None); resultobj = Py_None;
30390 return resultobj;
30391 fail:
30392 return NULL;
30393 }
30394
30395
30396 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30397 PyObject *obj;
30398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30399 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30400 Py_INCREF(obj);
30401 return Py_BuildValue((char *)"");
30402 }
30403 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30404 PyObject *resultobj;
30405 wxSimpleHelpProvider *result;
30406 char *kwnames[] = {
30407 NULL
30408 };
30409
30410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30411 {
30412 PyThreadState* __tstate = wxPyBeginAllowThreads();
30413 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30414
30415 wxPyEndAllowThreads(__tstate);
30416 if (PyErr_Occurred()) SWIG_fail;
30417 }
30418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30419 return resultobj;
30420 fail:
30421 return NULL;
30422 }
30423
30424
30425 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30426 PyObject *obj;
30427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30428 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30429 Py_INCREF(obj);
30430 return Py_BuildValue((char *)"");
30431 }
30432 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30433 PyObject *resultobj;
30434 wxBitmap *arg1 = 0 ;
30435 wxCursor const &arg2_defvalue = wxNullCursor ;
30436 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30437 wxGenericDragImage *result;
30438 PyObject * obj0 = 0 ;
30439 PyObject * obj1 = 0 ;
30440 char *kwnames[] = {
30441 (char *) "image",(char *) "cursor", NULL
30442 };
30443
30444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30446 SWIG_POINTER_EXCEPTION | 0)) == -1)
30447 SWIG_fail;
30448 if (arg1 == NULL) {
30449 PyErr_SetString(PyExc_TypeError,"null reference");
30450 SWIG_fail;
30451 }
30452 if (obj1) {
30453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30454 SWIG_POINTER_EXCEPTION | 0)) == -1)
30455 SWIG_fail;
30456 if (arg2 == NULL) {
30457 PyErr_SetString(PyExc_TypeError,"null reference");
30458 SWIG_fail;
30459 }
30460 }
30461 {
30462 if (!wxPyCheckForApp()) SWIG_fail;
30463 PyThreadState* __tstate = wxPyBeginAllowThreads();
30464 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30465
30466 wxPyEndAllowThreads(__tstate);
30467 if (PyErr_Occurred()) SWIG_fail;
30468 }
30469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30470 return resultobj;
30471 fail:
30472 return NULL;
30473 }
30474
30475
30476 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30477 PyObject *resultobj;
30478 wxIcon *arg1 = 0 ;
30479 wxCursor const &arg2_defvalue = wxNullCursor ;
30480 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30481 wxGenericDragImage *result;
30482 PyObject * obj0 = 0 ;
30483 PyObject * obj1 = 0 ;
30484 char *kwnames[] = {
30485 (char *) "image",(char *) "cursor", NULL
30486 };
30487
30488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30490 SWIG_POINTER_EXCEPTION | 0)) == -1)
30491 SWIG_fail;
30492 if (arg1 == NULL) {
30493 PyErr_SetString(PyExc_TypeError,"null reference");
30494 SWIG_fail;
30495 }
30496 if (obj1) {
30497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30498 SWIG_POINTER_EXCEPTION | 0)) == -1)
30499 SWIG_fail;
30500 if (arg2 == NULL) {
30501 PyErr_SetString(PyExc_TypeError,"null reference");
30502 SWIG_fail;
30503 }
30504 }
30505 {
30506 if (!wxPyCheckForApp()) SWIG_fail;
30507 PyThreadState* __tstate = wxPyBeginAllowThreads();
30508 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30509
30510 wxPyEndAllowThreads(__tstate);
30511 if (PyErr_Occurred()) SWIG_fail;
30512 }
30513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30514 return resultobj;
30515 fail:
30516 return NULL;
30517 }
30518
30519
30520 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj;
30522 wxString *arg1 = 0 ;
30523 wxCursor const &arg2_defvalue = wxNullCursor ;
30524 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30525 wxGenericDragImage *result;
30526 bool temp1 = False ;
30527 PyObject * obj0 = 0 ;
30528 PyObject * obj1 = 0 ;
30529 char *kwnames[] = {
30530 (char *) "str",(char *) "cursor", NULL
30531 };
30532
30533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30534 {
30535 arg1 = wxString_in_helper(obj0);
30536 if (arg1 == NULL) SWIG_fail;
30537 temp1 = True;
30538 }
30539 if (obj1) {
30540 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30541 SWIG_POINTER_EXCEPTION | 0)) == -1)
30542 SWIG_fail;
30543 if (arg2 == NULL) {
30544 PyErr_SetString(PyExc_TypeError,"null reference");
30545 SWIG_fail;
30546 }
30547 }
30548 {
30549 if (!wxPyCheckForApp()) SWIG_fail;
30550 PyThreadState* __tstate = wxPyBeginAllowThreads();
30551 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30552
30553 wxPyEndAllowThreads(__tstate);
30554 if (PyErr_Occurred()) SWIG_fail;
30555 }
30556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30557 {
30558 if (temp1)
30559 delete arg1;
30560 }
30561 return resultobj;
30562 fail:
30563 {
30564 if (temp1)
30565 delete arg1;
30566 }
30567 return NULL;
30568 }
30569
30570
30571 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30572 PyObject *resultobj;
30573 wxPyTreeCtrl *arg1 = 0 ;
30574 wxTreeItemId *arg2 = 0 ;
30575 wxGenericDragImage *result;
30576 PyObject * obj0 = 0 ;
30577 PyObject * obj1 = 0 ;
30578 char *kwnames[] = {
30579 (char *) "treeCtrl",(char *) "id", NULL
30580 };
30581
30582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30584 SWIG_POINTER_EXCEPTION | 0)) == -1)
30585 SWIG_fail;
30586 if (arg1 == NULL) {
30587 PyErr_SetString(PyExc_TypeError,"null reference");
30588 SWIG_fail;
30589 }
30590 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30591 SWIG_POINTER_EXCEPTION | 0)) == -1)
30592 SWIG_fail;
30593 if (arg2 == NULL) {
30594 PyErr_SetString(PyExc_TypeError,"null reference");
30595 SWIG_fail;
30596 }
30597 {
30598 if (!wxPyCheckForApp()) SWIG_fail;
30599 PyThreadState* __tstate = wxPyBeginAllowThreads();
30600 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30601
30602 wxPyEndAllowThreads(__tstate);
30603 if (PyErr_Occurred()) SWIG_fail;
30604 }
30605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30606 return resultobj;
30607 fail:
30608 return NULL;
30609 }
30610
30611
30612 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30613 PyObject *resultobj;
30614 wxPyListCtrl *arg1 = 0 ;
30615 long arg2 ;
30616 wxGenericDragImage *result;
30617 PyObject * obj0 = 0 ;
30618 PyObject * obj1 = 0 ;
30619 char *kwnames[] = {
30620 (char *) "listCtrl",(char *) "id", NULL
30621 };
30622
30623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30625 SWIG_POINTER_EXCEPTION | 0)) == -1)
30626 SWIG_fail;
30627 if (arg1 == NULL) {
30628 PyErr_SetString(PyExc_TypeError,"null reference");
30629 SWIG_fail;
30630 }
30631 arg2 = (long) SWIG_AsLong(obj1);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 {
30634 if (!wxPyCheckForApp()) SWIG_fail;
30635 PyThreadState* __tstate = wxPyBeginAllowThreads();
30636 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30637
30638 wxPyEndAllowThreads(__tstate);
30639 if (PyErr_Occurred()) SWIG_fail;
30640 }
30641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30642 return resultobj;
30643 fail:
30644 return NULL;
30645 }
30646
30647
30648 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30649 PyObject *resultobj;
30650 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30651 PyObject * obj0 = 0 ;
30652 char *kwnames[] = {
30653 (char *) "self", NULL
30654 };
30655
30656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
30657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 delete arg1;
30662
30663 wxPyEndAllowThreads(__tstate);
30664 if (PyErr_Occurred()) SWIG_fail;
30665 }
30666 Py_INCREF(Py_None); resultobj = Py_None;
30667 return resultobj;
30668 fail:
30669 return NULL;
30670 }
30671
30672
30673 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30674 PyObject *resultobj;
30675 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30676 wxBitmap *arg2 = (wxBitmap *) 0 ;
30677 PyObject * obj0 = 0 ;
30678 PyObject * obj1 = 0 ;
30679 char *kwnames[] = {
30680 (char *) "self",(char *) "bitmap", NULL
30681 };
30682
30683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
30684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30688 {
30689 PyThreadState* __tstate = wxPyBeginAllowThreads();
30690 (arg1)->SetBackingBitmap(arg2);
30691
30692 wxPyEndAllowThreads(__tstate);
30693 if (PyErr_Occurred()) SWIG_fail;
30694 }
30695 Py_INCREF(Py_None); resultobj = Py_None;
30696 return resultobj;
30697 fail:
30698 return NULL;
30699 }
30700
30701
30702 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30703 PyObject *resultobj;
30704 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30705 wxPoint *arg2 = 0 ;
30706 wxWindow *arg3 = (wxWindow *) 0 ;
30707 bool arg4 = (bool) False ;
30708 wxRect *arg5 = (wxRect *) NULL ;
30709 bool result;
30710 wxPoint temp2 ;
30711 PyObject * obj0 = 0 ;
30712 PyObject * obj1 = 0 ;
30713 PyObject * obj2 = 0 ;
30714 PyObject * obj3 = 0 ;
30715 PyObject * obj4 = 0 ;
30716 char *kwnames[] = {
30717 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30718 };
30719
30720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30723 {
30724 arg2 = &temp2;
30725 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30726 }
30727 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30729 if (obj3) {
30730 arg4 = (bool) SWIG_AsBool(obj3);
30731 if (PyErr_Occurred()) SWIG_fail;
30732 }
30733 if (obj4) {
30734 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30736 }
30737 {
30738 PyThreadState* __tstate = wxPyBeginAllowThreads();
30739 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30740
30741 wxPyEndAllowThreads(__tstate);
30742 if (PyErr_Occurred()) SWIG_fail;
30743 }
30744 {
30745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30746 }
30747 return resultobj;
30748 fail:
30749 return NULL;
30750 }
30751
30752
30753 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30754 PyObject *resultobj;
30755 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30756 wxPoint *arg2 = 0 ;
30757 wxWindow *arg3 = (wxWindow *) 0 ;
30758 wxWindow *arg4 = (wxWindow *) 0 ;
30759 bool result;
30760 wxPoint temp2 ;
30761 PyObject * obj0 = 0 ;
30762 PyObject * obj1 = 0 ;
30763 PyObject * obj2 = 0 ;
30764 PyObject * obj3 = 0 ;
30765 char *kwnames[] = {
30766 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30767 };
30768
30769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30772 {
30773 arg2 = &temp2;
30774 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30775 }
30776 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30778 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30780 {
30781 PyThreadState* __tstate = wxPyBeginAllowThreads();
30782 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30783
30784 wxPyEndAllowThreads(__tstate);
30785 if (PyErr_Occurred()) SWIG_fail;
30786 }
30787 {
30788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30789 }
30790 return resultobj;
30791 fail:
30792 return NULL;
30793 }
30794
30795
30796 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30797 PyObject *resultobj;
30798 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30799 bool result;
30800 PyObject * obj0 = 0 ;
30801 char *kwnames[] = {
30802 (char *) "self", NULL
30803 };
30804
30805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30808 {
30809 PyThreadState* __tstate = wxPyBeginAllowThreads();
30810 result = (bool)(arg1)->EndDrag();
30811
30812 wxPyEndAllowThreads(__tstate);
30813 if (PyErr_Occurred()) SWIG_fail;
30814 }
30815 {
30816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30817 }
30818 return resultobj;
30819 fail:
30820 return NULL;
30821 }
30822
30823
30824 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30825 PyObject *resultobj;
30826 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30827 wxPoint *arg2 = 0 ;
30828 bool result;
30829 wxPoint temp2 ;
30830 PyObject * obj0 = 0 ;
30831 PyObject * obj1 = 0 ;
30832 char *kwnames[] = {
30833 (char *) "self",(char *) "pt", NULL
30834 };
30835
30836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30839 {
30840 arg2 = &temp2;
30841 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30842 }
30843 {
30844 PyThreadState* __tstate = wxPyBeginAllowThreads();
30845 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30846
30847 wxPyEndAllowThreads(__tstate);
30848 if (PyErr_Occurred()) SWIG_fail;
30849 }
30850 {
30851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30852 }
30853 return resultobj;
30854 fail:
30855 return NULL;
30856 }
30857
30858
30859 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30860 PyObject *resultobj;
30861 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30862 bool result;
30863 PyObject * obj0 = 0 ;
30864 char *kwnames[] = {
30865 (char *) "self", NULL
30866 };
30867
30868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30871 {
30872 PyThreadState* __tstate = wxPyBeginAllowThreads();
30873 result = (bool)(arg1)->Show();
30874
30875 wxPyEndAllowThreads(__tstate);
30876 if (PyErr_Occurred()) SWIG_fail;
30877 }
30878 {
30879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30880 }
30881 return resultobj;
30882 fail:
30883 return NULL;
30884 }
30885
30886
30887 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30888 PyObject *resultobj;
30889 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30890 bool result;
30891 PyObject * obj0 = 0 ;
30892 char *kwnames[] = {
30893 (char *) "self", NULL
30894 };
30895
30896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30899 {
30900 PyThreadState* __tstate = wxPyBeginAllowThreads();
30901 result = (bool)(arg1)->Hide();
30902
30903 wxPyEndAllowThreads(__tstate);
30904 if (PyErr_Occurred()) SWIG_fail;
30905 }
30906 {
30907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30908 }
30909 return resultobj;
30910 fail:
30911 return NULL;
30912 }
30913
30914
30915 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30916 PyObject *resultobj;
30917 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30918 wxPoint *arg2 = 0 ;
30919 wxRect result;
30920 wxPoint temp2 ;
30921 PyObject * obj0 = 0 ;
30922 PyObject * obj1 = 0 ;
30923 char *kwnames[] = {
30924 (char *) "self",(char *) "pos", NULL
30925 };
30926
30927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30930 {
30931 arg2 = &temp2;
30932 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30933 }
30934 {
30935 PyThreadState* __tstate = wxPyBeginAllowThreads();
30936 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30937
30938 wxPyEndAllowThreads(__tstate);
30939 if (PyErr_Occurred()) SWIG_fail;
30940 }
30941 {
30942 wxRect * resultptr;
30943 resultptr = new wxRect((wxRect &) result);
30944 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30945 }
30946 return resultobj;
30947 fail:
30948 return NULL;
30949 }
30950
30951
30952 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30953 PyObject *resultobj;
30954 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30955 wxDC *arg2 = 0 ;
30956 wxPoint *arg3 = 0 ;
30957 bool result;
30958 wxPoint temp3 ;
30959 PyObject * obj0 = 0 ;
30960 PyObject * obj1 = 0 ;
30961 PyObject * obj2 = 0 ;
30962 char *kwnames[] = {
30963 (char *) "self",(char *) "dc",(char *) "pos", NULL
30964 };
30965
30966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
30967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30969 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30970 SWIG_POINTER_EXCEPTION | 0)) == -1)
30971 SWIG_fail;
30972 if (arg2 == NULL) {
30973 PyErr_SetString(PyExc_TypeError,"null reference");
30974 SWIG_fail;
30975 }
30976 {
30977 arg3 = &temp3;
30978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30979 }
30980 {
30981 PyThreadState* __tstate = wxPyBeginAllowThreads();
30982 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30983
30984 wxPyEndAllowThreads(__tstate);
30985 if (PyErr_Occurred()) SWIG_fail;
30986 }
30987 {
30988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30989 }
30990 return resultobj;
30991 fail:
30992 return NULL;
30993 }
30994
30995
30996 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30997 PyObject *resultobj;
30998 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30999 wxDC *arg2 = 0 ;
31000 wxMemoryDC *arg3 = 0 ;
31001 wxRect *arg4 = 0 ;
31002 wxRect *arg5 = 0 ;
31003 bool result;
31004 wxRect temp4 ;
31005 wxRect temp5 ;
31006 PyObject * obj0 = 0 ;
31007 PyObject * obj1 = 0 ;
31008 PyObject * obj2 = 0 ;
31009 PyObject * obj3 = 0 ;
31010 PyObject * obj4 = 0 ;
31011 char *kwnames[] = {
31012 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31013 };
31014
31015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31018 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31019 SWIG_POINTER_EXCEPTION | 0)) == -1)
31020 SWIG_fail;
31021 if (arg2 == NULL) {
31022 PyErr_SetString(PyExc_TypeError,"null reference");
31023 SWIG_fail;
31024 }
31025 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31026 SWIG_POINTER_EXCEPTION | 0)) == -1)
31027 SWIG_fail;
31028 if (arg3 == NULL) {
31029 PyErr_SetString(PyExc_TypeError,"null reference");
31030 SWIG_fail;
31031 }
31032 {
31033 arg4 = &temp4;
31034 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31035 }
31036 {
31037 arg5 = &temp5;
31038 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31039 }
31040 {
31041 PyThreadState* __tstate = wxPyBeginAllowThreads();
31042 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31043
31044 wxPyEndAllowThreads(__tstate);
31045 if (PyErr_Occurred()) SWIG_fail;
31046 }
31047 {
31048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31049 }
31050 return resultobj;
31051 fail:
31052 return NULL;
31053 }
31054
31055
31056 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31057 PyObject *resultobj;
31058 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31059 wxPoint *arg2 = 0 ;
31060 wxPoint *arg3 = 0 ;
31061 bool arg4 ;
31062 bool arg5 ;
31063 bool result;
31064 wxPoint temp2 ;
31065 wxPoint temp3 ;
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 PyObject * obj2 = 0 ;
31069 PyObject * obj3 = 0 ;
31070 PyObject * obj4 = 0 ;
31071 char *kwnames[] = {
31072 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31073 };
31074
31075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31078 {
31079 arg2 = &temp2;
31080 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31081 }
31082 {
31083 arg3 = &temp3;
31084 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31085 }
31086 arg4 = (bool) SWIG_AsBool(obj3);
31087 if (PyErr_Occurred()) SWIG_fail;
31088 arg5 = (bool) SWIG_AsBool(obj4);
31089 if (PyErr_Occurred()) SWIG_fail;
31090 {
31091 PyThreadState* __tstate = wxPyBeginAllowThreads();
31092 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31093
31094 wxPyEndAllowThreads(__tstate);
31095 if (PyErr_Occurred()) SWIG_fail;
31096 }
31097 {
31098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31099 }
31100 return resultobj;
31101 fail:
31102 return NULL;
31103 }
31104
31105
31106 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31107 PyObject *obj;
31108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31109 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31110 Py_INCREF(obj);
31111 return Py_BuildValue((char *)"");
31112 }
31113 static PyMethodDef SwigMethods[] = {
31114 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31115 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31116 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31117 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31118 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31119 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31120 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31121 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31122 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31123 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31124 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31125 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31126 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31127 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31128 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31129 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31130 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31131 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31132 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31133 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31134 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31135 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31136 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31137 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31138 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31139 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31140 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31141 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31142 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31143 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31144 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31145 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
31146 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31147 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31148 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31149 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31150 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31151 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31152 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31153 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
31154 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31155 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31156 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31157 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31158 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31159 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31160 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31161 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31162 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31163 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31164 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31165 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31166 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31167 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31168 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31169 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
31170 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31171 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
31172 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31173 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31174 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
31175 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31176 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31177 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31178 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31179 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31180 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31181 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31182 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31183 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31184 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31185 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31186 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31187 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31188 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
31189 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31190 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31191 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31192 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31193 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
31194 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31195 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31196 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31197 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31198 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31199 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31200 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
31201 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31202 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31203 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31204 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31205 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
31206 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31207 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31208 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31209 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31210 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31211 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31212 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31213 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
31214 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31215 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31216 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31217 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31218 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31219 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31220 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31221 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31222 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31223 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31224 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31225 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31226 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31227 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31228 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31229 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31230 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31231 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31232 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31233 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31234 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31235 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31236 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31237 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31238 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31239 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31240 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31241 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31242 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31243 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31244 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31245 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31246 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31247 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
31248 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31249 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31250 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31251 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31252 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31253 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31254 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31255 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31258 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31259 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31260 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31261 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31266 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31267 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31268 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31269 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
31273 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31274 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31275 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31276 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31278 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31280 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31281 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31282 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31283 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31284 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31287 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31288 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31289 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31290 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31291 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31292 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31301 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31302 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31303 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31305 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31306 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31307 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31308 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31313 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31314 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31315 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31316 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31317 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31318 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31319 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31320 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31326 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31327 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31328 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31333 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31337 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31338 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31339 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31344 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31345 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31346 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31350 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31351 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31360 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
31361 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31363 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31370 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31371 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31372 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31375 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31376 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31377 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31379 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31390 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31397 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31404 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31406 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31407 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31417 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31418 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31419 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31430 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31438 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31442 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31445 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31446 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31447 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31448 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31452 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31459 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31462 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31463 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31464 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31465 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31473 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31475 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31476 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31477 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31481 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31482 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31484 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31489 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31493 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31494 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31518 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31524 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31542 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31544 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31569 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31573 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31575 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31579 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31587 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31588 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31639 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31666 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31737 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31749 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31754 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31757 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31764 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31780 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31853 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31855 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31865 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31877 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31882 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31908 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31916 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31921 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31923 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31932 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31934 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31950 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31952 { NULL, NULL }
31953 };
31954
31955
31956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31957
31958 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31959 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31960 }
31961 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31962 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31963 }
31964 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31965 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31966 }
31967 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31968 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31969 }
31970 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31971 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31972 }
31973 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31974 return (void *)((wxSizer *) ((wxGridSizer *) x));
31975 }
31976 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31977 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31978 }
31979 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31980 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31981 }
31982 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31983 return (void *)((wxSizer *) ((wxPySizer *) x));
31984 }
31985 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31986 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31987 }
31988 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31989 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31990 }
31991 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31992 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31993 }
31994 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31995 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31996 }
31997 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31998 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31999 }
32000 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32001 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32002 }
32003 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32004 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32005 }
32006 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32007 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32008 }
32009 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32010 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32011 }
32012 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32013 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32014 }
32015 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32016 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32017 }
32018 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32019 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32020 }
32021 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32022 return (void *)((wxEvent *) ((wxPyEvent *) x));
32023 }
32024 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32025 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32026 }
32027 static void *_p_wxListEventTo_p_wxEvent(void *x) {
32028 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32029 }
32030 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32031 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32032 }
32033 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32034 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32035 }
32036 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32037 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32038 }
32039 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32040 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32041 }
32042 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32044 }
32045 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32046 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32047 }
32048 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32049 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32050 }
32051 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32052 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32053 }
32054 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32055 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32056 }
32057 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32058 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32059 }
32060 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32061 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32062 }
32063 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32064 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32065 }
32066 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32067 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32068 }
32069 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32071 }
32072 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32073 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32074 }
32075 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32076 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32077 }
32078 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32079 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32080 }
32081 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32082 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32083 }
32084 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32085 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32086 }
32087 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32088 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32089 }
32090 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32092 }
32093 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32094 return (void *)((wxEvent *) ((wxShowEvent *) x));
32095 }
32096 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32097 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32098 }
32099 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32101 }
32102 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32104 }
32105 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32106 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32107 }
32108 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32109 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32110 }
32111 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32112 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32113 }
32114 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32115 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32116 }
32117 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32118 return (void *)((wxItemContainer *) ((wxComboBox *) x));
32119 }
32120 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32121 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32122 }
32123 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32124 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32125 }
32126 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32127 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32128 }
32129 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32130 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32131 }
32132 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32133 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32134 }
32135 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32136 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32137 }
32138 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32139 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32140 }
32141 static void *_p_wxListBoxTo_p_wxControl(void *x) {
32142 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32143 }
32144 static void *_p_wxChoiceTo_p_wxControl(void *x) {
32145 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32146 }
32147 static void *_p_wxToolBarTo_p_wxControl(void *x) {
32148 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32149 }
32150 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32151 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32152 }
32153 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32154 return (void *)((wxControl *) ((wxComboBox *) x));
32155 }
32156 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32157 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32158 }
32159 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32160 return (void *)((wxControl *) ((wxStaticBox *) x));
32161 }
32162 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32163 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32164 }
32165 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32166 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32167 }
32168 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32169 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32170 }
32171 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32172 return (void *)((wxControl *) ((wxScrollBar *) x));
32173 }
32174 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32175 return (void *)((wxControl *) ((wxBookCtrl *) x));
32176 }
32177 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32178 return (void *)((wxControl *) ((wxRadioButton *) x));
32179 }
32180 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32181 return (void *)((wxControl *) ((wxToggleButton *) x));
32182 }
32183 static void *_p_wxGaugeTo_p_wxControl(void *x) {
32184 return (void *)((wxControl *) ((wxGauge *) x));
32185 }
32186 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32187 return (void *)((wxControl *) ((wxToolBarBase *) x));
32188 }
32189 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32190 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32191 }
32192 static void *_p_wxButtonTo_p_wxControl(void *x) {
32193 return (void *)((wxControl *) ((wxButton *) x));
32194 }
32195 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32196 return (void *)((wxControl *) ((wxSpinButton *) x));
32197 }
32198 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32199 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32200 }
32201 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32202 return (void *)((wxControl *) ((wxControlWithItems *) x));
32203 }
32204 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32205 return (void *)((wxControl *) ((wxRadioBox *) x));
32206 }
32207 static void *_p_wxNotebookTo_p_wxControl(void *x) {
32208 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32209 }
32210 static void *_p_wxListbookTo_p_wxControl(void *x) {
32211 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32212 }
32213 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32214 return (void *)((wxControl *) ((wxCheckBox *) x));
32215 }
32216 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32217 return (void *)((wxControl *) ((wxTextCtrl *) x));
32218 }
32219 static void *_p_wxListViewTo_p_wxControl(void *x) {
32220 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32221 }
32222 static void *_p_wxSliderTo_p_wxControl(void *x) {
32223 return (void *)((wxControl *) ((wxSlider *) x));
32224 }
32225 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32226 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32227 }
32228 static void *_p_wxPyControlTo_p_wxControl(void *x) {
32229 return (void *)((wxControl *) ((wxPyControl *) x));
32230 }
32231 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32232 return (void *)((wxControl *) ((wxStaticLine *) x));
32233 }
32234 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32235 return (void *)((wxControl *) ((wxStaticText *) x));
32236 }
32237 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32238 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32239 }
32240 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32241 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32242 }
32243 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32244 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32245 }
32246 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32247 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32248 }
32249 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32250 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32251 }
32252 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32253 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32254 }
32255 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32256 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32257 }
32258 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32259 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32260 }
32261 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32262 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32263 }
32264 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32265 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32266 }
32267 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32268 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32269 }
32270 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32271 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32272 }
32273 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32274 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32275 }
32276 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32277 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32278 }
32279 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32280 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32281 }
32282 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32283 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32284 }
32285 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32286 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32287 }
32288 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32289 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32290 }
32291 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32292 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32293 }
32294 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32296 }
32297 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
32299 }
32300 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32302 }
32303 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32304 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32305 }
32306 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32307 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32308 }
32309 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32310 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32311 }
32312 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32313 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32314 }
32315 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32316 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32317 }
32318 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32319 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32320 }
32321 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32323 }
32324 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32325 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32326 }
32327 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32328 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32329 }
32330 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32332 }
32333 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32335 }
32336 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32338 }
32339 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32341 }
32342 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32343 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32344 }
32345 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32347 }
32348 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32350 }
32351 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32353 }
32354 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32356 }
32357 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32359 }
32360 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32361 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32362 }
32363 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32365 }
32366 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32368 }
32369 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32371 }
32372 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32374 }
32375 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32377 }
32378 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32380 }
32381 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32382 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32383 }
32384 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32385 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32386 }
32387 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32388 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32389 }
32390 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32391 return (void *)((wxButton *) ((wxBitmapButton *) x));
32392 }
32393 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32394 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32395 }
32396 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32397 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32398 }
32399 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32400 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32401 }
32402 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32403 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32404 }
32405 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32406 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32407 }
32408 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32409 return (void *)((wxObject *) ((wxSizerItem *) x));
32410 }
32411 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32413 }
32414 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32415 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32416 }
32417 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32418 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32419 }
32420 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32422 }
32423 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32424 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32425 }
32426 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32427 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32428 }
32429 static void *_p_wxSizerTo_p_wxObject(void *x) {
32430 return (void *)((wxObject *) ((wxSizer *) x));
32431 }
32432 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32433 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32434 }
32435 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32437 }
32438 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32440 }
32441 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32443 }
32444 static void *_p_wxEventTo_p_wxObject(void *x) {
32445 return (void *)((wxObject *) ((wxEvent *) x));
32446 }
32447 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32448 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32449 }
32450 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32451 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32452 }
32453 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32454 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32455 }
32456 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32458 }
32459 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32461 }
32462 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32464 }
32465 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32466 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32467 }
32468 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32469 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32470 }
32471 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32472 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32473 }
32474 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32475 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32476 }
32477 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32478 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32479 }
32480 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32481 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32482 }
32483 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32485 }
32486 static void *_p_wxControlTo_p_wxObject(void *x) {
32487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32488 }
32489 static void *_p_wxPyControlTo_p_wxObject(void *x) {
32490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32491 }
32492 static void *_p_wxGaugeTo_p_wxObject(void *x) {
32493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32494 }
32495 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32497 }
32498 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32500 }
32501 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32503 }
32504 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32505 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32506 }
32507 static void *_p_wxChoiceTo_p_wxObject(void *x) {
32508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32509 }
32510 static void *_p_wxFSFileTo_p_wxObject(void *x) {
32511 return (void *)((wxObject *) ((wxFSFile *) x));
32512 }
32513 static void *_p_wxPySizerTo_p_wxObject(void *x) {
32514 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32515 }
32516 static void *_p_wxListViewTo_p_wxObject(void *x) {
32517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32518 }
32519 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32521 }
32522 static void *_p_wxNotebookTo_p_wxObject(void *x) {
32523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32524 }
32525 static void *_p_wxPyEventTo_p_wxObject(void *x) {
32526 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32527 }
32528 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32529 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32530 }
32531 static void *_p_wxListbookTo_p_wxObject(void *x) {
32532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32533 }
32534 static void *_p_wxShowEventTo_p_wxObject(void *x) {
32535 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32536 }
32537 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32539 }
32540 static void *_p_wxSliderTo_p_wxObject(void *x) {
32541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32542 }
32543 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32544 return (void *)((wxObject *) ((wxMenuItem *) x));
32545 }
32546 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32547 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32548 }
32549 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32550 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32551 }
32552 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32553 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32554 }
32555 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32556 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32557 }
32558 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32559 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32560 }
32561 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32562 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32563 }
32564 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32565 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32566 }
32567 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32568 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32569 }
32570 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32572 }
32573 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32574 return (void *)((wxObject *) ((wxContextHelp *) x));
32575 }
32576 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32577 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32578 }
32579 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32580 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32581 }
32582 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32583 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32584 }
32585 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32586 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32587 }
32588 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32589 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32590 }
32591 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32592 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32593 }
32594 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32595 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32596 }
32597 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32598 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32599 }
32600 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32601 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32602 }
32603 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32604 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32605 }
32606 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32607 return (void *)((wxObject *) ((wxImageHandler *) x));
32608 }
32609 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32610 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32611 }
32612 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32613 return (void *)((wxObject *) ((wxEvtHandler *) x));
32614 }
32615 static void *_p_wxListEventTo_p_wxObject(void *x) {
32616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32617 }
32618 static void *_p_wxListBoxTo_p_wxObject(void *x) {
32619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32620 }
32621 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32623 }
32624 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32625 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32626 }
32627 static void *_p_wxButtonTo_p_wxObject(void *x) {
32628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32629 }
32630 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32632 }
32633 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32635 }
32636 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32638 }
32639 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32640 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32641 }
32642 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32644 }
32645 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32647 }
32648 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
32650 }
32651 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32653 }
32654 static void *_p_wxListItemTo_p_wxObject(void *x) {
32655 return (void *)((wxObject *) ((wxListItem *) x));
32656 }
32657 static void *_p_wxImageTo_p_wxObject(void *x) {
32658 return (void *)((wxObject *) ((wxImage *) x));
32659 }
32660 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32661 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32662 }
32663 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32664 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32665 }
32666 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32668 }
32669 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32670 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32671 }
32672 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32674 }
32675 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32676 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32677 }
32678 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32679 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32680 }
32681 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32682 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32683 }
32684 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32685 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32686 }
32687 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32688 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32689 }
32690 static void *_p_wxWindowTo_p_wxObject(void *x) {
32691 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32692 }
32693 static void *_p_wxMenuTo_p_wxObject(void *x) {
32694 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32695 }
32696 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32698 }
32699 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32700 return (void *)((wxObject *) ((wxFileSystem *) x));
32701 }
32702 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32704 }
32705 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32706 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32707 }
32708 static void *_p_wxPyAppTo_p_wxObject(void *x) {
32709 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32710 }
32711 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32712 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32713 }
32714 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32715 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32716 }
32717 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32718 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32719 }
32720 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32722 }
32723 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32724 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32725 }
32726 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32727 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32728 }
32729 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32731 }
32732 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32733 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32734 }
32735 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32736 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32737 }
32738 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32740 }
32741 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32743 }
32744 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32745 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32746 }
32747 static void *_p_wxToolBarTo_p_wxObject(void *x) {
32748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32749 }
32750 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32751 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32752 }
32753 static void *_p_wxValidatorTo_p_wxObject(void *x) {
32754 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32755 }
32756 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32757 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32758 }
32759 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32760 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32761 }
32762 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32763 return (void *)((wxWindow *) ((wxMenuBar *) x));
32764 }
32765 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32766 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32767 }
32768 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32769 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32770 }
32771 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32772 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32773 }
32774 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32775 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32776 }
32777 static void *_p_wxControlTo_p_wxWindow(void *x) {
32778 return (void *)((wxWindow *) ((wxControl *) x));
32779 }
32780 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32781 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32782 }
32783 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32784 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32785 }
32786 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32787 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32788 }
32789 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32790 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
32791 }
32792 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32793 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32794 }
32795 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32796 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32797 }
32798 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32799 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32800 }
32801 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32802 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32803 }
32804 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32805 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32806 }
32807 static void *_p_wxListbookTo_p_wxWindow(void *x) {
32808 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32809 }
32810 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32811 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32812 }
32813 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32814 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32815 }
32816 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32817 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32818 }
32819 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32820 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32821 }
32822 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32823 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32824 }
32825 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32826 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32827 }
32828 static void *_p_wxListViewTo_p_wxWindow(void *x) {
32829 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32830 }
32831 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32832 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32833 }
32834 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32835 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32836 }
32837 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32838 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32839 }
32840 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32841 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32842 }
32843 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32844 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32845 }
32846 static void *_p_wxSliderTo_p_wxWindow(void *x) {
32847 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32848 }
32849 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32850 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32851 }
32852 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32853 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32854 }
32855 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32856 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32857 }
32858 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32859 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32860 }
32861 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32862 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32863 }
32864 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32865 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32866 }
32867 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32868 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32869 }
32870 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32871 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32872 }
32873 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32874 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32875 }
32876 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32877 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32878 }
32879 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32880 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32881 }
32882 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32883 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32884 }
32885 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32886 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32887 }
32888 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32889 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32890 }
32891 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32892 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32893 }
32894 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32895 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32896 }
32897 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32898 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32899 }
32900 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32901 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32902 }
32903 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32904 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32905 }
32906 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32907 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32908 }
32909 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32910 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32911 }
32912 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32913 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32914 }
32915 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32916 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32917 }
32918 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32919 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32920 }
32921 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32922 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32923 }
32924 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32925 return (void *)((wxValidator *) ((wxPyValidator *) x));
32926 }
32927 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0, 0, 0, 0},{"_p_wxTextUrlEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32928 static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32929 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0, 0, 0, 0},{"_p_wxSizer", 0, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32930 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0, 0, 0, 0},{"_p_wxCheckBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32931 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32932 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32933 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0, 0, 0, 0},{"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32934 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0, 0, 0, 0},{"_p_bool", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32935 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32936 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer, 0, 0, 0, 0, 0},{"_p_wxItemContainer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32937 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32938 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32939 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0, 0, 0, 0},{"_p_wxStaticLine", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32940 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32941 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0, 0, 0, 0},{"_p_wxPyControl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32942 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0, 0, 0, 0},{"_p_wxGauge", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32943 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0, 0, 0, 0},{"_p_wxToolBarBase", 0, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32944 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32945 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0, 0, 0, 0},{"_p_wxToggleButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32946 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0, 0, 0, 0},{"_p_wxRadioButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32947 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32948 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0, 0, 0, 0},{"_p_wxMemoryDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32949 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0, 0, 0, 0},{"_p_wxListItemAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32950 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0, 0, 0, 0},{"_p_void", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32951 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32952 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32953 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32954 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0, 0, 0, 0},{"_p_wxListView", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32955 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32956 static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32957 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0, 0, 0, 0},{"_p_wxTextCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32958 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0, 0, 0, 0},{"_p_wxNotebook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32959 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32960 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32961 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0, 0, 0, 0},{"_p_wxListbook", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32962 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0, 0, 0, 0},{"_p_wxStaticBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32963 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0, 0, 0, 0},{"_p_wxSlider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32964 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0, 0, 0, 0},{"_p_wxStaticBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32965 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32966 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0, 0, 0, 0},{"_p_wxContextHelp", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32967 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0, 0, 0, 0},{"_p_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32968 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32969 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0, 0, 0, 0},{"_p_wxListEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32970 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0, 0, 0, 0},{"_p_wxCheckListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32971 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0, 0, 0, 0},{"_p_wxListBox", 0, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32972 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32973 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0, 0, 0, 0},{"_p_wxSpinButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32974 static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0, 0, 0, 0},{"_p_wxButton", 0, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32975 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0, 0, 0, 0},{"_p_wxBitmapButton", 0, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32976 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32977 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0, 0, 0, 0},{"_p_wxContextHelpButton", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32978 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0, 0, 0, 0},{"_p_wxRadioBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32979 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32980 static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32981 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32982 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0, 0, 0, 0},{"_p_wxComboBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32983 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0, 0, 0, 0},{"_p_wxHelpEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32984 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0, 0, 0, 0},{"_p_wxListItem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32985 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0, 0, 0, 0},{"_p_wxNotebookSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32986 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0, 0, 0, 0},{"_p_wxSpinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32987 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0, 0, 0, 0},{"_p_wxGenericDragImage", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32988 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0, 0, 0, 0},{"_p_wxSpinCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32989 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32990 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0, 0, 0, 0},{"_p_wxHelpProvider", 0, 0, 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32991 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0, 0, 0, 0},{"_p_wxTextAttr", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32992 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0, 0, 0, 0},{"_p_wxSimpleHelpProvider", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32993 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32994 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0, 0, 0, 0},{"_p_wxListbookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32995 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0, 0, 0, 0},{"_p_wxNotebookEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32996 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32997 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0, 0, 0, 0},{"_p_wxCursor", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32998 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0, 0, 0, 0},{"_p_wxKeyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
32999 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33000 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33001 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33002 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33003 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0, 0, 0, 0},{"_p_wxMouseEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33004 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33005 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0, 0, 0, 0},{"_p_wxStaticText", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33006 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33007 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0, 0, 0, 0},{"_p_wxToolBarToolBase", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33008 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33009 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33010 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0, 0, 0, 0},{"_p_wxBookCtrlSizer", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33011 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33012
33013 static swig_type_info *swig_types_initial[] = {
33014 _swigt__p_wxTextUrlEvent,
33015 _swigt__p_wxBookCtrlEvent,
33016 _swigt__p_wxSizer,
33017 _swigt__p_wxCheckBox,
33018 _swigt__p_wxPyTreeCtrl,
33019 _swigt__p_wxEvent,
33020 _swigt__p_wxGenericDirCtrl,
33021 _swigt__p_bool,
33022 _swigt__p_wxPyTreeItemData,
33023 _swigt__p_wxItemContainer,
33024 _swigt__p_wxPyListCtrl,
33025 _swigt__p_wxDirFilterListCtrl,
33026 _swigt__p_wxStaticLine,
33027 _swigt__p_wxControl,
33028 _swigt__p_wxPyControl,
33029 _swigt__p_wxGauge,
33030 _swigt__p_wxToolBarBase,
33031 _swigt__p_wxFont,
33032 _swigt__p_wxToggleButton,
33033 _swigt__p_wxRadioButton,
33034 _swigt__p_wxChoice,
33035 _swigt__p_wxMemoryDC,
33036 _swigt__p_wxListItemAttr,
33037 _swigt__p_void,
33038 _swigt__p_int,
33039 _swigt__p_wxSize,
33040 _swigt__p_wxDC,
33041 _swigt__p_wxListView,
33042 _swigt__p_wxIcon,
33043 _swigt__p_wxVisualAttributes,
33044 _swigt__p_wxTextCtrl,
33045 _swigt__p_wxNotebook,
33046 _swigt__p_wxNotifyEvent,
33047 _swigt__p_wxArrayString,
33048 _swigt__p_wxListbook,
33049 _swigt__p_wxStaticBitmap,
33050 _swigt__p_wxSlider,
33051 _swigt__p_wxStaticBox,
33052 _swigt__p_wxArrayInt,
33053 _swigt__p_wxContextHelp,
33054 _swigt__p_long,
33055 _swigt__p_wxEvtHandler,
33056 _swigt__p_wxListEvent,
33057 _swigt__p_wxCheckListBox,
33058 _swigt__p_wxListBox,
33059 _swigt__p_wxBookCtrl,
33060 _swigt__p_wxSpinButton,
33061 _swigt__p_wxButton,
33062 _swigt__p_wxBitmapButton,
33063 _swigt__p_wxRect,
33064 _swigt__p_wxContextHelpButton,
33065 _swigt__p_wxRadioBox,
33066 _swigt__p_wxScrollBar,
33067 _swigt__p_char,
33068 _swigt__p_wxTreeItemId,
33069 _swigt__p_wxComboBox,
33070 _swigt__p_wxHelpEvent,
33071 _swigt__p_wxListItem,
33072 _swigt__p_wxNotebookSizer,
33073 _swigt__p_wxSpinEvent,
33074 _swigt__p_wxGenericDragImage,
33075 _swigt__p_wxSpinCtrl,
33076 _swigt__p_wxImageList,
33077 _swigt__p_wxHelpProvider,
33078 _swigt__p_wxTextAttr,
33079 _swigt__p_wxSimpleHelpProvider,
33080 _swigt__p_wxPoint,
33081 _swigt__p_wxListbookEvent,
33082 _swigt__p_wxNotebookEvent,
33083 _swigt__p_wxObject,
33084 _swigt__p_wxCursor,
33085 _swigt__p_wxKeyEvent,
33086 _swigt__p_wxWindow,
33087 _swigt__p_wxString,
33088 _swigt__p_wxBitmap,
33089 _swigt__p_wxTreeEvent,
33090 _swigt__p_wxMouseEvent,
33091 _swigt__p_wxCommandEvent,
33092 _swigt__p_wxStaticText,
33093 _swigt__p_wxControlWithItems,
33094 _swigt__p_wxToolBarToolBase,
33095 _swigt__p_wxColour,
33096 _swigt__p_wxToolBar,
33097 _swigt__p_wxBookCtrlSizer,
33098 _swigt__p_wxValidator,
33099 0
33100 };
33101
33102
33103 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33104
33105 static swig_const_info swig_const_table[] = {
33106 {0}};
33107
33108 #ifdef __cplusplus
33109 }
33110 #endif
33111
33112 #ifdef __cplusplus
33113 extern "C"
33114 #endif
33115 SWIGEXPORT(void) SWIG_init(void) {
33116 static PyObject *SWIG_globals = 0;
33117 static int typeinit = 0;
33118 PyObject *m, *d;
33119 int i;
33120 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33121 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33122 d = PyModule_GetDict(m);
33123
33124 if (!typeinit) {
33125 for (i = 0; swig_types_initial[i]; i++) {
33126 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33127 }
33128 typeinit = 1;
33129 }
33130 SWIG_InstallConstants(d,swig_const_table);
33131
33132 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33133 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33134 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33135 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33136 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33137 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33138 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33139 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33140 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33141 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33142 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33143 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33144 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33145 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33146 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33147 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33148 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33149 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33150 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33151 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33152 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33153 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33154 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33155 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33156 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33157 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33158 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33159 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33160 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33161 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33162 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33163 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33164 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33165 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33166 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33167 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33168 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33169 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33170 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33171 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33172 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33173 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33174 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33175 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33176 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33177 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33178 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33179 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33180 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33181 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33182 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33183 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33184 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33185 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33186 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33187 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33188 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33189 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33190 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33191 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33192 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33193 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33194 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33195 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33196 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33197 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33198 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33199 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33200 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33201 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33202 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33203 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33204 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33205 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33206 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33207 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33208 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33209 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33210 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33211 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33212 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33213 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33214 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33215 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33216 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33217 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33218 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33219 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33220 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33221 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33222 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33223 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33224 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33225 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33226 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33227 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33228 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33229 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33230 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33231 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33232 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33233 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33234 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33235 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33236 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33237 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33238 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33239 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33240 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33241 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33242 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33243 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33244 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33245 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33246 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33247 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33248 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33249 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33250 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33251 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33252 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33253 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33254 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33255 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33256 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33257 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33258 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33259 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33260 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33261 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33262 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33263 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33264 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33265 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33266 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33267 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33268 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33269 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33270 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33271 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33272 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33273 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33274 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33275 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33276 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33277 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33278 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33279 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33280 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33281 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33282 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33283 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33284 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33285 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33286 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33287 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33288 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33289 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33290 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33291 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33292 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33293 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33294 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33295 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33296 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33297 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33298 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33299 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33300 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33301 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33302 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33303 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33304 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33305 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33306 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33307 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33308 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33309 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33310 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33311 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33312 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33313 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33314 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33315 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33316 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33317 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33318 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33319 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33320 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33321 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33322 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33323 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33324 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33325 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33326 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33327 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33328 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33330 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33331 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33332 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33333 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33334 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33335 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33336 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33337 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33338 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33339 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33340 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33341 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33342 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33343
33344 // Map renamed classes back to their common name for OOR
33345 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33346
33347 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33348 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33349 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33350 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33351 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33352 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33353 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33354 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33355 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33356 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33357 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33358 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33359 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33360 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33361 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33362 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33363 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33364 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33365 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33366 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33367 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33368 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33369 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33370 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33371 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33372 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33373 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33374 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33375 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33376 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33377 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33378 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33379 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33380 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33381 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33382 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33383 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33384 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33385 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33386 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33387 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33388 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33389 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33390 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33391 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33392 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33393 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33394 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33395 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33396 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33397 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33398 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33399 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33400 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33401 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33402 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33403
33404 // Map renamed classes back to their common name for OOR
33405 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33406 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33407
33408 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33409 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33410 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33411 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33412 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33413 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33414 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33415 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33416 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33417 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33418
33419 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33420
33421 }
33422