]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/_controls_wrap.cpp
style sheet for the api docs
[wxWidgets.git] / wxPython / src / gtk / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #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 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
574 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
575 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
576
577 #include <wx/slider.h>
578
579
580 static const wxString wxPySliderNameStr(wxSliderNameStr);
581 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
582
583 #if !wxUSE_TOGGLEBTN
584 // implement dummy items for platforms that don't have this class
585
586 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
587
588 class wxToggleButton : public wxControl
589 {
590 public:
591 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
592 const wxPoint&, const wxSize&, long,
593 const wxValidator&, const wxString&)
594 { wxPyRaiseNotImplemented(); }
595
596 wxToggleButton()
597 { wxPyRaiseNotImplemented(); }
598 };
599 #endif
600
601 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
602
603 SWIGSTATICINLINE(PyObject* )
604 SWIG_FromUnsignedLong(unsigned long value)
605 {
606 return (value > LONG_MAX) ?
607 PyLong_FromUnsignedLong(value)
608 : PyInt_FromLong(swig_numeric_cast(long,value));
609 }
610
611 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
612 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
613 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
614 if (udata) {
615 Py_INCREF(udata->m_obj);
616 return udata->m_obj;
617 } else {
618 Py_INCREF(Py_None);
619 return Py_None;
620 }
621 }
622 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
623 self->SetClientData(new wxPyUserData(clientData));
624 }
625 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){
626 wxPyUserData* udata = NULL;
627 if (clientData && clientData != Py_None)
628 udata = new wxPyUserData(clientData);
629 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
630 shortHelp, longHelp, udata);
631 }
632 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){
633 wxPyUserData* udata = NULL;
634 if (clientData && clientData != Py_None)
635 udata = new wxPyUserData(clientData);
636 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
637 shortHelp, longHelp, udata);
638 }
639 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
640 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
641 if (udata) {
642 Py_INCREF(udata->m_obj);
643 return udata->m_obj;
644 } else {
645 Py_INCREF(Py_None);
646 return Py_None;
647 }
648 }
649 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
650 self->SetToolClientData(id, new wxPyUserData(clientData));
651 }
652
653 #include <wx/listctrl.h>
654
655
656 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
657 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
658 // Python aware sorting function for wxPyListCtrl
659 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
660 int retval = 0;
661 PyObject* func = (PyObject*)funcPtr;
662 bool blocked = wxPyBeginBlockThreads();
663
664 PyObject* args = Py_BuildValue("(ii)", item1, item2);
665 PyObject* result = PyEval_CallObject(func, args);
666 Py_DECREF(args);
667 if (result) {
668 retval = PyInt_AsLong(result);
669 Py_DECREF(result);
670 }
671
672 wxPyEndBlockThreads(blocked);
673 return retval;
674 }
675
676 // C++ Version of a Python aware class
677 class wxPyListCtrl : public wxListCtrl {
678 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
679 public:
680 wxPyListCtrl() : wxListCtrl() {}
681 wxPyListCtrl(wxWindow* parent, wxWindowID id,
682 const wxPoint& pos,
683 const wxSize& size,
684 long style,
685 const wxValidator& validator,
686 const wxString& name) :
687 wxListCtrl(parent, id, pos, size, style, validator, name) {}
688
689 bool Create(wxWindow* parent, wxWindowID id,
690 const wxPoint& pos,
691 const wxSize& size,
692 long style,
693 const wxValidator& validator,
694 const wxString& name) {
695 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
696 }
697
698 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
699 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
700 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
701
702 PYPRIVATE;
703 };
704
705 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
706
707 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
708 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
709 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
710
711 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
712 wxListItem item;
713 item.SetMask( wxLIST_MASK_STATE |
714 wxLIST_MASK_TEXT |
715 wxLIST_MASK_IMAGE |
716 wxLIST_MASK_DATA |
717 wxLIST_SET_ITEM |
718 wxLIST_MASK_WIDTH |
719 wxLIST_MASK_FORMAT
720 );
721 if (self->GetColumn(col, item))
722 return new wxListItem(item);
723 else
724 return NULL;
725 }
726 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
727 wxListItem* info = new wxListItem;
728 info->m_itemId = itemId;
729 info->m_col = col;
730 info->m_mask = 0xFFFF;
731 self->GetItem(*info);
732 return info;
733 }
734 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
735 wxPoint pos;
736 self->GetItemPosition(item, pos);
737 return pos;
738 }
739 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
740 wxRect rect;
741 self->GetItemRect(item, rect, code);
742 return rect;
743 }
744 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
745 if (!PyCallable_Check(func))
746 return False;
747 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
748 }
749 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
750
751
752
753 return (wxWindow*)self->m_mainWin;
754
755 }
756
757 #include <wx/treectrl.h>
758 #include "wx/wxPython/pytree.h"
759
760 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
761 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
762 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
763 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
764 // C++ version of Python aware wxTreeCtrl
765 class wxPyTreeCtrl : public wxTreeCtrl {
766 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
767 public:
768 wxPyTreeCtrl() : wxTreeCtrl() {}
769 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
770 const wxPoint& pos,
771 const wxSize& size,
772 long style,
773 const wxValidator& validator,
774 const wxString& name) :
775 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
776
777 bool Create(wxWindow *parent, wxWindowID id,
778 const wxPoint& pos,
779 const wxSize& size,
780 long style,
781 const wxValidator& validator,
782 const wxString& name) {
783 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
784 }
785
786
787 int OnCompareItems(const wxTreeItemId& item1,
788 const wxTreeItemId& item2) {
789 int rval = 0;
790 bool found;
791 bool blocked = wxPyBeginBlockThreads();
792 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
793 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
794 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
795 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
796 Py_DECREF(o1);
797 Py_DECREF(o2);
798 }
799 wxPyEndBlockThreads(blocked);
800 if (! found)
801 rval = wxTreeCtrl::OnCompareItems(item1, item2);
802 return rval;
803 }
804 PYPRIVATE;
805 };
806
807 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
808
809
810
811 #if UINT_MAX < LONG_MAX
812 #define SWIG_FromUnsignedInt SWIG_FromLong
813 #else
814 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
815 #endif
816
817
818 SWIGSTATICINLINE(unsigned long)
819 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
820 unsigned long max_value)
821 {
822 if (!PyErr_Occurred()) {
823 if (value > max_value) {
824 PyObject *err =
825 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
826 value, type, max_value);
827 PyErr_SetObject(PyExc_OverflowError, err);
828 Py_DECREF(err);
829 }
830 }
831 return value;
832 }
833
834
835 #if UINT_MAX != ULONG_MAX
836 SWIGSTATICINLINE(unsigned int)
837 SWIG_AsUnsignedInt(PyObject *obj)
838 {
839 return swig_numeric_cast(unsigned int,
840 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
841 "unsigned int", UINT_MAX));
842 }
843 #else
844 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
845 #endif
846
847
848 SWIGSTATICINLINE(int)
849 SWIG_CheckUnsignedInt(PyObject* obj)
850 {
851 SWIG_AsUnsignedInt(obj);
852 if (PyErr_Occurred()) {
853 PyErr_Clear();
854 return 0;
855 } else {
856 return 1;
857 }
858 }
859
860 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
861 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
862 if (data == NULL) {
863 data = new wxPyTreeItemData();
864 data->SetId(item); // set the id
865 self->SetItemData(item, data);
866 }
867 return data;
868 }
869 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
870 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
871 if (data == NULL) {
872 data = new wxPyTreeItemData();
873 data->SetId(item); // set the id
874 self->SetItemData(item, data);
875 }
876 return data->GetData();
877 }
878 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
879 data->SetId(item); // set the id
880 self->SetItemData(item, data);
881 }
882 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
883 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
884 if (data == NULL) {
885 data = new wxPyTreeItemData(obj);
886 data->SetId(item); // set the id
887 self->SetItemData(item, data);
888 } else
889 data->SetData(obj);
890 }
891 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
892 bool blocked = wxPyBeginBlockThreads();
893 PyObject* rval = PyList_New(0);
894 wxArrayTreeItemIds array;
895 size_t num, x;
896 num = self->GetSelections(array);
897 for (x=0; x < num; x++) {
898 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
899 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
900 PyList_Append(rval, item);
901 }
902 wxPyEndBlockThreads(blocked);
903 return rval;
904 }
905 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
906 void* cookie = 0;
907 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
908 bool blocked = wxPyBeginBlockThreads();
909 PyObject* tup = PyTuple_New(2);
910 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
911 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
912 wxPyEndBlockThreads(blocked);
913 return tup;
914 }
915 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
916 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
917 bool blocked = wxPyBeginBlockThreads();
918 PyObject* tup = PyTuple_New(2);
919 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
920 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
921 wxPyEndBlockThreads(blocked);
922 return tup;
923 }
924 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
925 wxRect rect;
926 if (self->GetBoundingRect(item, rect, textOnly)) {
927 bool blocked = wxPyBeginBlockThreads();
928 wxRect* r = new wxRect(rect);
929 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
930 wxPyEndBlockThreads(blocked);
931 return val;
932 }
933 else
934 RETURN_NONE();
935 }
936 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
937 // C++ version of Python aware wxControl
938 class wxPyControl : public wxControl
939 {
940 DECLARE_DYNAMIC_CLASS(wxPyControl)
941 public:
942 wxPyControl() : wxControl() {}
943 wxPyControl(wxWindow* parent, const wxWindowID id,
944 const wxPoint& pos = wxDefaultPosition,
945 const wxSize& size = wxDefaultSize,
946 long style = 0,
947 const wxValidator& validator=wxDefaultValidator,
948 const wxString& name = wxPyControlNameStr)
949 : wxControl(parent, id, pos, size, style, validator, name) {}
950
951
952 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
953 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
956
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
960
961 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
962 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
963
964 DEC_PYCALLBACK__(InitDialog);
965 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
966 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
967 DEC_PYCALLBACK_BOOL_(Validate);
968
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
971 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
972
973 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
974 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
975
976 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
977 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
978
979 PYPRIVATE;
980 };
981
982 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
983
984 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
985 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
986 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
987 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
988
989 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
990 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
991 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
992
993 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
994 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
995
996 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
997 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
998 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
999 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1000
1001 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1002 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1003 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1004
1005 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1006 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1007
1008 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1009 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
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 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) SWIG_fail;
1119 }
1120 {
1121 resultobj = wxPyMake_wxObject(result);
1122 }
1123 {
1124 if (temp3)
1125 delete arg3;
1126 }
1127 {
1128 if (temp8)
1129 delete arg8;
1130 }
1131 return resultobj;
1132 fail:
1133 {
1134 if (temp3)
1135 delete arg3;
1136 }
1137 {
1138 if (temp8)
1139 delete arg8;
1140 }
1141 return NULL;
1142 }
1143
1144
1145 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1146 PyObject *resultobj;
1147 wxButton *result;
1148 char *kwnames[] = {
1149 NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (wxButton *)new wxButton();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161 resultobj = wxPyMake_wxObject(result);
1162 }
1163 return resultobj;
1164 fail:
1165 return NULL;
1166 }
1167
1168
1169 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxButton *arg1 = (wxButton *) 0 ;
1172 wxWindow *arg2 = (wxWindow *) 0 ;
1173 int arg3 ;
1174 wxString *arg4 = 0 ;
1175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1177 wxSize const &arg6_defvalue = wxDefaultSize ;
1178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1179 long arg7 = (long) 0 ;
1180 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1181 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1182 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1183 wxString *arg9 = (wxString *) &arg9_defvalue ;
1184 bool result;
1185 bool temp4 = False ;
1186 wxPoint temp5 ;
1187 wxSize temp6 ;
1188 bool temp9 = False ;
1189 PyObject * obj0 = 0 ;
1190 PyObject * obj1 = 0 ;
1191 PyObject * obj2 = 0 ;
1192 PyObject * obj3 = 0 ;
1193 PyObject * obj4 = 0 ;
1194 PyObject * obj5 = 0 ;
1195 PyObject * obj6 = 0 ;
1196 PyObject * obj7 = 0 ;
1197 PyObject * obj8 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1207 arg3 = (int) SWIG_AsInt(obj2);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 {
1210 arg4 = wxString_in_helper(obj3);
1211 if (arg4 == NULL) SWIG_fail;
1212 temp4 = True;
1213 }
1214 if (obj4) {
1215 {
1216 arg5 = &temp5;
1217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1218 }
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = &temp6;
1223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1224 }
1225 }
1226 if (obj6) {
1227 arg7 = (long) SWIG_AsLong(obj6);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 if (obj7) {
1231 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1232 SWIG_POINTER_EXCEPTION | 0)) == -1)
1233 SWIG_fail;
1234 if (arg8 == NULL) {
1235 PyErr_SetString(PyExc_TypeError,"null reference");
1236 SWIG_fail;
1237 }
1238 }
1239 if (obj8) {
1240 {
1241 arg9 = wxString_in_helper(obj8);
1242 if (arg9 == NULL) SWIG_fail;
1243 temp9 = True;
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 {
1254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1255 }
1256 {
1257 if (temp4)
1258 delete arg4;
1259 }
1260 {
1261 if (temp9)
1262 delete arg9;
1263 }
1264 return resultobj;
1265 fail:
1266 {
1267 if (temp4)
1268 delete arg4;
1269 }
1270 {
1271 if (temp9)
1272 delete arg9;
1273 }
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxButton *arg1 = (wxButton *) 0 ;
1281 PyObject * obj0 = 0 ;
1282 char *kwnames[] = {
1283 (char *) "self", NULL
1284 };
1285
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->SetDefault();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 return resultobj;
1298 fail:
1299 return NULL;
1300 }
1301
1302
1303 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxSize result;
1306 char *kwnames[] = {
1307 NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = wxButton::GetDefaultSize();
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 {
1319 wxSize * resultptr;
1320 resultptr = new wxSize((wxSize &) result);
1321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1322 }
1323 return resultobj;
1324 fail:
1325 return NULL;
1326 }
1327
1328
1329 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1330 PyObject *obj;
1331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1332 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1333 Py_INCREF(obj);
1334 return Py_BuildValue((char *)"");
1335 }
1336 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject *resultobj;
1338 wxWindow *arg1 = (wxWindow *) 0 ;
1339 int arg2 ;
1340 wxBitmap *arg3 = 0 ;
1341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1343 wxSize const &arg5_defvalue = wxDefaultSize ;
1344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1345 long arg6 = (long) wxBU_AUTODRAW ;
1346 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1347 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1348 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1349 wxString *arg8 = (wxString *) &arg8_defvalue ;
1350 wxBitmapButton *result;
1351 wxPoint temp4 ;
1352 wxSize temp5 ;
1353 bool temp8 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
1359 PyObject * obj5 = 0 ;
1360 PyObject * obj6 = 0 ;
1361 PyObject * obj7 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1369 arg2 = (int) SWIG_AsInt(obj1);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1372 SWIG_POINTER_EXCEPTION | 0)) == -1)
1373 SWIG_fail;
1374 if (arg3 == NULL) {
1375 PyErr_SetString(PyExc_TypeError,"null reference");
1376 SWIG_fail;
1377 }
1378 if (obj3) {
1379 {
1380 arg4 = &temp4;
1381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1382 }
1383 }
1384 if (obj4) {
1385 {
1386 arg5 = &temp5;
1387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1388 }
1389 }
1390 if (obj5) {
1391 arg6 = (long) SWIG_AsLong(obj5);
1392 if (PyErr_Occurred()) SWIG_fail;
1393 }
1394 if (obj6) {
1395 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1396 SWIG_POINTER_EXCEPTION | 0)) == -1)
1397 SWIG_fail;
1398 if (arg7 == NULL) {
1399 PyErr_SetString(PyExc_TypeError,"null reference");
1400 SWIG_fail;
1401 }
1402 }
1403 if (obj7) {
1404 {
1405 arg8 = wxString_in_helper(obj7);
1406 if (arg8 == NULL) SWIG_fail;
1407 temp8 = True;
1408 }
1409 }
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 {
1418 resultobj = wxPyMake_wxObject(result);
1419 }
1420 {
1421 if (temp8)
1422 delete arg8;
1423 }
1424 return resultobj;
1425 fail:
1426 {
1427 if (temp8)
1428 delete arg8;
1429 }
1430 return NULL;
1431 }
1432
1433
1434 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxBitmapButton *result;
1437 char *kwnames[] = {
1438 NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxBitmapButton *)new wxBitmapButton();
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 resultobj = wxPyMake_wxObject(result);
1451 }
1452 return resultobj;
1453 fail:
1454 return NULL;
1455 }
1456
1457
1458 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1461 wxWindow *arg2 = (wxWindow *) 0 ;
1462 int arg3 ;
1463 wxBitmap *arg4 = 0 ;
1464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1466 wxSize const &arg6_defvalue = wxDefaultSize ;
1467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1468 long arg7 = (long) wxBU_AUTODRAW ;
1469 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1470 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1471 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1472 wxString *arg9 = (wxString *) &arg9_defvalue ;
1473 bool result;
1474 wxPoint temp5 ;
1475 wxSize temp6 ;
1476 bool temp9 = False ;
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
1479 PyObject * obj2 = 0 ;
1480 PyObject * obj3 = 0 ;
1481 PyObject * obj4 = 0 ;
1482 PyObject * obj5 = 0 ;
1483 PyObject * obj6 = 0 ;
1484 PyObject * obj7 = 0 ;
1485 PyObject * obj8 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1488 };
1489
1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1495 arg3 = (int) SWIG_AsInt(obj2);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1498 SWIG_POINTER_EXCEPTION | 0)) == -1)
1499 SWIG_fail;
1500 if (arg4 == NULL) {
1501 PyErr_SetString(PyExc_TypeError,"null reference");
1502 SWIG_fail;
1503 }
1504 if (obj4) {
1505 {
1506 arg5 = &temp5;
1507 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1508 }
1509 }
1510 if (obj5) {
1511 {
1512 arg6 = &temp6;
1513 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1514 }
1515 }
1516 if (obj6) {
1517 arg7 = (long) SWIG_AsLong(obj6);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 if (obj7) {
1521 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1522 SWIG_POINTER_EXCEPTION | 0)) == -1)
1523 SWIG_fail;
1524 if (arg8 == NULL) {
1525 PyErr_SetString(PyExc_TypeError,"null reference");
1526 SWIG_fail;
1527 }
1528 }
1529 if (obj8) {
1530 {
1531 arg9 = wxString_in_helper(obj8);
1532 if (arg9 == NULL) SWIG_fail;
1533 temp9 = True;
1534 }
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
1543 {
1544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1545 }
1546 {
1547 if (temp9)
1548 delete arg9;
1549 }
1550 return resultobj;
1551 fail:
1552 {
1553 if (temp9)
1554 delete arg9;
1555 }
1556 return NULL;
1557 }
1558
1559
1560 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1563 wxBitmap result;
1564 PyObject * obj0 = 0 ;
1565 char *kwnames[] = {
1566 (char *) "self", NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = (arg1)->GetBitmapLabel();
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 wxBitmap * resultptr;
1581 resultptr = new wxBitmap((wxBitmap &) result);
1582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1583 }
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1593 wxBitmap result;
1594 PyObject * obj0 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 result = (arg1)->GetBitmapDisabled();
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 {
1610 wxBitmap * resultptr;
1611 resultptr = new wxBitmap((wxBitmap &) result);
1612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1613 }
1614 return resultobj;
1615 fail:
1616 return NULL;
1617 }
1618
1619
1620 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1623 wxBitmap result;
1624 PyObject * obj0 = 0 ;
1625 char *kwnames[] = {
1626 (char *) "self", NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (arg1)->GetBitmapFocus();
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 wxBitmap * resultptr;
1641 resultptr = new wxBitmap((wxBitmap &) result);
1642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647 }
1648
1649
1650 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1653 wxBitmap result;
1654 PyObject * obj0 = 0 ;
1655 char *kwnames[] = {
1656 (char *) "self", NULL
1657 };
1658
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 result = (arg1)->GetBitmapSelected();
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 {
1670 wxBitmap * resultptr;
1671 resultptr = new wxBitmap((wxBitmap &) result);
1672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1673 }
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 wxBitmap *arg2 = 0 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "bitmap", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1694 SWIG_POINTER_EXCEPTION | 0)) == -1)
1695 SWIG_fail;
1696 if (arg2 == NULL) {
1697 PyErr_SetString(PyExc_TypeError,"null reference");
1698 SWIG_fail;
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 Py_INCREF(Py_None); resultobj = Py_None;
1708 return resultobj;
1709 fail:
1710 return NULL;
1711 }
1712
1713
1714 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1717 wxBitmap *arg2 = 0 ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "bitmap", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1)
1729 SWIG_fail;
1730 if (arg2 == NULL) {
1731 PyErr_SetString(PyExc_TypeError,"null reference");
1732 SWIG_fail;
1733 }
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 Py_INCREF(Py_None); resultobj = Py_None;
1742 return resultobj;
1743 fail:
1744 return NULL;
1745 }
1746
1747
1748 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1751 wxBitmap *arg2 = 0 ;
1752 PyObject * obj0 = 0 ;
1753 PyObject * obj1 = 0 ;
1754 char *kwnames[] = {
1755 (char *) "self",(char *) "bitmap", NULL
1756 };
1757
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1762 SWIG_POINTER_EXCEPTION | 0)) == -1)
1763 SWIG_fail;
1764 if (arg2 == NULL) {
1765 PyErr_SetString(PyExc_TypeError,"null reference");
1766 SWIG_fail;
1767 }
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 Py_INCREF(Py_None); resultobj = Py_None;
1776 return resultobj;
1777 fail:
1778 return NULL;
1779 }
1780
1781
1782 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1785 wxBitmap *arg2 = 0 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self",(char *) "bitmap", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1)
1797 SWIG_fail;
1798 if (arg2 == NULL) {
1799 PyErr_SetString(PyExc_TypeError,"null reference");
1800 SWIG_fail;
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 Py_INCREF(Py_None); resultobj = Py_None;
1810 return resultobj;
1811 fail:
1812 return NULL;
1813 }
1814
1815
1816 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1819 int arg2 ;
1820 int arg3 ;
1821 PyObject * obj0 = 0 ;
1822 PyObject * obj1 = 0 ;
1823 PyObject * obj2 = 0 ;
1824 char *kwnames[] = {
1825 (char *) "self",(char *) "x",(char *) "y", NULL
1826 };
1827
1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1831 arg2 = (int) SWIG_AsInt(obj1);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 arg3 = (int) SWIG_AsInt(obj2);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetMargins(arg2,arg3);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1852 int result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
1868 resultobj = SWIG_FromInt((int)result);
1869 return resultobj;
1870 fail:
1871 return NULL;
1872 }
1873
1874
1875 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
1894 resultobj = SWIG_FromInt((int)result);
1895 return resultobj;
1896 fail:
1897 return NULL;
1898 }
1899
1900
1901 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1902 PyObject *obj;
1903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1905 Py_INCREF(obj);
1906 return Py_BuildValue((char *)"");
1907 }
1908 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1909 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1910 return 1;
1911 }
1912
1913
1914 static PyObject *_wrap_CheckBoxNameStr_get() {
1915 PyObject *pyobj;
1916
1917 {
1918 #if wxUSE_UNICODE
1919 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1920 #else
1921 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1922 #endif
1923 }
1924 return pyobj;
1925 }
1926
1927
1928 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxWindow *arg1 = (wxWindow *) 0 ;
1931 int arg2 ;
1932 wxString *arg3 = 0 ;
1933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1935 wxSize const &arg5_defvalue = wxDefaultSize ;
1936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1937 long arg6 = (long) 0 ;
1938 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1939 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1940 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1941 wxString *arg8 = (wxString *) &arg8_defvalue ;
1942 wxCheckBox *result;
1943 bool temp3 = False ;
1944 wxPoint temp4 ;
1945 wxSize temp5 ;
1946 bool temp8 = False ;
1947 PyObject * obj0 = 0 ;
1948 PyObject * obj1 = 0 ;
1949 PyObject * obj2 = 0 ;
1950 PyObject * obj3 = 0 ;
1951 PyObject * obj4 = 0 ;
1952 PyObject * obj5 = 0 ;
1953 PyObject * obj6 = 0 ;
1954 PyObject * obj7 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1957 };
1958
1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1962 arg2 = (int) SWIG_AsInt(obj1);
1963 if (PyErr_Occurred()) SWIG_fail;
1964 {
1965 arg3 = wxString_in_helper(obj2);
1966 if (arg3 == NULL) SWIG_fail;
1967 temp3 = True;
1968 }
1969 if (obj3) {
1970 {
1971 arg4 = &temp4;
1972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1973 }
1974 }
1975 if (obj4) {
1976 {
1977 arg5 = &temp5;
1978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1979 }
1980 }
1981 if (obj5) {
1982 arg6 = (long) SWIG_AsLong(obj5);
1983 if (PyErr_Occurred()) SWIG_fail;
1984 }
1985 if (obj6) {
1986 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1)
1988 SWIG_fail;
1989 if (arg7 == NULL) {
1990 PyErr_SetString(PyExc_TypeError,"null reference");
1991 SWIG_fail;
1992 }
1993 }
1994 if (obj7) {
1995 {
1996 arg8 = wxString_in_helper(obj7);
1997 if (arg8 == NULL) SWIG_fail;
1998 temp8 = True;
1999 }
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2009 {
2010 if (temp3)
2011 delete arg3;
2012 }
2013 {
2014 if (temp8)
2015 delete arg8;
2016 }
2017 return resultobj;
2018 fail:
2019 {
2020 if (temp3)
2021 delete arg3;
2022 }
2023 {
2024 if (temp8)
2025 delete arg8;
2026 }
2027 return NULL;
2028 }
2029
2030
2031 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxCheckBox *result;
2034 char *kwnames[] = {
2035 NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (wxCheckBox *)new wxCheckBox();
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2047 return resultobj;
2048 fail:
2049 return NULL;
2050 }
2051
2052
2053 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2056 wxWindow *arg2 = (wxWindow *) 0 ;
2057 int arg3 ;
2058 wxString *arg4 = 0 ;
2059 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2060 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2061 wxSize const &arg6_defvalue = wxDefaultSize ;
2062 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2063 long arg7 = (long) 0 ;
2064 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2065 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2066 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2067 wxString *arg9 = (wxString *) &arg9_defvalue ;
2068 bool result;
2069 bool temp4 = False ;
2070 wxPoint temp5 ;
2071 wxSize temp6 ;
2072 bool temp9 = False ;
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
2075 PyObject * obj2 = 0 ;
2076 PyObject * obj3 = 0 ;
2077 PyObject * obj4 = 0 ;
2078 PyObject * obj5 = 0 ;
2079 PyObject * obj6 = 0 ;
2080 PyObject * obj7 = 0 ;
2081 PyObject * obj8 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2084 };
2085
2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2091 arg3 = (int) SWIG_AsInt(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 {
2094 arg4 = wxString_in_helper(obj3);
2095 if (arg4 == NULL) SWIG_fail;
2096 temp4 = True;
2097 }
2098 if (obj4) {
2099 {
2100 arg5 = &temp5;
2101 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2102 }
2103 }
2104 if (obj5) {
2105 {
2106 arg6 = &temp6;
2107 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2108 }
2109 }
2110 if (obj6) {
2111 arg7 = (long) SWIG_AsLong(obj6);
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 if (obj7) {
2115 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2116 SWIG_POINTER_EXCEPTION | 0)) == -1)
2117 SWIG_fail;
2118 if (arg8 == NULL) {
2119 PyErr_SetString(PyExc_TypeError,"null reference");
2120 SWIG_fail;
2121 }
2122 }
2123 if (obj8) {
2124 {
2125 arg9 = wxString_in_helper(obj8);
2126 if (arg9 == NULL) SWIG_fail;
2127 temp9 = True;
2128 }
2129 }
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 {
2138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2139 }
2140 {
2141 if (temp4)
2142 delete arg4;
2143 }
2144 {
2145 if (temp9)
2146 delete arg9;
2147 }
2148 return resultobj;
2149 fail:
2150 {
2151 if (temp4)
2152 delete arg4;
2153 }
2154 {
2155 if (temp9)
2156 delete arg9;
2157 }
2158 return NULL;
2159 }
2160
2161
2162 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject *resultobj;
2164 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2165 bool result;
2166 PyObject * obj0 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 result = (bool)(arg1)->GetValue();
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
2181 {
2182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2183 }
2184 return resultobj;
2185 fail:
2186 return NULL;
2187 }
2188
2189
2190 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2193 bool result;
2194 PyObject * obj0 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (bool)(arg1)->IsChecked();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 {
2210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2211 }
2212 return resultobj;
2213 fail:
2214 return NULL;
2215 }
2216
2217
2218 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2221 bool arg2 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self",(char *) "state", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2231 arg2 = (bool const) SWIG_AsBool(obj1);
2232 if (PyErr_Occurred()) SWIG_fail;
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 (arg1)->SetValue(arg2);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 Py_INCREF(Py_None); resultobj = Py_None;
2241 return resultobj;
2242 fail:
2243 return NULL;
2244 }
2245
2246
2247 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2250 int result;
2251 PyObject * obj0 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
2266 resultobj = SWIG_FromInt((int)result);
2267 return resultobj;
2268 fail:
2269 return NULL;
2270 }
2271
2272
2273 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2276 int arg2 ;
2277 PyObject * obj0 = 0 ;
2278 PyObject * obj1 = 0 ;
2279 char *kwnames[] = {
2280 (char *) "self",(char *) "state", NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2286 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2287 if (PyErr_Occurred()) SWIG_fail;
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 Py_INCREF(Py_None); resultobj = Py_None;
2296 return resultobj;
2297 fail:
2298 return NULL;
2299 }
2300
2301
2302 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2305 bool result;
2306 PyObject * obj0 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 {
2322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2323 }
2324 return resultobj;
2325 fail:
2326 return NULL;
2327 }
2328
2329
2330 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2333 bool result;
2334 PyObject * obj0 = 0 ;
2335 char *kwnames[] = {
2336 (char *) "self", NULL
2337 };
2338
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
2349 {
2350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2351 }
2352 return resultobj;
2353 fail:
2354 return NULL;
2355 }
2356
2357
2358 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2359 PyObject *obj;
2360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2362 Py_INCREF(obj);
2363 return Py_BuildValue((char *)"");
2364 }
2365 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2366 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2367 return 1;
2368 }
2369
2370
2371 static PyObject *_wrap_ChoiceNameStr_get() {
2372 PyObject *pyobj;
2373
2374 {
2375 #if wxUSE_UNICODE
2376 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2377 #else
2378 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2379 #endif
2380 }
2381 return pyobj;
2382 }
2383
2384
2385 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxWindow *arg1 = (wxWindow *) 0 ;
2388 int arg2 = (int) -1 ;
2389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2391 wxSize const &arg4_defvalue = wxDefaultSize ;
2392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2393 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2394 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2395 long arg6 = (long) 0 ;
2396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2398 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2399 wxString *arg8 = (wxString *) &arg8_defvalue ;
2400 wxChoice *result;
2401 wxPoint temp3 ;
2402 wxSize temp4 ;
2403 bool temp5 = False ;
2404 bool temp8 = False ;
2405 PyObject * obj0 = 0 ;
2406 PyObject * obj1 = 0 ;
2407 PyObject * obj2 = 0 ;
2408 PyObject * obj3 = 0 ;
2409 PyObject * obj4 = 0 ;
2410 PyObject * obj5 = 0 ;
2411 PyObject * obj6 = 0 ;
2412 PyObject * obj7 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 if (obj1) {
2421 arg2 = (int) SWIG_AsInt(obj1);
2422 if (PyErr_Occurred()) SWIG_fail;
2423 }
2424 if (obj2) {
2425 {
2426 arg3 = &temp3;
2427 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2428 }
2429 }
2430 if (obj3) {
2431 {
2432 arg4 = &temp4;
2433 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2434 }
2435 }
2436 if (obj4) {
2437 {
2438 if (! PySequence_Check(obj4)) {
2439 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2440 SWIG_fail;
2441 }
2442 arg5 = new wxArrayString;
2443 temp5 = True;
2444 int i, len=PySequence_Length(obj4);
2445 for (i=0; i<len; i++) {
2446 PyObject* item = PySequence_GetItem(obj4, i);
2447 #if wxUSE_UNICODE
2448 PyObject* str = PyObject_Unicode(item);
2449 #else
2450 PyObject* str = PyObject_Str(item);
2451 #endif
2452 if (PyErr_Occurred()) SWIG_fail;
2453 arg5->Add(Py2wxString(str));
2454 Py_DECREF(item);
2455 Py_DECREF(str);
2456 }
2457 }
2458 }
2459 if (obj5) {
2460 arg6 = (long) SWIG_AsLong(obj5);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 if (obj6) {
2464 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2465 SWIG_POINTER_EXCEPTION | 0)) == -1)
2466 SWIG_fail;
2467 if (arg7 == NULL) {
2468 PyErr_SetString(PyExc_TypeError,"null reference");
2469 SWIG_fail;
2470 }
2471 }
2472 if (obj7) {
2473 {
2474 arg8 = wxString_in_helper(obj7);
2475 if (arg8 == NULL) SWIG_fail;
2476 temp8 = True;
2477 }
2478 }
2479 {
2480 PyThreadState* __tstate = wxPyBeginAllowThreads();
2481 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2482
2483 wxPyEndAllowThreads(__tstate);
2484 if (PyErr_Occurred()) SWIG_fail;
2485 }
2486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2487 {
2488 if (temp5) delete arg5;
2489 }
2490 {
2491 if (temp8)
2492 delete arg8;
2493 }
2494 return resultobj;
2495 fail:
2496 {
2497 if (temp5) delete arg5;
2498 }
2499 {
2500 if (temp8)
2501 delete arg8;
2502 }
2503 return NULL;
2504 }
2505
2506
2507 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 wxChoice *result;
2510 char *kwnames[] = {
2511 NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 result = (wxChoice *)new wxChoice();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxChoice *arg1 = (wxChoice *) 0 ;
2532 wxWindow *arg2 = (wxWindow *) 0 ;
2533 int arg3 = (int) -1 ;
2534 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2535 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2536 wxSize const &arg5_defvalue = wxDefaultSize ;
2537 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2538 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2539 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2540 long arg7 = (long) 0 ;
2541 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2542 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2543 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2544 wxString *arg9 = (wxString *) &arg9_defvalue ;
2545 bool result;
2546 wxPoint temp4 ;
2547 wxSize temp5 ;
2548 bool temp6 = False ;
2549 bool temp9 = False ;
2550 PyObject * obj0 = 0 ;
2551 PyObject * obj1 = 0 ;
2552 PyObject * obj2 = 0 ;
2553 PyObject * obj3 = 0 ;
2554 PyObject * obj4 = 0 ;
2555 PyObject * obj5 = 0 ;
2556 PyObject * obj6 = 0 ;
2557 PyObject * obj7 = 0 ;
2558 PyObject * obj8 = 0 ;
2559 char *kwnames[] = {
2560 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2561 };
2562
2563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2568 if (obj2) {
2569 arg3 = (int) SWIG_AsInt(obj2);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 if (obj3) {
2573 {
2574 arg4 = &temp4;
2575 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2576 }
2577 }
2578 if (obj4) {
2579 {
2580 arg5 = &temp5;
2581 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2582 }
2583 }
2584 if (obj5) {
2585 {
2586 if (! PySequence_Check(obj5)) {
2587 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2588 SWIG_fail;
2589 }
2590 arg6 = new wxArrayString;
2591 temp6 = True;
2592 int i, len=PySequence_Length(obj5);
2593 for (i=0; i<len; i++) {
2594 PyObject* item = PySequence_GetItem(obj5, i);
2595 #if wxUSE_UNICODE
2596 PyObject* str = PyObject_Unicode(item);
2597 #else
2598 PyObject* str = PyObject_Str(item);
2599 #endif
2600 if (PyErr_Occurred()) SWIG_fail;
2601 arg6->Add(Py2wxString(str));
2602 Py_DECREF(item);
2603 Py_DECREF(str);
2604 }
2605 }
2606 }
2607 if (obj6) {
2608 arg7 = (long) SWIG_AsLong(obj6);
2609 if (PyErr_Occurred()) SWIG_fail;
2610 }
2611 if (obj7) {
2612 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2613 SWIG_POINTER_EXCEPTION | 0)) == -1)
2614 SWIG_fail;
2615 if (arg8 == NULL) {
2616 PyErr_SetString(PyExc_TypeError,"null reference");
2617 SWIG_fail;
2618 }
2619 }
2620 if (obj8) {
2621 {
2622 arg9 = wxString_in_helper(obj8);
2623 if (arg9 == NULL) SWIG_fail;
2624 temp9 = True;
2625 }
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 {
2635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2636 }
2637 {
2638 if (temp6) delete arg6;
2639 }
2640 {
2641 if (temp9)
2642 delete arg9;
2643 }
2644 return resultobj;
2645 fail:
2646 {
2647 if (temp6) delete arg6;
2648 }
2649 {
2650 if (temp9)
2651 delete arg9;
2652 }
2653 return NULL;
2654 }
2655
2656
2657 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2658 PyObject *resultobj;
2659 wxChoice *arg1 = (wxChoice *) 0 ;
2660 int arg2 ;
2661 PyObject * obj0 = 0 ;
2662 PyObject * obj1 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "n", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 arg2 = (int const) SWIG_AsInt(obj1);
2671 if (PyErr_Occurred()) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->SetSelection(arg2);
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxChoice *arg1 = (wxChoice *) 0 ;
2689 wxString *arg2 = 0 ;
2690 bool result;
2691 bool temp2 = False ;
2692 PyObject * obj0 = 0 ;
2693 PyObject * obj1 = 0 ;
2694 char *kwnames[] = {
2695 (char *) "self",(char *) "string", NULL
2696 };
2697
2698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2701 {
2702 arg2 = wxString_in_helper(obj1);
2703 if (arg2 == NULL) SWIG_fail;
2704 temp2 = True;
2705 }
2706 {
2707 PyThreadState* __tstate = wxPyBeginAllowThreads();
2708 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2709
2710 wxPyEndAllowThreads(__tstate);
2711 if (PyErr_Occurred()) SWIG_fail;
2712 }
2713 {
2714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2715 }
2716 {
2717 if (temp2)
2718 delete arg2;
2719 }
2720 return resultobj;
2721 fail:
2722 {
2723 if (temp2)
2724 delete arg2;
2725 }
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxChoice *arg1 = (wxChoice *) 0 ;
2733 int arg2 ;
2734 wxString *arg3 = 0 ;
2735 bool temp3 = False ;
2736 PyObject * obj0 = 0 ;
2737 PyObject * obj1 = 0 ;
2738 PyObject * obj2 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "n",(char *) "string", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2746 arg2 = (int) SWIG_AsInt(obj1);
2747 if (PyErr_Occurred()) SWIG_fail;
2748 {
2749 arg3 = wxString_in_helper(obj2);
2750 if (arg3 == NULL) SWIG_fail;
2751 temp3 = True;
2752 }
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 (arg1)->SetString(arg2,(wxString const &)*arg3);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 Py_INCREF(Py_None); resultobj = Py_None;
2761 {
2762 if (temp3)
2763 delete arg3;
2764 }
2765 return resultobj;
2766 fail:
2767 {
2768 if (temp3)
2769 delete arg3;
2770 }
2771 return NULL;
2772 }
2773
2774
2775 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2776 PyObject *obj;
2777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2778 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2779 Py_INCREF(obj);
2780 return Py_BuildValue((char *)"");
2781 }
2782 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2783 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2784 return 1;
2785 }
2786
2787
2788 static PyObject *_wrap_ComboBoxNameStr_get() {
2789 PyObject *pyobj;
2790
2791 {
2792 #if wxUSE_UNICODE
2793 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2794 #else
2795 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2796 #endif
2797 }
2798 return pyobj;
2799 }
2800
2801
2802 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 wxWindow *arg1 = (wxWindow *) 0 ;
2805 int arg2 = (int) -1 ;
2806 wxString const &arg3_defvalue = wxPyEmptyString ;
2807 wxString *arg3 = (wxString *) &arg3_defvalue ;
2808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2810 wxSize const &arg5_defvalue = wxDefaultSize ;
2811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2812 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2813 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2814 long arg7 = (long) 0 ;
2815 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2816 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2817 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2818 wxString *arg9 = (wxString *) &arg9_defvalue ;
2819 wxComboBox *result;
2820 bool temp3 = False ;
2821 wxPoint temp4 ;
2822 wxSize temp5 ;
2823 bool temp6 = False ;
2824 bool temp9 = False ;
2825 PyObject * obj0 = 0 ;
2826 PyObject * obj1 = 0 ;
2827 PyObject * obj2 = 0 ;
2828 PyObject * obj3 = 0 ;
2829 PyObject * obj4 = 0 ;
2830 PyObject * obj5 = 0 ;
2831 PyObject * obj6 = 0 ;
2832 PyObject * obj7 = 0 ;
2833 PyObject * obj8 = 0 ;
2834 char *kwnames[] = {
2835 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2836 };
2837
2838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2841 if (obj1) {
2842 arg2 = (int) SWIG_AsInt(obj1);
2843 if (PyErr_Occurred()) SWIG_fail;
2844 }
2845 if (obj2) {
2846 {
2847 arg3 = wxString_in_helper(obj2);
2848 if (arg3 == NULL) SWIG_fail;
2849 temp3 = True;
2850 }
2851 }
2852 if (obj3) {
2853 {
2854 arg4 = &temp4;
2855 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2856 }
2857 }
2858 if (obj4) {
2859 {
2860 arg5 = &temp5;
2861 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2862 }
2863 }
2864 if (obj5) {
2865 {
2866 if (! PySequence_Check(obj5)) {
2867 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2868 SWIG_fail;
2869 }
2870 arg6 = new wxArrayString;
2871 temp6 = True;
2872 int i, len=PySequence_Length(obj5);
2873 for (i=0; i<len; i++) {
2874 PyObject* item = PySequence_GetItem(obj5, i);
2875 #if wxUSE_UNICODE
2876 PyObject* str = PyObject_Unicode(item);
2877 #else
2878 PyObject* str = PyObject_Str(item);
2879 #endif
2880 if (PyErr_Occurred()) SWIG_fail;
2881 arg6->Add(Py2wxString(str));
2882 Py_DECREF(item);
2883 Py_DECREF(str);
2884 }
2885 }
2886 }
2887 if (obj6) {
2888 arg7 = (long) SWIG_AsLong(obj6);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 if (obj7) {
2892 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2893 SWIG_POINTER_EXCEPTION | 0)) == -1)
2894 SWIG_fail;
2895 if (arg8 == NULL) {
2896 PyErr_SetString(PyExc_TypeError,"null reference");
2897 SWIG_fail;
2898 }
2899 }
2900 if (obj8) {
2901 {
2902 arg9 = wxString_in_helper(obj8);
2903 if (arg9 == NULL) SWIG_fail;
2904 temp9 = True;
2905 }
2906 }
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 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);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2915 {
2916 if (temp3)
2917 delete arg3;
2918 }
2919 {
2920 if (temp6) delete arg6;
2921 }
2922 {
2923 if (temp9)
2924 delete arg9;
2925 }
2926 return resultobj;
2927 fail:
2928 {
2929 if (temp3)
2930 delete arg3;
2931 }
2932 {
2933 if (temp6) delete arg6;
2934 }
2935 {
2936 if (temp9)
2937 delete arg9;
2938 }
2939 return NULL;
2940 }
2941
2942
2943 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2944 PyObject *resultobj;
2945 wxComboBox *result;
2946 char *kwnames[] = {
2947 NULL
2948 };
2949
2950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2951 {
2952 PyThreadState* __tstate = wxPyBeginAllowThreads();
2953 result = (wxComboBox *)new wxComboBox();
2954
2955 wxPyEndAllowThreads(__tstate);
2956 if (PyErr_Occurred()) SWIG_fail;
2957 }
2958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2959 return resultobj;
2960 fail:
2961 return NULL;
2962 }
2963
2964
2965 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2966 PyObject *resultobj;
2967 wxComboBox *arg1 = (wxComboBox *) 0 ;
2968 wxWindow *arg2 = (wxWindow *) 0 ;
2969 int arg3 = (int) -1 ;
2970 wxString const &arg4_defvalue = wxPyEmptyString ;
2971 wxString *arg4 = (wxString *) &arg4_defvalue ;
2972 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2973 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2974 wxSize const &arg6_defvalue = wxDefaultSize ;
2975 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2976 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2977 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2978 long arg8 = (long) 0 ;
2979 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2980 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2981 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2982 wxString *arg10 = (wxString *) &arg10_defvalue ;
2983 bool result;
2984 bool temp4 = False ;
2985 wxPoint temp5 ;
2986 wxSize temp6 ;
2987 bool temp7 = False ;
2988 bool temp10 = False ;
2989 PyObject * obj0 = 0 ;
2990 PyObject * obj1 = 0 ;
2991 PyObject * obj2 = 0 ;
2992 PyObject * obj3 = 0 ;
2993 PyObject * obj4 = 0 ;
2994 PyObject * obj5 = 0 ;
2995 PyObject * obj6 = 0 ;
2996 PyObject * obj7 = 0 ;
2997 PyObject * obj8 = 0 ;
2998 PyObject * obj9 = 0 ;
2999 char *kwnames[] = {
3000 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3001 };
3002
3003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3008 if (obj2) {
3009 arg3 = (int) SWIG_AsInt(obj2);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
3012 if (obj3) {
3013 {
3014 arg4 = wxString_in_helper(obj3);
3015 if (arg4 == NULL) SWIG_fail;
3016 temp4 = True;
3017 }
3018 }
3019 if (obj4) {
3020 {
3021 arg5 = &temp5;
3022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3023 }
3024 }
3025 if (obj5) {
3026 {
3027 arg6 = &temp6;
3028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3029 }
3030 }
3031 if (obj6) {
3032 {
3033 if (! PySequence_Check(obj6)) {
3034 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3035 SWIG_fail;
3036 }
3037 arg7 = new wxArrayString;
3038 temp7 = True;
3039 int i, len=PySequence_Length(obj6);
3040 for (i=0; i<len; i++) {
3041 PyObject* item = PySequence_GetItem(obj6, i);
3042 #if wxUSE_UNICODE
3043 PyObject* str = PyObject_Unicode(item);
3044 #else
3045 PyObject* str = PyObject_Str(item);
3046 #endif
3047 if (PyErr_Occurred()) SWIG_fail;
3048 arg7->Add(Py2wxString(str));
3049 Py_DECREF(item);
3050 Py_DECREF(str);
3051 }
3052 }
3053 }
3054 if (obj7) {
3055 arg8 = (long) SWIG_AsLong(obj7);
3056 if (PyErr_Occurred()) SWIG_fail;
3057 }
3058 if (obj8) {
3059 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3060 SWIG_POINTER_EXCEPTION | 0)) == -1)
3061 SWIG_fail;
3062 if (arg9 == NULL) {
3063 PyErr_SetString(PyExc_TypeError,"null reference");
3064 SWIG_fail;
3065 }
3066 }
3067 if (obj9) {
3068 {
3069 arg10 = wxString_in_helper(obj9);
3070 if (arg10 == NULL) SWIG_fail;
3071 temp10 = True;
3072 }
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 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);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 {
3082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3083 }
3084 {
3085 if (temp4)
3086 delete arg4;
3087 }
3088 {
3089 if (temp7) delete arg7;
3090 }
3091 {
3092 if (temp10)
3093 delete arg10;
3094 }
3095 return resultobj;
3096 fail:
3097 {
3098 if (temp4)
3099 delete arg4;
3100 }
3101 {
3102 if (temp7) delete arg7;
3103 }
3104 {
3105 if (temp10)
3106 delete arg10;
3107 }
3108 return NULL;
3109 }
3110
3111
3112 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3113 PyObject *resultobj;
3114 wxComboBox *arg1 = (wxComboBox *) 0 ;
3115 wxString result;
3116 PyObject * obj0 = 0 ;
3117 char *kwnames[] = {
3118 (char *) "self", NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3124 {
3125 PyThreadState* __tstate = wxPyBeginAllowThreads();
3126 result = ((wxComboBox const *)arg1)->GetValue();
3127
3128 wxPyEndAllowThreads(__tstate);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 {
3132 #if wxUSE_UNICODE
3133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3134 #else
3135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3136 #endif
3137 }
3138 return resultobj;
3139 fail:
3140 return NULL;
3141 }
3142
3143
3144 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3145 PyObject *resultobj;
3146 wxComboBox *arg1 = (wxComboBox *) 0 ;
3147 wxString *arg2 = 0 ;
3148 bool temp2 = False ;
3149 PyObject * obj0 = 0 ;
3150 PyObject * obj1 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self",(char *) "value", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3158 {
3159 arg2 = wxString_in_helper(obj1);
3160 if (arg2 == NULL) SWIG_fail;
3161 temp2 = True;
3162 }
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 (arg1)->SetValue((wxString const &)*arg2);
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 Py_INCREF(Py_None); resultobj = Py_None;
3171 {
3172 if (temp2)
3173 delete arg2;
3174 }
3175 return resultobj;
3176 fail:
3177 {
3178 if (temp2)
3179 delete arg2;
3180 }
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxComboBox *arg1 = (wxComboBox *) 0 ;
3188 PyObject * obj0 = 0 ;
3189 char *kwnames[] = {
3190 (char *) "self", NULL
3191 };
3192
3193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 (arg1)->Copy();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 Py_INCREF(Py_None); resultobj = Py_None;
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxComboBox *arg1 = (wxComboBox *) 0 ;
3213 PyObject * obj0 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 (arg1)->Cut();
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) SWIG_fail;
3227 }
3228 Py_INCREF(Py_None); resultobj = Py_None;
3229 return resultobj;
3230 fail:
3231 return NULL;
3232 }
3233
3234
3235 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject *resultobj;
3237 wxComboBox *arg1 = (wxComboBox *) 0 ;
3238 PyObject * obj0 = 0 ;
3239 char *kwnames[] = {
3240 (char *) "self", NULL
3241 };
3242
3243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 (arg1)->Paste();
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 Py_INCREF(Py_None); resultobj = Py_None;
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxComboBox *arg1 = (wxComboBox *) 0 ;
3263 long arg2 ;
3264 PyObject * obj0 = 0 ;
3265 PyObject * obj1 = 0 ;
3266 char *kwnames[] = {
3267 (char *) "self",(char *) "pos", NULL
3268 };
3269
3270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3273 arg2 = (long) SWIG_AsLong(obj1);
3274 if (PyErr_Occurred()) SWIG_fail;
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 (arg1)->SetInsertionPoint(arg2);
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 Py_INCREF(Py_None); resultobj = Py_None;
3283 return resultobj;
3284 fail:
3285 return NULL;
3286 }
3287
3288
3289 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject *resultobj;
3291 wxComboBox *arg1 = (wxComboBox *) 0 ;
3292 long result;
3293 PyObject * obj0 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 resultobj = SWIG_FromLong((long)result);
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxComboBox *arg1 = (wxComboBox *) 0 ;
3318 long result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 resultobj = SWIG_FromLong((long)result);
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxComboBox *arg1 = (wxComboBox *) 0 ;
3344 long arg2 ;
3345 long arg3 ;
3346 wxString *arg4 = 0 ;
3347 bool temp4 = False ;
3348 PyObject * obj0 = 0 ;
3349 PyObject * obj1 = 0 ;
3350 PyObject * obj2 = 0 ;
3351 PyObject * obj3 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3359 arg2 = (long) SWIG_AsLong(obj1);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 arg3 = (long) SWIG_AsLong(obj2);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 {
3364 arg4 = wxString_in_helper(obj3);
3365 if (arg4 == NULL) SWIG_fail;
3366 temp4 = True;
3367 }
3368 {
3369 PyThreadState* __tstate = wxPyBeginAllowThreads();
3370 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3371
3372 wxPyEndAllowThreads(__tstate);
3373 if (PyErr_Occurred()) SWIG_fail;
3374 }
3375 Py_INCREF(Py_None); resultobj = Py_None;
3376 {
3377 if (temp4)
3378 delete arg4;
3379 }
3380 return resultobj;
3381 fail:
3382 {
3383 if (temp4)
3384 delete arg4;
3385 }
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxComboBox *arg1 = (wxComboBox *) 0 ;
3393 int arg2 ;
3394 PyObject * obj0 = 0 ;
3395 PyObject * obj1 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "n", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3403 arg2 = (int) SWIG_AsInt(obj1);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 (arg1)->SetSelection(arg2);
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 Py_INCREF(Py_None); resultobj = Py_None;
3413 return resultobj;
3414 fail:
3415 return NULL;
3416 }
3417
3418
3419 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3420 PyObject *resultobj;
3421 wxComboBox *arg1 = (wxComboBox *) 0 ;
3422 long arg2 ;
3423 long arg3 ;
3424 PyObject * obj0 = 0 ;
3425 PyObject * obj1 = 0 ;
3426 PyObject * obj2 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self",(char *) "from",(char *) "to", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3434 arg2 = (long) SWIG_AsLong(obj1);
3435 if (PyErr_Occurred()) SWIG_fail;
3436 arg3 = (long) SWIG_AsLong(obj2);
3437 if (PyErr_Occurred()) SWIG_fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 (arg1)->SetSelection(arg2,arg3);
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 Py_INCREF(Py_None); resultobj = Py_None;
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxComboBox *arg1 = (wxComboBox *) 0 ;
3455 wxString *arg2 = 0 ;
3456 bool result;
3457 bool temp2 = False ;
3458 PyObject * obj0 = 0 ;
3459 PyObject * obj1 = 0 ;
3460 char *kwnames[] = {
3461 (char *) "self",(char *) "string", NULL
3462 };
3463
3464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3467 {
3468 arg2 = wxString_in_helper(obj1);
3469 if (arg2 == NULL) SWIG_fail;
3470 temp2 = True;
3471 }
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 {
3480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3481 }
3482 {
3483 if (temp2)
3484 delete arg2;
3485 }
3486 return resultobj;
3487 fail:
3488 {
3489 if (temp2)
3490 delete arg2;
3491 }
3492 return NULL;
3493 }
3494
3495
3496 static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3497 PyObject *resultobj;
3498 wxComboBox *arg1 = (wxComboBox *) 0 ;
3499 int arg2 ;
3500 wxString *arg3 = 0 ;
3501 bool temp3 = False ;
3502 PyObject * obj0 = 0 ;
3503 PyObject * obj1 = 0 ;
3504 PyObject * obj2 = 0 ;
3505 char *kwnames[] = {
3506 (char *) "self",(char *) "n",(char *) "string", NULL
3507 };
3508
3509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) 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 arg3 = wxString_in_helper(obj2);
3516 if (arg3 == NULL) SWIG_fail;
3517 temp3 = True;
3518 }
3519 {
3520 PyThreadState* __tstate = wxPyBeginAllowThreads();
3521 (arg1)->SetString(arg2,(wxString const &)*arg3);
3522
3523 wxPyEndAllowThreads(__tstate);
3524 if (PyErr_Occurred()) SWIG_fail;
3525 }
3526 Py_INCREF(Py_None); resultobj = Py_None;
3527 {
3528 if (temp3)
3529 delete arg3;
3530 }
3531 return resultobj;
3532 fail:
3533 {
3534 if (temp3)
3535 delete arg3;
3536 }
3537 return NULL;
3538 }
3539
3540
3541 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3542 PyObject *resultobj;
3543 wxComboBox *arg1 = (wxComboBox *) 0 ;
3544 bool arg2 ;
3545 PyObject * obj0 = 0 ;
3546 PyObject * obj1 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self",(char *) "editable", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3554 arg2 = (bool) SWIG_AsBool(obj1);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 (arg1)->SetEditable(arg2);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 Py_INCREF(Py_None); resultobj = Py_None;
3564 return resultobj;
3565 fail:
3566 return NULL;
3567 }
3568
3569
3570 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj;
3572 wxComboBox *arg1 = (wxComboBox *) 0 ;
3573 PyObject * obj0 = 0 ;
3574 char *kwnames[] = {
3575 (char *) "self", NULL
3576 };
3577
3578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 (arg1)->SetInsertionPointEnd();
3584
3585 wxPyEndAllowThreads(__tstate);
3586 if (PyErr_Occurred()) SWIG_fail;
3587 }
3588 Py_INCREF(Py_None); resultobj = Py_None;
3589 return resultobj;
3590 fail:
3591 return NULL;
3592 }
3593
3594
3595 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3596 PyObject *resultobj;
3597 wxComboBox *arg1 = (wxComboBox *) 0 ;
3598 long arg2 ;
3599 long arg3 ;
3600 PyObject * obj0 = 0 ;
3601 PyObject * obj1 = 0 ;
3602 PyObject * obj2 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self",(char *) "from",(char *) "to", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3610 arg2 = (long) SWIG_AsLong(obj1);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 arg3 = (long) SWIG_AsLong(obj2);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->Remove(arg2,arg3);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625 }
3626
3627
3628 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3629 PyObject *obj;
3630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3631 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3632 Py_INCREF(obj);
3633 return Py_BuildValue((char *)"");
3634 }
3635 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3636 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3637 return 1;
3638 }
3639
3640
3641 static PyObject *_wrap_GaugeNameStr_get() {
3642 PyObject *pyobj;
3643
3644 {
3645 #if wxUSE_UNICODE
3646 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3647 #else
3648 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3649 #endif
3650 }
3651 return pyobj;
3652 }
3653
3654
3655 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject *resultobj;
3657 wxWindow *arg1 = (wxWindow *) 0 ;
3658 int arg2 ;
3659 int arg3 ;
3660 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3661 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3662 wxSize const &arg5_defvalue = wxDefaultSize ;
3663 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3664 long arg6 = (long) wxGA_HORIZONTAL ;
3665 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3666 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3667 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3668 wxString *arg8 = (wxString *) &arg8_defvalue ;
3669 wxGauge *result;
3670 wxPoint temp4 ;
3671 wxSize temp5 ;
3672 bool temp8 = False ;
3673 PyObject * obj0 = 0 ;
3674 PyObject * obj1 = 0 ;
3675 PyObject * obj2 = 0 ;
3676 PyObject * obj3 = 0 ;
3677 PyObject * obj4 = 0 ;
3678 PyObject * obj5 = 0 ;
3679 PyObject * obj6 = 0 ;
3680 PyObject * obj7 = 0 ;
3681 char *kwnames[] = {
3682 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3683 };
3684
3685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3688 arg2 = (int) SWIG_AsInt(obj1);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 arg3 = (int) SWIG_AsInt(obj2);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 if (obj3) {
3693 {
3694 arg4 = &temp4;
3695 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3696 }
3697 }
3698 if (obj4) {
3699 {
3700 arg5 = &temp5;
3701 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3702 }
3703 }
3704 if (obj5) {
3705 arg6 = (long) SWIG_AsLong(obj5);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 if (obj6) {
3709 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3710 SWIG_POINTER_EXCEPTION | 0)) == -1)
3711 SWIG_fail;
3712 if (arg7 == NULL) {
3713 PyErr_SetString(PyExc_TypeError,"null reference");
3714 SWIG_fail;
3715 }
3716 }
3717 if (obj7) {
3718 {
3719 arg8 = wxString_in_helper(obj7);
3720 if (arg8 == NULL) SWIG_fail;
3721 temp8 = True;
3722 }
3723 }
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3732 {
3733 if (temp8)
3734 delete arg8;
3735 }
3736 return resultobj;
3737 fail:
3738 {
3739 if (temp8)
3740 delete arg8;
3741 }
3742 return NULL;
3743 }
3744
3745
3746 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3747 PyObject *resultobj;
3748 wxGauge *result;
3749 char *kwnames[] = {
3750 NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 result = (wxGauge *)new wxGauge();
3757
3758 wxPyEndAllowThreads(__tstate);
3759 if (PyErr_Occurred()) SWIG_fail;
3760 }
3761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3762 return resultobj;
3763 fail:
3764 return NULL;
3765 }
3766
3767
3768 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3769 PyObject *resultobj;
3770 wxGauge *arg1 = (wxGauge *) 0 ;
3771 wxWindow *arg2 = (wxWindow *) 0 ;
3772 int arg3 ;
3773 int arg4 ;
3774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3776 wxSize const &arg6_defvalue = wxDefaultSize ;
3777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3778 long arg7 = (long) wxGA_HORIZONTAL ;
3779 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3780 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3781 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3782 wxString *arg9 = (wxString *) &arg9_defvalue ;
3783 bool result;
3784 wxPoint temp5 ;
3785 wxSize temp6 ;
3786 bool temp9 = False ;
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj1 = 0 ;
3789 PyObject * obj2 = 0 ;
3790 PyObject * obj3 = 0 ;
3791 PyObject * obj4 = 0 ;
3792 PyObject * obj5 = 0 ;
3793 PyObject * obj6 = 0 ;
3794 PyObject * obj7 = 0 ;
3795 PyObject * obj8 = 0 ;
3796 char *kwnames[] = {
3797 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3798 };
3799
3800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3805 arg3 = (int) SWIG_AsInt(obj2);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 arg4 = (int) SWIG_AsInt(obj3);
3808 if (PyErr_Occurred()) SWIG_fail;
3809 if (obj4) {
3810 {
3811 arg5 = &temp5;
3812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3813 }
3814 }
3815 if (obj5) {
3816 {
3817 arg6 = &temp6;
3818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3819 }
3820 }
3821 if (obj6) {
3822 arg7 = (long) SWIG_AsLong(obj6);
3823 if (PyErr_Occurred()) SWIG_fail;
3824 }
3825 if (obj7) {
3826 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3827 SWIG_POINTER_EXCEPTION | 0)) == -1)
3828 SWIG_fail;
3829 if (arg8 == NULL) {
3830 PyErr_SetString(PyExc_TypeError,"null reference");
3831 SWIG_fail;
3832 }
3833 }
3834 if (obj8) {
3835 {
3836 arg9 = wxString_in_helper(obj8);
3837 if (arg9 == NULL) SWIG_fail;
3838 temp9 = True;
3839 }
3840 }
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
3849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3850 }
3851 {
3852 if (temp9)
3853 delete arg9;
3854 }
3855 return resultobj;
3856 fail:
3857 {
3858 if (temp9)
3859 delete arg9;
3860 }
3861 return NULL;
3862 }
3863
3864
3865 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxGauge *arg1 = (wxGauge *) 0 ;
3868 int arg2 ;
3869 PyObject * obj0 = 0 ;
3870 PyObject * obj1 = 0 ;
3871 char *kwnames[] = {
3872 (char *) "self",(char *) "range", NULL
3873 };
3874
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3878 arg2 = (int) SWIG_AsInt(obj1);
3879 if (PyErr_Occurred()) SWIG_fail;
3880 {
3881 PyThreadState* __tstate = wxPyBeginAllowThreads();
3882 (arg1)->SetRange(arg2);
3883
3884 wxPyEndAllowThreads(__tstate);
3885 if (PyErr_Occurred()) SWIG_fail;
3886 }
3887 Py_INCREF(Py_None); resultobj = Py_None;
3888 return resultobj;
3889 fail:
3890 return NULL;
3891 }
3892
3893
3894 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxGauge *arg1 = (wxGauge *) 0 ;
3897 int result;
3898 PyObject * obj0 = 0 ;
3899 char *kwnames[] = {
3900 (char *) "self", NULL
3901 };
3902
3903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3906 {
3907 PyThreadState* __tstate = wxPyBeginAllowThreads();
3908 result = (int)((wxGauge const *)arg1)->GetRange();
3909
3910 wxPyEndAllowThreads(__tstate);
3911 if (PyErr_Occurred()) SWIG_fail;
3912 }
3913 resultobj = SWIG_FromInt((int)result);
3914 return resultobj;
3915 fail:
3916 return NULL;
3917 }
3918
3919
3920 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3921 PyObject *resultobj;
3922 wxGauge *arg1 = (wxGauge *) 0 ;
3923 int arg2 ;
3924 PyObject * obj0 = 0 ;
3925 PyObject * obj1 = 0 ;
3926 char *kwnames[] = {
3927 (char *) "self",(char *) "pos", NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3933 arg2 = (int) SWIG_AsInt(obj1);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 {
3936 PyThreadState* __tstate = wxPyBeginAllowThreads();
3937 (arg1)->SetValue(arg2);
3938
3939 wxPyEndAllowThreads(__tstate);
3940 if (PyErr_Occurred()) SWIG_fail;
3941 }
3942 Py_INCREF(Py_None); resultobj = Py_None;
3943 return resultobj;
3944 fail:
3945 return NULL;
3946 }
3947
3948
3949 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxGauge *arg1 = (wxGauge *) 0 ;
3952 int result;
3953 PyObject * obj0 = 0 ;
3954 char *kwnames[] = {
3955 (char *) "self", NULL
3956 };
3957
3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 result = (int)((wxGauge const *)arg1)->GetValue();
3964
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 resultobj = SWIG_FromInt((int)result);
3969 return resultobj;
3970 fail:
3971 return NULL;
3972 }
3973
3974
3975 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3976 PyObject *resultobj;
3977 wxGauge *arg1 = (wxGauge *) 0 ;
3978 bool result;
3979 PyObject * obj0 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3987 {
3988 PyThreadState* __tstate = wxPyBeginAllowThreads();
3989 result = (bool)((wxGauge const *)arg1)->IsVertical();
3990
3991 wxPyEndAllowThreads(__tstate);
3992 if (PyErr_Occurred()) SWIG_fail;
3993 }
3994 {
3995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3996 }
3997 return resultobj;
3998 fail:
3999 return NULL;
4000 }
4001
4002
4003 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj;
4005 wxGauge *arg1 = (wxGauge *) 0 ;
4006 int arg2 ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj1 = 0 ;
4009 char *kwnames[] = {
4010 (char *) "self",(char *) "w", NULL
4011 };
4012
4013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4016 arg2 = (int) SWIG_AsInt(obj1);
4017 if (PyErr_Occurred()) SWIG_fail;
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 (arg1)->SetShadowWidth(arg2);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 Py_INCREF(Py_None); resultobj = Py_None;
4026 return resultobj;
4027 fail:
4028 return NULL;
4029 }
4030
4031
4032 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj;
4034 wxGauge *arg1 = (wxGauge *) 0 ;
4035 int result;
4036 PyObject * obj0 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self", NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4044 {
4045 PyThreadState* __tstate = wxPyBeginAllowThreads();
4046 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4047
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 resultobj = SWIG_FromInt((int)result);
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4059 PyObject *resultobj;
4060 wxGauge *arg1 = (wxGauge *) 0 ;
4061 int arg2 ;
4062 PyObject * obj0 = 0 ;
4063 PyObject * obj1 = 0 ;
4064 char *kwnames[] = {
4065 (char *) "self",(char *) "w", NULL
4066 };
4067
4068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4071 arg2 = (int) SWIG_AsInt(obj1);
4072 if (PyErr_Occurred()) SWIG_fail;
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 (arg1)->SetBezelFace(arg2);
4076
4077 wxPyEndAllowThreads(__tstate);
4078 if (PyErr_Occurred()) SWIG_fail;
4079 }
4080 Py_INCREF(Py_None); resultobj = Py_None;
4081 return resultobj;
4082 fail:
4083 return NULL;
4084 }
4085
4086
4087 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4088 PyObject *resultobj;
4089 wxGauge *arg1 = (wxGauge *) 0 ;
4090 int result;
4091 PyObject * obj0 = 0 ;
4092 char *kwnames[] = {
4093 (char *) "self", NULL
4094 };
4095
4096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4102
4103 wxPyEndAllowThreads(__tstate);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
4106 resultobj = SWIG_FromInt((int)result);
4107 return resultobj;
4108 fail:
4109 return NULL;
4110 }
4111
4112
4113 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4114 PyObject *obj;
4115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4117 Py_INCREF(obj);
4118 return Py_BuildValue((char *)"");
4119 }
4120 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4121 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4122 return 1;
4123 }
4124
4125
4126 static PyObject *_wrap_StaticBitmapNameStr_get() {
4127 PyObject *pyobj;
4128
4129 {
4130 #if wxUSE_UNICODE
4131 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4132 #else
4133 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4134 #endif
4135 }
4136 return pyobj;
4137 }
4138
4139
4140 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4141 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4142 return 1;
4143 }
4144
4145
4146 static PyObject *_wrap_StaticBoxNameStr_get() {
4147 PyObject *pyobj;
4148
4149 {
4150 #if wxUSE_UNICODE
4151 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4152 #else
4153 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4154 #endif
4155 }
4156 return pyobj;
4157 }
4158
4159
4160 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4161 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4162 return 1;
4163 }
4164
4165
4166 static PyObject *_wrap_StaticTextNameStr_get() {
4167 PyObject *pyobj;
4168
4169 {
4170 #if wxUSE_UNICODE
4171 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4172 #else
4173 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4174 #endif
4175 }
4176 return pyobj;
4177 }
4178
4179
4180 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4181 PyObject *resultobj;
4182 wxWindow *arg1 = (wxWindow *) 0 ;
4183 int arg2 ;
4184 wxString *arg3 = 0 ;
4185 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4186 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4187 wxSize const &arg5_defvalue = wxDefaultSize ;
4188 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4189 long arg6 = (long) 0 ;
4190 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4191 wxString *arg7 = (wxString *) &arg7_defvalue ;
4192 wxStaticBox *result;
4193 bool temp3 = False ;
4194 wxPoint temp4 ;
4195 wxSize temp5 ;
4196 bool temp7 = False ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj1 = 0 ;
4199 PyObject * obj2 = 0 ;
4200 PyObject * obj3 = 0 ;
4201 PyObject * obj4 = 0 ;
4202 PyObject * obj5 = 0 ;
4203 PyObject * obj6 = 0 ;
4204 char *kwnames[] = {
4205 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4206 };
4207
4208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4211 arg2 = (int) SWIG_AsInt(obj1);
4212 if (PyErr_Occurred()) SWIG_fail;
4213 {
4214 arg3 = wxString_in_helper(obj2);
4215 if (arg3 == NULL) SWIG_fail;
4216 temp3 = True;
4217 }
4218 if (obj3) {
4219 {
4220 arg4 = &temp4;
4221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4222 }
4223 }
4224 if (obj4) {
4225 {
4226 arg5 = &temp5;
4227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4228 }
4229 }
4230 if (obj5) {
4231 arg6 = (long) SWIG_AsLong(obj5);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 if (obj6) {
4235 {
4236 arg7 = wxString_in_helper(obj6);
4237 if (arg7 == NULL) SWIG_fail;
4238 temp7 = True;
4239 }
4240 }
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 {
4249 resultobj = wxPyMake_wxObject(result);
4250 }
4251 {
4252 if (temp3)
4253 delete arg3;
4254 }
4255 {
4256 if (temp7)
4257 delete arg7;
4258 }
4259 return resultobj;
4260 fail:
4261 {
4262 if (temp3)
4263 delete arg3;
4264 }
4265 {
4266 if (temp7)
4267 delete arg7;
4268 }
4269 return NULL;
4270 }
4271
4272
4273 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4274 PyObject *resultobj;
4275 wxStaticBox *result;
4276 char *kwnames[] = {
4277 NULL
4278 };
4279
4280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (wxStaticBox *)new wxStaticBox();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 {
4289 resultobj = wxPyMake_wxObject(result);
4290 }
4291 return resultobj;
4292 fail:
4293 return NULL;
4294 }
4295
4296
4297 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4298 PyObject *resultobj;
4299 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4300 wxWindow *arg2 = (wxWindow *) 0 ;
4301 int arg3 ;
4302 wxString *arg4 = 0 ;
4303 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4304 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4305 wxSize const &arg6_defvalue = wxDefaultSize ;
4306 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4307 long arg7 = (long) 0 ;
4308 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4309 wxString *arg8 = (wxString *) &arg8_defvalue ;
4310 bool result;
4311 bool temp4 = False ;
4312 wxPoint temp5 ;
4313 wxSize temp6 ;
4314 bool temp8 = False ;
4315 PyObject * obj0 = 0 ;
4316 PyObject * obj1 = 0 ;
4317 PyObject * obj2 = 0 ;
4318 PyObject * obj3 = 0 ;
4319 PyObject * obj4 = 0 ;
4320 PyObject * obj5 = 0 ;
4321 PyObject * obj6 = 0 ;
4322 PyObject * obj7 = 0 ;
4323 char *kwnames[] = {
4324 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4325 };
4326
4327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4332 arg3 = (int) SWIG_AsInt(obj2);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 {
4335 arg4 = wxString_in_helper(obj3);
4336 if (arg4 == NULL) SWIG_fail;
4337 temp4 = True;
4338 }
4339 if (obj4) {
4340 {
4341 arg5 = &temp5;
4342 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4343 }
4344 }
4345 if (obj5) {
4346 {
4347 arg6 = &temp6;
4348 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4349 }
4350 }
4351 if (obj6) {
4352 arg7 = (long) SWIG_AsLong(obj6);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 if (obj7) {
4356 {
4357 arg8 = wxString_in_helper(obj7);
4358 if (arg8 == NULL) SWIG_fail;
4359 temp8 = True;
4360 }
4361 }
4362 {
4363 PyThreadState* __tstate = wxPyBeginAllowThreads();
4364 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4365
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 {
4370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4371 }
4372 {
4373 if (temp4)
4374 delete arg4;
4375 }
4376 {
4377 if (temp8)
4378 delete arg8;
4379 }
4380 return resultobj;
4381 fail:
4382 {
4383 if (temp4)
4384 delete arg4;
4385 }
4386 {
4387 if (temp8)
4388 delete arg8;
4389 }
4390 return NULL;
4391 }
4392
4393
4394 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4395 PyObject *obj;
4396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4397 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4398 Py_INCREF(obj);
4399 return Py_BuildValue((char *)"");
4400 }
4401 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4402 PyObject *resultobj;
4403 wxWindow *arg1 = (wxWindow *) 0 ;
4404 int arg2 ;
4405 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4406 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4407 wxSize const &arg4_defvalue = wxDefaultSize ;
4408 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4409 long arg5 = (long) wxLI_HORIZONTAL ;
4410 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4411 wxString *arg6 = (wxString *) &arg6_defvalue ;
4412 wxStaticLine *result;
4413 wxPoint temp3 ;
4414 wxSize temp4 ;
4415 bool temp6 = False ;
4416 PyObject * obj0 = 0 ;
4417 PyObject * obj1 = 0 ;
4418 PyObject * obj2 = 0 ;
4419 PyObject * obj3 = 0 ;
4420 PyObject * obj4 = 0 ;
4421 PyObject * obj5 = 0 ;
4422 char *kwnames[] = {
4423 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4424 };
4425
4426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4429 arg2 = (int) SWIG_AsInt(obj1);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 if (obj2) {
4432 {
4433 arg3 = &temp3;
4434 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4435 }
4436 }
4437 if (obj3) {
4438 {
4439 arg4 = &temp4;
4440 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4441 }
4442 }
4443 if (obj4) {
4444 arg5 = (long) SWIG_AsLong(obj4);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 if (obj5) {
4448 {
4449 arg6 = wxString_in_helper(obj5);
4450 if (arg6 == NULL) SWIG_fail;
4451 temp6 = True;
4452 }
4453 }
4454 {
4455 PyThreadState* __tstate = wxPyBeginAllowThreads();
4456 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4457
4458 wxPyEndAllowThreads(__tstate);
4459 if (PyErr_Occurred()) SWIG_fail;
4460 }
4461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4462 {
4463 if (temp6)
4464 delete arg6;
4465 }
4466 return resultobj;
4467 fail:
4468 {
4469 if (temp6)
4470 delete arg6;
4471 }
4472 return NULL;
4473 }
4474
4475
4476 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxStaticLine *result;
4479 char *kwnames[] = {
4480 NULL
4481 };
4482
4483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 result = (wxStaticLine *)new wxStaticLine();
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4501 wxWindow *arg2 = (wxWindow *) 0 ;
4502 int arg3 ;
4503 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4504 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4505 wxSize const &arg5_defvalue = wxDefaultSize ;
4506 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4507 long arg6 = (long) wxLI_HORIZONTAL ;
4508 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4509 wxString *arg7 = (wxString *) &arg7_defvalue ;
4510 bool result;
4511 wxPoint temp4 ;
4512 wxSize temp5 ;
4513 bool temp7 = False ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 PyObject * obj2 = 0 ;
4517 PyObject * obj3 = 0 ;
4518 PyObject * obj4 = 0 ;
4519 PyObject * obj5 = 0 ;
4520 PyObject * obj6 = 0 ;
4521 char *kwnames[] = {
4522 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4523 };
4524
4525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4528 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4530 arg3 = (int) SWIG_AsInt(obj2);
4531 if (PyErr_Occurred()) SWIG_fail;
4532 if (obj3) {
4533 {
4534 arg4 = &temp4;
4535 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4536 }
4537 }
4538 if (obj4) {
4539 {
4540 arg5 = &temp5;
4541 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4542 }
4543 }
4544 if (obj5) {
4545 arg6 = (long) SWIG_AsLong(obj5);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 if (obj6) {
4549 {
4550 arg7 = wxString_in_helper(obj6);
4551 if (arg7 == NULL) SWIG_fail;
4552 temp7 = True;
4553 }
4554 }
4555 {
4556 PyThreadState* __tstate = wxPyBeginAllowThreads();
4557 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4558
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 {
4563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4564 }
4565 {
4566 if (temp7)
4567 delete arg7;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp7)
4573 delete arg7;
4574 }
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4582 bool result;
4583 PyObject * obj0 = 0 ;
4584 char *kwnames[] = {
4585 (char *) "self", NULL
4586 };
4587
4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4591 {
4592 PyThreadState* __tstate = wxPyBeginAllowThreads();
4593 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4594
4595 wxPyEndAllowThreads(__tstate);
4596 if (PyErr_Occurred()) SWIG_fail;
4597 }
4598 {
4599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4600 }
4601 return resultobj;
4602 fail:
4603 return NULL;
4604 }
4605
4606
4607 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4608 PyObject *resultobj;
4609 int result;
4610 char *kwnames[] = {
4611 NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4615 {
4616 PyThreadState* __tstate = wxPyBeginAllowThreads();
4617 result = (int)wxStaticLine::GetDefaultSize();
4618
4619 wxPyEndAllowThreads(__tstate);
4620 if (PyErr_Occurred()) SWIG_fail;
4621 }
4622 resultobj = SWIG_FromInt((int)result);
4623 return resultobj;
4624 fail:
4625 return NULL;
4626 }
4627
4628
4629 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4630 PyObject *obj;
4631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4632 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4633 Py_INCREF(obj);
4634 return Py_BuildValue((char *)"");
4635 }
4636 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj;
4638 wxWindow *arg1 = (wxWindow *) 0 ;
4639 int arg2 ;
4640 wxString *arg3 = 0 ;
4641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4643 wxSize const &arg5_defvalue = wxDefaultSize ;
4644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4645 long arg6 = (long) 0 ;
4646 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4647 wxString *arg7 = (wxString *) &arg7_defvalue ;
4648 wxStaticText *result;
4649 bool temp3 = False ;
4650 wxPoint temp4 ;
4651 wxSize temp5 ;
4652 bool temp7 = False ;
4653 PyObject * obj0 = 0 ;
4654 PyObject * obj1 = 0 ;
4655 PyObject * obj2 = 0 ;
4656 PyObject * obj3 = 0 ;
4657 PyObject * obj4 = 0 ;
4658 PyObject * obj5 = 0 ;
4659 PyObject * obj6 = 0 ;
4660 char *kwnames[] = {
4661 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4662 };
4663
4664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4667 arg2 = (int) SWIG_AsInt(obj1);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 {
4670 arg3 = wxString_in_helper(obj2);
4671 if (arg3 == NULL) SWIG_fail;
4672 temp3 = True;
4673 }
4674 if (obj3) {
4675 {
4676 arg4 = &temp4;
4677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4678 }
4679 }
4680 if (obj4) {
4681 {
4682 arg5 = &temp5;
4683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4684 }
4685 }
4686 if (obj5) {
4687 arg6 = (long) SWIG_AsLong(obj5);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 if (obj6) {
4691 {
4692 arg7 = wxString_in_helper(obj6);
4693 if (arg7 == NULL) SWIG_fail;
4694 temp7 = True;
4695 }
4696 }
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4705 {
4706 if (temp3)
4707 delete arg3;
4708 }
4709 {
4710 if (temp7)
4711 delete arg7;
4712 }
4713 return resultobj;
4714 fail:
4715 {
4716 if (temp3)
4717 delete arg3;
4718 }
4719 {
4720 if (temp7)
4721 delete arg7;
4722 }
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxStaticText *result;
4730 char *kwnames[] = {
4731 NULL
4732 };
4733
4734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4735 {
4736 PyThreadState* __tstate = wxPyBeginAllowThreads();
4737 result = (wxStaticText *)new wxStaticText();
4738
4739 wxPyEndAllowThreads(__tstate);
4740 if (PyErr_Occurred()) SWIG_fail;
4741 }
4742 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4743 return resultobj;
4744 fail:
4745 return NULL;
4746 }
4747
4748
4749 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4750 PyObject *resultobj;
4751 wxStaticText *arg1 = (wxStaticText *) 0 ;
4752 wxWindow *arg2 = (wxWindow *) 0 ;
4753 int arg3 ;
4754 wxString *arg4 = 0 ;
4755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4757 wxSize const &arg6_defvalue = wxDefaultSize ;
4758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4759 long arg7 = (long) 0 ;
4760 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4761 wxString *arg8 = (wxString *) &arg8_defvalue ;
4762 bool result;
4763 bool temp4 = False ;
4764 wxPoint temp5 ;
4765 wxSize temp6 ;
4766 bool temp8 = False ;
4767 PyObject * obj0 = 0 ;
4768 PyObject * obj1 = 0 ;
4769 PyObject * obj2 = 0 ;
4770 PyObject * obj3 = 0 ;
4771 PyObject * obj4 = 0 ;
4772 PyObject * obj5 = 0 ;
4773 PyObject * obj6 = 0 ;
4774 PyObject * obj7 = 0 ;
4775 char *kwnames[] = {
4776 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4777 };
4778
4779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4784 arg3 = (int) SWIG_AsInt(obj2);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 {
4787 arg4 = wxString_in_helper(obj3);
4788 if (arg4 == NULL) SWIG_fail;
4789 temp4 = True;
4790 }
4791 if (obj4) {
4792 {
4793 arg5 = &temp5;
4794 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4795 }
4796 }
4797 if (obj5) {
4798 {
4799 arg6 = &temp6;
4800 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4801 }
4802 }
4803 if (obj6) {
4804 arg7 = (long) SWIG_AsLong(obj6);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 if (obj7) {
4808 {
4809 arg8 = wxString_in_helper(obj7);
4810 if (arg8 == NULL) SWIG_fail;
4811 temp8 = True;
4812 }
4813 }
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 {
4822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4823 }
4824 {
4825 if (temp4)
4826 delete arg4;
4827 }
4828 {
4829 if (temp8)
4830 delete arg8;
4831 }
4832 return resultobj;
4833 fail:
4834 {
4835 if (temp4)
4836 delete arg4;
4837 }
4838 {
4839 if (temp8)
4840 delete arg8;
4841 }
4842 return NULL;
4843 }
4844
4845
4846 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4847 PyObject *obj;
4848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4849 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4850 Py_INCREF(obj);
4851 return Py_BuildValue((char *)"");
4852 }
4853 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxWindow *arg1 = (wxWindow *) 0 ;
4856 int arg2 ;
4857 wxBitmap *arg3 = 0 ;
4858 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4859 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4860 wxSize const &arg5_defvalue = wxDefaultSize ;
4861 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4862 long arg6 = (long) 0 ;
4863 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4864 wxString *arg7 = (wxString *) &arg7_defvalue ;
4865 wxStaticBitmap *result;
4866 wxPoint temp4 ;
4867 wxSize temp5 ;
4868 bool temp7 = False ;
4869 PyObject * obj0 = 0 ;
4870 PyObject * obj1 = 0 ;
4871 PyObject * obj2 = 0 ;
4872 PyObject * obj3 = 0 ;
4873 PyObject * obj4 = 0 ;
4874 PyObject * obj5 = 0 ;
4875 PyObject * obj6 = 0 ;
4876 char *kwnames[] = {
4877 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4883 arg2 = (int) SWIG_AsInt(obj1);
4884 if (PyErr_Occurred()) SWIG_fail;
4885 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4886 SWIG_POINTER_EXCEPTION | 0)) == -1)
4887 SWIG_fail;
4888 if (arg3 == NULL) {
4889 PyErr_SetString(PyExc_TypeError,"null reference");
4890 SWIG_fail;
4891 }
4892 if (obj3) {
4893 {
4894 arg4 = &temp4;
4895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4896 }
4897 }
4898 if (obj4) {
4899 {
4900 arg5 = &temp5;
4901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4902 }
4903 }
4904 if (obj5) {
4905 arg6 = (long) SWIG_AsLong(obj5);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 if (obj6) {
4909 {
4910 arg7 = wxString_in_helper(obj6);
4911 if (arg7 == NULL) SWIG_fail;
4912 temp7 = True;
4913 }
4914 }
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4923 {
4924 if (temp7)
4925 delete arg7;
4926 }
4927 return resultobj;
4928 fail:
4929 {
4930 if (temp7)
4931 delete arg7;
4932 }
4933 return NULL;
4934 }
4935
4936
4937 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxStaticBitmap *result;
4940 char *kwnames[] = {
4941 NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4945 {
4946 PyThreadState* __tstate = wxPyBeginAllowThreads();
4947 result = (wxStaticBitmap *)new wxStaticBitmap();
4948
4949 wxPyEndAllowThreads(__tstate);
4950 if (PyErr_Occurred()) SWIG_fail;
4951 }
4952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4953 return resultobj;
4954 fail:
4955 return NULL;
4956 }
4957
4958
4959 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4962 wxWindow *arg2 = (wxWindow *) 0 ;
4963 int arg3 ;
4964 wxBitmap *arg4 = 0 ;
4965 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4966 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4967 wxSize const &arg6_defvalue = wxDefaultSize ;
4968 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4969 long arg7 = (long) 0 ;
4970 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4971 wxString *arg8 = (wxString *) &arg8_defvalue ;
4972 bool result;
4973 wxPoint temp5 ;
4974 wxSize temp6 ;
4975 bool temp8 = False ;
4976 PyObject * obj0 = 0 ;
4977 PyObject * obj1 = 0 ;
4978 PyObject * obj2 = 0 ;
4979 PyObject * obj3 = 0 ;
4980 PyObject * obj4 = 0 ;
4981 PyObject * obj5 = 0 ;
4982 PyObject * obj6 = 0 ;
4983 PyObject * obj7 = 0 ;
4984 char *kwnames[] = {
4985 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4986 };
4987
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4993 arg3 = (int) SWIG_AsInt(obj2);
4994 if (PyErr_Occurred()) SWIG_fail;
4995 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4996 SWIG_POINTER_EXCEPTION | 0)) == -1)
4997 SWIG_fail;
4998 if (arg4 == NULL) {
4999 PyErr_SetString(PyExc_TypeError,"null reference");
5000 SWIG_fail;
5001 }
5002 if (obj4) {
5003 {
5004 arg5 = &temp5;
5005 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5006 }
5007 }
5008 if (obj5) {
5009 {
5010 arg6 = &temp6;
5011 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5012 }
5013 }
5014 if (obj6) {
5015 arg7 = (long) SWIG_AsLong(obj6);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 if (obj7) {
5019 {
5020 arg8 = wxString_in_helper(obj7);
5021 if (arg8 == NULL) SWIG_fail;
5022 temp8 = True;
5023 }
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5028
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 {
5033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5034 }
5035 {
5036 if (temp8)
5037 delete arg8;
5038 }
5039 return resultobj;
5040 fail:
5041 {
5042 if (temp8)
5043 delete arg8;
5044 }
5045 return NULL;
5046 }
5047
5048
5049 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5050 PyObject *resultobj;
5051 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5052 wxBitmap result;
5053 PyObject * obj0 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 result = (arg1)->GetBitmap();
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 {
5069 wxBitmap * resultptr;
5070 resultptr = new wxBitmap((wxBitmap &) result);
5071 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5072 }
5073 return resultobj;
5074 fail:
5075 return NULL;
5076 }
5077
5078
5079 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5080 PyObject *resultobj;
5081 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5082 wxBitmap *arg2 = 0 ;
5083 PyObject * obj0 = 0 ;
5084 PyObject * obj1 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "bitmap", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5093 SWIG_POINTER_EXCEPTION | 0)) == -1)
5094 SWIG_fail;
5095 if (arg2 == NULL) {
5096 PyErr_SetString(PyExc_TypeError,"null reference");
5097 SWIG_fail;
5098 }
5099 {
5100 PyThreadState* __tstate = wxPyBeginAllowThreads();
5101 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5102
5103 wxPyEndAllowThreads(__tstate);
5104 if (PyErr_Occurred()) SWIG_fail;
5105 }
5106 Py_INCREF(Py_None); resultobj = Py_None;
5107 return resultobj;
5108 fail:
5109 return NULL;
5110 }
5111
5112
5113 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5114 PyObject *resultobj;
5115 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5116 wxIcon *arg2 = 0 ;
5117 PyObject * obj0 = 0 ;
5118 PyObject * obj1 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self",(char *) "icon", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5127 SWIG_POINTER_EXCEPTION | 0)) == -1)
5128 SWIG_fail;
5129 if (arg2 == NULL) {
5130 PyErr_SetString(PyExc_TypeError,"null reference");
5131 SWIG_fail;
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 (arg1)->SetIcon((wxIcon const &)*arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 Py_INCREF(Py_None); resultobj = Py_None;
5141 return resultobj;
5142 fail:
5143 return NULL;
5144 }
5145
5146
5147 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5148 PyObject *obj;
5149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5150 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5151 Py_INCREF(obj);
5152 return Py_BuildValue((char *)"");
5153 }
5154 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5155 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5156 return 1;
5157 }
5158
5159
5160 static PyObject *_wrap_ListBoxNameStr_get() {
5161 PyObject *pyobj;
5162
5163 {
5164 #if wxUSE_UNICODE
5165 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5166 #else
5167 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5168 #endif
5169 }
5170 return pyobj;
5171 }
5172
5173
5174 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxWindow *arg1 = (wxWindow *) 0 ;
5177 int arg2 ;
5178 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5179 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5180 wxSize const &arg4_defvalue = wxDefaultSize ;
5181 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5182 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5183 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5184 long arg6 = (long) 0 ;
5185 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5186 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5187 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5188 wxString *arg8 = (wxString *) &arg8_defvalue ;
5189 wxListBox *result;
5190 wxPoint temp3 ;
5191 wxSize temp4 ;
5192 bool temp5 = False ;
5193 bool temp8 = False ;
5194 PyObject * obj0 = 0 ;
5195 PyObject * obj1 = 0 ;
5196 PyObject * obj2 = 0 ;
5197 PyObject * obj3 = 0 ;
5198 PyObject * obj4 = 0 ;
5199 PyObject * obj5 = 0 ;
5200 PyObject * obj6 = 0 ;
5201 PyObject * obj7 = 0 ;
5202 char *kwnames[] = {
5203 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5204 };
5205
5206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5209 arg2 = (int) SWIG_AsInt(obj1);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 if (obj2) {
5212 {
5213 arg3 = &temp3;
5214 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5215 }
5216 }
5217 if (obj3) {
5218 {
5219 arg4 = &temp4;
5220 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5221 }
5222 }
5223 if (obj4) {
5224 {
5225 if (! PySequence_Check(obj4)) {
5226 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5227 SWIG_fail;
5228 }
5229 arg5 = new wxArrayString;
5230 temp5 = True;
5231 int i, len=PySequence_Length(obj4);
5232 for (i=0; i<len; i++) {
5233 PyObject* item = PySequence_GetItem(obj4, i);
5234 #if wxUSE_UNICODE
5235 PyObject* str = PyObject_Unicode(item);
5236 #else
5237 PyObject* str = PyObject_Str(item);
5238 #endif
5239 if (PyErr_Occurred()) SWIG_fail;
5240 arg5->Add(Py2wxString(str));
5241 Py_DECREF(item);
5242 Py_DECREF(str);
5243 }
5244 }
5245 }
5246 if (obj5) {
5247 arg6 = (long) SWIG_AsLong(obj5);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 if (obj6) {
5251 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5252 SWIG_POINTER_EXCEPTION | 0)) == -1)
5253 SWIG_fail;
5254 if (arg7 == NULL) {
5255 PyErr_SetString(PyExc_TypeError,"null reference");
5256 SWIG_fail;
5257 }
5258 }
5259 if (obj7) {
5260 {
5261 arg8 = wxString_in_helper(obj7);
5262 if (arg8 == NULL) SWIG_fail;
5263 temp8 = True;
5264 }
5265 }
5266 {
5267 PyThreadState* __tstate = wxPyBeginAllowThreads();
5268 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
5273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5274 {
5275 if (temp5) delete arg5;
5276 }
5277 {
5278 if (temp8)
5279 delete arg8;
5280 }
5281 return resultobj;
5282 fail:
5283 {
5284 if (temp5) delete arg5;
5285 }
5286 {
5287 if (temp8)
5288 delete arg8;
5289 }
5290 return NULL;
5291 }
5292
5293
5294 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxListBox *result;
5297 char *kwnames[] = {
5298 NULL
5299 };
5300
5301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 result = (wxListBox *)new wxListBox();
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxListBox *arg1 = (wxListBox *) 0 ;
5319 wxWindow *arg2 = (wxWindow *) 0 ;
5320 int arg3 ;
5321 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5322 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5323 wxSize const &arg5_defvalue = wxDefaultSize ;
5324 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5325 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5326 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5327 long arg7 = (long) 0 ;
5328 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5329 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5330 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5331 wxString *arg9 = (wxString *) &arg9_defvalue ;
5332 bool result;
5333 wxPoint temp4 ;
5334 wxSize temp5 ;
5335 bool temp6 = False ;
5336 bool temp9 = False ;
5337 PyObject * obj0 = 0 ;
5338 PyObject * obj1 = 0 ;
5339 PyObject * obj2 = 0 ;
5340 PyObject * obj3 = 0 ;
5341 PyObject * obj4 = 0 ;
5342 PyObject * obj5 = 0 ;
5343 PyObject * obj6 = 0 ;
5344 PyObject * obj7 = 0 ;
5345 PyObject * obj8 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5353 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5355 arg3 = (int) SWIG_AsInt(obj2);
5356 if (PyErr_Occurred()) SWIG_fail;
5357 if (obj3) {
5358 {
5359 arg4 = &temp4;
5360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5361 }
5362 }
5363 if (obj4) {
5364 {
5365 arg5 = &temp5;
5366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5367 }
5368 }
5369 if (obj5) {
5370 {
5371 if (! PySequence_Check(obj5)) {
5372 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5373 SWIG_fail;
5374 }
5375 arg6 = new wxArrayString;
5376 temp6 = True;
5377 int i, len=PySequence_Length(obj5);
5378 for (i=0; i<len; i++) {
5379 PyObject* item = PySequence_GetItem(obj5, i);
5380 #if wxUSE_UNICODE
5381 PyObject* str = PyObject_Unicode(item);
5382 #else
5383 PyObject* str = PyObject_Str(item);
5384 #endif
5385 if (PyErr_Occurred()) SWIG_fail;
5386 arg6->Add(Py2wxString(str));
5387 Py_DECREF(item);
5388 Py_DECREF(str);
5389 }
5390 }
5391 }
5392 if (obj6) {
5393 arg7 = (long) SWIG_AsLong(obj6);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 if (obj7) {
5397 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5398 SWIG_POINTER_EXCEPTION | 0)) == -1)
5399 SWIG_fail;
5400 if (arg8 == NULL) {
5401 PyErr_SetString(PyExc_TypeError,"null reference");
5402 SWIG_fail;
5403 }
5404 }
5405 if (obj8) {
5406 {
5407 arg9 = wxString_in_helper(obj8);
5408 if (arg9 == NULL) SWIG_fail;
5409 temp9 = True;
5410 }
5411 }
5412 {
5413 PyThreadState* __tstate = wxPyBeginAllowThreads();
5414 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5415
5416 wxPyEndAllowThreads(__tstate);
5417 if (PyErr_Occurred()) SWIG_fail;
5418 }
5419 {
5420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5421 }
5422 {
5423 if (temp6) delete arg6;
5424 }
5425 {
5426 if (temp9)
5427 delete arg9;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (temp6) delete arg6;
5433 }
5434 {
5435 if (temp9)
5436 delete arg9;
5437 }
5438 return NULL;
5439 }
5440
5441
5442 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5443 PyObject *resultobj;
5444 wxListBox *arg1 = (wxListBox *) 0 ;
5445 wxString *arg2 = 0 ;
5446 int arg3 ;
5447 PyObject *arg4 = (PyObject *) NULL ;
5448 bool temp2 = False ;
5449 PyObject * obj0 = 0 ;
5450 PyObject * obj1 = 0 ;
5451 PyObject * obj2 = 0 ;
5452 PyObject * obj3 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5460 {
5461 arg2 = wxString_in_helper(obj1);
5462 if (arg2 == NULL) SWIG_fail;
5463 temp2 = True;
5464 }
5465 arg3 = (int) SWIG_AsInt(obj2);
5466 if (PyErr_Occurred()) SWIG_fail;
5467 if (obj3) {
5468 arg4 = obj3;
5469 }
5470 {
5471 PyThreadState* __tstate = wxPyBeginAllowThreads();
5472 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5473
5474 wxPyEndAllowThreads(__tstate);
5475 if (PyErr_Occurred()) SWIG_fail;
5476 }
5477 Py_INCREF(Py_None); resultobj = Py_None;
5478 {
5479 if (temp2)
5480 delete arg2;
5481 }
5482 return resultobj;
5483 fail:
5484 {
5485 if (temp2)
5486 delete arg2;
5487 }
5488 return NULL;
5489 }
5490
5491
5492 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj;
5494 wxListBox *arg1 = (wxListBox *) 0 ;
5495 wxArrayString *arg2 = 0 ;
5496 int arg3 ;
5497 bool temp2 = False ;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
5500 PyObject * obj2 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "items",(char *) "pos", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5508 {
5509 if (! PySequence_Check(obj1)) {
5510 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5511 SWIG_fail;
5512 }
5513 arg2 = new wxArrayString;
5514 temp2 = True;
5515 int i, len=PySequence_Length(obj1);
5516 for (i=0; i<len; i++) {
5517 PyObject* item = PySequence_GetItem(obj1, i);
5518 #if wxUSE_UNICODE
5519 PyObject* str = PyObject_Unicode(item);
5520 #else
5521 PyObject* str = PyObject_Str(item);
5522 #endif
5523 if (PyErr_Occurred()) SWIG_fail;
5524 arg2->Add(Py2wxString(str));
5525 Py_DECREF(item);
5526 Py_DECREF(str);
5527 }
5528 }
5529 arg3 = (int) SWIG_AsInt(obj2);
5530 if (PyErr_Occurred()) SWIG_fail;
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 Py_INCREF(Py_None); resultobj = Py_None;
5539 {
5540 if (temp2) delete arg2;
5541 }
5542 return resultobj;
5543 fail:
5544 {
5545 if (temp2) delete arg2;
5546 }
5547 return NULL;
5548 }
5549
5550
5551 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5552 PyObject *resultobj;
5553 wxListBox *arg1 = (wxListBox *) 0 ;
5554 wxArrayString *arg2 = 0 ;
5555 bool temp2 = False ;
5556 PyObject * obj0 = 0 ;
5557 PyObject * obj1 = 0 ;
5558 char *kwnames[] = {
5559 (char *) "self",(char *) "items", NULL
5560 };
5561
5562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5565 {
5566 if (! PySequence_Check(obj1)) {
5567 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5568 SWIG_fail;
5569 }
5570 arg2 = new wxArrayString;
5571 temp2 = True;
5572 int i, len=PySequence_Length(obj1);
5573 for (i=0; i<len; i++) {
5574 PyObject* item = PySequence_GetItem(obj1, i);
5575 #if wxUSE_UNICODE
5576 PyObject* str = PyObject_Unicode(item);
5577 #else
5578 PyObject* str = PyObject_Str(item);
5579 #endif
5580 if (PyErr_Occurred()) SWIG_fail;
5581 arg2->Add(Py2wxString(str));
5582 Py_DECREF(item);
5583 Py_DECREF(str);
5584 }
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->Set((wxArrayString const &)*arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 {
5595 if (temp2) delete arg2;
5596 }
5597 return resultobj;
5598 fail:
5599 {
5600 if (temp2) delete arg2;
5601 }
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxListBox *arg1 = (wxListBox *) 0 ;
5609 int arg2 ;
5610 bool result;
5611 PyObject * obj0 = 0 ;
5612 PyObject * obj1 = 0 ;
5613 char *kwnames[] = {
5614 (char *) "self",(char *) "n", NULL
5615 };
5616
5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5620 arg2 = (int) SWIG_AsInt(obj1);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 {
5623 PyThreadState* __tstate = wxPyBeginAllowThreads();
5624 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5625
5626 wxPyEndAllowThreads(__tstate);
5627 if (PyErr_Occurred()) SWIG_fail;
5628 }
5629 {
5630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5631 }
5632 return resultobj;
5633 fail:
5634 return NULL;
5635 }
5636
5637
5638 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject *resultobj;
5640 wxListBox *arg1 = (wxListBox *) 0 ;
5641 int arg2 ;
5642 bool arg3 = (bool) True ;
5643 PyObject * obj0 = 0 ;
5644 PyObject * obj1 = 0 ;
5645 PyObject * obj2 = 0 ;
5646 char *kwnames[] = {
5647 (char *) "self",(char *) "n",(char *) "select", NULL
5648 };
5649
5650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5653 arg2 = (int) SWIG_AsInt(obj1);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 if (obj2) {
5656 arg3 = (bool) SWIG_AsBool(obj2);
5657 if (PyErr_Occurred()) SWIG_fail;
5658 }
5659 {
5660 PyThreadState* __tstate = wxPyBeginAllowThreads();
5661 (arg1)->SetSelection(arg2,arg3);
5662
5663 wxPyEndAllowThreads(__tstate);
5664 if (PyErr_Occurred()) SWIG_fail;
5665 }
5666 Py_INCREF(Py_None); resultobj = Py_None;
5667 return resultobj;
5668 fail:
5669 return NULL;
5670 }
5671
5672
5673 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5674 PyObject *resultobj;
5675 wxListBox *arg1 = (wxListBox *) 0 ;
5676 int arg2 ;
5677 PyObject * obj0 = 0 ;
5678 PyObject * obj1 = 0 ;
5679 char *kwnames[] = {
5680 (char *) "self",(char *) "n", NULL
5681 };
5682
5683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5686 arg2 = (int) SWIG_AsInt(obj1);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 (arg1)->Select(arg2);
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 Py_INCREF(Py_None); resultobj = Py_None;
5696 return resultobj;
5697 fail:
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxListBox *arg1 = (wxListBox *) 0 ;
5705 int arg2 ;
5706 PyObject * obj0 = 0 ;
5707 PyObject * obj1 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "n", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5715 arg2 = (int) SWIG_AsInt(obj1);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 {
5718 PyThreadState* __tstate = wxPyBeginAllowThreads();
5719 (arg1)->Deselect(arg2);
5720
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 Py_INCREF(Py_None); resultobj = Py_None;
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj;
5733 wxListBox *arg1 = (wxListBox *) 0 ;
5734 int arg2 = (int) -1 ;
5735 PyObject * obj0 = 0 ;
5736 PyObject * obj1 = 0 ;
5737 char *kwnames[] = {
5738 (char *) "self",(char *) "itemToLeaveSelected", NULL
5739 };
5740
5741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5744 if (obj1) {
5745 arg2 = (int) SWIG_AsInt(obj1);
5746 if (PyErr_Occurred()) SWIG_fail;
5747 }
5748 {
5749 PyThreadState* __tstate = wxPyBeginAllowThreads();
5750 (arg1)->DeselectAll(arg2);
5751
5752 wxPyEndAllowThreads(__tstate);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 Py_INCREF(Py_None); resultobj = Py_None;
5756 return resultobj;
5757 fail:
5758 return NULL;
5759 }
5760
5761
5762 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5763 PyObject *resultobj;
5764 wxListBox *arg1 = (wxListBox *) 0 ;
5765 wxString *arg2 = 0 ;
5766 bool arg3 = (bool) True ;
5767 bool result;
5768 bool temp2 = False ;
5769 PyObject * obj0 = 0 ;
5770 PyObject * obj1 = 0 ;
5771 PyObject * obj2 = 0 ;
5772 char *kwnames[] = {
5773 (char *) "self",(char *) "s",(char *) "select", NULL
5774 };
5775
5776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) 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 if (obj2) {
5785 arg3 = (bool) SWIG_AsBool(obj2);
5786 if (PyErr_Occurred()) SWIG_fail;
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 {
5796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5797 }
5798 {
5799 if (temp2)
5800 delete arg2;
5801 }
5802 return resultobj;
5803 fail:
5804 {
5805 if (temp2)
5806 delete arg2;
5807 }
5808 return NULL;
5809 }
5810
5811
5812 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxListBox *arg1 = (wxListBox *) 0 ;
5815 PyObject *result;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5824 {
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (PyObject *)wxListBox_GetSelections(arg1);
5827
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = result;
5832 return resultobj;
5833 fail:
5834 return NULL;
5835 }
5836
5837
5838 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5839 PyObject *resultobj;
5840 wxListBox *arg1 = (wxListBox *) 0 ;
5841 int arg2 ;
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "n", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5851 arg2 = (int) SWIG_AsInt(obj1);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 {
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 (arg1)->SetFirstItem(arg2);
5856
5857 wxPyEndAllowThreads(__tstate);
5858 if (PyErr_Occurred()) SWIG_fail;
5859 }
5860 Py_INCREF(Py_None); resultobj = Py_None;
5861 return resultobj;
5862 fail:
5863 return NULL;
5864 }
5865
5866
5867 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5868 PyObject *resultobj;
5869 wxListBox *arg1 = (wxListBox *) 0 ;
5870 wxString *arg2 = 0 ;
5871 bool temp2 = False ;
5872 PyObject * obj0 = 0 ;
5873 PyObject * obj1 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "s", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5881 {
5882 arg2 = wxString_in_helper(obj1);
5883 if (arg2 == NULL) SWIG_fail;
5884 temp2 = True;
5885 }
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetFirstItem((wxString const &)*arg2);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 Py_INCREF(Py_None); resultobj = Py_None;
5894 {
5895 if (temp2)
5896 delete arg2;
5897 }
5898 return resultobj;
5899 fail:
5900 {
5901 if (temp2)
5902 delete arg2;
5903 }
5904 return NULL;
5905 }
5906
5907
5908 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxListBox *arg1 = (wxListBox *) 0 ;
5911 int arg2 ;
5912 PyObject * obj0 = 0 ;
5913 PyObject * obj1 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self",(char *) "n", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5921 arg2 = (int) SWIG_AsInt(obj1);
5922 if (PyErr_Occurred()) SWIG_fail;
5923 {
5924 PyThreadState* __tstate = wxPyBeginAllowThreads();
5925 (arg1)->EnsureVisible(arg2);
5926
5927 wxPyEndAllowThreads(__tstate);
5928 if (PyErr_Occurred()) SWIG_fail;
5929 }
5930 Py_INCREF(Py_None); resultobj = Py_None;
5931 return resultobj;
5932 fail:
5933 return NULL;
5934 }
5935
5936
5937 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5938 PyObject *resultobj;
5939 wxListBox *arg1 = (wxListBox *) 0 ;
5940 wxString *arg2 = 0 ;
5941 bool temp2 = False ;
5942 PyObject * obj0 = 0 ;
5943 PyObject * obj1 = 0 ;
5944 char *kwnames[] = {
5945 (char *) "self",(char *) "s", NULL
5946 };
5947
5948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5951 {
5952 arg2 = wxString_in_helper(obj1);
5953 if (arg2 == NULL) SWIG_fail;
5954 temp2 = True;
5955 }
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
5963 Py_INCREF(Py_None); resultobj = Py_None;
5964 {
5965 if (temp2)
5966 delete arg2;
5967 }
5968 return resultobj;
5969 fail:
5970 {
5971 if (temp2)
5972 delete arg2;
5973 }
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxListBox *arg1 = (wxListBox *) 0 ;
5981 bool result;
5982 PyObject * obj0 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 result = (bool)((wxListBox const *)arg1)->IsSorted();
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 {
5998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5999 }
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxListBox *arg1 = (wxListBox *) 0 ;
6009 int arg2 ;
6010 wxColour *arg3 = 0 ;
6011 wxColour temp3 ;
6012 PyObject * obj0 = 0 ;
6013 PyObject * obj1 = 0 ;
6014 PyObject * obj2 = 0 ;
6015 char *kwnames[] = {
6016 (char *) "self",(char *) "item",(char *) "c", NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6022 arg2 = (int) SWIG_AsInt(obj1);
6023 if (PyErr_Occurred()) SWIG_fail;
6024 {
6025 arg3 = &temp3;
6026 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6027 }
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 Py_INCREF(Py_None); resultobj = Py_None;
6036 return resultobj;
6037 fail:
6038 return NULL;
6039 }
6040
6041
6042 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxListBox *arg1 = (wxListBox *) 0 ;
6045 int arg2 ;
6046 wxColour *arg3 = 0 ;
6047 wxColour temp3 ;
6048 PyObject * obj0 = 0 ;
6049 PyObject * obj1 = 0 ;
6050 PyObject * obj2 = 0 ;
6051 char *kwnames[] = {
6052 (char *) "self",(char *) "item",(char *) "c", NULL
6053 };
6054
6055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6058 arg2 = (int) SWIG_AsInt(obj1);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 {
6061 arg3 = &temp3;
6062 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6063 }
6064 {
6065 PyThreadState* __tstate = wxPyBeginAllowThreads();
6066 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6067
6068 wxPyEndAllowThreads(__tstate);
6069 if (PyErr_Occurred()) SWIG_fail;
6070 }
6071 Py_INCREF(Py_None); resultobj = Py_None;
6072 return resultobj;
6073 fail:
6074 return NULL;
6075 }
6076
6077
6078 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6079 PyObject *resultobj;
6080 wxListBox *arg1 = (wxListBox *) 0 ;
6081 int arg2 ;
6082 wxFont *arg3 = 0 ;
6083 PyObject * obj0 = 0 ;
6084 PyObject * obj1 = 0 ;
6085 PyObject * obj2 = 0 ;
6086 char *kwnames[] = {
6087 (char *) "self",(char *) "item",(char *) "f", NULL
6088 };
6089
6090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6093 arg2 = (int) SWIG_AsInt(obj1);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6096 SWIG_POINTER_EXCEPTION | 0)) == -1)
6097 SWIG_fail;
6098 if (arg3 == NULL) {
6099 PyErr_SetString(PyExc_TypeError,"null reference");
6100 SWIG_fail;
6101 }
6102 {
6103 PyThreadState* __tstate = wxPyBeginAllowThreads();
6104 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 Py_INCREF(Py_None); resultobj = Py_None;
6110 return resultobj;
6111 fail:
6112 return NULL;
6113 }
6114
6115
6116 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6117 PyObject *resultobj;
6118 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6119 wxVisualAttributes result;
6120 PyObject * obj0 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "variant", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6126 if (obj0) {
6127 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 {
6131 PyThreadState* __tstate = wxPyBeginAllowThreads();
6132 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6133
6134 wxPyEndAllowThreads(__tstate);
6135 if (PyErr_Occurred()) SWIG_fail;
6136 }
6137 {
6138 wxVisualAttributes * resultptr;
6139 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6141 }
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6149 PyObject *obj;
6150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6151 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6152 Py_INCREF(obj);
6153 return Py_BuildValue((char *)"");
6154 }
6155 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxWindow *arg1 = (wxWindow *) 0 ;
6158 int arg2 ;
6159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6161 wxSize const &arg4_defvalue = wxDefaultSize ;
6162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6163 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6164 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6165 long arg6 = (long) 0 ;
6166 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6167 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6168 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6169 wxString *arg8 = (wxString *) &arg8_defvalue ;
6170 wxCheckListBox *result;
6171 wxPoint temp3 ;
6172 wxSize temp4 ;
6173 bool temp5 = False ;
6174 bool temp8 = False ;
6175 PyObject * obj0 = 0 ;
6176 PyObject * obj1 = 0 ;
6177 PyObject * obj2 = 0 ;
6178 PyObject * obj3 = 0 ;
6179 PyObject * obj4 = 0 ;
6180 PyObject * obj5 = 0 ;
6181 PyObject * obj6 = 0 ;
6182 PyObject * obj7 = 0 ;
6183 char *kwnames[] = {
6184 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6185 };
6186
6187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6190 arg2 = (int) SWIG_AsInt(obj1);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 if (obj2) {
6193 {
6194 arg3 = &temp3;
6195 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6196 }
6197 }
6198 if (obj3) {
6199 {
6200 arg4 = &temp4;
6201 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6202 }
6203 }
6204 if (obj4) {
6205 {
6206 if (! PySequence_Check(obj4)) {
6207 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6208 SWIG_fail;
6209 }
6210 arg5 = new wxArrayString;
6211 temp5 = True;
6212 int i, len=PySequence_Length(obj4);
6213 for (i=0; i<len; i++) {
6214 PyObject* item = PySequence_GetItem(obj4, i);
6215 #if wxUSE_UNICODE
6216 PyObject* str = PyObject_Unicode(item);
6217 #else
6218 PyObject* str = PyObject_Str(item);
6219 #endif
6220 if (PyErr_Occurred()) SWIG_fail;
6221 arg5->Add(Py2wxString(str));
6222 Py_DECREF(item);
6223 Py_DECREF(str);
6224 }
6225 }
6226 }
6227 if (obj5) {
6228 arg6 = (long) SWIG_AsLong(obj5);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 if (obj6) {
6232 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1)
6234 SWIG_fail;
6235 if (arg7 == NULL) {
6236 PyErr_SetString(PyExc_TypeError,"null reference");
6237 SWIG_fail;
6238 }
6239 }
6240 if (obj7) {
6241 {
6242 arg8 = wxString_in_helper(obj7);
6243 if (arg8 == NULL) SWIG_fail;
6244 temp8 = True;
6245 }
6246 }
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6255 {
6256 if (temp5) delete arg5;
6257 }
6258 {
6259 if (temp8)
6260 delete arg8;
6261 }
6262 return resultobj;
6263 fail:
6264 {
6265 if (temp5) delete arg5;
6266 }
6267 {
6268 if (temp8)
6269 delete arg8;
6270 }
6271 return NULL;
6272 }
6273
6274
6275 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxCheckListBox *result;
6278 char *kwnames[] = {
6279 NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6283 {
6284 PyThreadState* __tstate = wxPyBeginAllowThreads();
6285 result = (wxCheckListBox *)new wxCheckListBox();
6286
6287 wxPyEndAllowThreads(__tstate);
6288 if (PyErr_Occurred()) SWIG_fail;
6289 }
6290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6291 return resultobj;
6292 fail:
6293 return NULL;
6294 }
6295
6296
6297 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6298 PyObject *resultobj;
6299 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6300 wxWindow *arg2 = (wxWindow *) 0 ;
6301 int arg3 ;
6302 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6303 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6304 wxSize const &arg5_defvalue = wxDefaultSize ;
6305 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6306 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6307 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6308 long arg7 = (long) 0 ;
6309 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6310 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6311 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6312 wxString *arg9 = (wxString *) &arg9_defvalue ;
6313 bool result;
6314 wxPoint temp4 ;
6315 wxSize temp5 ;
6316 bool temp6 = False ;
6317 bool temp9 = False ;
6318 PyObject * obj0 = 0 ;
6319 PyObject * obj1 = 0 ;
6320 PyObject * obj2 = 0 ;
6321 PyObject * obj3 = 0 ;
6322 PyObject * obj4 = 0 ;
6323 PyObject * obj5 = 0 ;
6324 PyObject * obj6 = 0 ;
6325 PyObject * obj7 = 0 ;
6326 PyObject * obj8 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6336 arg3 = (int) SWIG_AsInt(obj2);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 if (obj3) {
6339 {
6340 arg4 = &temp4;
6341 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6342 }
6343 }
6344 if (obj4) {
6345 {
6346 arg5 = &temp5;
6347 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6348 }
6349 }
6350 if (obj5) {
6351 {
6352 if (! PySequence_Check(obj5)) {
6353 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6354 SWIG_fail;
6355 }
6356 arg6 = new wxArrayString;
6357 temp6 = True;
6358 int i, len=PySequence_Length(obj5);
6359 for (i=0; i<len; i++) {
6360 PyObject* item = PySequence_GetItem(obj5, i);
6361 #if wxUSE_UNICODE
6362 PyObject* str = PyObject_Unicode(item);
6363 #else
6364 PyObject* str = PyObject_Str(item);
6365 #endif
6366 if (PyErr_Occurred()) SWIG_fail;
6367 arg6->Add(Py2wxString(str));
6368 Py_DECREF(item);
6369 Py_DECREF(str);
6370 }
6371 }
6372 }
6373 if (obj6) {
6374 arg7 = (long) SWIG_AsLong(obj6);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
6377 if (obj7) {
6378 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6379 SWIG_POINTER_EXCEPTION | 0)) == -1)
6380 SWIG_fail;
6381 if (arg8 == NULL) {
6382 PyErr_SetString(PyExc_TypeError,"null reference");
6383 SWIG_fail;
6384 }
6385 }
6386 if (obj8) {
6387 {
6388 arg9 = wxString_in_helper(obj8);
6389 if (arg9 == NULL) SWIG_fail;
6390 temp9 = True;
6391 }
6392 }
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
6400 {
6401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6402 }
6403 {
6404 if (temp6) delete arg6;
6405 }
6406 {
6407 if (temp9)
6408 delete arg9;
6409 }
6410 return resultobj;
6411 fail:
6412 {
6413 if (temp6) delete arg6;
6414 }
6415 {
6416 if (temp9)
6417 delete arg9;
6418 }
6419 return NULL;
6420 }
6421
6422
6423 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6424 PyObject *resultobj;
6425 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6426 int arg2 ;
6427 bool result;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self",(char *) "index", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6437 arg2 = (int) SWIG_AsInt(obj1);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 result = (bool)(arg1)->IsChecked(arg2);
6442
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 {
6447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6448 }
6449 return resultobj;
6450 fail:
6451 return NULL;
6452 }
6453
6454
6455 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6456 PyObject *resultobj;
6457 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6458 int arg2 ;
6459 int arg3 = (int) True ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 PyObject * obj2 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "index",(char *) "check", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6470 arg2 = (int) SWIG_AsInt(obj1);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 if (obj2) {
6473 arg3 = (int) SWIG_AsInt(obj2);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->Check(arg2,arg3);
6479
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 Py_INCREF(Py_None); resultobj = Py_None;
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj;
6492 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6493 int result;
6494 PyObject * obj0 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6502 {
6503 PyThreadState* __tstate = wxPyBeginAllowThreads();
6504 result = (int)(arg1)->GetItemHeight();
6505
6506 wxPyEndAllowThreads(__tstate);
6507 if (PyErr_Occurred()) SWIG_fail;
6508 }
6509 resultobj = SWIG_FromInt((int)result);
6510 return resultobj;
6511 fail:
6512 return NULL;
6513 }
6514
6515
6516 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6517 PyObject *resultobj;
6518 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6519 wxPoint *arg2 = 0 ;
6520 int result;
6521 wxPoint temp2 ;
6522 PyObject * obj0 = 0 ;
6523 PyObject * obj1 = 0 ;
6524 char *kwnames[] = {
6525 (char *) "self",(char *) "pt", NULL
6526 };
6527
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6531 {
6532 arg2 = &temp2;
6533 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6534 }
6535 {
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 resultobj = SWIG_FromInt((int)result);
6543 return resultobj;
6544 fail:
6545 return NULL;
6546 }
6547
6548
6549 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6550 PyObject *resultobj;
6551 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6552 int arg2 ;
6553 int arg3 ;
6554 int result;
6555 PyObject * obj0 = 0 ;
6556 PyObject * obj1 = 0 ;
6557 PyObject * obj2 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self",(char *) "x",(char *) "y", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6565 arg2 = (int) SWIG_AsInt(obj1);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 arg3 = (int) SWIG_AsInt(obj2);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 resultobj = SWIG_FromInt((int)result);
6577 return resultobj;
6578 fail:
6579 return NULL;
6580 }
6581
6582
6583 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6584 PyObject *obj;
6585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6586 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6587 Py_INCREF(obj);
6588 return Py_BuildValue((char *)"");
6589 }
6590 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6591 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6592 return 1;
6593 }
6594
6595
6596 static PyObject *_wrap_TextCtrlNameStr_get() {
6597 PyObject *pyobj;
6598
6599 {
6600 #if wxUSE_UNICODE
6601 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6602 #else
6603 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6604 #endif
6605 }
6606 return pyobj;
6607 }
6608
6609
6610 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6611 PyObject *resultobj;
6612 wxTextAttr *result;
6613
6614 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6615 {
6616 PyThreadState* __tstate = wxPyBeginAllowThreads();
6617 result = (wxTextAttr *)new wxTextAttr();
6618
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6623 return resultobj;
6624 fail:
6625 return NULL;
6626 }
6627
6628
6629 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6630 PyObject *resultobj;
6631 wxColour *arg1 = 0 ;
6632 wxColour const &arg2_defvalue = wxNullColour ;
6633 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6634 wxFont const &arg3_defvalue = wxNullFont ;
6635 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6636 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6637 wxTextAttr *result;
6638 wxColour temp1 ;
6639 wxColour temp2 ;
6640 PyObject * obj0 = 0 ;
6641 PyObject * obj1 = 0 ;
6642 PyObject * obj2 = 0 ;
6643 PyObject * obj3 = 0 ;
6644
6645 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6646 {
6647 arg1 = &temp1;
6648 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6649 }
6650 if (obj1) {
6651 {
6652 arg2 = &temp2;
6653 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6654 }
6655 }
6656 if (obj2) {
6657 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6658 SWIG_POINTER_EXCEPTION | 0)) == -1)
6659 SWIG_fail;
6660 if (arg3 == NULL) {
6661 PyErr_SetString(PyExc_TypeError,"null reference");
6662 SWIG_fail;
6663 }
6664 }
6665 if (obj3) {
6666 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6672
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6684 int argc;
6685 PyObject *argv[5];
6686 int ii;
6687
6688 argc = PyObject_Length(args);
6689 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6690 argv[ii] = PyTuple_GetItem(args,ii);
6691 }
6692 if (argc == 0) {
6693 return _wrap_new_TextAttr__SWIG_0(self,args);
6694 }
6695 if ((argc >= 1) && (argc <= 4)) {
6696 int _v;
6697 {
6698 _v = wxColour_typecheck(argv[0]);
6699 }
6700 if (_v) {
6701 if (argc <= 1) {
6702 return _wrap_new_TextAttr__SWIG_1(self,args);
6703 }
6704 {
6705 _v = wxColour_typecheck(argv[1]);
6706 }
6707 if (_v) {
6708 if (argc <= 2) {
6709 return _wrap_new_TextAttr__SWIG_1(self,args);
6710 }
6711 {
6712 void *ptr;
6713 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6714 _v = 0;
6715 PyErr_Clear();
6716 } else {
6717 _v = 1;
6718 }
6719 }
6720 if (_v) {
6721 if (argc <= 3) {
6722 return _wrap_new_TextAttr__SWIG_1(self,args);
6723 }
6724 _v = SWIG_CheckInt(argv[3]);
6725 if (_v) {
6726 return _wrap_new_TextAttr__SWIG_1(self,args);
6727 }
6728 }
6729 }
6730 }
6731 }
6732
6733 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6734 return NULL;
6735 }
6736
6737
6738 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj;
6740 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6741 PyObject * obj0 = 0 ;
6742 char *kwnames[] = {
6743 (char *) "self", NULL
6744 };
6745
6746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 delete arg1;
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 Py_INCREF(Py_None); resultobj = Py_None;
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->Init();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6791 wxColour *arg2 = 0 ;
6792 wxColour temp2 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 char *kwnames[] = {
6796 (char *) "self",(char *) "colText", NULL
6797 };
6798
6799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6802 {
6803 arg2 = &temp2;
6804 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6805 }
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 (arg1)->SetTextColour((wxColour const &)*arg2);
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 Py_INCREF(Py_None); resultobj = Py_None;
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6823 wxColour *arg2 = 0 ;
6824 wxColour temp2 ;
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj1 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "colBack", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6834 {
6835 arg2 = &temp2;
6836 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 Py_INCREF(Py_None); resultobj = Py_None;
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6855 wxFont *arg2 = 0 ;
6856 long arg3 = (long) wxTEXT_ATTR_FONT ;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj1 = 0 ;
6859 PyObject * obj2 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self",(char *) "font",(char *) "flags", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6867 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6868 SWIG_POINTER_EXCEPTION | 0)) == -1)
6869 SWIG_fail;
6870 if (arg2 == NULL) {
6871 PyErr_SetString(PyExc_TypeError,"null reference");
6872 SWIG_fail;
6873 }
6874 if (obj2) {
6875 arg3 = (long) SWIG_AsLong(obj2);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6895 int arg2 ;
6896 PyObject * obj0 = 0 ;
6897 PyObject * obj1 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "alignment", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6905 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6906 if (PyErr_Occurred()) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 Py_INCREF(Py_None); resultobj = Py_None;
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj;
6923 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6924 wxArrayInt *arg2 = 0 ;
6925 bool temp2 = False ;
6926 PyObject * obj0 = 0 ;
6927 PyObject * obj1 = 0 ;
6928 char *kwnames[] = {
6929 (char *) "self",(char *) "tabs", NULL
6930 };
6931
6932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6935 {
6936 if (! PySequence_Check(obj1)) {
6937 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6938 SWIG_fail;
6939 }
6940 arg2 = new wxArrayInt;
6941 temp2 = True;
6942 int i, len=PySequence_Length(obj1);
6943 for (i=0; i<len; i++) {
6944 PyObject* item = PySequence_GetItem(obj1, i);
6945 PyObject* number = PyNumber_Int(item);
6946 arg2->Add(PyInt_AS_LONG(number));
6947 Py_DECREF(item);
6948 Py_DECREF(number);
6949 }
6950 }
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 Py_INCREF(Py_None); resultobj = Py_None;
6959 {
6960 if (temp2) delete arg2;
6961 }
6962 return resultobj;
6963 fail:
6964 {
6965 if (temp2) delete arg2;
6966 }
6967 return NULL;
6968 }
6969
6970
6971 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6974 int arg2 ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj1 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self",(char *) "indent", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6984 arg2 = (int) SWIG_AsInt(obj1);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 (arg1)->SetLeftIndent(arg2);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 Py_INCREF(Py_None); resultobj = Py_None;
6994 return resultobj;
6995 fail:
6996 return NULL;
6997 }
6998
6999
7000 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7003 int arg2 ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self",(char *) "indent", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7013 arg2 = (int) SWIG_AsInt(obj1);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->SetRightIndent(arg2);
7018
7019 wxPyEndAllowThreads(__tstate);
7020 if (PyErr_Occurred()) SWIG_fail;
7021 }
7022 Py_INCREF(Py_None); resultobj = Py_None;
7023 return resultobj;
7024 fail:
7025 return NULL;
7026 }
7027
7028
7029 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7032 long arg2 ;
7033 PyObject * obj0 = 0 ;
7034 PyObject * obj1 = 0 ;
7035 char *kwnames[] = {
7036 (char *) "self",(char *) "flags", NULL
7037 };
7038
7039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7042 arg2 = (long) SWIG_AsLong(obj1);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 {
7045 PyThreadState* __tstate = wxPyBeginAllowThreads();
7046 (arg1)->SetFlags(arg2);
7047
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 Py_INCREF(Py_None); resultobj = Py_None;
7052 return resultobj;
7053 fail:
7054 return NULL;
7055 }
7056
7057
7058 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7059 PyObject *resultobj;
7060 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7061 bool result;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",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 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 {
7078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7079 }
7080 return resultobj;
7081 fail:
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7089 bool result;
7090 PyObject * obj0 = 0 ;
7091 char *kwnames[] = {
7092 (char *) "self", NULL
7093 };
7094
7095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7101
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 {
7106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7107 }
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7117 bool result;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 {
7134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7135 }
7136 return resultobj;
7137 fail:
7138 return NULL;
7139 }
7140
7141
7142 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7143 PyObject *resultobj;
7144 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7145 bool result;
7146 PyObject * obj0 = 0 ;
7147 char *kwnames[] = {
7148 (char *) "self", NULL
7149 };
7150
7151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7154 {
7155 PyThreadState* __tstate = wxPyBeginAllowThreads();
7156 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7157
7158 wxPyEndAllowThreads(__tstate);
7159 if (PyErr_Occurred()) SWIG_fail;
7160 }
7161 {
7162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7163 }
7164 return resultobj;
7165 fail:
7166 return NULL;
7167 }
7168
7169
7170 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj;
7172 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7173 bool result;
7174 PyObject * obj0 = 0 ;
7175 char *kwnames[] = {
7176 (char *) "self", NULL
7177 };
7178
7179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 {
7190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7191 }
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj;
7200 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7201 bool result;
7202 PyObject * obj0 = 0 ;
7203 char *kwnames[] = {
7204 (char *) "self", NULL
7205 };
7206
7207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 {
7218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7219 }
7220 return resultobj;
7221 fail:
7222 return NULL;
7223 }
7224
7225
7226 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7227 PyObject *resultobj;
7228 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7229 bool result;
7230 PyObject * obj0 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "self", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 {
7246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7247 }
7248 return resultobj;
7249 fail:
7250 return NULL;
7251 }
7252
7253
7254 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7257 long arg2 ;
7258 bool result;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "flag", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7268 arg2 = (long) SWIG_AsLong(obj1);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7273
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 {
7278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7279 }
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7289 wxColour *result;
7290 PyObject * obj0 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7298 {
7299 PyThreadState* __tstate = wxPyBeginAllowThreads();
7300 {
7301 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7302 result = (wxColour *) &_result_ref;
7303 }
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7309 return resultobj;
7310 fail:
7311 return NULL;
7312 }
7313
7314
7315 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7318 wxColour *result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 {
7330 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7331 result = (wxColour *) &_result_ref;
7332 }
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7338 return resultobj;
7339 fail:
7340 return NULL;
7341 }
7342
7343
7344 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7345 PyObject *resultobj;
7346 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7347 wxFont *result;
7348 PyObject * obj0 = 0 ;
7349 char *kwnames[] = {
7350 (char *) "self", NULL
7351 };
7352
7353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 {
7359 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7360 result = (wxFont *) &_result_ref;
7361 }
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 {
7367 wxFont* resultptr = new wxFont(*result);
7368 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7369 }
7370 return resultobj;
7371 fail:
7372 return NULL;
7373 }
7374
7375
7376 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7379 int result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7388 {
7389 PyThreadState* __tstate = wxPyBeginAllowThreads();
7390 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 resultobj = SWIG_FromInt((int)result);
7396 return resultobj;
7397 fail:
7398 return NULL;
7399 }
7400
7401
7402 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7405 wxArrayInt *result;
7406 PyObject * obj0 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "self", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 {
7417 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7418 result = (wxArrayInt *) &_result_ref;
7419 }
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 {
7425 resultobj = PyList_New(0);
7426 size_t idx;
7427 for (idx = 0; idx < result->GetCount(); idx += 1) {
7428 PyObject* val = PyInt_FromLong( result->Item(idx) );
7429 PyList_Append(resultobj, val);
7430 Py_DECREF(val);
7431 }
7432 }
7433 return resultobj;
7434 fail:
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7442 long result;
7443 PyObject * obj0 = 0 ;
7444 char *kwnames[] = {
7445 (char *) "self", NULL
7446 };
7447
7448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = SWIG_FromLong((long)result);
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7468 long result;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7477 {
7478 PyThreadState* __tstate = wxPyBeginAllowThreads();
7479 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7480
7481 wxPyEndAllowThreads(__tstate);
7482 if (PyErr_Occurred()) SWIG_fail;
7483 }
7484 resultobj = SWIG_FromLong((long)result);
7485 return resultobj;
7486 fail:
7487 return NULL;
7488 }
7489
7490
7491 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7492 PyObject *resultobj;
7493 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7494 long result;
7495 PyObject * obj0 = 0 ;
7496 char *kwnames[] = {
7497 (char *) "self", NULL
7498 };
7499
7500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7503 {
7504 PyThreadState* __tstate = wxPyBeginAllowThreads();
7505 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7506
7507 wxPyEndAllowThreads(__tstate);
7508 if (PyErr_Occurred()) SWIG_fail;
7509 }
7510 resultobj = SWIG_FromLong((long)result);
7511 return resultobj;
7512 fail:
7513 return NULL;
7514 }
7515
7516
7517 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7518 PyObject *resultobj;
7519 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7520 bool result;
7521 PyObject * obj0 = 0 ;
7522 char *kwnames[] = {
7523 (char *) "self", NULL
7524 };
7525
7526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 {
7537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7538 }
7539 return resultobj;
7540 fail:
7541 return NULL;
7542 }
7543
7544
7545 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxTextAttr *arg1 = 0 ;
7548 wxTextAttr *arg2 = 0 ;
7549 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7550 wxTextAttr result;
7551 PyObject * obj0 = 0 ;
7552 PyObject * obj1 = 0 ;
7553 PyObject * obj2 = 0 ;
7554 char *kwnames[] = {
7555 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7556 };
7557
7558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7560 SWIG_POINTER_EXCEPTION | 0)) == -1)
7561 SWIG_fail;
7562 if (arg1 == NULL) {
7563 PyErr_SetString(PyExc_TypeError,"null reference");
7564 SWIG_fail;
7565 }
7566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7567 SWIG_POINTER_EXCEPTION | 0)) == -1)
7568 SWIG_fail;
7569 if (arg2 == NULL) {
7570 PyErr_SetString(PyExc_TypeError,"null reference");
7571 SWIG_fail;
7572 }
7573 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 {
7583 wxTextAttr * resultptr;
7584 resultptr = new wxTextAttr((wxTextAttr &) result);
7585 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7586 }
7587 return resultobj;
7588 fail:
7589 return NULL;
7590 }
7591
7592
7593 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7594 PyObject *obj;
7595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7596 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7597 Py_INCREF(obj);
7598 return Py_BuildValue((char *)"");
7599 }
7600 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxWindow *arg1 = (wxWindow *) 0 ;
7603 int arg2 ;
7604 wxString const &arg3_defvalue = wxPyEmptyString ;
7605 wxString *arg3 = (wxString *) &arg3_defvalue ;
7606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7608 wxSize const &arg5_defvalue = wxDefaultSize ;
7609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7610 long arg6 = (long) 0 ;
7611 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7612 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7613 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7614 wxString *arg8 = (wxString *) &arg8_defvalue ;
7615 wxTextCtrl *result;
7616 bool temp3 = False ;
7617 wxPoint temp4 ;
7618 wxSize temp5 ;
7619 bool temp8 = False ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 PyObject * obj2 = 0 ;
7623 PyObject * obj3 = 0 ;
7624 PyObject * obj4 = 0 ;
7625 PyObject * obj5 = 0 ;
7626 PyObject * obj6 = 0 ;
7627 PyObject * obj7 = 0 ;
7628 char *kwnames[] = {
7629 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7630 };
7631
7632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7635 arg2 = (int) SWIG_AsInt(obj1);
7636 if (PyErr_Occurred()) SWIG_fail;
7637 if (obj2) {
7638 {
7639 arg3 = wxString_in_helper(obj2);
7640 if (arg3 == NULL) SWIG_fail;
7641 temp3 = True;
7642 }
7643 }
7644 if (obj3) {
7645 {
7646 arg4 = &temp4;
7647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7648 }
7649 }
7650 if (obj4) {
7651 {
7652 arg5 = &temp5;
7653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7654 }
7655 }
7656 if (obj5) {
7657 arg6 = (long) SWIG_AsLong(obj5);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 if (obj6) {
7661 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7662 SWIG_POINTER_EXCEPTION | 0)) == -1)
7663 SWIG_fail;
7664 if (arg7 == NULL) {
7665 PyErr_SetString(PyExc_TypeError,"null reference");
7666 SWIG_fail;
7667 }
7668 }
7669 if (obj7) {
7670 {
7671 arg8 = wxString_in_helper(obj7);
7672 if (arg8 == NULL) SWIG_fail;
7673 temp8 = True;
7674 }
7675 }
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 {
7684 resultobj = wxPyMake_wxObject(result);
7685 }
7686 {
7687 if (temp3)
7688 delete arg3;
7689 }
7690 {
7691 if (temp8)
7692 delete arg8;
7693 }
7694 return resultobj;
7695 fail:
7696 {
7697 if (temp3)
7698 delete arg3;
7699 }
7700 {
7701 if (temp8)
7702 delete arg8;
7703 }
7704 return NULL;
7705 }
7706
7707
7708 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7709 PyObject *resultobj;
7710 wxTextCtrl *result;
7711 char *kwnames[] = {
7712 NULL
7713 };
7714
7715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 result = (wxTextCtrl *)new wxTextCtrl();
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 {
7724 resultobj = wxPyMake_wxObject(result);
7725 }
7726 return resultobj;
7727 fail:
7728 return NULL;
7729 }
7730
7731
7732 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7733 PyObject *resultobj;
7734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7735 wxWindow *arg2 = (wxWindow *) 0 ;
7736 int arg3 ;
7737 wxString const &arg4_defvalue = wxPyEmptyString ;
7738 wxString *arg4 = (wxString *) &arg4_defvalue ;
7739 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7740 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7741 wxSize const &arg6_defvalue = wxDefaultSize ;
7742 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7743 long arg7 = (long) 0 ;
7744 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7745 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7746 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7747 wxString *arg9 = (wxString *) &arg9_defvalue ;
7748 bool result;
7749 bool temp4 = False ;
7750 wxPoint temp5 ;
7751 wxSize temp6 ;
7752 bool temp9 = False ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 PyObject * obj3 = 0 ;
7757 PyObject * obj4 = 0 ;
7758 PyObject * obj5 = 0 ;
7759 PyObject * obj6 = 0 ;
7760 PyObject * obj7 = 0 ;
7761 PyObject * obj8 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7771 arg3 = (int) SWIG_AsInt(obj2);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 if (obj3) {
7774 {
7775 arg4 = wxString_in_helper(obj3);
7776 if (arg4 == NULL) SWIG_fail;
7777 temp4 = True;
7778 }
7779 }
7780 if (obj4) {
7781 {
7782 arg5 = &temp5;
7783 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7784 }
7785 }
7786 if (obj5) {
7787 {
7788 arg6 = &temp6;
7789 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7790 }
7791 }
7792 if (obj6) {
7793 arg7 = (long) SWIG_AsLong(obj6);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 if (obj7) {
7797 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7798 SWIG_POINTER_EXCEPTION | 0)) == -1)
7799 SWIG_fail;
7800 if (arg8 == NULL) {
7801 PyErr_SetString(PyExc_TypeError,"null reference");
7802 SWIG_fail;
7803 }
7804 }
7805 if (obj8) {
7806 {
7807 arg9 = wxString_in_helper(obj8);
7808 if (arg9 == NULL) SWIG_fail;
7809 temp9 = True;
7810 }
7811 }
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 {
7820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7821 }
7822 {
7823 if (temp4)
7824 delete arg4;
7825 }
7826 {
7827 if (temp9)
7828 delete arg9;
7829 }
7830 return resultobj;
7831 fail:
7832 {
7833 if (temp4)
7834 delete arg4;
7835 }
7836 {
7837 if (temp9)
7838 delete arg9;
7839 }
7840 return NULL;
7841 }
7842
7843
7844 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7845 PyObject *resultobj;
7846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7847 wxString result;
7848 PyObject * obj0 = 0 ;
7849 char *kwnames[] = {
7850 (char *) "self", NULL
7851 };
7852
7853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7856 {
7857 PyThreadState* __tstate = wxPyBeginAllowThreads();
7858 result = ((wxTextCtrl const *)arg1)->GetValue();
7859
7860 wxPyEndAllowThreads(__tstate);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 {
7864 #if wxUSE_UNICODE
7865 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7866 #else
7867 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7868 #endif
7869 }
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7879 wxString *arg2 = 0 ;
7880 bool temp2 = False ;
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "value", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7890 {
7891 arg2 = wxString_in_helper(obj1);
7892 if (arg2 == NULL) SWIG_fail;
7893 temp2 = True;
7894 }
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 (arg1)->SetValue((wxString const &)*arg2);
7898
7899 wxPyEndAllowThreads(__tstate);
7900 if (PyErr_Occurred()) SWIG_fail;
7901 }
7902 Py_INCREF(Py_None); resultobj = Py_None;
7903 {
7904 if (temp2)
7905 delete arg2;
7906 }
7907 return resultobj;
7908 fail:
7909 {
7910 if (temp2)
7911 delete arg2;
7912 }
7913 return NULL;
7914 }
7915
7916
7917 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7920 long arg2 ;
7921 long arg3 ;
7922 wxString result;
7923 PyObject * obj0 = 0 ;
7924 PyObject * obj1 = 0 ;
7925 PyObject * obj2 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self",(char *) "from",(char *) "to", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7933 arg2 = (long) SWIG_AsLong(obj1);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 arg3 = (long) SWIG_AsLong(obj2);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 {
7945 #if wxUSE_UNICODE
7946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7947 #else
7948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7949 #endif
7950 }
7951 return resultobj;
7952 fail:
7953 return NULL;
7954 }
7955
7956
7957 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7960 long arg2 ;
7961 int result;
7962 PyObject * obj0 = 0 ;
7963 PyObject * obj1 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self",(char *) "lineNo", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7971 arg2 = (long) SWIG_AsLong(obj1);
7972 if (PyErr_Occurred()) SWIG_fail;
7973 {
7974 PyThreadState* __tstate = wxPyBeginAllowThreads();
7975 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7976
7977 wxPyEndAllowThreads(__tstate);
7978 if (PyErr_Occurred()) SWIG_fail;
7979 }
7980 resultobj = SWIG_FromInt((int)result);
7981 return resultobj;
7982 fail:
7983 return NULL;
7984 }
7985
7986
7987 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7988 PyObject *resultobj;
7989 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7990 long arg2 ;
7991 wxString result;
7992 PyObject * obj0 = 0 ;
7993 PyObject * obj1 = 0 ;
7994 char *kwnames[] = {
7995 (char *) "self",(char *) "lineNo", NULL
7996 };
7997
7998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8001 arg2 = (long) SWIG_AsLong(obj1);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 {
8011 #if wxUSE_UNICODE
8012 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8013 #else
8014 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8015 #endif
8016 }
8017 return resultobj;
8018 fail:
8019 return NULL;
8020 }
8021
8022
8023 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8024 PyObject *resultobj;
8025 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8026 int result;
8027 PyObject * obj0 = 0 ;
8028 char *kwnames[] = {
8029 (char *) "self", NULL
8030 };
8031
8032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8035 {
8036 PyThreadState* __tstate = wxPyBeginAllowThreads();
8037 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8038
8039 wxPyEndAllowThreads(__tstate);
8040 if (PyErr_Occurred()) SWIG_fail;
8041 }
8042 resultobj = SWIG_FromInt((int)result);
8043 return resultobj;
8044 fail:
8045 return NULL;
8046 }
8047
8048
8049 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8050 PyObject *resultobj;
8051 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8052 bool result;
8053 PyObject * obj0 = 0 ;
8054 char *kwnames[] = {
8055 (char *) "self", NULL
8056 };
8057
8058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 {
8069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8070 }
8071 return resultobj;
8072 fail:
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8080 bool result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8098 }
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8108 bool result;
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 {
8125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8126 }
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject *resultobj;
8135 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8136 bool result;
8137 PyObject * obj0 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8148
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 {
8153 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8154 }
8155 return resultobj;
8156 fail:
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8164 long *arg2 = (long *) 0 ;
8165 long *arg3 = (long *) 0 ;
8166 long temp2 ;
8167 long temp3 ;
8168 PyObject * obj0 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self", NULL
8171 };
8172
8173 arg2 = &temp2;
8174 arg3 = &temp3;
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8181
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 Py_INCREF(Py_None); resultobj = Py_None;
8186 {
8187 PyObject *o = PyInt_FromLong((long) (*arg2));
8188 resultobj = t_output_helper(resultobj,o);
8189 }
8190 {
8191 PyObject *o = PyInt_FromLong((long) (*arg3));
8192 resultobj = t_output_helper(resultobj,o);
8193 }
8194 return resultobj;
8195 fail:
8196 return NULL;
8197 }
8198
8199
8200 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8201 PyObject *resultobj;
8202 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8203 wxString result;
8204 PyObject * obj0 = 0 ;
8205 char *kwnames[] = {
8206 (char *) "self", NULL
8207 };
8208
8209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8212 {
8213 PyThreadState* __tstate = wxPyBeginAllowThreads();
8214 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8215
8216 wxPyEndAllowThreads(__tstate);
8217 if (PyErr_Occurred()) SWIG_fail;
8218 }
8219 {
8220 #if wxUSE_UNICODE
8221 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8222 #else
8223 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8224 #endif
8225 }
8226 return resultobj;
8227 fail:
8228 return NULL;
8229 }
8230
8231
8232 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8233 PyObject *resultobj;
8234 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8235 PyObject * obj0 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "self", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 (arg1)->Clear();
8246
8247 wxPyEndAllowThreads(__tstate);
8248 if (PyErr_Occurred()) SWIG_fail;
8249 }
8250 Py_INCREF(Py_None); resultobj = Py_None;
8251 return resultobj;
8252 fail:
8253 return NULL;
8254 }
8255
8256
8257 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj;
8259 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8260 long arg2 ;
8261 long arg3 ;
8262 wxString *arg4 = 0 ;
8263 bool temp4 = False ;
8264 PyObject * obj0 = 0 ;
8265 PyObject * obj1 = 0 ;
8266 PyObject * obj2 = 0 ;
8267 PyObject * obj3 = 0 ;
8268 char *kwnames[] = {
8269 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8270 };
8271
8272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8275 arg2 = (long) SWIG_AsLong(obj1);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 arg3 = (long) SWIG_AsLong(obj2);
8278 if (PyErr_Occurred()) SWIG_fail;
8279 {
8280 arg4 = wxString_in_helper(obj3);
8281 if (arg4 == NULL) SWIG_fail;
8282 temp4 = True;
8283 }
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 Py_INCREF(Py_None); resultobj = Py_None;
8292 {
8293 if (temp4)
8294 delete arg4;
8295 }
8296 return resultobj;
8297 fail:
8298 {
8299 if (temp4)
8300 delete arg4;
8301 }
8302 return NULL;
8303 }
8304
8305
8306 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8307 PyObject *resultobj;
8308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8309 long arg2 ;
8310 long arg3 ;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj1 = 0 ;
8313 PyObject * obj2 = 0 ;
8314 char *kwnames[] = {
8315 (char *) "self",(char *) "from",(char *) "to", NULL
8316 };
8317
8318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8321 arg2 = (long) SWIG_AsLong(obj1);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 arg3 = (long) SWIG_AsLong(obj2);
8324 if (PyErr_Occurred()) SWIG_fail;
8325 {
8326 PyThreadState* __tstate = wxPyBeginAllowThreads();
8327 (arg1)->Remove(arg2,arg3);
8328
8329 wxPyEndAllowThreads(__tstate);
8330 if (PyErr_Occurred()) SWIG_fail;
8331 }
8332 Py_INCREF(Py_None); resultobj = Py_None;
8333 return resultobj;
8334 fail:
8335 return NULL;
8336 }
8337
8338
8339 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject *resultobj;
8341 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8342 wxString *arg2 = 0 ;
8343 bool result;
8344 bool temp2 = False ;
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "self",(char *) "file", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8354 {
8355 arg2 = wxString_in_helper(obj1);
8356 if (arg2 == NULL) SWIG_fail;
8357 temp2 = True;
8358 }
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 {
8367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8368 }
8369 {
8370 if (temp2)
8371 delete arg2;
8372 }
8373 return resultobj;
8374 fail:
8375 {
8376 if (temp2)
8377 delete arg2;
8378 }
8379 return NULL;
8380 }
8381
8382
8383 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8384 PyObject *resultobj;
8385 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8386 wxString const &arg2_defvalue = wxPyEmptyString ;
8387 wxString *arg2 = (wxString *) &arg2_defvalue ;
8388 bool result;
8389 bool temp2 = False ;
8390 PyObject * obj0 = 0 ;
8391 PyObject * obj1 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self",(char *) "file", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8399 if (obj1) {
8400 {
8401 arg2 = wxString_in_helper(obj1);
8402 if (arg2 == NULL) SWIG_fail;
8403 temp2 = True;
8404 }
8405 }
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8415 }
8416 {
8417 if (temp2)
8418 delete arg2;
8419 }
8420 return resultobj;
8421 fail:
8422 {
8423 if (temp2)
8424 delete arg2;
8425 }
8426 return NULL;
8427 }
8428
8429
8430 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8431 PyObject *resultobj;
8432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8433 PyObject * obj0 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 (arg1)->MarkDirty();
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 Py_INCREF(Py_None); resultobj = Py_None;
8449 return resultobj;
8450 fail:
8451 return NULL;
8452 }
8453
8454
8455 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj;
8457 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8458 PyObject * obj0 = 0 ;
8459 char *kwnames[] = {
8460 (char *) "self", NULL
8461 };
8462
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->DiscardEdits();
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 return resultobj;
8475 fail:
8476 return NULL;
8477 }
8478
8479
8480 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8483 unsigned long arg2 ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "self",(char *) "len", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8493 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 (arg1)->SetMaxLength(arg2);
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 Py_INCREF(Py_None); resultobj = Py_None;
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8512 wxString *arg2 = 0 ;
8513 bool temp2 = False ;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self",(char *) "text", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8523 {
8524 arg2 = wxString_in_helper(obj1);
8525 if (arg2 == NULL) SWIG_fail;
8526 temp2 = True;
8527 }
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 (arg1)->WriteText((wxString const &)*arg2);
8531
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 Py_INCREF(Py_None); resultobj = Py_None;
8536 {
8537 if (temp2)
8538 delete arg2;
8539 }
8540 return resultobj;
8541 fail:
8542 {
8543 if (temp2)
8544 delete arg2;
8545 }
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8553 wxString *arg2 = 0 ;
8554 bool temp2 = False ;
8555 PyObject * obj0 = 0 ;
8556 PyObject * obj1 = 0 ;
8557 char *kwnames[] = {
8558 (char *) "self",(char *) "text", NULL
8559 };
8560
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8564 {
8565 arg2 = wxString_in_helper(obj1);
8566 if (arg2 == NULL) SWIG_fail;
8567 temp2 = True;
8568 }
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 (arg1)->AppendText((wxString const &)*arg2);
8572
8573 wxPyEndAllowThreads(__tstate);
8574 if (PyErr_Occurred()) SWIG_fail;
8575 }
8576 Py_INCREF(Py_None); resultobj = Py_None;
8577 {
8578 if (temp2)
8579 delete arg2;
8580 }
8581 return resultobj;
8582 fail:
8583 {
8584 if (temp2)
8585 delete arg2;
8586 }
8587 return NULL;
8588 }
8589
8590
8591 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8592 PyObject *resultobj;
8593 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8594 wxKeyEvent *arg2 = 0 ;
8595 bool result;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 char *kwnames[] = {
8599 (char *) "self",(char *) "event", NULL
8600 };
8601
8602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8606 SWIG_POINTER_EXCEPTION | 0)) == -1)
8607 SWIG_fail;
8608 if (arg2 == NULL) {
8609 PyErr_SetString(PyExc_TypeError,"null reference");
8610 SWIG_fail;
8611 }
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 {
8620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8621 }
8622 return resultobj;
8623 fail:
8624 return NULL;
8625 }
8626
8627
8628 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj;
8630 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8631 long arg2 ;
8632 long arg3 ;
8633 wxTextAttr *arg4 = 0 ;
8634 bool result;
8635 PyObject * obj0 = 0 ;
8636 PyObject * obj1 = 0 ;
8637 PyObject * obj2 = 0 ;
8638 PyObject * obj3 = 0 ;
8639 char *kwnames[] = {
8640 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8641 };
8642
8643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8646 arg2 = (long) SWIG_AsLong(obj1);
8647 if (PyErr_Occurred()) SWIG_fail;
8648 arg3 = (long) SWIG_AsLong(obj2);
8649 if (PyErr_Occurred()) SWIG_fail;
8650 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8651 SWIG_POINTER_EXCEPTION | 0)) == -1)
8652 SWIG_fail;
8653 if (arg4 == NULL) {
8654 PyErr_SetString(PyExc_TypeError,"null reference");
8655 SWIG_fail;
8656 }
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 {
8665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8666 }
8667 return resultobj;
8668 fail:
8669 return NULL;
8670 }
8671
8672
8673 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8674 PyObject *resultobj;
8675 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8676 long arg2 ;
8677 wxTextAttr *arg3 = 0 ;
8678 bool result;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 PyObject * obj2 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "position",(char *) "style", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8689 arg2 = (long) SWIG_AsLong(obj1);
8690 if (PyErr_Occurred()) SWIG_fail;
8691 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8692 SWIG_POINTER_EXCEPTION | 0)) == -1)
8693 SWIG_fail;
8694 if (arg3 == NULL) {
8695 PyErr_SetString(PyExc_TypeError,"null reference");
8696 SWIG_fail;
8697 }
8698 {
8699 PyThreadState* __tstate = wxPyBeginAllowThreads();
8700 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8701
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 {
8706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8707 }
8708 return resultobj;
8709 fail:
8710 return NULL;
8711 }
8712
8713
8714 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8715 PyObject *resultobj;
8716 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8717 wxTextAttr *arg2 = 0 ;
8718 bool result;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self",(char *) "style", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8729 SWIG_POINTER_EXCEPTION | 0)) == -1)
8730 SWIG_fail;
8731 if (arg2 == NULL) {
8732 PyErr_SetString(PyExc_TypeError,"null reference");
8733 SWIG_fail;
8734 }
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 {
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 }
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8754 wxTextAttr *result;
8755 PyObject * obj0 = 0 ;
8756 char *kwnames[] = {
8757 (char *) "self", NULL
8758 };
8759
8760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 {
8766 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8767 result = (wxTextAttr *) &_result_ref;
8768 }
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8774 return resultobj;
8775 fail:
8776 return NULL;
8777 }
8778
8779
8780 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8783 long arg2 ;
8784 long arg3 ;
8785 long result;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "x",(char *) "y", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8796 arg2 = (long) SWIG_AsLong(obj1);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 arg3 = (long) SWIG_AsLong(obj2);
8799 if (PyErr_Occurred()) SWIG_fail;
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
8807 resultobj = SWIG_FromLong((long)result);
8808 return resultobj;
8809 fail:
8810 return NULL;
8811 }
8812
8813
8814 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8815 PyObject *resultobj;
8816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8817 long arg2 ;
8818 long *arg3 = (long *) 0 ;
8819 long *arg4 = (long *) 0 ;
8820 long temp3 ;
8821 long temp4 ;
8822 PyObject * obj0 = 0 ;
8823 PyObject * obj1 = 0 ;
8824 char *kwnames[] = {
8825 (char *) "self",(char *) "pos", NULL
8826 };
8827
8828 arg3 = &temp3;
8829 arg4 = &temp4;
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8833 arg2 = (long) SWIG_AsLong(obj1);
8834 if (PyErr_Occurred()) SWIG_fail;
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8838
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 Py_INCREF(Py_None); resultobj = Py_None;
8843 {
8844 PyObject *o = PyInt_FromLong((long) (*arg3));
8845 resultobj = t_output_helper(resultobj,o);
8846 }
8847 {
8848 PyObject *o = PyInt_FromLong((long) (*arg4));
8849 resultobj = t_output_helper(resultobj,o);
8850 }
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8860 long arg2 ;
8861 PyObject * obj0 = 0 ;
8862 PyObject * obj1 = 0 ;
8863 char *kwnames[] = {
8864 (char *) "self",(char *) "pos", NULL
8865 };
8866
8867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8870 arg2 = (long) SWIG_AsLong(obj1);
8871 if (PyErr_Occurred()) SWIG_fail;
8872 {
8873 PyThreadState* __tstate = wxPyBeginAllowThreads();
8874 (arg1)->ShowPosition(arg2);
8875
8876 wxPyEndAllowThreads(__tstate);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 }
8879 Py_INCREF(Py_None); resultobj = Py_None;
8880 return resultobj;
8881 fail:
8882 return NULL;
8883 }
8884
8885
8886 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8887 PyObject *resultobj;
8888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8889 wxPoint *arg2 = 0 ;
8890 long *arg3 = (long *) 0 ;
8891 long *arg4 = (long *) 0 ;
8892 int result;
8893 wxPoint temp2 ;
8894 long temp3 ;
8895 long temp4 ;
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "self",(char *) "pt", NULL
8900 };
8901
8902 arg3 = &temp3;
8903 arg4 = &temp4;
8904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8907 {
8908 arg2 = &temp2;
8909 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8910 }
8911 {
8912 PyThreadState* __tstate = wxPyBeginAllowThreads();
8913 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8914
8915 wxPyEndAllowThreads(__tstate);
8916 if (PyErr_Occurred()) SWIG_fail;
8917 }
8918 resultobj = SWIG_FromInt((int)result);
8919 {
8920 PyObject *o = PyInt_FromLong((long) (*arg3));
8921 resultobj = t_output_helper(resultobj,o);
8922 }
8923 {
8924 PyObject *o = PyInt_FromLong((long) (*arg4));
8925 resultobj = t_output_helper(resultobj,o);
8926 }
8927 return resultobj;
8928 fail:
8929 return NULL;
8930 }
8931
8932
8933 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8934 PyObject *resultobj;
8935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8936 PyObject * obj0 = 0 ;
8937 char *kwnames[] = {
8938 (char *) "self", NULL
8939 };
8940
8941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8944 {
8945 PyThreadState* __tstate = wxPyBeginAllowThreads();
8946 (arg1)->Copy();
8947
8948 wxPyEndAllowThreads(__tstate);
8949 if (PyErr_Occurred()) SWIG_fail;
8950 }
8951 Py_INCREF(Py_None); resultobj = Py_None;
8952 return resultobj;
8953 fail:
8954 return NULL;
8955 }
8956
8957
8958 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8959 PyObject *resultobj;
8960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8961 PyObject * obj0 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8969 {
8970 PyThreadState* __tstate = wxPyBeginAllowThreads();
8971 (arg1)->Cut();
8972
8973 wxPyEndAllowThreads(__tstate);
8974 if (PyErr_Occurred()) SWIG_fail;
8975 }
8976 Py_INCREF(Py_None); resultobj = Py_None;
8977 return resultobj;
8978 fail:
8979 return NULL;
8980 }
8981
8982
8983 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj;
8985 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8986 PyObject * obj0 = 0 ;
8987 char *kwnames[] = {
8988 (char *) "self", NULL
8989 };
8990
8991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8994 {
8995 PyThreadState* __tstate = wxPyBeginAllowThreads();
8996 (arg1)->Paste();
8997
8998 wxPyEndAllowThreads(__tstate);
8999 if (PyErr_Occurred()) SWIG_fail;
9000 }
9001 Py_INCREF(Py_None); resultobj = Py_None;
9002 return resultobj;
9003 fail:
9004 return NULL;
9005 }
9006
9007
9008 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9011 bool result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 {
9028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9029 }
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9039 bool result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9057 }
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9067 bool result;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9076 {
9077 PyThreadState* __tstate = wxPyBeginAllowThreads();
9078 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9079
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 {
9084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9085 }
9086 return resultobj;
9087 fail:
9088 return NULL;
9089 }
9090
9091
9092 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9093 PyObject *resultobj;
9094 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9095 PyObject * obj0 = 0 ;
9096 char *kwnames[] = {
9097 (char *) "self", NULL
9098 };
9099
9100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9103 {
9104 PyThreadState* __tstate = wxPyBeginAllowThreads();
9105 (arg1)->Undo();
9106
9107 wxPyEndAllowThreads(__tstate);
9108 if (PyErr_Occurred()) SWIG_fail;
9109 }
9110 Py_INCREF(Py_None); resultobj = Py_None;
9111 return resultobj;
9112 fail:
9113 return NULL;
9114 }
9115
9116
9117 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9120 PyObject * obj0 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "self", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9128 {
9129 PyThreadState* __tstate = wxPyBeginAllowThreads();
9130 (arg1)->Redo();
9131
9132 wxPyEndAllowThreads(__tstate);
9133 if (PyErr_Occurred()) SWIG_fail;
9134 }
9135 Py_INCREF(Py_None); resultobj = Py_None;
9136 return resultobj;
9137 fail:
9138 return NULL;
9139 }
9140
9141
9142 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9143 PyObject *resultobj;
9144 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9145 bool result;
9146 PyObject * obj0 = 0 ;
9147 char *kwnames[] = {
9148 (char *) "self", NULL
9149 };
9150
9151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9154 {
9155 PyThreadState* __tstate = wxPyBeginAllowThreads();
9156 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9157
9158 wxPyEndAllowThreads(__tstate);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 }
9161 {
9162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9163 }
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9173 bool result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 {
9190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9191 }
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9201 long arg2 ;
9202 PyObject * obj0 = 0 ;
9203 PyObject * obj1 = 0 ;
9204 char *kwnames[] = {
9205 (char *) "self",(char *) "pos", NULL
9206 };
9207
9208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9211 arg2 = (long) SWIG_AsLong(obj1);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
9215 (arg1)->SetInsertionPoint(arg2);
9216
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 Py_INCREF(Py_None); resultobj = Py_None;
9221 return resultobj;
9222 fail:
9223 return NULL;
9224 }
9225
9226
9227 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9228 PyObject *resultobj;
9229 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9230 PyObject * obj0 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "self", NULL
9233 };
9234
9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 (arg1)->SetInsertionPointEnd();
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 Py_INCREF(Py_None); resultobj = Py_None;
9246 return resultobj;
9247 fail:
9248 return NULL;
9249 }
9250
9251
9252 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9255 long result;
9256 PyObject * obj0 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "self", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_FromLong((long)result);
9272 return resultobj;
9273 fail:
9274 return NULL;
9275 }
9276
9277
9278 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9281 long result;
9282 PyObject * obj0 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9290 {
9291 PyThreadState* __tstate = wxPyBeginAllowThreads();
9292 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9293
9294 wxPyEndAllowThreads(__tstate);
9295 if (PyErr_Occurred()) SWIG_fail;
9296 }
9297 resultobj = SWIG_FromLong((long)result);
9298 return resultobj;
9299 fail:
9300 return NULL;
9301 }
9302
9303
9304 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9305 PyObject *resultobj;
9306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9307 long arg2 ;
9308 long arg3 ;
9309 PyObject * obj0 = 0 ;
9310 PyObject * obj1 = 0 ;
9311 PyObject * obj2 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self",(char *) "from",(char *) "to", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 arg2 = (long) SWIG_AsLong(obj1);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 arg3 = (long) SWIG_AsLong(obj2);
9322 if (PyErr_Occurred()) SWIG_fail;
9323 {
9324 PyThreadState* __tstate = wxPyBeginAllowThreads();
9325 (arg1)->SetSelection(arg2,arg3);
9326
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 Py_INCREF(Py_None); resultobj = Py_None;
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9340 PyObject * obj0 = 0 ;
9341 char *kwnames[] = {
9342 (char *) "self", NULL
9343 };
9344
9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 (arg1)->SelectAll();
9351
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 Py_INCREF(Py_None); resultobj = Py_None;
9356 return resultobj;
9357 fail:
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9365 bool arg2 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "editable", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9375 arg2 = (bool) SWIG_AsBool(obj1);
9376 if (PyErr_Occurred()) SWIG_fail;
9377 {
9378 PyThreadState* __tstate = wxPyBeginAllowThreads();
9379 (arg1)->SetEditable(arg2);
9380
9381 wxPyEndAllowThreads(__tstate);
9382 if (PyErr_Occurred()) SWIG_fail;
9383 }
9384 Py_INCREF(Py_None); resultobj = Py_None;
9385 return resultobj;
9386 fail:
9387 return NULL;
9388 }
9389
9390
9391 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9392 PyObject *resultobj;
9393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9394 wxString *arg2 = 0 ;
9395 bool temp2 = False ;
9396 PyObject * obj0 = 0 ;
9397 PyObject * obj1 = 0 ;
9398 char *kwnames[] = {
9399 (char *) "self",(char *) "text", NULL
9400 };
9401
9402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9405 {
9406 arg2 = wxString_in_helper(obj1);
9407 if (arg2 == NULL) SWIG_fail;
9408 temp2 = True;
9409 }
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9413
9414 wxPyEndAllowThreads(__tstate);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 Py_INCREF(Py_None); resultobj = Py_None;
9418 {
9419 if (temp2)
9420 delete arg2;
9421 }
9422 return resultobj;
9423 fail:
9424 {
9425 if (temp2)
9426 delete arg2;
9427 }
9428 return NULL;
9429 }
9430
9431
9432 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9433 PyObject *resultobj;
9434 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9435 long arg2 ;
9436 long arg3 ;
9437 wxString result;
9438 PyObject * obj0 = 0 ;
9439 PyObject * obj1 = 0 ;
9440 PyObject * obj2 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "from",(char *) "to", NULL
9443 };
9444
9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9448 arg2 = (long) SWIG_AsLong(obj1);
9449 if (PyErr_Occurred()) SWIG_fail;
9450 arg3 = (long) SWIG_AsLong(obj2);
9451 if (PyErr_Occurred()) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 {
9460 #if wxUSE_UNICODE
9461 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9462 #else
9463 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9464 #endif
9465 }
9466 return resultobj;
9467 fail:
9468 return NULL;
9469 }
9470
9471
9472 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9473 PyObject *obj;
9474 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9475 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9476 Py_INCREF(obj);
9477 return Py_BuildValue((char *)"");
9478 }
9479 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj;
9481 int arg1 ;
9482 wxMouseEvent *arg2 = 0 ;
9483 long arg3 ;
9484 long arg4 ;
9485 wxTextUrlEvent *result;
9486 PyObject * obj0 = 0 ;
9487 PyObject * obj1 = 0 ;
9488 PyObject * obj2 = 0 ;
9489 PyObject * obj3 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9495 arg1 = (int) SWIG_AsInt(obj0);
9496 if (PyErr_Occurred()) SWIG_fail;
9497 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1)
9499 SWIG_fail;
9500 if (arg2 == NULL) {
9501 PyErr_SetString(PyExc_TypeError,"null reference");
9502 SWIG_fail;
9503 }
9504 arg3 = (long) SWIG_AsLong(obj2);
9505 if (PyErr_Occurred()) SWIG_fail;
9506 arg4 = (long) SWIG_AsLong(obj3);
9507 if (PyErr_Occurred()) SWIG_fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9525 wxMouseEvent *result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 {
9537 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9538 result = (wxMouseEvent *) &_result_ref;
9539 }
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9545 return resultobj;
9546 fail:
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9554 long result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 resultobj = SWIG_FromLong((long)result);
9571 return resultobj;
9572 fail:
9573 return NULL;
9574 }
9575
9576
9577 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9578 PyObject *resultobj;
9579 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9580 long result;
9581 PyObject * obj0 = 0 ;
9582 char *kwnames[] = {
9583 (char *) "self", NULL
9584 };
9585
9586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 resultobj = SWIG_FromLong((long)result);
9597 return resultobj;
9598 fail:
9599 return NULL;
9600 }
9601
9602
9603 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9604 PyObject *obj;
9605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9606 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9607 Py_INCREF(obj);
9608 return Py_BuildValue((char *)"");
9609 }
9610 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9611 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9612 return 1;
9613 }
9614
9615
9616 static PyObject *_wrap_ScrollBarNameStr_get() {
9617 PyObject *pyobj;
9618
9619 {
9620 #if wxUSE_UNICODE
9621 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9622 #else
9623 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9624 #endif
9625 }
9626 return pyobj;
9627 }
9628
9629
9630 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9631 PyObject *resultobj;
9632 wxWindow *arg1 = (wxWindow *) 0 ;
9633 int arg2 = (int) -1 ;
9634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9636 wxSize const &arg4_defvalue = wxDefaultSize ;
9637 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9638 long arg5 = (long) wxSB_HORIZONTAL ;
9639 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9640 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9641 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9642 wxString *arg7 = (wxString *) &arg7_defvalue ;
9643 wxScrollBar *result;
9644 wxPoint temp3 ;
9645 wxSize temp4 ;
9646 bool temp7 = False ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj1 = 0 ;
9649 PyObject * obj2 = 0 ;
9650 PyObject * obj3 = 0 ;
9651 PyObject * obj4 = 0 ;
9652 PyObject * obj5 = 0 ;
9653 PyObject * obj6 = 0 ;
9654 char *kwnames[] = {
9655 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9656 };
9657
9658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9661 if (obj1) {
9662 arg2 = (int) SWIG_AsInt(obj1);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 if (obj2) {
9666 {
9667 arg3 = &temp3;
9668 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9669 }
9670 }
9671 if (obj3) {
9672 {
9673 arg4 = &temp4;
9674 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9675 }
9676 }
9677 if (obj4) {
9678 arg5 = (long) SWIG_AsLong(obj4);
9679 if (PyErr_Occurred()) SWIG_fail;
9680 }
9681 if (obj5) {
9682 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9683 SWIG_POINTER_EXCEPTION | 0)) == -1)
9684 SWIG_fail;
9685 if (arg6 == NULL) {
9686 PyErr_SetString(PyExc_TypeError,"null reference");
9687 SWIG_fail;
9688 }
9689 }
9690 if (obj6) {
9691 {
9692 arg7 = wxString_in_helper(obj6);
9693 if (arg7 == NULL) SWIG_fail;
9694 temp7 = True;
9695 }
9696 }
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9705 {
9706 if (temp7)
9707 delete arg7;
9708 }
9709 return resultobj;
9710 fail:
9711 {
9712 if (temp7)
9713 delete arg7;
9714 }
9715 return NULL;
9716 }
9717
9718
9719 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj;
9721 wxScrollBar *result;
9722 char *kwnames[] = {
9723 NULL
9724 };
9725
9726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9727 {
9728 PyThreadState* __tstate = wxPyBeginAllowThreads();
9729 result = (wxScrollBar *)new wxScrollBar();
9730
9731 wxPyEndAllowThreads(__tstate);
9732 if (PyErr_Occurred()) SWIG_fail;
9733 }
9734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9735 return resultobj;
9736 fail:
9737 return NULL;
9738 }
9739
9740
9741 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9744 wxWindow *arg2 = (wxWindow *) 0 ;
9745 int arg3 = (int) -1 ;
9746 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9747 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9748 wxSize const &arg5_defvalue = wxDefaultSize ;
9749 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9750 long arg6 = (long) wxSB_HORIZONTAL ;
9751 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9752 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9753 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9754 wxString *arg8 = (wxString *) &arg8_defvalue ;
9755 bool result;
9756 wxPoint temp4 ;
9757 wxSize temp5 ;
9758 bool temp8 = False ;
9759 PyObject * obj0 = 0 ;
9760 PyObject * obj1 = 0 ;
9761 PyObject * obj2 = 0 ;
9762 PyObject * obj3 = 0 ;
9763 PyObject * obj4 = 0 ;
9764 PyObject * obj5 = 0 ;
9765 PyObject * obj6 = 0 ;
9766 PyObject * obj7 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9776 if (obj2) {
9777 arg3 = (int) SWIG_AsInt(obj2);
9778 if (PyErr_Occurred()) SWIG_fail;
9779 }
9780 if (obj3) {
9781 {
9782 arg4 = &temp4;
9783 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9784 }
9785 }
9786 if (obj4) {
9787 {
9788 arg5 = &temp5;
9789 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9790 }
9791 }
9792 if (obj5) {
9793 arg6 = (long) SWIG_AsLong(obj5);
9794 if (PyErr_Occurred()) SWIG_fail;
9795 }
9796 if (obj6) {
9797 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9798 SWIG_POINTER_EXCEPTION | 0)) == -1)
9799 SWIG_fail;
9800 if (arg7 == NULL) {
9801 PyErr_SetString(PyExc_TypeError,"null reference");
9802 SWIG_fail;
9803 }
9804 }
9805 if (obj7) {
9806 {
9807 arg8 = wxString_in_helper(obj7);
9808 if (arg8 == NULL) SWIG_fail;
9809 temp8 = True;
9810 }
9811 }
9812 {
9813 PyThreadState* __tstate = wxPyBeginAllowThreads();
9814 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9815
9816 wxPyEndAllowThreads(__tstate);
9817 if (PyErr_Occurred()) SWIG_fail;
9818 }
9819 {
9820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9821 }
9822 {
9823 if (temp8)
9824 delete arg8;
9825 }
9826 return resultobj;
9827 fail:
9828 {
9829 if (temp8)
9830 delete arg8;
9831 }
9832 return NULL;
9833 }
9834
9835
9836 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9837 PyObject *resultobj;
9838 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9839 int result;
9840 PyObject * obj0 = 0 ;
9841 char *kwnames[] = {
9842 (char *) "self", NULL
9843 };
9844
9845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9851
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 resultobj = SWIG_FromInt((int)result);
9856 return resultobj;
9857 fail:
9858 return NULL;
9859 }
9860
9861
9862 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9865 int result;
9866 PyObject * obj0 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 resultobj = SWIG_FromInt((int)result);
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9891 int result;
9892 PyObject * obj0 = 0 ;
9893 char *kwnames[] = {
9894 (char *) "self", NULL
9895 };
9896
9897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_FromInt((int)result);
9908 return resultobj;
9909 fail:
9910 return NULL;
9911 }
9912
9913
9914 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9917 int result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9926 {
9927 PyThreadState* __tstate = wxPyBeginAllowThreads();
9928 result = (int)((wxScrollBar const *)arg1)->GetRange();
9929
9930 wxPyEndAllowThreads(__tstate);
9931 if (PyErr_Occurred()) SWIG_fail;
9932 }
9933 resultobj = SWIG_FromInt((int)result);
9934 return resultobj;
9935 fail:
9936 return NULL;
9937 }
9938
9939
9940 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9943 bool result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9955
9956 wxPyEndAllowThreads(__tstate);
9957 if (PyErr_Occurred()) SWIG_fail;
9958 }
9959 {
9960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9961 }
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9971 int arg2 ;
9972 PyObject * obj0 = 0 ;
9973 PyObject * obj1 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "viewStart", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9981 arg2 = (int) SWIG_AsInt(obj1);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 (arg1)->SetThumbPosition(arg2);
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 Py_INCREF(Py_None); resultobj = Py_None;
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10000 int arg2 ;
10001 int arg3 ;
10002 int arg4 ;
10003 int arg5 ;
10004 bool arg6 = (bool) True ;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007 PyObject * obj2 = 0 ;
10008 PyObject * obj3 = 0 ;
10009 PyObject * obj4 = 0 ;
10010 PyObject * obj5 = 0 ;
10011 char *kwnames[] = {
10012 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10013 };
10014
10015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10018 arg2 = (int) SWIG_AsInt(obj1);
10019 if (PyErr_Occurred()) SWIG_fail;
10020 arg3 = (int) SWIG_AsInt(obj2);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 arg4 = (int) SWIG_AsInt(obj3);
10023 if (PyErr_Occurred()) SWIG_fail;
10024 arg5 = (int) SWIG_AsInt(obj4);
10025 if (PyErr_Occurred()) SWIG_fail;
10026 if (obj5) {
10027 arg6 = (bool) SWIG_AsBool(obj5);
10028 if (PyErr_Occurred()) SWIG_fail;
10029 }
10030 {
10031 PyThreadState* __tstate = wxPyBeginAllowThreads();
10032 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10033
10034 wxPyEndAllowThreads(__tstate);
10035 if (PyErr_Occurred()) SWIG_fail;
10036 }
10037 Py_INCREF(Py_None); resultobj = Py_None;
10038 return resultobj;
10039 fail:
10040 return NULL;
10041 }
10042
10043
10044 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10045 PyObject *obj;
10046 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10048 Py_INCREF(obj);
10049 return Py_BuildValue((char *)"");
10050 }
10051 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10052 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10053 return 1;
10054 }
10055
10056
10057 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10058 PyObject *pyobj;
10059
10060 {
10061 #if wxUSE_UNICODE
10062 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10063 #else
10064 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10065 #endif
10066 }
10067 return pyobj;
10068 }
10069
10070
10071 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10072 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10073 return 1;
10074 }
10075
10076
10077 static PyObject *_wrap_SpinCtrlNameStr_get() {
10078 PyObject *pyobj;
10079
10080 {
10081 #if wxUSE_UNICODE
10082 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10083 #else
10084 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10085 #endif
10086 }
10087 return pyobj;
10088 }
10089
10090
10091 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxWindow *arg1 = (wxWindow *) 0 ;
10094 int arg2 = (int) -1 ;
10095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10097 wxSize const &arg4_defvalue = wxDefaultSize ;
10098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10099 long arg5 = (long) wxSP_HORIZONTAL ;
10100 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10101 wxString *arg6 = (wxString *) &arg6_defvalue ;
10102 wxSpinButton *result;
10103 wxPoint temp3 ;
10104 wxSize temp4 ;
10105 bool temp6 = False ;
10106 PyObject * obj0 = 0 ;
10107 PyObject * obj1 = 0 ;
10108 PyObject * obj2 = 0 ;
10109 PyObject * obj3 = 0 ;
10110 PyObject * obj4 = 0 ;
10111 PyObject * obj5 = 0 ;
10112 char *kwnames[] = {
10113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10114 };
10115
10116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10119 if (obj1) {
10120 arg2 = (int) SWIG_AsInt(obj1);
10121 if (PyErr_Occurred()) SWIG_fail;
10122 }
10123 if (obj2) {
10124 {
10125 arg3 = &temp3;
10126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10127 }
10128 }
10129 if (obj3) {
10130 {
10131 arg4 = &temp4;
10132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10133 }
10134 }
10135 if (obj4) {
10136 arg5 = (long) SWIG_AsLong(obj4);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 if (obj5) {
10140 {
10141 arg6 = wxString_in_helper(obj5);
10142 if (arg6 == NULL) SWIG_fail;
10143 temp6 = True;
10144 }
10145 }
10146 {
10147 PyThreadState* __tstate = wxPyBeginAllowThreads();
10148 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10149
10150 wxPyEndAllowThreads(__tstate);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10154 {
10155 if (temp6)
10156 delete arg6;
10157 }
10158 return resultobj;
10159 fail:
10160 {
10161 if (temp6)
10162 delete arg6;
10163 }
10164 return NULL;
10165 }
10166
10167
10168 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10169 PyObject *resultobj;
10170 wxSpinButton *result;
10171 char *kwnames[] = {
10172 NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 result = (wxSpinButton *)new wxSpinButton();
10179
10180 wxPyEndAllowThreads(__tstate);
10181 if (PyErr_Occurred()) SWIG_fail;
10182 }
10183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10184 return resultobj;
10185 fail:
10186 return NULL;
10187 }
10188
10189
10190 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10191 PyObject *resultobj;
10192 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10193 wxWindow *arg2 = (wxWindow *) 0 ;
10194 int arg3 = (int) -1 ;
10195 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10196 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10197 wxSize const &arg5_defvalue = wxDefaultSize ;
10198 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10199 long arg6 = (long) wxSP_HORIZONTAL ;
10200 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10201 wxString *arg7 = (wxString *) &arg7_defvalue ;
10202 bool result;
10203 wxPoint temp4 ;
10204 wxSize temp5 ;
10205 bool temp7 = False ;
10206 PyObject * obj0 = 0 ;
10207 PyObject * obj1 = 0 ;
10208 PyObject * obj2 = 0 ;
10209 PyObject * obj3 = 0 ;
10210 PyObject * obj4 = 0 ;
10211 PyObject * obj5 = 0 ;
10212 PyObject * obj6 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10220 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10222 if (obj2) {
10223 arg3 = (int) SWIG_AsInt(obj2);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 if (obj3) {
10227 {
10228 arg4 = &temp4;
10229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10230 }
10231 }
10232 if (obj4) {
10233 {
10234 arg5 = &temp5;
10235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10236 }
10237 }
10238 if (obj5) {
10239 arg6 = (long) SWIG_AsLong(obj5);
10240 if (PyErr_Occurred()) SWIG_fail;
10241 }
10242 if (obj6) {
10243 {
10244 arg7 = wxString_in_helper(obj6);
10245 if (arg7 == NULL) SWIG_fail;
10246 temp7 = True;
10247 }
10248 }
10249 {
10250 PyThreadState* __tstate = wxPyBeginAllowThreads();
10251 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10252
10253 wxPyEndAllowThreads(__tstate);
10254 if (PyErr_Occurred()) SWIG_fail;
10255 }
10256 {
10257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10258 }
10259 {
10260 if (temp7)
10261 delete arg7;
10262 }
10263 return resultobj;
10264 fail:
10265 {
10266 if (temp7)
10267 delete arg7;
10268 }
10269 return NULL;
10270 }
10271
10272
10273 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10276 int result;
10277 PyObject * obj0 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (int)((wxSpinButton const *)arg1)->GetValue();
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 resultobj = SWIG_FromInt((int)result);
10293 return resultobj;
10294 fail:
10295 return NULL;
10296 }
10297
10298
10299 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10300 PyObject *resultobj;
10301 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10302 int result;
10303 PyObject * obj0 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10311 {
10312 PyThreadState* __tstate = wxPyBeginAllowThreads();
10313 result = (int)((wxSpinButton const *)arg1)->GetMin();
10314
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_FromInt((int)result);
10319 return resultobj;
10320 fail:
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10328 int result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (int)((wxSpinButton const *)arg1)->GetMax();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = SWIG_FromInt((int)result);
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10354 int arg2 ;
10355 PyObject * obj0 = 0 ;
10356 PyObject * obj1 = 0 ;
10357 char *kwnames[] = {
10358 (char *) "self",(char *) "val", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10364 arg2 = (int) SWIG_AsInt(obj1);
10365 if (PyErr_Occurred()) SWIG_fail;
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 (arg1)->SetValue(arg2);
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
10373 Py_INCREF(Py_None); resultobj = Py_None;
10374 return resultobj;
10375 fail:
10376 return NULL;
10377 }
10378
10379
10380 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10381 PyObject *resultobj;
10382 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10383 int arg2 ;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 char *kwnames[] = {
10387 (char *) "self",(char *) "minVal", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10393 arg2 = (int) SWIG_AsInt(obj1);
10394 if (PyErr_Occurred()) SWIG_fail;
10395 {
10396 PyThreadState* __tstate = wxPyBeginAllowThreads();
10397 (arg1)->SetMin(arg2);
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_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10412 int arg2 ;
10413 PyObject * obj0 = 0 ;
10414 PyObject * obj1 = 0 ;
10415 char *kwnames[] = {
10416 (char *) "self",(char *) "maxVal", NULL
10417 };
10418
10419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10422 arg2 = (int) SWIG_AsInt(obj1);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 {
10425 PyThreadState* __tstate = wxPyBeginAllowThreads();
10426 (arg1)->SetMax(arg2);
10427
10428 wxPyEndAllowThreads(__tstate);
10429 if (PyErr_Occurred()) SWIG_fail;
10430 }
10431 Py_INCREF(Py_None); resultobj = Py_None;
10432 return resultobj;
10433 fail:
10434 return NULL;
10435 }
10436
10437
10438 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10439 PyObject *resultobj;
10440 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10441 int arg2 ;
10442 int arg3 ;
10443 PyObject * obj0 = 0 ;
10444 PyObject * obj1 = 0 ;
10445 PyObject * obj2 = 0 ;
10446 char *kwnames[] = {
10447 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10448 };
10449
10450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10453 arg2 = (int) SWIG_AsInt(obj1);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 arg3 = (int) SWIG_AsInt(obj2);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 {
10458 PyThreadState* __tstate = wxPyBeginAllowThreads();
10459 (arg1)->SetRange(arg2,arg3);
10460
10461 wxPyEndAllowThreads(__tstate);
10462 if (PyErr_Occurred()) SWIG_fail;
10463 }
10464 Py_INCREF(Py_None); resultobj = Py_None;
10465 return resultobj;
10466 fail:
10467 return NULL;
10468 }
10469
10470
10471 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj;
10473 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10474 bool result;
10475 PyObject * obj0 = 0 ;
10476 char *kwnames[] = {
10477 (char *) "self", NULL
10478 };
10479
10480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10486
10487 wxPyEndAllowThreads(__tstate);
10488 if (PyErr_Occurred()) SWIG_fail;
10489 }
10490 {
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 }
10493 return resultobj;
10494 fail:
10495 return NULL;
10496 }
10497
10498
10499 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10500 PyObject *obj;
10501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10502 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10503 Py_INCREF(obj);
10504 return Py_BuildValue((char *)"");
10505 }
10506 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10507 PyObject *resultobj;
10508 wxWindow *arg1 = (wxWindow *) 0 ;
10509 int arg2 = (int) -1 ;
10510 wxString const &arg3_defvalue = wxPyEmptyString ;
10511 wxString *arg3 = (wxString *) &arg3_defvalue ;
10512 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10513 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10514 wxSize const &arg5_defvalue = wxDefaultSize ;
10515 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10516 long arg6 = (long) wxSP_ARROW_KEYS ;
10517 int arg7 = (int) 0 ;
10518 int arg8 = (int) 100 ;
10519 int arg9 = (int) 0 ;
10520 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10521 wxString *arg10 = (wxString *) &arg10_defvalue ;
10522 wxSpinCtrl *result;
10523 bool temp3 = False ;
10524 wxPoint temp4 ;
10525 wxSize temp5 ;
10526 bool temp10 = False ;
10527 PyObject * obj0 = 0 ;
10528 PyObject * obj1 = 0 ;
10529 PyObject * obj2 = 0 ;
10530 PyObject * obj3 = 0 ;
10531 PyObject * obj4 = 0 ;
10532 PyObject * obj5 = 0 ;
10533 PyObject * obj6 = 0 ;
10534 PyObject * obj7 = 0 ;
10535 PyObject * obj8 = 0 ;
10536 PyObject * obj9 = 0 ;
10537 char *kwnames[] = {
10538 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10539 };
10540
10541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10544 if (obj1) {
10545 arg2 = (int) SWIG_AsInt(obj1);
10546 if (PyErr_Occurred()) SWIG_fail;
10547 }
10548 if (obj2) {
10549 {
10550 arg3 = wxString_in_helper(obj2);
10551 if (arg3 == NULL) SWIG_fail;
10552 temp3 = True;
10553 }
10554 }
10555 if (obj3) {
10556 {
10557 arg4 = &temp4;
10558 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10559 }
10560 }
10561 if (obj4) {
10562 {
10563 arg5 = &temp5;
10564 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10565 }
10566 }
10567 if (obj5) {
10568 arg6 = (long) SWIG_AsLong(obj5);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
10571 if (obj6) {
10572 arg7 = (int) SWIG_AsInt(obj6);
10573 if (PyErr_Occurred()) SWIG_fail;
10574 }
10575 if (obj7) {
10576 arg8 = (int) SWIG_AsInt(obj7);
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 if (obj8) {
10580 arg9 = (int) SWIG_AsInt(obj8);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 if (obj9) {
10584 {
10585 arg10 = wxString_in_helper(obj9);
10586 if (arg10 == NULL) SWIG_fail;
10587 temp10 = True;
10588 }
10589 }
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10598 {
10599 if (temp3)
10600 delete arg3;
10601 }
10602 {
10603 if (temp10)
10604 delete arg10;
10605 }
10606 return resultobj;
10607 fail:
10608 {
10609 if (temp3)
10610 delete arg3;
10611 }
10612 {
10613 if (temp10)
10614 delete arg10;
10615 }
10616 return NULL;
10617 }
10618
10619
10620 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxSpinCtrl *result;
10623 char *kwnames[] = {
10624 NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 result = (wxSpinCtrl *)new wxSpinCtrl();
10631
10632 wxPyEndAllowThreads(__tstate);
10633 if (PyErr_Occurred()) SWIG_fail;
10634 }
10635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10636 return resultobj;
10637 fail:
10638 return NULL;
10639 }
10640
10641
10642 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10645 wxWindow *arg2 = (wxWindow *) 0 ;
10646 int arg3 = (int) -1 ;
10647 wxString const &arg4_defvalue = wxPyEmptyString ;
10648 wxString *arg4 = (wxString *) &arg4_defvalue ;
10649 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10650 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10651 wxSize const &arg6_defvalue = wxDefaultSize ;
10652 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10653 long arg7 = (long) wxSP_ARROW_KEYS ;
10654 int arg8 = (int) 0 ;
10655 int arg9 = (int) 100 ;
10656 int arg10 = (int) 0 ;
10657 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10658 wxString *arg11 = (wxString *) &arg11_defvalue ;
10659 bool result;
10660 bool temp4 = False ;
10661 wxPoint temp5 ;
10662 wxSize temp6 ;
10663 bool temp11 = False ;
10664 PyObject * obj0 = 0 ;
10665 PyObject * obj1 = 0 ;
10666 PyObject * obj2 = 0 ;
10667 PyObject * obj3 = 0 ;
10668 PyObject * obj4 = 0 ;
10669 PyObject * obj5 = 0 ;
10670 PyObject * obj6 = 0 ;
10671 PyObject * obj7 = 0 ;
10672 PyObject * obj8 = 0 ;
10673 PyObject * obj9 = 0 ;
10674 PyObject * obj10 = 0 ;
10675 char *kwnames[] = {
10676 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10677 };
10678
10679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10684 if (obj2) {
10685 arg3 = (int) SWIG_AsInt(obj2);
10686 if (PyErr_Occurred()) SWIG_fail;
10687 }
10688 if (obj3) {
10689 {
10690 arg4 = wxString_in_helper(obj3);
10691 if (arg4 == NULL) SWIG_fail;
10692 temp4 = True;
10693 }
10694 }
10695 if (obj4) {
10696 {
10697 arg5 = &temp5;
10698 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10699 }
10700 }
10701 if (obj5) {
10702 {
10703 arg6 = &temp6;
10704 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10705 }
10706 }
10707 if (obj6) {
10708 arg7 = (long) SWIG_AsLong(obj6);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 if (obj7) {
10712 arg8 = (int) SWIG_AsInt(obj7);
10713 if (PyErr_Occurred()) SWIG_fail;
10714 }
10715 if (obj8) {
10716 arg9 = (int) SWIG_AsInt(obj8);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 if (obj9) {
10720 arg10 = (int) SWIG_AsInt(obj9);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 if (obj10) {
10724 {
10725 arg11 = wxString_in_helper(obj10);
10726 if (arg11 == NULL) SWIG_fail;
10727 temp11 = True;
10728 }
10729 }
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 {
10738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10739 }
10740 {
10741 if (temp4)
10742 delete arg4;
10743 }
10744 {
10745 if (temp11)
10746 delete arg11;
10747 }
10748 return resultobj;
10749 fail:
10750 {
10751 if (temp4)
10752 delete arg4;
10753 }
10754 {
10755 if (temp11)
10756 delete arg11;
10757 }
10758 return NULL;
10759 }
10760
10761
10762 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10765 int result;
10766 PyObject * obj0 = 0 ;
10767 char *kwnames[] = {
10768 (char *) "self", NULL
10769 };
10770
10771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_FromInt((int)result);
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10791 int arg2 ;
10792 PyObject * obj0 = 0 ;
10793 PyObject * obj1 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self",(char *) "value", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10801 arg2 = (int) SWIG_AsInt(obj1);
10802 if (PyErr_Occurred()) SWIG_fail;
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 (arg1)->SetValue(arg2);
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 Py_INCREF(Py_None); resultobj = Py_None;
10811 return resultobj;
10812 fail:
10813 return NULL;
10814 }
10815
10816
10817 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10820 wxString *arg2 = 0 ;
10821 bool temp2 = False ;
10822 PyObject * obj0 = 0 ;
10823 PyObject * obj1 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self",(char *) "text", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10831 {
10832 arg2 = wxString_in_helper(obj1);
10833 if (arg2 == NULL) SWIG_fail;
10834 temp2 = True;
10835 }
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 (arg1)->SetValue((wxString const &)*arg2);
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
10843 Py_INCREF(Py_None); resultobj = Py_None;
10844 {
10845 if (temp2)
10846 delete arg2;
10847 }
10848 return resultobj;
10849 fail:
10850 {
10851 if (temp2)
10852 delete arg2;
10853 }
10854 return NULL;
10855 }
10856
10857
10858 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10861 int arg2 ;
10862 int arg3 ;
10863 PyObject * obj0 = 0 ;
10864 PyObject * obj1 = 0 ;
10865 PyObject * obj2 = 0 ;
10866 char *kwnames[] = {
10867 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10868 };
10869
10870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10873 arg2 = (int) SWIG_AsInt(obj1);
10874 if (PyErr_Occurred()) SWIG_fail;
10875 arg3 = (int) SWIG_AsInt(obj2);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 {
10878 PyThreadState* __tstate = wxPyBeginAllowThreads();
10879 (arg1)->SetRange(arg2,arg3);
10880
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 Py_INCREF(Py_None); resultobj = Py_None;
10885 return resultobj;
10886 fail:
10887 return NULL;
10888 }
10889
10890
10891 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10892 PyObject *resultobj;
10893 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10894 int result;
10895 PyObject * obj0 = 0 ;
10896 char *kwnames[] = {
10897 (char *) "self", NULL
10898 };
10899
10900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
10910 resultobj = SWIG_FromInt((int)result);
10911 return resultobj;
10912 fail:
10913 return NULL;
10914 }
10915
10916
10917 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10920 int result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 resultobj = SWIG_FromInt((int)result);
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10946 long arg2 ;
10947 long arg3 ;
10948 PyObject * obj0 = 0 ;
10949 PyObject * obj1 = 0 ;
10950 PyObject * obj2 = 0 ;
10951 char *kwnames[] = {
10952 (char *) "self",(char *) "from",(char *) "to", NULL
10953 };
10954
10955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10958 arg2 = (long) SWIG_AsLong(obj1);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 arg3 = (long) SWIG_AsLong(obj2);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 (arg1)->SetSelection(arg2,arg3);
10965
10966 wxPyEndAllowThreads(__tstate);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 }
10969 Py_INCREF(Py_None); resultobj = Py_None;
10970 return resultobj;
10971 fail:
10972 return NULL;
10973 }
10974
10975
10976 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10977 PyObject *obj;
10978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10979 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10980 Py_INCREF(obj);
10981 return Py_BuildValue((char *)"");
10982 }
10983 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10986 int arg2 = (int) 0 ;
10987 wxSpinEvent *result;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "commandType",(char *) "winid", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10995 if (obj0) {
10996 arg1 = (wxEventType) SWIG_AsInt(obj0);
10997 if (PyErr_Occurred()) SWIG_fail;
10998 }
10999 if (obj1) {
11000 arg2 = (int) SWIG_AsInt(obj1);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 {
11004 PyThreadState* __tstate = wxPyBeginAllowThreads();
11005 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11006
11007 wxPyEndAllowThreads(__tstate);
11008 if (PyErr_Occurred()) SWIG_fail;
11009 }
11010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11011 return resultobj;
11012 fail:
11013 return NULL;
11014 }
11015
11016
11017 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11018 PyObject *resultobj;
11019 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11020 int result;
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "self", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 resultobj = SWIG_FromInt((int)result);
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11046 int arg2 ;
11047 PyObject * obj0 = 0 ;
11048 PyObject * obj1 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self",(char *) "pos", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11056 arg2 = (int) SWIG_AsInt(obj1);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 (arg1)->SetPosition(arg2);
11061
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 Py_INCREF(Py_None); resultobj = Py_None;
11066 return resultobj;
11067 fail:
11068 return NULL;
11069 }
11070
11071
11072 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11073 PyObject *obj;
11074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11075 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11076 Py_INCREF(obj);
11077 return Py_BuildValue((char *)"");
11078 }
11079 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11080 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11081 return 1;
11082 }
11083
11084
11085 static PyObject *_wrap_RadioBoxNameStr_get() {
11086 PyObject *pyobj;
11087
11088 {
11089 #if wxUSE_UNICODE
11090 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11091 #else
11092 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11093 #endif
11094 }
11095 return pyobj;
11096 }
11097
11098
11099 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11100 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11101 return 1;
11102 }
11103
11104
11105 static PyObject *_wrap_RadioButtonNameStr_get() {
11106 PyObject *pyobj;
11107
11108 {
11109 #if wxUSE_UNICODE
11110 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11111 #else
11112 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11113 #endif
11114 }
11115 return pyobj;
11116 }
11117
11118
11119 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxWindow *arg1 = (wxWindow *) 0 ;
11122 int arg2 ;
11123 wxString *arg3 = 0 ;
11124 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11125 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11126 wxSize const &arg5_defvalue = wxDefaultSize ;
11127 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11128 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11129 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11130 int arg7 = (int) 0 ;
11131 long arg8 = (long) wxRA_HORIZONTAL ;
11132 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11133 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11134 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11135 wxString *arg10 = (wxString *) &arg10_defvalue ;
11136 wxRadioBox *result;
11137 bool temp3 = False ;
11138 wxPoint temp4 ;
11139 wxSize temp5 ;
11140 bool temp6 = False ;
11141 bool temp10 = False ;
11142 PyObject * obj0 = 0 ;
11143 PyObject * obj1 = 0 ;
11144 PyObject * obj2 = 0 ;
11145 PyObject * obj3 = 0 ;
11146 PyObject * obj4 = 0 ;
11147 PyObject * obj5 = 0 ;
11148 PyObject * obj6 = 0 ;
11149 PyObject * obj7 = 0 ;
11150 PyObject * obj8 = 0 ;
11151 PyObject * obj9 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11159 arg2 = (int) SWIG_AsInt(obj1);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 {
11162 arg3 = wxString_in_helper(obj2);
11163 if (arg3 == NULL) SWIG_fail;
11164 temp3 = True;
11165 }
11166 if (obj3) {
11167 {
11168 arg4 = &temp4;
11169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11170 }
11171 }
11172 if (obj4) {
11173 {
11174 arg5 = &temp5;
11175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11176 }
11177 }
11178 if (obj5) {
11179 {
11180 if (! PySequence_Check(obj5)) {
11181 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11182 SWIG_fail;
11183 }
11184 arg6 = new wxArrayString;
11185 temp6 = True;
11186 int i, len=PySequence_Length(obj5);
11187 for (i=0; i<len; i++) {
11188 PyObject* item = PySequence_GetItem(obj5, i);
11189 #if wxUSE_UNICODE
11190 PyObject* str = PyObject_Unicode(item);
11191 #else
11192 PyObject* str = PyObject_Str(item);
11193 #endif
11194 if (PyErr_Occurred()) SWIG_fail;
11195 arg6->Add(Py2wxString(str));
11196 Py_DECREF(item);
11197 Py_DECREF(str);
11198 }
11199 }
11200 }
11201 if (obj6) {
11202 arg7 = (int) SWIG_AsInt(obj6);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 if (obj7) {
11206 arg8 = (long) SWIG_AsLong(obj7);
11207 if (PyErr_Occurred()) SWIG_fail;
11208 }
11209 if (obj8) {
11210 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11211 SWIG_POINTER_EXCEPTION | 0)) == -1)
11212 SWIG_fail;
11213 if (arg9 == NULL) {
11214 PyErr_SetString(PyExc_TypeError,"null reference");
11215 SWIG_fail;
11216 }
11217 }
11218 if (obj9) {
11219 {
11220 arg10 = wxString_in_helper(obj9);
11221 if (arg10 == NULL) SWIG_fail;
11222 temp10 = True;
11223 }
11224 }
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 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);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11233 {
11234 if (temp3)
11235 delete arg3;
11236 }
11237 {
11238 if (temp6) delete arg6;
11239 }
11240 {
11241 if (temp10)
11242 delete arg10;
11243 }
11244 return resultobj;
11245 fail:
11246 {
11247 if (temp3)
11248 delete arg3;
11249 }
11250 {
11251 if (temp6) delete arg6;
11252 }
11253 {
11254 if (temp10)
11255 delete arg10;
11256 }
11257 return NULL;
11258 }
11259
11260
11261 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxRadioBox *result;
11264 char *kwnames[] = {
11265 NULL
11266 };
11267
11268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 result = (wxRadioBox *)new wxRadioBox();
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11284 PyObject *resultobj;
11285 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11286 wxWindow *arg2 = (wxWindow *) 0 ;
11287 int arg3 ;
11288 wxString *arg4 = 0 ;
11289 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11290 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11291 wxSize const &arg6_defvalue = wxDefaultSize ;
11292 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11293 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11294 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11295 int arg8 = (int) 0 ;
11296 long arg9 = (long) wxRA_HORIZONTAL ;
11297 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11298 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11299 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11300 wxString *arg11 = (wxString *) &arg11_defvalue ;
11301 bool result;
11302 bool temp4 = False ;
11303 wxPoint temp5 ;
11304 wxSize temp6 ;
11305 bool temp7 = False ;
11306 bool temp11 = False ;
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 PyObject * obj2 = 0 ;
11310 PyObject * obj3 = 0 ;
11311 PyObject * obj4 = 0 ;
11312 PyObject * obj5 = 0 ;
11313 PyObject * obj6 = 0 ;
11314 PyObject * obj7 = 0 ;
11315 PyObject * obj8 = 0 ;
11316 PyObject * obj9 = 0 ;
11317 PyObject * obj10 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11325 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11327 arg3 = (int) SWIG_AsInt(obj2);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 {
11330 arg4 = wxString_in_helper(obj3);
11331 if (arg4 == NULL) SWIG_fail;
11332 temp4 = True;
11333 }
11334 if (obj4) {
11335 {
11336 arg5 = &temp5;
11337 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11338 }
11339 }
11340 if (obj5) {
11341 {
11342 arg6 = &temp6;
11343 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11344 }
11345 }
11346 if (obj6) {
11347 {
11348 if (! PySequence_Check(obj6)) {
11349 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11350 SWIG_fail;
11351 }
11352 arg7 = new wxArrayString;
11353 temp7 = True;
11354 int i, len=PySequence_Length(obj6);
11355 for (i=0; i<len; i++) {
11356 PyObject* item = PySequence_GetItem(obj6, i);
11357 #if wxUSE_UNICODE
11358 PyObject* str = PyObject_Unicode(item);
11359 #else
11360 PyObject* str = PyObject_Str(item);
11361 #endif
11362 if (PyErr_Occurred()) SWIG_fail;
11363 arg7->Add(Py2wxString(str));
11364 Py_DECREF(item);
11365 Py_DECREF(str);
11366 }
11367 }
11368 }
11369 if (obj7) {
11370 arg8 = (int) SWIG_AsInt(obj7);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 if (obj8) {
11374 arg9 = (long) SWIG_AsLong(obj8);
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 if (obj9) {
11378 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11379 SWIG_POINTER_EXCEPTION | 0)) == -1)
11380 SWIG_fail;
11381 if (arg10 == NULL) {
11382 PyErr_SetString(PyExc_TypeError,"null reference");
11383 SWIG_fail;
11384 }
11385 }
11386 if (obj10) {
11387 {
11388 arg11 = wxString_in_helper(obj10);
11389 if (arg11 == NULL) SWIG_fail;
11390 temp11 = True;
11391 }
11392 }
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 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);
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 {
11401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11402 }
11403 {
11404 if (temp4)
11405 delete arg4;
11406 }
11407 {
11408 if (temp7) delete arg7;
11409 }
11410 {
11411 if (temp11)
11412 delete arg11;
11413 }
11414 return resultobj;
11415 fail:
11416 {
11417 if (temp4)
11418 delete arg4;
11419 }
11420 {
11421 if (temp7) delete arg7;
11422 }
11423 {
11424 if (temp11)
11425 delete arg11;
11426 }
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj;
11433 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11434 int arg2 ;
11435 PyObject * obj0 = 0 ;
11436 PyObject * obj1 = 0 ;
11437 char *kwnames[] = {
11438 (char *) "self",(char *) "n", NULL
11439 };
11440
11441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11444 arg2 = (int) SWIG_AsInt(obj1);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 (arg1)->SetSelection(arg2);
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 Py_INCREF(Py_None); resultobj = Py_None;
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11463 int result;
11464 PyObject * obj0 = 0 ;
11465 char *kwnames[] = {
11466 (char *) "self", NULL
11467 };
11468
11469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11472 {
11473 PyThreadState* __tstate = wxPyBeginAllowThreads();
11474 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11475
11476 wxPyEndAllowThreads(__tstate);
11477 if (PyErr_Occurred()) SWIG_fail;
11478 }
11479 resultobj = SWIG_FromInt((int)result);
11480 return resultobj;
11481 fail:
11482 return NULL;
11483 }
11484
11485
11486 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11487 PyObject *resultobj;
11488 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11489 wxString result;
11490 PyObject * obj0 = 0 ;
11491 char *kwnames[] = {
11492 (char *) "self", NULL
11493 };
11494
11495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 {
11506 #if wxUSE_UNICODE
11507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11508 #else
11509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11510 #endif
11511 }
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11521 wxString *arg2 = 0 ;
11522 bool result;
11523 bool temp2 = False ;
11524 PyObject * obj0 = 0 ;
11525 PyObject * obj1 = 0 ;
11526 char *kwnames[] = {
11527 (char *) "self",(char *) "s", NULL
11528 };
11529
11530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11533 {
11534 arg2 = wxString_in_helper(obj1);
11535 if (arg2 == NULL) SWIG_fail;
11536 temp2 = True;
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 {
11546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11547 }
11548 {
11549 if (temp2)
11550 delete arg2;
11551 }
11552 return resultobj;
11553 fail:
11554 {
11555 if (temp2)
11556 delete arg2;
11557 }
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11565 int result;
11566 PyObject * obj0 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "self", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (int)((wxRadioBox const *)arg1)->GetCount();
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 resultobj = SWIG_FromInt((int)result);
11582 return resultobj;
11583 fail:
11584 return NULL;
11585 }
11586
11587
11588 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11591 wxString *arg2 = 0 ;
11592 int result;
11593 bool temp2 = False ;
11594 PyObject * obj0 = 0 ;
11595 PyObject * obj1 = 0 ;
11596 char *kwnames[] = {
11597 (char *) "self",(char *) "s", NULL
11598 };
11599
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11603 {
11604 arg2 = wxString_in_helper(obj1);
11605 if (arg2 == NULL) SWIG_fail;
11606 temp2 = True;
11607 }
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 resultobj = SWIG_FromInt((int)result);
11616 {
11617 if (temp2)
11618 delete arg2;
11619 }
11620 return resultobj;
11621 fail:
11622 {
11623 if (temp2)
11624 delete arg2;
11625 }
11626 return NULL;
11627 }
11628
11629
11630 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj;
11632 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11633 int arg2 ;
11634 wxString result;
11635 PyObject * obj0 = 0 ;
11636 PyObject * obj1 = 0 ;
11637 char *kwnames[] = {
11638 (char *) "self",(char *) "n", NULL
11639 };
11640
11641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11644 arg2 = (int) SWIG_AsInt(obj1);
11645 if (PyErr_Occurred()) SWIG_fail;
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 {
11654 #if wxUSE_UNICODE
11655 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11656 #else
11657 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11658 #endif
11659 }
11660 return resultobj;
11661 fail:
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11669 int arg2 ;
11670 wxString *arg3 = 0 ;
11671 bool temp3 = False ;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 PyObject * obj2 = 0 ;
11675 char *kwnames[] = {
11676 (char *) "self",(char *) "n",(char *) "label", NULL
11677 };
11678
11679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11682 arg2 = (int) SWIG_AsInt(obj1);
11683 if (PyErr_Occurred()) SWIG_fail;
11684 {
11685 arg3 = wxString_in_helper(obj2);
11686 if (arg3 == NULL) SWIG_fail;
11687 temp3 = True;
11688 }
11689 {
11690 PyThreadState* __tstate = wxPyBeginAllowThreads();
11691 (arg1)->SetString(arg2,(wxString const &)*arg3);
11692
11693 wxPyEndAllowThreads(__tstate);
11694 if (PyErr_Occurred()) SWIG_fail;
11695 }
11696 Py_INCREF(Py_None); resultobj = Py_None;
11697 {
11698 if (temp3)
11699 delete arg3;
11700 }
11701 return resultobj;
11702 fail:
11703 {
11704 if (temp3)
11705 delete arg3;
11706 }
11707 return NULL;
11708 }
11709
11710
11711 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11712 PyObject *resultobj;
11713 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11714 int arg2 ;
11715 bool arg3 = (bool) True ;
11716 PyObject * obj0 = 0 ;
11717 PyObject * obj1 = 0 ;
11718 PyObject * obj2 = 0 ;
11719 char *kwnames[] = {
11720 (char *) "self",(char *) "n",(char *) "enable", NULL
11721 };
11722
11723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11726 arg2 = (int) SWIG_AsInt(obj1);
11727 if (PyErr_Occurred()) SWIG_fail;
11728 if (obj2) {
11729 arg3 = (bool) SWIG_AsBool(obj2);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 (arg1)->Enable(arg2,arg3);
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 Py_INCREF(Py_None); resultobj = Py_None;
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11749 int arg2 ;
11750 bool arg3 = (bool) True ;
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 PyObject * obj2 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "n",(char *) "show", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11761 arg2 = (int) SWIG_AsInt(obj1);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 if (obj2) {
11764 arg3 = (bool) SWIG_AsBool(obj2);
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 (arg1)->Show(arg2,arg3);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 Py_INCREF(Py_None); resultobj = Py_None;
11775 return resultobj;
11776 fail:
11777 return NULL;
11778 }
11779
11780
11781 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11782 PyObject *resultobj;
11783 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11784 int result;
11785 PyObject * obj0 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 resultobj = SWIG_FromInt((int)result);
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11808 PyObject *resultobj;
11809 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11810 int result;
11811 PyObject * obj0 = 0 ;
11812 char *kwnames[] = {
11813 (char *) "self", NULL
11814 };
11815
11816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11819 {
11820 PyThreadState* __tstate = wxPyBeginAllowThreads();
11821 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11822
11823 wxPyEndAllowThreads(__tstate);
11824 if (PyErr_Occurred()) SWIG_fail;
11825 }
11826 resultobj = SWIG_FromInt((int)result);
11827 return resultobj;
11828 fail:
11829 return NULL;
11830 }
11831
11832
11833 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11834 PyObject *resultobj;
11835 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11836 int arg2 ;
11837 int arg3 ;
11838 long arg4 ;
11839 int result;
11840 PyObject * obj0 = 0 ;
11841 PyObject * obj1 = 0 ;
11842 PyObject * obj2 = 0 ;
11843 PyObject * obj3 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11851 arg2 = (int) SWIG_AsInt(obj1);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 arg3 = (wxDirection) SWIG_AsInt(obj2);
11854 if (PyErr_Occurred()) SWIG_fail;
11855 arg4 = (long) SWIG_AsLong(obj3);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = SWIG_FromInt((int)result);
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11872 PyObject *obj;
11873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11874 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11875 Py_INCREF(obj);
11876 return Py_BuildValue((char *)"");
11877 }
11878 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11879 PyObject *resultobj;
11880 wxWindow *arg1 = (wxWindow *) 0 ;
11881 int arg2 ;
11882 wxString *arg3 = 0 ;
11883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11885 wxSize const &arg5_defvalue = wxDefaultSize ;
11886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11887 long arg6 = (long) 0 ;
11888 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11889 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11890 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11891 wxString *arg8 = (wxString *) &arg8_defvalue ;
11892 wxRadioButton *result;
11893 bool temp3 = False ;
11894 wxPoint temp4 ;
11895 wxSize temp5 ;
11896 bool temp8 = False ;
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj1 = 0 ;
11899 PyObject * obj2 = 0 ;
11900 PyObject * obj3 = 0 ;
11901 PyObject * obj4 = 0 ;
11902 PyObject * obj5 = 0 ;
11903 PyObject * obj6 = 0 ;
11904 PyObject * obj7 = 0 ;
11905 char *kwnames[] = {
11906 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11907 };
11908
11909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11912 arg2 = (int) SWIG_AsInt(obj1);
11913 if (PyErr_Occurred()) SWIG_fail;
11914 {
11915 arg3 = wxString_in_helper(obj2);
11916 if (arg3 == NULL) SWIG_fail;
11917 temp3 = True;
11918 }
11919 if (obj3) {
11920 {
11921 arg4 = &temp4;
11922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11923 }
11924 }
11925 if (obj4) {
11926 {
11927 arg5 = &temp5;
11928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11929 }
11930 }
11931 if (obj5) {
11932 arg6 = (long) SWIG_AsLong(obj5);
11933 if (PyErr_Occurred()) SWIG_fail;
11934 }
11935 if (obj6) {
11936 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11937 SWIG_POINTER_EXCEPTION | 0)) == -1)
11938 SWIG_fail;
11939 if (arg7 == NULL) {
11940 PyErr_SetString(PyExc_TypeError,"null reference");
11941 SWIG_fail;
11942 }
11943 }
11944 if (obj7) {
11945 {
11946 arg8 = wxString_in_helper(obj7);
11947 if (arg8 == NULL) SWIG_fail;
11948 temp8 = True;
11949 }
11950 }
11951 {
11952 PyThreadState* __tstate = wxPyBeginAllowThreads();
11953 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11954
11955 wxPyEndAllowThreads(__tstate);
11956 if (PyErr_Occurred()) SWIG_fail;
11957 }
11958 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11959 {
11960 if (temp3)
11961 delete arg3;
11962 }
11963 {
11964 if (temp8)
11965 delete arg8;
11966 }
11967 return resultobj;
11968 fail:
11969 {
11970 if (temp3)
11971 delete arg3;
11972 }
11973 {
11974 if (temp8)
11975 delete arg8;
11976 }
11977 return NULL;
11978 }
11979
11980
11981 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11982 PyObject *resultobj;
11983 wxRadioButton *result;
11984 char *kwnames[] = {
11985 NULL
11986 };
11987
11988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11989 {
11990 PyThreadState* __tstate = wxPyBeginAllowThreads();
11991 result = (wxRadioButton *)new wxRadioButton();
11992
11993 wxPyEndAllowThreads(__tstate);
11994 if (PyErr_Occurred()) SWIG_fail;
11995 }
11996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11997 return resultobj;
11998 fail:
11999 return NULL;
12000 }
12001
12002
12003 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12004 PyObject *resultobj;
12005 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12006 wxWindow *arg2 = (wxWindow *) 0 ;
12007 int arg3 ;
12008 wxString *arg4 = 0 ;
12009 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12010 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12011 wxSize const &arg6_defvalue = wxDefaultSize ;
12012 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12013 long arg7 = (long) 0 ;
12014 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12015 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12016 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12017 wxString *arg9 = (wxString *) &arg9_defvalue ;
12018 bool result;
12019 bool temp4 = False ;
12020 wxPoint temp5 ;
12021 wxSize temp6 ;
12022 bool temp9 = False ;
12023 PyObject * obj0 = 0 ;
12024 PyObject * obj1 = 0 ;
12025 PyObject * obj2 = 0 ;
12026 PyObject * obj3 = 0 ;
12027 PyObject * obj4 = 0 ;
12028 PyObject * obj5 = 0 ;
12029 PyObject * obj6 = 0 ;
12030 PyObject * obj7 = 0 ;
12031 PyObject * obj8 = 0 ;
12032 char *kwnames[] = {
12033 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12034 };
12035
12036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12039 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12041 arg3 = (int) SWIG_AsInt(obj2);
12042 if (PyErr_Occurred()) SWIG_fail;
12043 {
12044 arg4 = wxString_in_helper(obj3);
12045 if (arg4 == NULL) SWIG_fail;
12046 temp4 = True;
12047 }
12048 if (obj4) {
12049 {
12050 arg5 = &temp5;
12051 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12052 }
12053 }
12054 if (obj5) {
12055 {
12056 arg6 = &temp6;
12057 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12058 }
12059 }
12060 if (obj6) {
12061 arg7 = (long) SWIG_AsLong(obj6);
12062 if (PyErr_Occurred()) SWIG_fail;
12063 }
12064 if (obj7) {
12065 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12066 SWIG_POINTER_EXCEPTION | 0)) == -1)
12067 SWIG_fail;
12068 if (arg8 == NULL) {
12069 PyErr_SetString(PyExc_TypeError,"null reference");
12070 SWIG_fail;
12071 }
12072 }
12073 if (obj8) {
12074 {
12075 arg9 = wxString_in_helper(obj8);
12076 if (arg9 == NULL) SWIG_fail;
12077 temp9 = True;
12078 }
12079 }
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 {
12088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12089 }
12090 {
12091 if (temp4)
12092 delete arg4;
12093 }
12094 {
12095 if (temp9)
12096 delete arg9;
12097 }
12098 return resultobj;
12099 fail:
12100 {
12101 if (temp4)
12102 delete arg4;
12103 }
12104 {
12105 if (temp9)
12106 delete arg9;
12107 }
12108 return NULL;
12109 }
12110
12111
12112 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12115 bool result;
12116 PyObject * obj0 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (bool)(arg1)->GetValue();
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 {
12132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12133 }
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12143 bool arg2 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "value", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12153 arg2 = (bool) SWIG_AsBool(obj1);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetValue(arg2);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 Py_INCREF(Py_None); resultobj = Py_None;
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12170 PyObject *obj;
12171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12172 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12173 Py_INCREF(obj);
12174 return Py_BuildValue((char *)"");
12175 }
12176 static int _wrap_SliderNameStr_set(PyObject *_val) {
12177 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12178 return 1;
12179 }
12180
12181
12182 static PyObject *_wrap_SliderNameStr_get() {
12183 PyObject *pyobj;
12184
12185 {
12186 #if wxUSE_UNICODE
12187 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12188 #else
12189 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12190 #endif
12191 }
12192 return pyobj;
12193 }
12194
12195
12196 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12197 PyObject *resultobj;
12198 wxWindow *arg1 = (wxWindow *) 0 ;
12199 int arg2 ;
12200 int arg3 ;
12201 int arg4 ;
12202 int arg5 ;
12203 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12204 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12205 wxSize const &arg7_defvalue = wxDefaultSize ;
12206 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12207 long arg8 = (long) wxSL_HORIZONTAL ;
12208 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12209 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12210 wxString const &arg10_defvalue = wxPySliderNameStr ;
12211 wxString *arg10 = (wxString *) &arg10_defvalue ;
12212 wxSlider *result;
12213 wxPoint temp6 ;
12214 wxSize temp7 ;
12215 bool temp10 = False ;
12216 PyObject * obj0 = 0 ;
12217 PyObject * obj1 = 0 ;
12218 PyObject * obj2 = 0 ;
12219 PyObject * obj3 = 0 ;
12220 PyObject * obj4 = 0 ;
12221 PyObject * obj5 = 0 ;
12222 PyObject * obj6 = 0 ;
12223 PyObject * obj7 = 0 ;
12224 PyObject * obj8 = 0 ;
12225 PyObject * obj9 = 0 ;
12226 char *kwnames[] = {
12227 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12228 };
12229
12230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12233 arg2 = (int) SWIG_AsInt(obj1);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 arg3 = (int) SWIG_AsInt(obj2);
12236 if (PyErr_Occurred()) SWIG_fail;
12237 arg4 = (int) SWIG_AsInt(obj3);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 arg5 = (int) SWIG_AsInt(obj4);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 if (obj5) {
12242 {
12243 arg6 = &temp6;
12244 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12245 }
12246 }
12247 if (obj6) {
12248 {
12249 arg7 = &temp7;
12250 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12251 }
12252 }
12253 if (obj7) {
12254 arg8 = (long) SWIG_AsLong(obj7);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 if (obj8) {
12258 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12259 SWIG_POINTER_EXCEPTION | 0)) == -1)
12260 SWIG_fail;
12261 if (arg9 == NULL) {
12262 PyErr_SetString(PyExc_TypeError,"null reference");
12263 SWIG_fail;
12264 }
12265 }
12266 if (obj9) {
12267 {
12268 arg10 = wxString_in_helper(obj9);
12269 if (arg10 == NULL) SWIG_fail;
12270 temp10 = True;
12271 }
12272 }
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12281 {
12282 if (temp10)
12283 delete arg10;
12284 }
12285 return resultobj;
12286 fail:
12287 {
12288 if (temp10)
12289 delete arg10;
12290 }
12291 return NULL;
12292 }
12293
12294
12295 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12296 PyObject *resultobj;
12297 wxSlider *result;
12298 char *kwnames[] = {
12299 NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12303 {
12304 PyThreadState* __tstate = wxPyBeginAllowThreads();
12305 result = (wxSlider *)new wxSlider();
12306
12307 wxPyEndAllowThreads(__tstate);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12311 return resultobj;
12312 fail:
12313 return NULL;
12314 }
12315
12316
12317 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12318 PyObject *resultobj;
12319 wxSlider *arg1 = (wxSlider *) 0 ;
12320 wxWindow *arg2 = (wxWindow *) 0 ;
12321 int arg3 ;
12322 int arg4 ;
12323 int arg5 ;
12324 int arg6 ;
12325 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12326 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12327 wxSize const &arg8_defvalue = wxDefaultSize ;
12328 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12329 long arg9 = (long) wxSL_HORIZONTAL ;
12330 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12331 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12332 wxString const &arg11_defvalue = wxPySliderNameStr ;
12333 wxString *arg11 = (wxString *) &arg11_defvalue ;
12334 bool result;
12335 wxPoint temp7 ;
12336 wxSize temp8 ;
12337 bool temp11 = False ;
12338 PyObject * obj0 = 0 ;
12339 PyObject * obj1 = 0 ;
12340 PyObject * obj2 = 0 ;
12341 PyObject * obj3 = 0 ;
12342 PyObject * obj4 = 0 ;
12343 PyObject * obj5 = 0 ;
12344 PyObject * obj6 = 0 ;
12345 PyObject * obj7 = 0 ;
12346 PyObject * obj8 = 0 ;
12347 PyObject * obj9 = 0 ;
12348 PyObject * obj10 = 0 ;
12349 char *kwnames[] = {
12350 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12351 };
12352
12353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12356 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12358 arg3 = (int) SWIG_AsInt(obj2);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 arg4 = (int) SWIG_AsInt(obj3);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 arg5 = (int) SWIG_AsInt(obj4);
12363 if (PyErr_Occurred()) SWIG_fail;
12364 arg6 = (int) SWIG_AsInt(obj5);
12365 if (PyErr_Occurred()) SWIG_fail;
12366 if (obj6) {
12367 {
12368 arg7 = &temp7;
12369 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12370 }
12371 }
12372 if (obj7) {
12373 {
12374 arg8 = &temp8;
12375 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12376 }
12377 }
12378 if (obj8) {
12379 arg9 = (long) SWIG_AsLong(obj8);
12380 if (PyErr_Occurred()) SWIG_fail;
12381 }
12382 if (obj9) {
12383 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12384 SWIG_POINTER_EXCEPTION | 0)) == -1)
12385 SWIG_fail;
12386 if (arg10 == NULL) {
12387 PyErr_SetString(PyExc_TypeError,"null reference");
12388 SWIG_fail;
12389 }
12390 }
12391 if (obj10) {
12392 {
12393 arg11 = wxString_in_helper(obj10);
12394 if (arg11 == NULL) SWIG_fail;
12395 temp11 = True;
12396 }
12397 }
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 {
12406 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12407 }
12408 {
12409 if (temp11)
12410 delete arg11;
12411 }
12412 return resultobj;
12413 fail:
12414 {
12415 if (temp11)
12416 delete arg11;
12417 }
12418 return NULL;
12419 }
12420
12421
12422 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12423 PyObject *resultobj;
12424 wxSlider *arg1 = (wxSlider *) 0 ;
12425 int result;
12426 PyObject * obj0 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 result = (int)((wxSlider const *)arg1)->GetValue();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 resultobj = SWIG_FromInt((int)result);
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxSlider *arg1 = (wxSlider *) 0 ;
12451 int arg2 ;
12452 PyObject * obj0 = 0 ;
12453 PyObject * obj1 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self",(char *) "value", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12461 arg2 = (int) SWIG_AsInt(obj1);
12462 if (PyErr_Occurred()) SWIG_fail;
12463 {
12464 PyThreadState* __tstate = wxPyBeginAllowThreads();
12465 (arg1)->SetValue(arg2);
12466
12467 wxPyEndAllowThreads(__tstate);
12468 if (PyErr_Occurred()) SWIG_fail;
12469 }
12470 Py_INCREF(Py_None); resultobj = Py_None;
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxSlider *arg1 = (wxSlider *) 0 ;
12480 int arg2 ;
12481 int arg3 ;
12482 PyObject * obj0 = 0 ;
12483 PyObject * obj1 = 0 ;
12484 PyObject * obj2 = 0 ;
12485 char *kwnames[] = {
12486 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12487 };
12488
12489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12492 arg2 = (int) SWIG_AsInt(obj1);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 arg3 = (int) SWIG_AsInt(obj2);
12495 if (PyErr_Occurred()) SWIG_fail;
12496 {
12497 PyThreadState* __tstate = wxPyBeginAllowThreads();
12498 (arg1)->SetRange(arg2,arg3);
12499
12500 wxPyEndAllowThreads(__tstate);
12501 if (PyErr_Occurred()) SWIG_fail;
12502 }
12503 Py_INCREF(Py_None); resultobj = Py_None;
12504 return resultobj;
12505 fail:
12506 return NULL;
12507 }
12508
12509
12510 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxSlider *arg1 = (wxSlider *) 0 ;
12513 int result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "self", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 result = (int)((wxSlider const *)arg1)->GetMin();
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 resultobj = SWIG_FromInt((int)result);
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12537 PyObject *resultobj;
12538 wxSlider *arg1 = (wxSlider *) 0 ;
12539 int result;
12540 PyObject * obj0 = 0 ;
12541 char *kwnames[] = {
12542 (char *) "self", NULL
12543 };
12544
12545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 result = (int)((wxSlider const *)arg1)->GetMax();
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 resultobj = SWIG_FromInt((int)result);
12556 return resultobj;
12557 fail:
12558 return NULL;
12559 }
12560
12561
12562 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12563 PyObject *resultobj;
12564 wxSlider *arg1 = (wxSlider *) 0 ;
12565 int arg2 ;
12566 PyObject * obj0 = 0 ;
12567 PyObject * obj1 = 0 ;
12568 char *kwnames[] = {
12569 (char *) "self",(char *) "minValue", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12575 arg2 = (int) SWIG_AsInt(obj1);
12576 if (PyErr_Occurred()) SWIG_fail;
12577 {
12578 PyThreadState* __tstate = wxPyBeginAllowThreads();
12579 (arg1)->SetMin(arg2);
12580
12581 wxPyEndAllowThreads(__tstate);
12582 if (PyErr_Occurred()) SWIG_fail;
12583 }
12584 Py_INCREF(Py_None); resultobj = Py_None;
12585 return resultobj;
12586 fail:
12587 return NULL;
12588 }
12589
12590
12591 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12592 PyObject *resultobj;
12593 wxSlider *arg1 = (wxSlider *) 0 ;
12594 int arg2 ;
12595 PyObject * obj0 = 0 ;
12596 PyObject * obj1 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "self",(char *) "maxValue", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12604 arg2 = (int) SWIG_AsInt(obj1);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->SetMax(arg2);
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 return resultobj;
12615 fail:
12616 return NULL;
12617 }
12618
12619
12620 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12621 PyObject *resultobj;
12622 wxSlider *arg1 = (wxSlider *) 0 ;
12623 int arg2 ;
12624 PyObject * obj0 = 0 ;
12625 PyObject * obj1 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self",(char *) "lineSize", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 arg2 = (int) SWIG_AsInt(obj1);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 (arg1)->SetLineSize(arg2);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 Py_INCREF(Py_None); resultobj = Py_None;
12643 return resultobj;
12644 fail:
12645 return NULL;
12646 }
12647
12648
12649 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj;
12651 wxSlider *arg1 = (wxSlider *) 0 ;
12652 int arg2 ;
12653 PyObject * obj0 = 0 ;
12654 PyObject * obj1 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "self",(char *) "pageSize", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12662 arg2 = (int) SWIG_AsInt(obj1);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 (arg1)->SetPageSize(arg2);
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 Py_INCREF(Py_None); resultobj = Py_None;
12672 return resultobj;
12673 fail:
12674 return NULL;
12675 }
12676
12677
12678 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxSlider *arg1 = (wxSlider *) 0 ;
12681 int result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12690 {
12691 PyThreadState* __tstate = wxPyBeginAllowThreads();
12692 result = (int)((wxSlider const *)arg1)->GetLineSize();
12693
12694 wxPyEndAllowThreads(__tstate);
12695 if (PyErr_Occurred()) SWIG_fail;
12696 }
12697 resultobj = SWIG_FromInt((int)result);
12698 return resultobj;
12699 fail:
12700 return NULL;
12701 }
12702
12703
12704 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12705 PyObject *resultobj;
12706 wxSlider *arg1 = (wxSlider *) 0 ;
12707 int result;
12708 PyObject * obj0 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (int)((wxSlider const *)arg1)->GetPageSize();
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_FromInt((int)result);
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxSlider *arg1 = (wxSlider *) 0 ;
12733 int arg2 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "lenPixels", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12743 arg2 = (int) SWIG_AsInt(obj1);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 {
12746 PyThreadState* __tstate = wxPyBeginAllowThreads();
12747 (arg1)->SetThumbLength(arg2);
12748
12749 wxPyEndAllowThreads(__tstate);
12750 if (PyErr_Occurred()) SWIG_fail;
12751 }
12752 Py_INCREF(Py_None); resultobj = Py_None;
12753 return resultobj;
12754 fail:
12755 return NULL;
12756 }
12757
12758
12759 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12760 PyObject *resultobj;
12761 wxSlider *arg1 = (wxSlider *) 0 ;
12762 int result;
12763 PyObject * obj0 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 {
12772 PyThreadState* __tstate = wxPyBeginAllowThreads();
12773 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12774
12775 wxPyEndAllowThreads(__tstate);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 }
12778 resultobj = SWIG_FromInt((int)result);
12779 return resultobj;
12780 fail:
12781 return NULL;
12782 }
12783
12784
12785 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12786 PyObject *resultobj;
12787 wxSlider *arg1 = (wxSlider *) 0 ;
12788 int arg2 ;
12789 int arg3 = (int) 1 ;
12790 PyObject * obj0 = 0 ;
12791 PyObject * obj1 = 0 ;
12792 PyObject * obj2 = 0 ;
12793 char *kwnames[] = {
12794 (char *) "self",(char *) "n",(char *) "pos", NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12800 arg2 = (int) SWIG_AsInt(obj1);
12801 if (PyErr_Occurred()) SWIG_fail;
12802 if (obj2) {
12803 arg3 = (int) SWIG_AsInt(obj2);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 {
12807 PyThreadState* __tstate = wxPyBeginAllowThreads();
12808 (arg1)->SetTickFreq(arg2,arg3);
12809
12810 wxPyEndAllowThreads(__tstate);
12811 if (PyErr_Occurred()) SWIG_fail;
12812 }
12813 Py_INCREF(Py_None); resultobj = Py_None;
12814 return resultobj;
12815 fail:
12816 return NULL;
12817 }
12818
12819
12820 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12821 PyObject *resultobj;
12822 wxSlider *arg1 = (wxSlider *) 0 ;
12823 int result;
12824 PyObject * obj0 = 0 ;
12825 char *kwnames[] = {
12826 (char *) "self", NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 resultobj = SWIG_FromInt((int)result);
12840 return resultobj;
12841 fail:
12842 return NULL;
12843 }
12844
12845
12846 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12847 PyObject *resultobj;
12848 wxSlider *arg1 = (wxSlider *) 0 ;
12849 PyObject * obj0 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 (arg1)->ClearTicks();
12860
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
12864 Py_INCREF(Py_None); resultobj = Py_None;
12865 return resultobj;
12866 fail:
12867 return NULL;
12868 }
12869
12870
12871 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxSlider *arg1 = (wxSlider *) 0 ;
12874 int arg2 ;
12875 PyObject * obj0 = 0 ;
12876 PyObject * obj1 = 0 ;
12877 char *kwnames[] = {
12878 (char *) "self",(char *) "tickPos", NULL
12879 };
12880
12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 arg2 = (int) SWIG_AsInt(obj1);
12885 if (PyErr_Occurred()) SWIG_fail;
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetTick(arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxSlider *arg1 = (wxSlider *) 0 ;
12903 PyObject * obj0 = 0 ;
12904 char *kwnames[] = {
12905 (char *) "self", NULL
12906 };
12907
12908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 (arg1)->ClearSel();
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 Py_INCREF(Py_None); resultobj = Py_None;
12919 return resultobj;
12920 fail:
12921 return NULL;
12922 }
12923
12924
12925 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxSlider *arg1 = (wxSlider *) 0 ;
12928 int result;
12929 PyObject * obj0 = 0 ;
12930 char *kwnames[] = {
12931 (char *) "self", NULL
12932 };
12933
12934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12937 {
12938 PyThreadState* __tstate = wxPyBeginAllowThreads();
12939 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12940
12941 wxPyEndAllowThreads(__tstate);
12942 if (PyErr_Occurred()) SWIG_fail;
12943 }
12944 resultobj = SWIG_FromInt((int)result);
12945 return resultobj;
12946 fail:
12947 return NULL;
12948 }
12949
12950
12951 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12952 PyObject *resultobj;
12953 wxSlider *arg1 = (wxSlider *) 0 ;
12954 int result;
12955 PyObject * obj0 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "self", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (int)((wxSlider const *)arg1)->GetSelStart();
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = SWIG_FromInt((int)result);
12971 return resultobj;
12972 fail:
12973 return NULL;
12974 }
12975
12976
12977 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12978 PyObject *resultobj;
12979 wxSlider *arg1 = (wxSlider *) 0 ;
12980 int arg2 ;
12981 int arg3 ;
12982 PyObject * obj0 = 0 ;
12983 PyObject * obj1 = 0 ;
12984 PyObject * obj2 = 0 ;
12985 char *kwnames[] = {
12986 (char *) "self",(char *) "min",(char *) "max", NULL
12987 };
12988
12989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12992 arg2 = (int) SWIG_AsInt(obj1);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 arg3 = (int) SWIG_AsInt(obj2);
12995 if (PyErr_Occurred()) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 (arg1)->SetSelection(arg2,arg3);
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 Py_INCREF(Py_None); resultobj = Py_None;
13004 return resultobj;
13005 fail:
13006 return NULL;
13007 }
13008
13009
13010 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13011 PyObject *obj;
13012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13013 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13014 Py_INCREF(obj);
13015 return Py_BuildValue((char *)"");
13016 }
13017 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13018 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13019 return 1;
13020 }
13021
13022
13023 static PyObject *_wrap_ToggleButtonNameStr_get() {
13024 PyObject *pyobj;
13025
13026 {
13027 #if wxUSE_UNICODE
13028 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13029 #else
13030 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13031 #endif
13032 }
13033 return pyobj;
13034 }
13035
13036
13037 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13038 PyObject *resultobj;
13039 wxWindow *arg1 = (wxWindow *) 0 ;
13040 int arg2 ;
13041 wxString *arg3 = 0 ;
13042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13044 wxSize const &arg5_defvalue = wxDefaultSize ;
13045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13046 long arg6 = (long) 0 ;
13047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13049 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13050 wxString *arg8 = (wxString *) &arg8_defvalue ;
13051 wxToggleButton *result;
13052 bool temp3 = False ;
13053 wxPoint temp4 ;
13054 wxSize temp5 ;
13055 bool temp8 = False ;
13056 PyObject * obj0 = 0 ;
13057 PyObject * obj1 = 0 ;
13058 PyObject * obj2 = 0 ;
13059 PyObject * obj3 = 0 ;
13060 PyObject * obj4 = 0 ;
13061 PyObject * obj5 = 0 ;
13062 PyObject * obj6 = 0 ;
13063 PyObject * obj7 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13071 arg2 = (int) SWIG_AsInt(obj1);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 {
13074 arg3 = wxString_in_helper(obj2);
13075 if (arg3 == NULL) SWIG_fail;
13076 temp3 = True;
13077 }
13078 if (obj3) {
13079 {
13080 arg4 = &temp4;
13081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13082 }
13083 }
13084 if (obj4) {
13085 {
13086 arg5 = &temp5;
13087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13088 }
13089 }
13090 if (obj5) {
13091 arg6 = (long) SWIG_AsLong(obj5);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 if (obj6) {
13095 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13096 SWIG_POINTER_EXCEPTION | 0)) == -1)
13097 SWIG_fail;
13098 if (arg7 == NULL) {
13099 PyErr_SetString(PyExc_TypeError,"null reference");
13100 SWIG_fail;
13101 }
13102 }
13103 if (obj7) {
13104 {
13105 arg8 = wxString_in_helper(obj7);
13106 if (arg8 == NULL) SWIG_fail;
13107 temp8 = True;
13108 }
13109 }
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
13117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13118 {
13119 if (temp3)
13120 delete arg3;
13121 }
13122 {
13123 if (temp8)
13124 delete arg8;
13125 }
13126 return resultobj;
13127 fail:
13128 {
13129 if (temp3)
13130 delete arg3;
13131 }
13132 {
13133 if (temp8)
13134 delete arg8;
13135 }
13136 return NULL;
13137 }
13138
13139
13140 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13141 PyObject *resultobj;
13142 wxToggleButton *result;
13143 char *kwnames[] = {
13144 NULL
13145 };
13146
13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 result = (wxToggleButton *)new wxToggleButton();
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13156 return resultobj;
13157 fail:
13158 return NULL;
13159 }
13160
13161
13162 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13165 wxWindow *arg2 = (wxWindow *) 0 ;
13166 int arg3 ;
13167 wxString *arg4 = 0 ;
13168 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13169 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13170 wxSize const &arg6_defvalue = wxDefaultSize ;
13171 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13172 long arg7 = (long) 0 ;
13173 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13174 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13175 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13176 wxString *arg9 = (wxString *) &arg9_defvalue ;
13177 bool result;
13178 bool temp4 = False ;
13179 wxPoint temp5 ;
13180 wxSize temp6 ;
13181 bool temp9 = False ;
13182 PyObject * obj0 = 0 ;
13183 PyObject * obj1 = 0 ;
13184 PyObject * obj2 = 0 ;
13185 PyObject * obj3 = 0 ;
13186 PyObject * obj4 = 0 ;
13187 PyObject * obj5 = 0 ;
13188 PyObject * obj6 = 0 ;
13189 PyObject * obj7 = 0 ;
13190 PyObject * obj8 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13200 arg3 = (int) SWIG_AsInt(obj2);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 {
13203 arg4 = wxString_in_helper(obj3);
13204 if (arg4 == NULL) SWIG_fail;
13205 temp4 = True;
13206 }
13207 if (obj4) {
13208 {
13209 arg5 = &temp5;
13210 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13211 }
13212 }
13213 if (obj5) {
13214 {
13215 arg6 = &temp6;
13216 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13217 }
13218 }
13219 if (obj6) {
13220 arg7 = (long) SWIG_AsLong(obj6);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 if (obj7) {
13224 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13225 SWIG_POINTER_EXCEPTION | 0)) == -1)
13226 SWIG_fail;
13227 if (arg8 == NULL) {
13228 PyErr_SetString(PyExc_TypeError,"null reference");
13229 SWIG_fail;
13230 }
13231 }
13232 if (obj8) {
13233 {
13234 arg9 = wxString_in_helper(obj8);
13235 if (arg9 == NULL) SWIG_fail;
13236 temp9 = True;
13237 }
13238 }
13239 {
13240 PyThreadState* __tstate = wxPyBeginAllowThreads();
13241 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13242
13243 wxPyEndAllowThreads(__tstate);
13244 if (PyErr_Occurred()) SWIG_fail;
13245 }
13246 {
13247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13248 }
13249 {
13250 if (temp4)
13251 delete arg4;
13252 }
13253 {
13254 if (temp9)
13255 delete arg9;
13256 }
13257 return resultobj;
13258 fail:
13259 {
13260 if (temp4)
13261 delete arg4;
13262 }
13263 {
13264 if (temp9)
13265 delete arg9;
13266 }
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13274 bool arg2 ;
13275 PyObject * obj0 = 0 ;
13276 PyObject * obj1 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "self",(char *) "value", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13284 arg2 = (bool) SWIG_AsBool(obj1);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 {
13287 PyThreadState* __tstate = wxPyBeginAllowThreads();
13288 (arg1)->SetValue(arg2);
13289
13290 wxPyEndAllowThreads(__tstate);
13291 if (PyErr_Occurred()) SWIG_fail;
13292 }
13293 Py_INCREF(Py_None); resultobj = Py_None;
13294 return resultobj;
13295 fail:
13296 return NULL;
13297 }
13298
13299
13300 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13301 PyObject *resultobj;
13302 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13303 bool result;
13304 PyObject * obj0 = 0 ;
13305 char *kwnames[] = {
13306 (char *) "self", NULL
13307 };
13308
13309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13315
13316 wxPyEndAllowThreads(__tstate);
13317 if (PyErr_Occurred()) SWIG_fail;
13318 }
13319 {
13320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13321 }
13322 return resultobj;
13323 fail:
13324 return NULL;
13325 }
13326
13327
13328 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13329 PyObject *resultobj;
13330 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13331 wxString *arg2 = 0 ;
13332 bool temp2 = False ;
13333 PyObject * obj0 = 0 ;
13334 PyObject * obj1 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "label", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 {
13343 arg2 = wxString_in_helper(obj1);
13344 if (arg2 == NULL) SWIG_fail;
13345 temp2 = True;
13346 }
13347 {
13348 PyThreadState* __tstate = wxPyBeginAllowThreads();
13349 (arg1)->SetLabel((wxString const &)*arg2);
13350
13351 wxPyEndAllowThreads(__tstate);
13352 if (PyErr_Occurred()) SWIG_fail;
13353 }
13354 Py_INCREF(Py_None); resultobj = Py_None;
13355 {
13356 if (temp2)
13357 delete arg2;
13358 }
13359 return resultobj;
13360 fail:
13361 {
13362 if (temp2)
13363 delete arg2;
13364 }
13365 return NULL;
13366 }
13367
13368
13369 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13370 PyObject *obj;
13371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13372 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13373 Py_INCREF(obj);
13374 return Py_BuildValue((char *)"");
13375 }
13376 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13377 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13378 return 1;
13379 }
13380
13381
13382 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13383 PyObject *pyobj;
13384
13385 {
13386 #if wxUSE_UNICODE
13387 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13388 #else
13389 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13390 #endif
13391 }
13392 return pyobj;
13393 }
13394
13395
13396 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13397 PyObject *resultobj;
13398 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13399 size_t result;
13400 PyObject * obj0 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13408 {
13409 PyThreadState* __tstate = wxPyBeginAllowThreads();
13410 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13411
13412 wxPyEndAllowThreads(__tstate);
13413 if (PyErr_Occurred()) SWIG_fail;
13414 }
13415 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13416 return resultobj;
13417 fail:
13418 return NULL;
13419 }
13420
13421
13422 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13423 PyObject *resultobj;
13424 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13425 size_t arg2 ;
13426 wxWindow *result;
13427 PyObject * obj0 = 0 ;
13428 PyObject * obj1 = 0 ;
13429 char *kwnames[] = {
13430 (char *) "self",(char *) "n", NULL
13431 };
13432
13433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13436 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (wxWindow *)(arg1)->GetPage(arg2);
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 {
13446 resultobj = wxPyMake_wxObject(result);
13447 }
13448 return resultobj;
13449 fail:
13450 return NULL;
13451 }
13452
13453
13454 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13457 int result;
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 resultobj = SWIG_FromInt((int)result);
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13483 size_t arg2 ;
13484 wxString *arg3 = 0 ;
13485 bool result;
13486 bool temp3 = False ;
13487 PyObject * obj0 = 0 ;
13488 PyObject * obj1 = 0 ;
13489 PyObject * obj2 = 0 ;
13490 char *kwnames[] = {
13491 (char *) "self",(char *) "n",(char *) "strText", NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13497 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 {
13500 arg3 = wxString_in_helper(obj2);
13501 if (arg3 == NULL) SWIG_fail;
13502 temp3 = True;
13503 }
13504 {
13505 PyThreadState* __tstate = wxPyBeginAllowThreads();
13506 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13507
13508 wxPyEndAllowThreads(__tstate);
13509 if (PyErr_Occurred()) SWIG_fail;
13510 }
13511 {
13512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13513 }
13514 {
13515 if (temp3)
13516 delete arg3;
13517 }
13518 return resultobj;
13519 fail:
13520 {
13521 if (temp3)
13522 delete arg3;
13523 }
13524 return NULL;
13525 }
13526
13527
13528 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13529 PyObject *resultobj;
13530 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13531 size_t arg2 ;
13532 wxString result;
13533 PyObject * obj0 = 0 ;
13534 PyObject * obj1 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "n", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13542 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 {
13552 #if wxUSE_UNICODE
13553 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13554 #else
13555 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13556 #endif
13557 }
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13565 PyObject *resultobj;
13566 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13567 wxImageList *arg2 = (wxImageList *) 0 ;
13568 PyObject * obj0 = 0 ;
13569 PyObject * obj1 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "imageList", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->SetImageList(arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13596 wxImageList *arg2 = (wxImageList *) 0 ;
13597 PyObject * obj0 = 0 ;
13598 PyObject * obj1 = 0 ;
13599 char *kwnames[] = {
13600 (char *) "self",(char *) "imageList", NULL
13601 };
13602
13603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13607 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 (arg1)->AssignImageList(arg2);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 Py_INCREF(Py_None); resultobj = Py_None;
13616 return resultobj;
13617 fail:
13618 return NULL;
13619 }
13620
13621
13622 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13625 wxImageList *result;
13626 PyObject * obj0 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 {
13642 resultobj = wxPyMake_wxObject(result);
13643 }
13644 return resultobj;
13645 fail:
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13653 size_t arg2 ;
13654 int result;
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "n", NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13664 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 resultobj = SWIG_FromInt((int)result);
13674 return resultobj;
13675 fail:
13676 return NULL;
13677 }
13678
13679
13680 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13683 size_t arg2 ;
13684 int arg3 ;
13685 bool result;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 PyObject * obj2 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "n",(char *) "imageId", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13696 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13697 if (PyErr_Occurred()) SWIG_fail;
13698 arg3 = (int) SWIG_AsInt(obj2);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
13707 {
13708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13709 }
13710 return resultobj;
13711 fail:
13712 return NULL;
13713 }
13714
13715
13716 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13717 PyObject *resultobj;
13718 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13719 wxSize *arg2 = 0 ;
13720 wxSize temp2 ;
13721 PyObject * obj0 = 0 ;
13722 PyObject * obj1 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self",(char *) "size", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13730 {
13731 arg2 = &temp2;
13732 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13733 }
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->SetPageSize((wxSize const &)*arg2);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 Py_INCREF(Py_None); resultobj = Py_None;
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13751 wxSize *arg2 = 0 ;
13752 wxSize result;
13753 wxSize temp2 ;
13754 PyObject * obj0 = 0 ;
13755 PyObject * obj1 = 0 ;
13756 char *kwnames[] = {
13757 (char *) "self",(char *) "sizePage", NULL
13758 };
13759
13760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13763 {
13764 arg2 = &temp2;
13765 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13766 }
13767 {
13768 PyThreadState* __tstate = wxPyBeginAllowThreads();
13769 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13770
13771 wxPyEndAllowThreads(__tstate);
13772 if (PyErr_Occurred()) SWIG_fail;
13773 }
13774 {
13775 wxSize * resultptr;
13776 resultptr = new wxSize((wxSize &) result);
13777 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13778 }
13779 return resultobj;
13780 fail:
13781 return NULL;
13782 }
13783
13784
13785 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13788 size_t arg2 ;
13789 bool result;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self",(char *) "n", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13799 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13800 if (PyErr_Occurred()) SWIG_fail;
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = (bool)(arg1)->DeletePage(arg2);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 {
13809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13810 }
13811 return resultobj;
13812 fail:
13813 return NULL;
13814 }
13815
13816
13817 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13818 PyObject *resultobj;
13819 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13820 size_t arg2 ;
13821 bool result;
13822 PyObject * obj0 = 0 ;
13823 PyObject * obj1 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "n", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13831 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (bool)(arg1)->RemovePage(arg2);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13842 }
13843 return resultobj;
13844 fail:
13845 return NULL;
13846 }
13847
13848
13849 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj;
13851 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13852 bool result;
13853 PyObject * obj0 = 0 ;
13854 char *kwnames[] = {
13855 (char *) "self", NULL
13856 };
13857
13858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (bool)(arg1)->DeleteAllPages();
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 {
13869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13870 }
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13880 wxWindow *arg2 = (wxWindow *) 0 ;
13881 wxString *arg3 = 0 ;
13882 bool arg4 = (bool) False ;
13883 int arg5 = (int) -1 ;
13884 bool result;
13885 bool temp3 = False ;
13886 PyObject * obj0 = 0 ;
13887 PyObject * obj1 = 0 ;
13888 PyObject * obj2 = 0 ;
13889 PyObject * obj3 = 0 ;
13890 PyObject * obj4 = 0 ;
13891 char *kwnames[] = {
13892 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13893 };
13894
13895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13900 {
13901 arg3 = wxString_in_helper(obj2);
13902 if (arg3 == NULL) SWIG_fail;
13903 temp3 = True;
13904 }
13905 if (obj3) {
13906 arg4 = (bool) SWIG_AsBool(obj3);
13907 if (PyErr_Occurred()) SWIG_fail;
13908 }
13909 if (obj4) {
13910 arg5 = (int) SWIG_AsInt(obj4);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13922 }
13923 {
13924 if (temp3)
13925 delete arg3;
13926 }
13927 return resultobj;
13928 fail:
13929 {
13930 if (temp3)
13931 delete arg3;
13932 }
13933 return NULL;
13934 }
13935
13936
13937 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13938 PyObject *resultobj;
13939 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13940 size_t arg2 ;
13941 wxWindow *arg3 = (wxWindow *) 0 ;
13942 wxString *arg4 = 0 ;
13943 bool arg5 = (bool) False ;
13944 int arg6 = (int) -1 ;
13945 bool result;
13946 bool temp4 = False ;
13947 PyObject * obj0 = 0 ;
13948 PyObject * obj1 = 0 ;
13949 PyObject * obj2 = 0 ;
13950 PyObject * obj3 = 0 ;
13951 PyObject * obj4 = 0 ;
13952 PyObject * obj5 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13960 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13961 if (PyErr_Occurred()) SWIG_fail;
13962 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13964 {
13965 arg4 = wxString_in_helper(obj3);
13966 if (arg4 == NULL) SWIG_fail;
13967 temp4 = True;
13968 }
13969 if (obj4) {
13970 arg5 = (bool) SWIG_AsBool(obj4);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 if (obj5) {
13974 arg6 = (int) SWIG_AsInt(obj5);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13980
13981 wxPyEndAllowThreads(__tstate);
13982 if (PyErr_Occurred()) SWIG_fail;
13983 }
13984 {
13985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13986 }
13987 {
13988 if (temp4)
13989 delete arg4;
13990 }
13991 return resultobj;
13992 fail:
13993 {
13994 if (temp4)
13995 delete arg4;
13996 }
13997 return NULL;
13998 }
13999
14000
14001 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14002 PyObject *resultobj;
14003 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14004 size_t arg2 ;
14005 int result;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self",(char *) "n", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14015 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14016 if (PyErr_Occurred()) SWIG_fail;
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 result = (int)(arg1)->SetSelection(arg2);
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 resultobj = SWIG_FromInt((int)result);
14025 return resultobj;
14026 fail:
14027 return NULL;
14028 }
14029
14030
14031 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14034 bool arg2 = (bool) True ;
14035 PyObject * obj0 = 0 ;
14036 PyObject * obj1 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "forward", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14044 if (obj1) {
14045 arg2 = (bool) SWIG_AsBool(obj1);
14046 if (PyErr_Occurred()) SWIG_fail;
14047 }
14048 {
14049 PyThreadState* __tstate = wxPyBeginAllowThreads();
14050 (arg1)->AdvanceSelection(arg2);
14051
14052 wxPyEndAllowThreads(__tstate);
14053 if (PyErr_Occurred()) SWIG_fail;
14054 }
14055 Py_INCREF(Py_None); resultobj = Py_None;
14056 return resultobj;
14057 fail:
14058 return NULL;
14059 }
14060
14061
14062 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14063 PyObject *obj;
14064 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14065 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14066 Py_INCREF(obj);
14067 return Py_BuildValue((char *)"");
14068 }
14069 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14072 int arg2 = (int) 0 ;
14073 int arg3 = (int) -1 ;
14074 int arg4 = (int) -1 ;
14075 wxBookCtrlEvent *result;
14076 PyObject * obj0 = 0 ;
14077 PyObject * obj1 = 0 ;
14078 PyObject * obj2 = 0 ;
14079 PyObject * obj3 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14082 };
14083
14084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14085 if (obj0) {
14086 arg1 = (wxEventType) SWIG_AsInt(obj0);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 if (obj1) {
14090 arg2 = (int) SWIG_AsInt(obj1);
14091 if (PyErr_Occurred()) SWIG_fail;
14092 }
14093 if (obj2) {
14094 arg3 = (int) SWIG_AsInt(obj2);
14095 if (PyErr_Occurred()) SWIG_fail;
14096 }
14097 if (obj3) {
14098 arg4 = (int) SWIG_AsInt(obj3);
14099 if (PyErr_Occurred()) SWIG_fail;
14100 }
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14118 int result;
14119 PyObject * obj0 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 resultobj = SWIG_FromInt((int)result);
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14144 int arg2 ;
14145 PyObject * obj0 = 0 ;
14146 PyObject * obj1 = 0 ;
14147 char *kwnames[] = {
14148 (char *) "self",(char *) "nSel", NULL
14149 };
14150
14151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14154 arg2 = (int) SWIG_AsInt(obj1);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 {
14157 PyThreadState* __tstate = wxPyBeginAllowThreads();
14158 (arg1)->SetSelection(arg2);
14159
14160 wxPyEndAllowThreads(__tstate);
14161 if (PyErr_Occurred()) SWIG_fail;
14162 }
14163 Py_INCREF(Py_None); resultobj = Py_None;
14164 return resultobj;
14165 fail:
14166 return NULL;
14167 }
14168
14169
14170 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14173 int result;
14174 PyObject * obj0 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "self", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 resultobj = SWIG_FromInt((int)result);
14190 return resultobj;
14191 fail:
14192 return NULL;
14193 }
14194
14195
14196 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14197 PyObject *resultobj;
14198 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14199 int arg2 ;
14200 PyObject * obj0 = 0 ;
14201 PyObject * obj1 = 0 ;
14202 char *kwnames[] = {
14203 (char *) "self",(char *) "nOldSel", NULL
14204 };
14205
14206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14209 arg2 = (int) SWIG_AsInt(obj1);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 (arg1)->SetOldSelection(arg2);
14214
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 Py_INCREF(Py_None); resultobj = Py_None;
14219 return resultobj;
14220 fail:
14221 return NULL;
14222 }
14223
14224
14225 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14226 PyObject *obj;
14227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14228 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14229 Py_INCREF(obj);
14230 return Py_BuildValue((char *)"");
14231 }
14232 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxWindow *arg1 = (wxWindow *) 0 ;
14235 int arg2 = (int) -1 ;
14236 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14237 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14238 wxSize const &arg4_defvalue = wxDefaultSize ;
14239 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14240 long arg5 = (long) 0 ;
14241 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14242 wxString *arg6 = (wxString *) &arg6_defvalue ;
14243 wxNotebook *result;
14244 wxPoint temp3 ;
14245 wxSize temp4 ;
14246 bool temp6 = False ;
14247 PyObject * obj0 = 0 ;
14248 PyObject * obj1 = 0 ;
14249 PyObject * obj2 = 0 ;
14250 PyObject * obj3 = 0 ;
14251 PyObject * obj4 = 0 ;
14252 PyObject * obj5 = 0 ;
14253 char *kwnames[] = {
14254 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14255 };
14256
14257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14260 if (obj1) {
14261 arg2 = (int) SWIG_AsInt(obj1);
14262 if (PyErr_Occurred()) SWIG_fail;
14263 }
14264 if (obj2) {
14265 {
14266 arg3 = &temp3;
14267 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14268 }
14269 }
14270 if (obj3) {
14271 {
14272 arg4 = &temp4;
14273 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14274 }
14275 }
14276 if (obj4) {
14277 arg5 = (long) SWIG_AsLong(obj4);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 if (obj5) {
14281 {
14282 arg6 = wxString_in_helper(obj5);
14283 if (arg6 == NULL) SWIG_fail;
14284 temp6 = True;
14285 }
14286 }
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 {
14295 resultobj = wxPyMake_wxObject(result);
14296 }
14297 {
14298 if (temp6)
14299 delete arg6;
14300 }
14301 return resultobj;
14302 fail:
14303 {
14304 if (temp6)
14305 delete arg6;
14306 }
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxNotebook *result;
14314 char *kwnames[] = {
14315 NULL
14316 };
14317
14318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 result = (wxNotebook *)new wxNotebook();
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 {
14327 resultobj = wxPyMake_wxObject(result);
14328 }
14329 return resultobj;
14330 fail:
14331 return NULL;
14332 }
14333
14334
14335 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxNotebook *arg1 = (wxNotebook *) 0 ;
14338 wxWindow *arg2 = (wxWindow *) 0 ;
14339 int arg3 ;
14340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14342 wxSize const &arg5_defvalue = wxDefaultSize ;
14343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14344 long arg6 = (long) 0 ;
14345 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14346 wxString *arg7 = (wxString *) &arg7_defvalue ;
14347 bool result;
14348 wxPoint temp4 ;
14349 wxSize temp5 ;
14350 bool temp7 = False ;
14351 PyObject * obj0 = 0 ;
14352 PyObject * obj1 = 0 ;
14353 PyObject * obj2 = 0 ;
14354 PyObject * obj3 = 0 ;
14355 PyObject * obj4 = 0 ;
14356 PyObject * obj5 = 0 ;
14357 PyObject * obj6 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14367 arg3 = (int) SWIG_AsInt(obj2);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 if (obj3) {
14370 {
14371 arg4 = &temp4;
14372 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14373 }
14374 }
14375 if (obj4) {
14376 {
14377 arg5 = &temp5;
14378 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14379 }
14380 }
14381 if (obj5) {
14382 arg6 = (long) SWIG_AsLong(obj5);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 if (obj6) {
14386 {
14387 arg7 = wxString_in_helper(obj6);
14388 if (arg7 == NULL) SWIG_fail;
14389 temp7 = True;
14390 }
14391 }
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 {
14400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14401 }
14402 {
14403 if (temp7)
14404 delete arg7;
14405 }
14406 return resultobj;
14407 fail:
14408 {
14409 if (temp7)
14410 delete arg7;
14411 }
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxNotebook *arg1 = (wxNotebook *) 0 ;
14419 int result;
14420 PyObject * obj0 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
14435 resultobj = SWIG_FromInt((int)result);
14436 return resultobj;
14437 fail:
14438 return NULL;
14439 }
14440
14441
14442 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14443 PyObject *resultobj;
14444 wxNotebook *arg1 = (wxNotebook *) 0 ;
14445 wxSize *arg2 = 0 ;
14446 wxSize temp2 ;
14447 PyObject * obj0 = 0 ;
14448 PyObject * obj1 = 0 ;
14449 char *kwnames[] = {
14450 (char *) "self",(char *) "padding", NULL
14451 };
14452
14453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14456 {
14457 arg2 = &temp2;
14458 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14459 }
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 (arg1)->SetPadding((wxSize const &)*arg2);
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 Py_INCREF(Py_None); resultobj = Py_None;
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxNotebook *arg1 = (wxNotebook *) 0 ;
14477 wxSize *arg2 = 0 ;
14478 wxSize temp2 ;
14479 PyObject * obj0 = 0 ;
14480 PyObject * obj1 = 0 ;
14481 char *kwnames[] = {
14482 (char *) "self",(char *) "sz", NULL
14483 };
14484
14485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14488 {
14489 arg2 = &temp2;
14490 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14491 }
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 (arg1)->SetTabSize((wxSize const &)*arg2);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 Py_INCREF(Py_None); resultobj = Py_None;
14500 return resultobj;
14501 fail:
14502 return NULL;
14503 }
14504
14505
14506 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxNotebook *arg1 = (wxNotebook *) 0 ;
14509 wxPoint *arg2 = 0 ;
14510 long *arg3 = (long *) 0 ;
14511 int result;
14512 wxPoint temp2 ;
14513 long temp3 ;
14514 PyObject * obj0 = 0 ;
14515 PyObject * obj1 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "pt", NULL
14518 };
14519
14520 arg3 = &temp3;
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14524 {
14525 arg2 = &temp2;
14526 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14527 }
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 resultobj = SWIG_FromInt((int)result);
14536 {
14537 PyObject *o = PyInt_FromLong((long) (*arg3));
14538 resultobj = t_output_helper(resultobj,o);
14539 }
14540 return resultobj;
14541 fail:
14542 return NULL;
14543 }
14544
14545
14546 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14547 PyObject *resultobj;
14548 wxNotebook *arg1 = (wxNotebook *) 0 ;
14549 wxSize *arg2 = 0 ;
14550 wxSize result;
14551 wxSize temp2 ;
14552 PyObject * obj0 = 0 ;
14553 PyObject * obj1 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self",(char *) "sizePage", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14561 {
14562 arg2 = &temp2;
14563 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14564 }
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 {
14573 wxSize * resultptr;
14574 resultptr = new wxSize((wxSize &) result);
14575 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14576 }
14577 return resultobj;
14578 fail:
14579 return NULL;
14580 }
14581
14582
14583 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14584 PyObject *obj;
14585 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14586 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14587 Py_INCREF(obj);
14588 return Py_BuildValue((char *)"");
14589 }
14590 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14591 PyObject *resultobj;
14592 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14593 int arg2 = (int) 0 ;
14594 int arg3 = (int) -1 ;
14595 int arg4 = (int) -1 ;
14596 wxNotebookEvent *result;
14597 PyObject * obj0 = 0 ;
14598 PyObject * obj1 = 0 ;
14599 PyObject * obj2 = 0 ;
14600 PyObject * obj3 = 0 ;
14601 char *kwnames[] = {
14602 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14603 };
14604
14605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14606 if (obj0) {
14607 arg1 = (wxEventType) SWIG_AsInt(obj0);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 if (obj1) {
14611 arg2 = (int) SWIG_AsInt(obj1);
14612 if (PyErr_Occurred()) SWIG_fail;
14613 }
14614 if (obj2) {
14615 arg3 = (int) SWIG_AsInt(obj2);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 if (obj3) {
14619 arg4 = (int) SWIG_AsInt(obj3);
14620 if (PyErr_Occurred()) SWIG_fail;
14621 }
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14630 return resultobj;
14631 fail:
14632 return NULL;
14633 }
14634
14635
14636 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14637 PyObject *obj;
14638 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14639 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14640 Py_INCREF(obj);
14641 return Py_BuildValue((char *)"");
14642 }
14643 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxWindow *arg1 = (wxWindow *) 0 ;
14646 int arg2 = (int) -1 ;
14647 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14648 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14649 wxSize const &arg4_defvalue = wxDefaultSize ;
14650 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14651 long arg5 = (long) 0 ;
14652 wxString const &arg6_defvalue = wxPyEmptyString ;
14653 wxString *arg6 = (wxString *) &arg6_defvalue ;
14654 wxListbook *result;
14655 wxPoint temp3 ;
14656 wxSize temp4 ;
14657 bool temp6 = False ;
14658 PyObject * obj0 = 0 ;
14659 PyObject * obj1 = 0 ;
14660 PyObject * obj2 = 0 ;
14661 PyObject * obj3 = 0 ;
14662 PyObject * obj4 = 0 ;
14663 PyObject * obj5 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 if (obj1) {
14672 arg2 = (int) SWIG_AsInt(obj1);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 if (obj2) {
14676 {
14677 arg3 = &temp3;
14678 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14679 }
14680 }
14681 if (obj3) {
14682 {
14683 arg4 = &temp4;
14684 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14685 }
14686 }
14687 if (obj4) {
14688 arg5 = (long) SWIG_AsLong(obj4);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 if (obj5) {
14692 {
14693 arg6 = wxString_in_helper(obj5);
14694 if (arg6 == NULL) SWIG_fail;
14695 temp6 = True;
14696 }
14697 }
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14706 {
14707 if (temp6)
14708 delete arg6;
14709 }
14710 return resultobj;
14711 fail:
14712 {
14713 if (temp6)
14714 delete arg6;
14715 }
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxListbook *result;
14723 char *kwnames[] = {
14724 NULL
14725 };
14726
14727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (wxListbook *)new wxListbook();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxListbook *arg1 = (wxListbook *) 0 ;
14745 wxWindow *arg2 = (wxWindow *) 0 ;
14746 int arg3 ;
14747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14749 wxSize const &arg5_defvalue = wxDefaultSize ;
14750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14751 long arg6 = (long) 0 ;
14752 wxString const &arg7_defvalue = wxPyEmptyString ;
14753 wxString *arg7 = (wxString *) &arg7_defvalue ;
14754 bool result;
14755 wxPoint temp4 ;
14756 wxSize temp5 ;
14757 bool temp7 = False ;
14758 PyObject * obj0 = 0 ;
14759 PyObject * obj1 = 0 ;
14760 PyObject * obj2 = 0 ;
14761 PyObject * obj3 = 0 ;
14762 PyObject * obj4 = 0 ;
14763 PyObject * obj5 = 0 ;
14764 PyObject * obj6 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14774 arg3 = (int) SWIG_AsInt(obj2);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 if (obj3) {
14777 {
14778 arg4 = &temp4;
14779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14780 }
14781 }
14782 if (obj4) {
14783 {
14784 arg5 = &temp5;
14785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14786 }
14787 }
14788 if (obj5) {
14789 arg6 = (long) SWIG_AsLong(obj5);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 if (obj6) {
14793 {
14794 arg7 = wxString_in_helper(obj6);
14795 if (arg7 == NULL) SWIG_fail;
14796 temp7 = True;
14797 }
14798 }
14799 {
14800 PyThreadState* __tstate = wxPyBeginAllowThreads();
14801 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14802
14803 wxPyEndAllowThreads(__tstate);
14804 if (PyErr_Occurred()) SWIG_fail;
14805 }
14806 {
14807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14808 }
14809 {
14810 if (temp7)
14811 delete arg7;
14812 }
14813 return resultobj;
14814 fail:
14815 {
14816 if (temp7)
14817 delete arg7;
14818 }
14819 return NULL;
14820 }
14821
14822
14823 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxListbook *arg1 = (wxListbook *) 0 ;
14826 bool result;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 result = (bool)((wxListbook const *)arg1)->IsVertical();
14838
14839 wxPyEndAllowThreads(__tstate);
14840 if (PyErr_Occurred()) SWIG_fail;
14841 }
14842 {
14843 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14844 }
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14852 PyObject *obj;
14853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14854 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14855 Py_INCREF(obj);
14856 return Py_BuildValue((char *)"");
14857 }
14858 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14861 int arg2 = (int) 0 ;
14862 int arg3 = (int) -1 ;
14863 int arg4 = (int) -1 ;
14864 wxListbookEvent *result;
14865 PyObject * obj0 = 0 ;
14866 PyObject * obj1 = 0 ;
14867 PyObject * obj2 = 0 ;
14868 PyObject * obj3 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14874 if (obj0) {
14875 arg1 = (wxEventType) SWIG_AsInt(obj0);
14876 if (PyErr_Occurred()) SWIG_fail;
14877 }
14878 if (obj1) {
14879 arg2 = (int) SWIG_AsInt(obj1);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 if (obj2) {
14883 arg3 = (int) SWIG_AsInt(obj2);
14884 if (PyErr_Occurred()) SWIG_fail;
14885 }
14886 if (obj3) {
14887 arg4 = (int) SWIG_AsInt(obj3);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14905 PyObject *obj;
14906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14907 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14908 Py_INCREF(obj);
14909 return Py_BuildValue((char *)"");
14910 }
14911 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14912 PyObject *resultobj;
14913 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14914 wxBookCtrlSizer *result;
14915 PyObject * obj0 = 0 ;
14916 char *kwnames[] = {
14917 (char *) "nb", NULL
14918 };
14919
14920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14931 return resultobj;
14932 fail:
14933 return NULL;
14934 }
14935
14936
14937 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14940 PyObject * obj0 = 0 ;
14941 char *kwnames[] = {
14942 (char *) "self", NULL
14943 };
14944
14945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 (arg1)->RecalcSizes();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 Py_INCREF(Py_None); resultobj = Py_None;
14956 return resultobj;
14957 fail:
14958 return NULL;
14959 }
14960
14961
14962 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14965 wxSize result;
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (arg1)->CalcMin();
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 {
14982 wxSize * resultptr;
14983 resultptr = new wxSize((wxSize &) result);
14984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14985 }
14986 return resultobj;
14987 fail:
14988 return NULL;
14989 }
14990
14991
14992 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14993 PyObject *resultobj;
14994 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14995 wxBookCtrl *result;
14996 PyObject * obj0 = 0 ;
14997 char *kwnames[] = {
14998 (char *) "self", NULL
14999 };
15000
15001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15004 {
15005 PyThreadState* __tstate = wxPyBeginAllowThreads();
15006 result = (wxBookCtrl *)(arg1)->GetControl();
15007
15008 wxPyEndAllowThreads(__tstate);
15009 if (PyErr_Occurred()) SWIG_fail;
15010 }
15011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15012 return resultobj;
15013 fail:
15014 return NULL;
15015 }
15016
15017
15018 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15019 PyObject *obj;
15020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15021 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15022 Py_INCREF(obj);
15023 return Py_BuildValue((char *)"");
15024 }
15025 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15026 PyObject *resultobj;
15027 wxNotebook *arg1 = (wxNotebook *) 0 ;
15028 wxNotebookSizer *result;
15029 PyObject * obj0 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "nb", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15045 return resultobj;
15046 fail:
15047 return NULL;
15048 }
15049
15050
15051 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj;
15053 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15054 PyObject * obj0 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 (arg1)->RecalcSizes();
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 Py_INCREF(Py_None); resultobj = Py_None;
15070 return resultobj;
15071 fail:
15072 return NULL;
15073 }
15074
15075
15076 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15077 PyObject *resultobj;
15078 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15079 wxSize result;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (arg1)->CalcMin();
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 {
15096 wxSize * resultptr;
15097 resultptr = new wxSize((wxSize &) result);
15098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15099 }
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15107 PyObject *resultobj;
15108 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15109 wxNotebook *result;
15110 PyObject * obj0 = 0 ;
15111 char *kwnames[] = {
15112 (char *) "self", NULL
15113 };
15114
15115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 result = (wxNotebook *)(arg1)->GetNotebook();
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 {
15126 resultobj = wxPyMake_wxObject(result);
15127 }
15128 return resultobj;
15129 fail:
15130 return NULL;
15131 }
15132
15133
15134 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15135 PyObject *obj;
15136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15137 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15138 Py_INCREF(obj);
15139 return Py_BuildValue((char *)"");
15140 }
15141 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15144 int result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (int)(arg1)->GetId();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 resultobj = SWIG_FromInt((int)result);
15161 return resultobj;
15162 fail:
15163 return NULL;
15164 }
15165
15166
15167 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15168 PyObject *resultobj;
15169 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15170 wxControl *result;
15171 PyObject * obj0 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15179 {
15180 PyThreadState* __tstate = wxPyBeginAllowThreads();
15181 result = (wxControl *)(arg1)->GetControl();
15182
15183 wxPyEndAllowThreads(__tstate);
15184 if (PyErr_Occurred()) SWIG_fail;
15185 }
15186 {
15187 resultobj = wxPyMake_wxObject(result);
15188 }
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15198 wxToolBarBase *result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15207 {
15208 PyThreadState* __tstate = wxPyBeginAllowThreads();
15209 result = (wxToolBarBase *)(arg1)->GetToolBar();
15210
15211 wxPyEndAllowThreads(__tstate);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 {
15215 resultobj = wxPyMake_wxObject(result);
15216 }
15217 return resultobj;
15218 fail:
15219 return NULL;
15220 }
15221
15222
15223 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15224 PyObject *resultobj;
15225 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15226 int result;
15227 PyObject * obj0 = 0 ;
15228 char *kwnames[] = {
15229 (char *) "self", NULL
15230 };
15231
15232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15235 {
15236 PyThreadState* __tstate = wxPyBeginAllowThreads();
15237 result = (int)(arg1)->IsButton();
15238
15239 wxPyEndAllowThreads(__tstate);
15240 if (PyErr_Occurred()) SWIG_fail;
15241 }
15242 resultobj = SWIG_FromInt((int)result);
15243 return resultobj;
15244 fail:
15245 return NULL;
15246 }
15247
15248
15249 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15250 PyObject *resultobj;
15251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15252 int result;
15253 PyObject * obj0 = 0 ;
15254 char *kwnames[] = {
15255 (char *) "self", NULL
15256 };
15257
15258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15261 {
15262 PyThreadState* __tstate = wxPyBeginAllowThreads();
15263 result = (int)(arg1)->IsControl();
15264
15265 wxPyEndAllowThreads(__tstate);
15266 if (PyErr_Occurred()) SWIG_fail;
15267 }
15268 resultobj = SWIG_FromInt((int)result);
15269 return resultobj;
15270 fail:
15271 return NULL;
15272 }
15273
15274
15275 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15276 PyObject *resultobj;
15277 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15278 int result;
15279 PyObject * obj0 = 0 ;
15280 char *kwnames[] = {
15281 (char *) "self", NULL
15282 };
15283
15284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 result = (int)(arg1)->IsSeparator();
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 resultobj = SWIG_FromInt((int)result);
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15302 PyObject *resultobj;
15303 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15304 int result;
15305 PyObject * obj0 = 0 ;
15306 char *kwnames[] = {
15307 (char *) "self", NULL
15308 };
15309
15310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15313 {
15314 PyThreadState* __tstate = wxPyBeginAllowThreads();
15315 result = (int)(arg1)->GetStyle();
15316
15317 wxPyEndAllowThreads(__tstate);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 resultobj = SWIG_FromInt((int)result);
15321 return resultobj;
15322 fail:
15323 return NULL;
15324 }
15325
15326
15327 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15328 PyObject *resultobj;
15329 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15330 int result;
15331 PyObject * obj0 = 0 ;
15332 char *kwnames[] = {
15333 (char *) "self", NULL
15334 };
15335
15336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 result = (int)(arg1)->GetKind();
15342
15343 wxPyEndAllowThreads(__tstate);
15344 if (PyErr_Occurred()) SWIG_fail;
15345 }
15346 resultobj = SWIG_FromInt((int)result);
15347 return resultobj;
15348 fail:
15349 return NULL;
15350 }
15351
15352
15353 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15356 bool result;
15357 PyObject * obj0 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (bool)(arg1)->IsEnabled();
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 {
15373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15384 bool result;
15385 PyObject * obj0 = 0 ;
15386 char *kwnames[] = {
15387 (char *) "self", NULL
15388 };
15389
15390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15393 {
15394 PyThreadState* __tstate = wxPyBeginAllowThreads();
15395 result = (bool)(arg1)->IsToggled();
15396
15397 wxPyEndAllowThreads(__tstate);
15398 if (PyErr_Occurred()) SWIG_fail;
15399 }
15400 {
15401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15402 }
15403 return resultobj;
15404 fail:
15405 return NULL;
15406 }
15407
15408
15409 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15412 bool result;
15413 PyObject * obj0 = 0 ;
15414 char *kwnames[] = {
15415 (char *) "self", NULL
15416 };
15417
15418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15421 {
15422 PyThreadState* __tstate = wxPyBeginAllowThreads();
15423 result = (bool)(arg1)->CanBeToggled();
15424
15425 wxPyEndAllowThreads(__tstate);
15426 if (PyErr_Occurred()) SWIG_fail;
15427 }
15428 {
15429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15430 }
15431 return resultobj;
15432 fail:
15433 return NULL;
15434 }
15435
15436
15437 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15438 PyObject *resultobj;
15439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15440 wxBitmap *result;
15441 PyObject * obj0 = 0 ;
15442 char *kwnames[] = {
15443 (char *) "self", NULL
15444 };
15445
15446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15449 {
15450 PyThreadState* __tstate = wxPyBeginAllowThreads();
15451 {
15452 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15453 result = (wxBitmap *) &_result_ref;
15454 }
15455
15456 wxPyEndAllowThreads(__tstate);
15457 if (PyErr_Occurred()) SWIG_fail;
15458 }
15459 {
15460 wxBitmap* resultptr = new wxBitmap(*result);
15461 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15462 }
15463 return resultobj;
15464 fail:
15465 return NULL;
15466 }
15467
15468
15469 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15470 PyObject *resultobj;
15471 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15472 wxBitmap *result;
15473 PyObject * obj0 = 0 ;
15474 char *kwnames[] = {
15475 (char *) "self", NULL
15476 };
15477
15478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15481 {
15482 PyThreadState* __tstate = wxPyBeginAllowThreads();
15483 {
15484 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15485 result = (wxBitmap *) &_result_ref;
15486 }
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 {
15492 wxBitmap* resultptr = new wxBitmap(*result);
15493 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15494 }
15495 return resultobj;
15496 fail:
15497 return NULL;
15498 }
15499
15500
15501 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15502 PyObject *resultobj;
15503 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15504 wxBitmap result;
15505 PyObject * obj0 = 0 ;
15506 char *kwnames[] = {
15507 (char *) "self", NULL
15508 };
15509
15510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (arg1)->GetBitmap();
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 {
15521 wxBitmap * resultptr;
15522 resultptr = new wxBitmap((wxBitmap &) result);
15523 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15524 }
15525 return resultobj;
15526 fail:
15527 return NULL;
15528 }
15529
15530
15531 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15532 PyObject *resultobj;
15533 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15534 wxString result;
15535 PyObject * obj0 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (arg1)->GetLabel();
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 {
15551 #if wxUSE_UNICODE
15552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15553 #else
15554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15555 #endif
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560 }
15561
15562
15563 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15566 wxString result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
15577 result = (arg1)->GetShortHelp();
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15582 {
15583 #if wxUSE_UNICODE
15584 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15585 #else
15586 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15587 #endif
15588 }
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15598 wxString result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 result = (arg1)->GetLongHelp();
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 {
15615 #if wxUSE_UNICODE
15616 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15617 #else
15618 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15619 #endif
15620 }
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15630 bool arg2 ;
15631 bool result;
15632 PyObject * obj0 = 0 ;
15633 PyObject * obj1 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self",(char *) "enable", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 arg2 = (bool) SWIG_AsBool(obj1);
15642 if (PyErr_Occurred()) SWIG_fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 result = (bool)(arg1)->Enable(arg2);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 {
15651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15652 }
15653 return resultobj;
15654 fail:
15655 return NULL;
15656 }
15657
15658
15659 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15660 PyObject *resultobj;
15661 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15662 PyObject * obj0 = 0 ;
15663 char *kwnames[] = {
15664 (char *) "self", NULL
15665 };
15666
15667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->Toggle();
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681 }
15682
15683
15684 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15687 bool arg2 ;
15688 bool result;
15689 PyObject * obj0 = 0 ;
15690 PyObject * obj1 = 0 ;
15691 char *kwnames[] = {
15692 (char *) "self",(char *) "toggle", NULL
15693 };
15694
15695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15698 arg2 = (bool) SWIG_AsBool(obj1);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 result = (bool)(arg1)->SetToggle(arg2);
15703
15704 wxPyEndAllowThreads(__tstate);
15705 if (PyErr_Occurred()) SWIG_fail;
15706 }
15707 {
15708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15709 }
15710 return resultobj;
15711 fail:
15712 return NULL;
15713 }
15714
15715
15716 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15719 wxString *arg2 = 0 ;
15720 bool result;
15721 bool temp2 = False ;
15722 PyObject * obj0 = 0 ;
15723 PyObject * obj1 = 0 ;
15724 char *kwnames[] = {
15725 (char *) "self",(char *) "help", NULL
15726 };
15727
15728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15731 {
15732 arg2 = wxString_in_helper(obj1);
15733 if (arg2 == NULL) SWIG_fail;
15734 temp2 = True;
15735 }
15736 {
15737 PyThreadState* __tstate = wxPyBeginAllowThreads();
15738 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15739
15740 wxPyEndAllowThreads(__tstate);
15741 if (PyErr_Occurred()) SWIG_fail;
15742 }
15743 {
15744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15745 }
15746 {
15747 if (temp2)
15748 delete arg2;
15749 }
15750 return resultobj;
15751 fail:
15752 {
15753 if (temp2)
15754 delete arg2;
15755 }
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15763 wxString *arg2 = 0 ;
15764 bool result;
15765 bool temp2 = False ;
15766 PyObject * obj0 = 0 ;
15767 PyObject * obj1 = 0 ;
15768 char *kwnames[] = {
15769 (char *) "self",(char *) "help", NULL
15770 };
15771
15772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15775 {
15776 arg2 = wxString_in_helper(obj1);
15777 if (arg2 == NULL) SWIG_fail;
15778 temp2 = True;
15779 }
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 {
15788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15789 }
15790 {
15791 if (temp2)
15792 delete arg2;
15793 }
15794 return resultobj;
15795 fail:
15796 {
15797 if (temp2)
15798 delete arg2;
15799 }
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15807 wxBitmap *arg2 = 0 ;
15808 PyObject * obj0 = 0 ;
15809 PyObject * obj1 = 0 ;
15810 char *kwnames[] = {
15811 (char *) "self",(char *) "bmp", NULL
15812 };
15813
15814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15817 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15818 SWIG_POINTER_EXCEPTION | 0)) == -1)
15819 SWIG_fail;
15820 if (arg2 == NULL) {
15821 PyErr_SetString(PyExc_TypeError,"null reference");
15822 SWIG_fail;
15823 }
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 Py_INCREF(Py_None); resultobj = Py_None;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835 }
15836
15837
15838 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15841 wxBitmap *arg2 = 0 ;
15842 PyObject * obj0 = 0 ;
15843 PyObject * obj1 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "bmp", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1)
15853 SWIG_fail;
15854 if (arg2 == NULL) {
15855 PyErr_SetString(PyExc_TypeError,"null reference");
15856 SWIG_fail;
15857 }
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 Py_INCREF(Py_None); resultobj = Py_None;
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15875 wxString *arg2 = 0 ;
15876 bool temp2 = False ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "label", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15886 {
15887 arg2 = wxString_in_helper(obj1);
15888 if (arg2 == NULL) SWIG_fail;
15889 temp2 = True;
15890 }
15891 {
15892 PyThreadState* __tstate = wxPyBeginAllowThreads();
15893 (arg1)->SetLabel((wxString const &)*arg2);
15894
15895 wxPyEndAllowThreads(__tstate);
15896 if (PyErr_Occurred()) SWIG_fail;
15897 }
15898 Py_INCREF(Py_None); resultobj = Py_None;
15899 {
15900 if (temp2)
15901 delete arg2;
15902 }
15903 return resultobj;
15904 fail:
15905 {
15906 if (temp2)
15907 delete arg2;
15908 }
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15916 PyObject * obj0 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->Detach();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15941 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "tbar", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->Attach(arg2);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964 }
15965
15966
15967 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15970 PyObject *result;
15971 PyObject * obj0 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15979 {
15980 PyThreadState* __tstate = wxPyBeginAllowThreads();
15981 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15982
15983 wxPyEndAllowThreads(__tstate);
15984 if (PyErr_Occurred()) SWIG_fail;
15985 }
15986 resultobj = result;
15987 return resultobj;
15988 fail:
15989 return NULL;
15990 }
15991
15992
15993 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15994 PyObject *resultobj;
15995 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15996 PyObject *arg2 = (PyObject *) 0 ;
15997 PyObject * obj0 = 0 ;
15998 PyObject * obj1 = 0 ;
15999 char *kwnames[] = {
16000 (char *) "self",(char *) "clientData", NULL
16001 };
16002
16003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16006 arg2 = obj1;
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 wxToolBarToolBase_SetClientData(arg1,arg2);
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 Py_INCREF(Py_None); resultobj = Py_None;
16015 return resultobj;
16016 fail:
16017 return NULL;
16018 }
16019
16020
16021 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16022 PyObject *obj;
16023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16024 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16025 Py_INCREF(obj);
16026 return Py_BuildValue((char *)"");
16027 }
16028 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16029 PyObject *resultobj;
16030 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16031 int arg2 ;
16032 wxString *arg3 = 0 ;
16033 wxBitmap *arg4 = 0 ;
16034 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16035 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16036 int arg6 = (int) wxITEM_NORMAL ;
16037 wxString const &arg7_defvalue = wxPyEmptyString ;
16038 wxString *arg7 = (wxString *) &arg7_defvalue ;
16039 wxString const &arg8_defvalue = wxPyEmptyString ;
16040 wxString *arg8 = (wxString *) &arg8_defvalue ;
16041 PyObject *arg9 = (PyObject *) NULL ;
16042 wxToolBarToolBase *result;
16043 bool temp3 = False ;
16044 bool temp7 = False ;
16045 bool temp8 = False ;
16046 PyObject * obj0 = 0 ;
16047 PyObject * obj1 = 0 ;
16048 PyObject * obj2 = 0 ;
16049 PyObject * obj3 = 0 ;
16050 PyObject * obj4 = 0 ;
16051 PyObject * obj5 = 0 ;
16052 PyObject * obj6 = 0 ;
16053 PyObject * obj7 = 0 ;
16054 PyObject * obj8 = 0 ;
16055 char *kwnames[] = {
16056 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16057 };
16058
16059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16062 arg2 = (int) SWIG_AsInt(obj1);
16063 if (PyErr_Occurred()) SWIG_fail;
16064 {
16065 arg3 = wxString_in_helper(obj2);
16066 if (arg3 == NULL) SWIG_fail;
16067 temp3 = True;
16068 }
16069 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16070 SWIG_POINTER_EXCEPTION | 0)) == -1)
16071 SWIG_fail;
16072 if (arg4 == NULL) {
16073 PyErr_SetString(PyExc_TypeError,"null reference");
16074 SWIG_fail;
16075 }
16076 if (obj4) {
16077 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16078 SWIG_POINTER_EXCEPTION | 0)) == -1)
16079 SWIG_fail;
16080 if (arg5 == NULL) {
16081 PyErr_SetString(PyExc_TypeError,"null reference");
16082 SWIG_fail;
16083 }
16084 }
16085 if (obj5) {
16086 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16087 if (PyErr_Occurred()) SWIG_fail;
16088 }
16089 if (obj6) {
16090 {
16091 arg7 = wxString_in_helper(obj6);
16092 if (arg7 == NULL) SWIG_fail;
16093 temp7 = True;
16094 }
16095 }
16096 if (obj7) {
16097 {
16098 arg8 = wxString_in_helper(obj7);
16099 if (arg8 == NULL) SWIG_fail;
16100 temp8 = True;
16101 }
16102 }
16103 if (obj8) {
16104 arg9 = obj8;
16105 }
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
16113 {
16114 resultobj = wxPyMake_wxObject(result);
16115 }
16116 {
16117 if (temp3)
16118 delete arg3;
16119 }
16120 {
16121 if (temp7)
16122 delete arg7;
16123 }
16124 {
16125 if (temp8)
16126 delete arg8;
16127 }
16128 return resultobj;
16129 fail:
16130 {
16131 if (temp3)
16132 delete arg3;
16133 }
16134 {
16135 if (temp7)
16136 delete arg7;
16137 }
16138 {
16139 if (temp8)
16140 delete arg8;
16141 }
16142 return NULL;
16143 }
16144
16145
16146 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16147 PyObject *resultobj;
16148 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16149 size_t arg2 ;
16150 int arg3 ;
16151 wxString *arg4 = 0 ;
16152 wxBitmap *arg5 = 0 ;
16153 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16154 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16155 int arg7 = (int) wxITEM_NORMAL ;
16156 wxString const &arg8_defvalue = wxPyEmptyString ;
16157 wxString *arg8 = (wxString *) &arg8_defvalue ;
16158 wxString const &arg9_defvalue = wxPyEmptyString ;
16159 wxString *arg9 = (wxString *) &arg9_defvalue ;
16160 PyObject *arg10 = (PyObject *) NULL ;
16161 wxToolBarToolBase *result;
16162 bool temp4 = False ;
16163 bool temp8 = False ;
16164 bool temp9 = False ;
16165 PyObject * obj0 = 0 ;
16166 PyObject * obj1 = 0 ;
16167 PyObject * obj2 = 0 ;
16168 PyObject * obj3 = 0 ;
16169 PyObject * obj4 = 0 ;
16170 PyObject * obj5 = 0 ;
16171 PyObject * obj6 = 0 ;
16172 PyObject * obj7 = 0 ;
16173 PyObject * obj8 = 0 ;
16174 PyObject * obj9 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 arg3 = (int) SWIG_AsInt(obj2);
16185 if (PyErr_Occurred()) SWIG_fail;
16186 {
16187 arg4 = wxString_in_helper(obj3);
16188 if (arg4 == NULL) SWIG_fail;
16189 temp4 = True;
16190 }
16191 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16192 SWIG_POINTER_EXCEPTION | 0)) == -1)
16193 SWIG_fail;
16194 if (arg5 == NULL) {
16195 PyErr_SetString(PyExc_TypeError,"null reference");
16196 SWIG_fail;
16197 }
16198 if (obj5) {
16199 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16200 SWIG_POINTER_EXCEPTION | 0)) == -1)
16201 SWIG_fail;
16202 if (arg6 == NULL) {
16203 PyErr_SetString(PyExc_TypeError,"null reference");
16204 SWIG_fail;
16205 }
16206 }
16207 if (obj6) {
16208 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16209 if (PyErr_Occurred()) SWIG_fail;
16210 }
16211 if (obj7) {
16212 {
16213 arg8 = wxString_in_helper(obj7);
16214 if (arg8 == NULL) SWIG_fail;
16215 temp8 = True;
16216 }
16217 }
16218 if (obj8) {
16219 {
16220 arg9 = wxString_in_helper(obj8);
16221 if (arg9 == NULL) SWIG_fail;
16222 temp9 = True;
16223 }
16224 }
16225 if (obj9) {
16226 arg10 = obj9;
16227 }
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 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);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 {
16236 resultobj = wxPyMake_wxObject(result);
16237 }
16238 {
16239 if (temp4)
16240 delete arg4;
16241 }
16242 {
16243 if (temp8)
16244 delete arg8;
16245 }
16246 {
16247 if (temp9)
16248 delete arg9;
16249 }
16250 return resultobj;
16251 fail:
16252 {
16253 if (temp4)
16254 delete arg4;
16255 }
16256 {
16257 if (temp8)
16258 delete arg8;
16259 }
16260 {
16261 if (temp9)
16262 delete arg9;
16263 }
16264 return NULL;
16265 }
16266
16267
16268 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16271 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16272 wxToolBarToolBase *result;
16273 PyObject * obj0 = 0 ;
16274 PyObject * obj1 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self",(char *) "tool", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 {
16285 PyThreadState* __tstate = wxPyBeginAllowThreads();
16286 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16287
16288 wxPyEndAllowThreads(__tstate);
16289 if (PyErr_Occurred()) SWIG_fail;
16290 }
16291 {
16292 resultobj = wxPyMake_wxObject(result);
16293 }
16294 return resultobj;
16295 fail:
16296 return NULL;
16297 }
16298
16299
16300 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16303 size_t arg2 ;
16304 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16305 wxToolBarToolBase *result;
16306 PyObject * obj0 = 0 ;
16307 PyObject * obj1 = 0 ;
16308 PyObject * obj2 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self",(char *) "pos",(char *) "tool", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16316 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16317 if (PyErr_Occurred()) SWIG_fail;
16318 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 {
16328 resultobj = wxPyMake_wxObject(result);
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333 }
16334
16335
16336 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16339 wxControl *arg2 = (wxControl *) 0 ;
16340 wxToolBarToolBase *result;
16341 PyObject * obj0 = 0 ;
16342 PyObject * obj1 = 0 ;
16343 char *kwnames[] = {
16344 (char *) "self",(char *) "control", NULL
16345 };
16346
16347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16352 {
16353 PyThreadState* __tstate = wxPyBeginAllowThreads();
16354 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16355
16356 wxPyEndAllowThreads(__tstate);
16357 if (PyErr_Occurred()) SWIG_fail;
16358 }
16359 {
16360 resultobj = wxPyMake_wxObject(result);
16361 }
16362 return resultobj;
16363 fail:
16364 return NULL;
16365 }
16366
16367
16368 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16369 PyObject *resultobj;
16370 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16371 size_t arg2 ;
16372 wxControl *arg3 = (wxControl *) 0 ;
16373 wxToolBarToolBase *result;
16374 PyObject * obj0 = 0 ;
16375 PyObject * obj1 = 0 ;
16376 PyObject * obj2 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self",(char *) "pos",(char *) "control", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16384 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16388 {
16389 PyThreadState* __tstate = wxPyBeginAllowThreads();
16390 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 resultobj = wxPyMake_wxObject(result);
16397 }
16398 return resultobj;
16399 fail:
16400 return NULL;
16401 }
16402
16403
16404 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16405 PyObject *resultobj;
16406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16407 int arg2 ;
16408 wxControl *result;
16409 PyObject * obj0 = 0 ;
16410 PyObject * obj1 = 0 ;
16411 char *kwnames[] = {
16412 (char *) "self",(char *) "id", NULL
16413 };
16414
16415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16418 arg2 = (int) SWIG_AsInt(obj1);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 {
16421 PyThreadState* __tstate = wxPyBeginAllowThreads();
16422 result = (wxControl *)(arg1)->FindControl(arg2);
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 {
16428 resultobj = wxPyMake_wxObject(result);
16429 }
16430 return resultobj;
16431 fail:
16432 return NULL;
16433 }
16434
16435
16436 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16439 wxToolBarToolBase *result;
16440 PyObject * obj0 = 0 ;
16441 char *kwnames[] = {
16442 (char *) "self", NULL
16443 };
16444
16445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16448 {
16449 PyThreadState* __tstate = wxPyBeginAllowThreads();
16450 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16451
16452 wxPyEndAllowThreads(__tstate);
16453 if (PyErr_Occurred()) SWIG_fail;
16454 }
16455 {
16456 resultobj = wxPyMake_wxObject(result);
16457 }
16458 return resultobj;
16459 fail:
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16467 size_t arg2 ;
16468 wxToolBarToolBase *result;
16469 PyObject * obj0 = 0 ;
16470 PyObject * obj1 = 0 ;
16471 char *kwnames[] = {
16472 (char *) "self",(char *) "pos", NULL
16473 };
16474
16475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16478 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16479 if (PyErr_Occurred()) SWIG_fail;
16480 {
16481 PyThreadState* __tstate = wxPyBeginAllowThreads();
16482 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16483
16484 wxPyEndAllowThreads(__tstate);
16485 if (PyErr_Occurred()) SWIG_fail;
16486 }
16487 {
16488 resultobj = wxPyMake_wxObject(result);
16489 }
16490 return resultobj;
16491 fail:
16492 return NULL;
16493 }
16494
16495
16496 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16499 int arg2 ;
16500 wxToolBarToolBase *result;
16501 PyObject * obj0 = 0 ;
16502 PyObject * obj1 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self",(char *) "id", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16510 arg2 = (int) SWIG_AsInt(obj1);
16511 if (PyErr_Occurred()) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 resultobj = wxPyMake_wxObject(result);
16521 }
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16531 size_t arg2 ;
16532 bool result;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self",(char *) "pos", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16542 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16543 if (PyErr_Occurred()) SWIG_fail;
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 result = (bool)(arg1)->DeleteToolByPos(arg2);
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 {
16552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16553 }
16554 return resultobj;
16555 fail:
16556 return NULL;
16557 }
16558
16559
16560 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16561 PyObject *resultobj;
16562 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16563 int arg2 ;
16564 bool result;
16565 PyObject * obj0 = 0 ;
16566 PyObject * obj1 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self",(char *) "id", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16574 arg2 = (int) SWIG_AsInt(obj1);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 {
16577 PyThreadState* __tstate = wxPyBeginAllowThreads();
16578 result = (bool)(arg1)->DeleteTool(arg2);
16579
16580 wxPyEndAllowThreads(__tstate);
16581 if (PyErr_Occurred()) SWIG_fail;
16582 }
16583 {
16584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16585 }
16586 return resultobj;
16587 fail:
16588 return NULL;
16589 }
16590
16591
16592 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16593 PyObject *resultobj;
16594 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16595 PyObject * obj0 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self", NULL
16598 };
16599
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16603 {
16604 PyThreadState* __tstate = wxPyBeginAllowThreads();
16605 (arg1)->ClearTools();
16606
16607 wxPyEndAllowThreads(__tstate);
16608 if (PyErr_Occurred()) SWIG_fail;
16609 }
16610 Py_INCREF(Py_None); resultobj = Py_None;
16611 return resultobj;
16612 fail:
16613 return NULL;
16614 }
16615
16616
16617 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16618 PyObject *resultobj;
16619 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16620 bool result;
16621 PyObject * obj0 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16629 {
16630 PyThreadState* __tstate = wxPyBeginAllowThreads();
16631 result = (bool)(arg1)->Realize();
16632
16633 wxPyEndAllowThreads(__tstate);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 }
16636 {
16637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16638 }
16639 return resultobj;
16640 fail:
16641 return NULL;
16642 }
16643
16644
16645 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16646 PyObject *resultobj;
16647 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16648 int arg2 ;
16649 bool arg3 ;
16650 PyObject * obj0 = 0 ;
16651 PyObject * obj1 = 0 ;
16652 PyObject * obj2 = 0 ;
16653 char *kwnames[] = {
16654 (char *) "self",(char *) "id",(char *) "enable", NULL
16655 };
16656
16657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16660 arg2 = (int) SWIG_AsInt(obj1);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 arg3 = (bool) SWIG_AsBool(obj2);
16663 if (PyErr_Occurred()) SWIG_fail;
16664 {
16665 PyThreadState* __tstate = wxPyBeginAllowThreads();
16666 (arg1)->EnableTool(arg2,arg3);
16667
16668 wxPyEndAllowThreads(__tstate);
16669 if (PyErr_Occurred()) SWIG_fail;
16670 }
16671 Py_INCREF(Py_None); resultobj = Py_None;
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16681 int arg2 ;
16682 bool arg3 ;
16683 PyObject * obj0 = 0 ;
16684 PyObject * obj1 = 0 ;
16685 PyObject * obj2 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "id",(char *) "toggle", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 arg2 = (int) SWIG_AsInt(obj1);
16694 if (PyErr_Occurred()) SWIG_fail;
16695 arg3 = (bool) SWIG_AsBool(obj2);
16696 if (PyErr_Occurred()) SWIG_fail;
16697 {
16698 PyThreadState* __tstate = wxPyBeginAllowThreads();
16699 (arg1)->ToggleTool(arg2,arg3);
16700
16701 wxPyEndAllowThreads(__tstate);
16702 if (PyErr_Occurred()) SWIG_fail;
16703 }
16704 Py_INCREF(Py_None); resultobj = Py_None;
16705 return resultobj;
16706 fail:
16707 return NULL;
16708 }
16709
16710
16711 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16712 PyObject *resultobj;
16713 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16714 int arg2 ;
16715 bool arg3 ;
16716 PyObject * obj0 = 0 ;
16717 PyObject * obj1 = 0 ;
16718 PyObject * obj2 = 0 ;
16719 char *kwnames[] = {
16720 (char *) "self",(char *) "id",(char *) "toggle", NULL
16721 };
16722
16723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16726 arg2 = (int) SWIG_AsInt(obj1);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 arg3 = (bool) SWIG_AsBool(obj2);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 {
16731 PyThreadState* __tstate = wxPyBeginAllowThreads();
16732 (arg1)->SetToggle(arg2,arg3);
16733
16734 wxPyEndAllowThreads(__tstate);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 Py_INCREF(Py_None); resultobj = Py_None;
16738 return resultobj;
16739 fail:
16740 return NULL;
16741 }
16742
16743
16744 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16747 int arg2 ;
16748 PyObject *result;
16749 PyObject * obj0 = 0 ;
16750 PyObject * obj1 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "self",(char *) "id", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16758 arg2 = (int) SWIG_AsInt(obj1);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 resultobj = result;
16768 return resultobj;
16769 fail:
16770 return NULL;
16771 }
16772
16773
16774 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16777 int arg2 ;
16778 PyObject *arg3 = (PyObject *) 0 ;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 PyObject * obj2 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self",(char *) "id",(char *) "clientData", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16789 arg2 = (int) SWIG_AsInt(obj1);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 arg3 = obj2;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16809 int arg2 ;
16810 int result;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "self",(char *) "id", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16820 arg2 = (int) SWIG_AsInt(obj1);
16821 if (PyErr_Occurred()) SWIG_fail;
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_FromInt((int)result);
16830 return resultobj;
16831 fail:
16832 return NULL;
16833 }
16834
16835
16836 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16839 int arg2 ;
16840 bool result;
16841 PyObject * obj0 = 0 ;
16842 PyObject * obj1 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "id", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16850 arg2 = (int) SWIG_AsInt(obj1);
16851 if (PyErr_Occurred()) SWIG_fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 result = (bool)(arg1)->GetToolState(arg2);
16855
16856 wxPyEndAllowThreads(__tstate);
16857 if (PyErr_Occurred()) SWIG_fail;
16858 }
16859 {
16860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16861 }
16862 return resultobj;
16863 fail:
16864 return NULL;
16865 }
16866
16867
16868 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16869 PyObject *resultobj;
16870 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16871 int arg2 ;
16872 bool result;
16873 PyObject * obj0 = 0 ;
16874 PyObject * obj1 = 0 ;
16875 char *kwnames[] = {
16876 (char *) "self",(char *) "id", NULL
16877 };
16878
16879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16882 arg2 = (int) SWIG_AsInt(obj1);
16883 if (PyErr_Occurred()) SWIG_fail;
16884 {
16885 PyThreadState* __tstate = wxPyBeginAllowThreads();
16886 result = (bool)(arg1)->GetToolEnabled(arg2);
16887
16888 wxPyEndAllowThreads(__tstate);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 }
16891 {
16892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16893 }
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16903 int arg2 ;
16904 wxString *arg3 = 0 ;
16905 bool temp3 = False ;
16906 PyObject * obj0 = 0 ;
16907 PyObject * obj1 = 0 ;
16908 PyObject * obj2 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self",(char *) "id",(char *) "helpString", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16916 arg2 = (int) SWIG_AsInt(obj1);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 {
16919 arg3 = wxString_in_helper(obj2);
16920 if (arg3 == NULL) SWIG_fail;
16921 temp3 = True;
16922 }
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 Py_INCREF(Py_None); resultobj = Py_None;
16931 {
16932 if (temp3)
16933 delete arg3;
16934 }
16935 return resultobj;
16936 fail:
16937 {
16938 if (temp3)
16939 delete arg3;
16940 }
16941 return NULL;
16942 }
16943
16944
16945 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16946 PyObject *resultobj;
16947 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16948 int arg2 ;
16949 wxString result;
16950 PyObject * obj0 = 0 ;
16951 PyObject * obj1 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self",(char *) "id", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16959 arg2 = (int) SWIG_AsInt(obj1);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 {
16962 PyThreadState* __tstate = wxPyBeginAllowThreads();
16963 result = (arg1)->GetToolShortHelp(arg2);
16964
16965 wxPyEndAllowThreads(__tstate);
16966 if (PyErr_Occurred()) SWIG_fail;
16967 }
16968 {
16969 #if wxUSE_UNICODE
16970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16971 #else
16972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16973 #endif
16974 }
16975 return resultobj;
16976 fail:
16977 return NULL;
16978 }
16979
16980
16981 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16984 int arg2 ;
16985 wxString *arg3 = 0 ;
16986 bool temp3 = False ;
16987 PyObject * obj0 = 0 ;
16988 PyObject * obj1 = 0 ;
16989 PyObject * obj2 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "self",(char *) "id",(char *) "helpString", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16997 arg2 = (int) SWIG_AsInt(obj1);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 {
17000 arg3 = wxString_in_helper(obj2);
17001 if (arg3 == NULL) SWIG_fail;
17002 temp3 = True;
17003 }
17004 {
17005 PyThreadState* __tstate = wxPyBeginAllowThreads();
17006 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17007
17008 wxPyEndAllowThreads(__tstate);
17009 if (PyErr_Occurred()) SWIG_fail;
17010 }
17011 Py_INCREF(Py_None); resultobj = Py_None;
17012 {
17013 if (temp3)
17014 delete arg3;
17015 }
17016 return resultobj;
17017 fail:
17018 {
17019 if (temp3)
17020 delete arg3;
17021 }
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17029 int arg2 ;
17030 wxString result;
17031 PyObject * obj0 = 0 ;
17032 PyObject * obj1 = 0 ;
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "id", NULL
17035 };
17036
17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17040 arg2 = (int) SWIG_AsInt(obj1);
17041 if (PyErr_Occurred()) SWIG_fail;
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 result = (arg1)->GetToolLongHelp(arg2);
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 {
17050 #if wxUSE_UNICODE
17051 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17052 #else
17053 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17054 #endif
17055 }
17056 return resultobj;
17057 fail:
17058 return NULL;
17059 }
17060
17061
17062 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17063 PyObject *resultobj;
17064 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17065 int arg2 ;
17066 int arg3 ;
17067 PyObject * obj0 = 0 ;
17068 PyObject * obj1 = 0 ;
17069 PyObject * obj2 = 0 ;
17070 char *kwnames[] = {
17071 (char *) "self",(char *) "x",(char *) "y", NULL
17072 };
17073
17074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17077 arg2 = (int) SWIG_AsInt(obj1);
17078 if (PyErr_Occurred()) SWIG_fail;
17079 arg3 = (int) SWIG_AsInt(obj2);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 (arg1)->SetMargins(arg2,arg3);
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 Py_INCREF(Py_None); resultobj = Py_None;
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17098 wxSize *arg2 = 0 ;
17099 wxSize temp2 ;
17100 PyObject * obj0 = 0 ;
17101 PyObject * obj1 = 0 ;
17102 char *kwnames[] = {
17103 (char *) "self",(char *) "size", NULL
17104 };
17105
17106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17109 {
17110 arg2 = &temp2;
17111 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17112 }
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 (arg1)->SetMargins((wxSize const &)*arg2);
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 Py_INCREF(Py_None); resultobj = Py_None;
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17130 int arg2 ;
17131 PyObject * obj0 = 0 ;
17132 PyObject * obj1 = 0 ;
17133 char *kwnames[] = {
17134 (char *) "self",(char *) "packing", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17140 arg2 = (int) SWIG_AsInt(obj1);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 {
17143 PyThreadState* __tstate = wxPyBeginAllowThreads();
17144 (arg1)->SetToolPacking(arg2);
17145
17146 wxPyEndAllowThreads(__tstate);
17147 if (PyErr_Occurred()) SWIG_fail;
17148 }
17149 Py_INCREF(Py_None); resultobj = Py_None;
17150 return resultobj;
17151 fail:
17152 return NULL;
17153 }
17154
17155
17156 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17159 int arg2 ;
17160 PyObject * obj0 = 0 ;
17161 PyObject * obj1 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self",(char *) "separation", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17169 arg2 = (int) SWIG_AsInt(obj1);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->SetToolSeparation(arg2);
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182 }
17183
17184
17185 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17188 wxSize result;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17197 {
17198 PyThreadState* __tstate = wxPyBeginAllowThreads();
17199 result = (arg1)->GetToolMargins();
17200
17201 wxPyEndAllowThreads(__tstate);
17202 if (PyErr_Occurred()) SWIG_fail;
17203 }
17204 {
17205 wxSize * resultptr;
17206 resultptr = new wxSize((wxSize &) result);
17207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17208 }
17209 return resultobj;
17210 fail:
17211 return NULL;
17212 }
17213
17214
17215 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17216 PyObject *resultobj;
17217 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17218 wxSize result;
17219 PyObject * obj0 = 0 ;
17220 char *kwnames[] = {
17221 (char *) "self", NULL
17222 };
17223
17224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (arg1)->GetMargins();
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 {
17235 wxSize * resultptr;
17236 resultptr = new wxSize((wxSize &) result);
17237 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17238 }
17239 return resultobj;
17240 fail:
17241 return NULL;
17242 }
17243
17244
17245 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17246 PyObject *resultobj;
17247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17248 int result;
17249 PyObject * obj0 = 0 ;
17250 char *kwnames[] = {
17251 (char *) "self", NULL
17252 };
17253
17254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 result = (int)(arg1)->GetToolPacking();
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 resultobj = SWIG_FromInt((int)result);
17265 return resultobj;
17266 fail:
17267 return NULL;
17268 }
17269
17270
17271 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17274 int result;
17275 PyObject * obj0 = 0 ;
17276 char *kwnames[] = {
17277 (char *) "self", NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 result = (int)(arg1)->GetToolSeparation();
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 resultobj = SWIG_FromInt((int)result);
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17300 int arg2 ;
17301 PyObject * obj0 = 0 ;
17302 PyObject * obj1 = 0 ;
17303 char *kwnames[] = {
17304 (char *) "self",(char *) "nRows", NULL
17305 };
17306
17307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17310 arg2 = (int) SWIG_AsInt(obj1);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 {
17313 PyThreadState* __tstate = wxPyBeginAllowThreads();
17314 (arg1)->SetRows(arg2);
17315
17316 wxPyEndAllowThreads(__tstate);
17317 if (PyErr_Occurred()) SWIG_fail;
17318 }
17319 Py_INCREF(Py_None); resultobj = Py_None;
17320 return resultobj;
17321 fail:
17322 return NULL;
17323 }
17324
17325
17326 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17327 PyObject *resultobj;
17328 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17329 int arg2 ;
17330 int arg3 ;
17331 PyObject * obj0 = 0 ;
17332 PyObject * obj1 = 0 ;
17333 PyObject * obj2 = 0 ;
17334 char *kwnames[] = {
17335 (char *) "self",(char *) "rows",(char *) "cols", NULL
17336 };
17337
17338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17341 arg2 = (int) SWIG_AsInt(obj1);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 arg3 = (int) SWIG_AsInt(obj2);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->SetMaxRowsCols(arg2,arg3);
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 Py_INCREF(Py_None); resultobj = Py_None;
17353 return resultobj;
17354 fail:
17355 return NULL;
17356 }
17357
17358
17359 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17360 PyObject *resultobj;
17361 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17362 int result;
17363 PyObject * obj0 = 0 ;
17364 char *kwnames[] = {
17365 (char *) "self", NULL
17366 };
17367
17368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17371 {
17372 PyThreadState* __tstate = wxPyBeginAllowThreads();
17373 result = (int)(arg1)->GetMaxRows();
17374
17375 wxPyEndAllowThreads(__tstate);
17376 if (PyErr_Occurred()) SWIG_fail;
17377 }
17378 resultobj = SWIG_FromInt((int)result);
17379 return resultobj;
17380 fail:
17381 return NULL;
17382 }
17383
17384
17385 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17386 PyObject *resultobj;
17387 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17388 int result;
17389 PyObject * obj0 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17397 {
17398 PyThreadState* __tstate = wxPyBeginAllowThreads();
17399 result = (int)(arg1)->GetMaxCols();
17400
17401 wxPyEndAllowThreads(__tstate);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 }
17404 resultobj = SWIG_FromInt((int)result);
17405 return resultobj;
17406 fail:
17407 return NULL;
17408 }
17409
17410
17411 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17412 PyObject *resultobj;
17413 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17414 wxSize *arg2 = 0 ;
17415 wxSize temp2 ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "size", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17425 {
17426 arg2 = &temp2;
17427 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17428 }
17429 {
17430 PyThreadState* __tstate = wxPyBeginAllowThreads();
17431 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17432
17433 wxPyEndAllowThreads(__tstate);
17434 if (PyErr_Occurred()) SWIG_fail;
17435 }
17436 Py_INCREF(Py_None); resultobj = Py_None;
17437 return resultobj;
17438 fail:
17439 return NULL;
17440 }
17441
17442
17443 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17444 PyObject *resultobj;
17445 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17446 wxSize result;
17447 PyObject * obj0 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = (arg1)->GetToolBitmapSize();
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 {
17463 wxSize * resultptr;
17464 resultptr = new wxSize((wxSize &) result);
17465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17466 }
17467 return resultobj;
17468 fail:
17469 return NULL;
17470 }
17471
17472
17473 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17474 PyObject *resultobj;
17475 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17476 wxSize result;
17477 PyObject * obj0 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17485 {
17486 PyThreadState* __tstate = wxPyBeginAllowThreads();
17487 result = (arg1)->GetToolSize();
17488
17489 wxPyEndAllowThreads(__tstate);
17490 if (PyErr_Occurred()) SWIG_fail;
17491 }
17492 {
17493 wxSize * resultptr;
17494 resultptr = new wxSize((wxSize &) result);
17495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17496 }
17497 return resultobj;
17498 fail:
17499 return NULL;
17500 }
17501
17502
17503 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj;
17505 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17506 int arg2 ;
17507 int arg3 ;
17508 wxToolBarToolBase *result;
17509 PyObject * obj0 = 0 ;
17510 PyObject * obj1 = 0 ;
17511 PyObject * obj2 = 0 ;
17512 char *kwnames[] = {
17513 (char *) "self",(char *) "x",(char *) "y", NULL
17514 };
17515
17516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17519 arg2 = (int) SWIG_AsInt(obj1);
17520 if (PyErr_Occurred()) SWIG_fail;
17521 arg3 = (int) SWIG_AsInt(obj2);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 {
17531 resultobj = wxPyMake_wxObject(result);
17532 }
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17542 int arg2 ;
17543 wxToolBarToolBase *result;
17544 PyObject * obj0 = 0 ;
17545 PyObject * obj1 = 0 ;
17546 char *kwnames[] = {
17547 (char *) "self",(char *) "toolid", NULL
17548 };
17549
17550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17553 arg2 = (int) SWIG_AsInt(obj1);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 {
17563 resultobj = wxPyMake_wxObject(result);
17564 }
17565 return resultobj;
17566 fail:
17567 return NULL;
17568 }
17569
17570
17571 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17574 bool result;
17575 PyObject * obj0 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17583 {
17584 PyThreadState* __tstate = wxPyBeginAllowThreads();
17585 result = (bool)(arg1)->IsVertical();
17586
17587 wxPyEndAllowThreads(__tstate);
17588 if (PyErr_Occurred()) SWIG_fail;
17589 }
17590 {
17591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17592 }
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17600 PyObject *obj;
17601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17602 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17603 Py_INCREF(obj);
17604 return Py_BuildValue((char *)"");
17605 }
17606 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxWindow *arg1 = (wxWindow *) 0 ;
17609 int arg2 ;
17610 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17611 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17612 wxSize const &arg4_defvalue = wxDefaultSize ;
17613 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17614 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17615 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17616 wxString *arg6 = (wxString *) &arg6_defvalue ;
17617 wxToolBar *result;
17618 wxPoint temp3 ;
17619 wxSize temp4 ;
17620 bool temp6 = False ;
17621 PyObject * obj0 = 0 ;
17622 PyObject * obj1 = 0 ;
17623 PyObject * obj2 = 0 ;
17624 PyObject * obj3 = 0 ;
17625 PyObject * obj4 = 0 ;
17626 PyObject * obj5 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17634 arg2 = (int) SWIG_AsInt(obj1);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 if (obj2) {
17637 {
17638 arg3 = &temp3;
17639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17640 }
17641 }
17642 if (obj3) {
17643 {
17644 arg4 = &temp4;
17645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17646 }
17647 }
17648 if (obj4) {
17649 arg5 = (long) SWIG_AsLong(obj4);
17650 if (PyErr_Occurred()) SWIG_fail;
17651 }
17652 if (obj5) {
17653 {
17654 arg6 = wxString_in_helper(obj5);
17655 if (arg6 == NULL) SWIG_fail;
17656 temp6 = True;
17657 }
17658 }
17659 {
17660 PyThreadState* __tstate = wxPyBeginAllowThreads();
17661 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17662
17663 wxPyEndAllowThreads(__tstate);
17664 if (PyErr_Occurred()) SWIG_fail;
17665 }
17666 {
17667 resultobj = wxPyMake_wxObject(result);
17668 }
17669 {
17670 if (temp6)
17671 delete arg6;
17672 }
17673 return resultobj;
17674 fail:
17675 {
17676 if (temp6)
17677 delete arg6;
17678 }
17679 return NULL;
17680 }
17681
17682
17683 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17684 PyObject *resultobj;
17685 wxToolBar *result;
17686 char *kwnames[] = {
17687 NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = (wxToolBar *)new wxToolBar();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 {
17699 resultobj = wxPyMake_wxObject(result);
17700 }
17701 return resultobj;
17702 fail:
17703 return NULL;
17704 }
17705
17706
17707 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxToolBar *arg1 = (wxToolBar *) 0 ;
17710 wxWindow *arg2 = (wxWindow *) 0 ;
17711 int arg3 ;
17712 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17713 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17714 wxSize const &arg5_defvalue = wxDefaultSize ;
17715 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17716 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17717 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17718 wxString *arg7 = (wxString *) &arg7_defvalue ;
17719 bool result;
17720 wxPoint temp4 ;
17721 wxSize temp5 ;
17722 bool temp7 = False ;
17723 PyObject * obj0 = 0 ;
17724 PyObject * obj1 = 0 ;
17725 PyObject * obj2 = 0 ;
17726 PyObject * obj3 = 0 ;
17727 PyObject * obj4 = 0 ;
17728 PyObject * obj5 = 0 ;
17729 PyObject * obj6 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17737 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17739 arg3 = (int) SWIG_AsInt(obj2);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 if (obj3) {
17742 {
17743 arg4 = &temp4;
17744 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17745 }
17746 }
17747 if (obj4) {
17748 {
17749 arg5 = &temp5;
17750 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17751 }
17752 }
17753 if (obj5) {
17754 arg6 = (long) SWIG_AsLong(obj5);
17755 if (PyErr_Occurred()) SWIG_fail;
17756 }
17757 if (obj6) {
17758 {
17759 arg7 = wxString_in_helper(obj6);
17760 if (arg7 == NULL) SWIG_fail;
17761 temp7 = True;
17762 }
17763 }
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 {
17772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17773 }
17774 {
17775 if (temp7)
17776 delete arg7;
17777 }
17778 return resultobj;
17779 fail:
17780 {
17781 if (temp7)
17782 delete arg7;
17783 }
17784 return NULL;
17785 }
17786
17787
17788 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17789 PyObject *resultobj;
17790 wxToolBar *arg1 = (wxToolBar *) 0 ;
17791 int arg2 ;
17792 int arg3 ;
17793 wxToolBarToolBase *result;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 PyObject * obj2 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self",(char *) "x",(char *) "y", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17804 arg2 = (int) SWIG_AsInt(obj1);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 arg3 = (int) SWIG_AsInt(obj2);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 {
17809 PyThreadState* __tstate = wxPyBeginAllowThreads();
17810 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17811
17812 wxPyEndAllowThreads(__tstate);
17813 if (PyErr_Occurred()) SWIG_fail;
17814 }
17815 {
17816 resultobj = wxPyMake_wxObject(result);
17817 }
17818 return resultobj;
17819 fail:
17820 return NULL;
17821 }
17822
17823
17824 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17825 PyObject *obj;
17826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17827 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17828 Py_INCREF(obj);
17829 return Py_BuildValue((char *)"");
17830 }
17831 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17832 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17833 return 1;
17834 }
17835
17836
17837 static PyObject *_wrap_ListCtrlNameStr_get() {
17838 PyObject *pyobj;
17839
17840 {
17841 #if wxUSE_UNICODE
17842 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17843 #else
17844 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17845 #endif
17846 }
17847 return pyobj;
17848 }
17849
17850
17851 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxColour const &arg1_defvalue = wxNullColour ;
17854 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17855 wxColour const &arg2_defvalue = wxNullColour ;
17856 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17857 wxFont const &arg3_defvalue = wxNullFont ;
17858 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17859 wxListItemAttr *result;
17860 wxColour temp1 ;
17861 wxColour temp2 ;
17862 PyObject * obj0 = 0 ;
17863 PyObject * obj1 = 0 ;
17864 PyObject * obj2 = 0 ;
17865 char *kwnames[] = {
17866 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17867 };
17868
17869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17870 if (obj0) {
17871 {
17872 arg1 = &temp1;
17873 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17874 }
17875 }
17876 if (obj1) {
17877 {
17878 arg2 = &temp2;
17879 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17880 }
17881 }
17882 if (obj2) {
17883 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17884 SWIG_POINTER_EXCEPTION | 0)) == -1)
17885 SWIG_fail;
17886 if (arg3 == NULL) {
17887 PyErr_SetString(PyExc_TypeError,"null reference");
17888 SWIG_fail;
17889 }
17890 }
17891 {
17892 PyThreadState* __tstate = wxPyBeginAllowThreads();
17893 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17894
17895 wxPyEndAllowThreads(__tstate);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 }
17898 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17899 return resultobj;
17900 fail:
17901 return NULL;
17902 }
17903
17904
17905 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17906 PyObject *resultobj;
17907 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17908 wxColour *arg2 = 0 ;
17909 wxColour temp2 ;
17910 PyObject * obj0 = 0 ;
17911 PyObject * obj1 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self",(char *) "colText", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17919 {
17920 arg2 = &temp2;
17921 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17922 }
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 (arg1)->SetTextColour((wxColour const &)*arg2);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 Py_INCREF(Py_None); resultobj = Py_None;
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17940 wxColour *arg2 = 0 ;
17941 wxColour temp2 ;
17942 PyObject * obj0 = 0 ;
17943 PyObject * obj1 = 0 ;
17944 char *kwnames[] = {
17945 (char *) "self",(char *) "colBack", NULL
17946 };
17947
17948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17951 {
17952 arg2 = &temp2;
17953 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17954 }
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 Py_INCREF(Py_None); resultobj = Py_None;
17963 return resultobj;
17964 fail:
17965 return NULL;
17966 }
17967
17968
17969 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17970 PyObject *resultobj;
17971 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17972 wxFont *arg2 = 0 ;
17973 PyObject * obj0 = 0 ;
17974 PyObject * obj1 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "font", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17982 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17983 SWIG_POINTER_EXCEPTION | 0)) == -1)
17984 SWIG_fail;
17985 if (arg2 == NULL) {
17986 PyErr_SetString(PyExc_TypeError,"null reference");
17987 SWIG_fail;
17988 }
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 (arg1)->SetFont((wxFont const &)*arg2);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 Py_INCREF(Py_None); resultobj = Py_None;
17997 return resultobj;
17998 fail:
17999 return NULL;
18000 }
18001
18002
18003 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18006 bool result;
18007 PyObject * obj0 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18015 {
18016 PyThreadState* __tstate = wxPyBeginAllowThreads();
18017 result = (bool)(arg1)->HasTextColour();
18018
18019 wxPyEndAllowThreads(__tstate);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 {
18023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18024 }
18025 return resultobj;
18026 fail:
18027 return NULL;
18028 }
18029
18030
18031 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18034 bool result;
18035 PyObject * obj0 = 0 ;
18036 char *kwnames[] = {
18037 (char *) "self", NULL
18038 };
18039
18040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (bool)(arg1)->HasBackgroundColour();
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 {
18051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18052 }
18053 return resultobj;
18054 fail:
18055 return NULL;
18056 }
18057
18058
18059 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18060 PyObject *resultobj;
18061 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18062 bool result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 result = (bool)(arg1)->HasFont();
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 {
18079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18080 }
18081 return resultobj;
18082 fail:
18083 return NULL;
18084 }
18085
18086
18087 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18088 PyObject *resultobj;
18089 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18090 wxColour result;
18091 PyObject * obj0 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (arg1)->GetTextColour();
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 {
18107 wxColour * resultptr;
18108 resultptr = new wxColour((wxColour &) result);
18109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18110 }
18111 return resultobj;
18112 fail:
18113 return NULL;
18114 }
18115
18116
18117 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18120 wxColour result;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 result = (arg1)->GetBackgroundColour();
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 {
18137 wxColour * resultptr;
18138 resultptr = new wxColour((wxColour &) result);
18139 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18140 }
18141 return resultobj;
18142 fail:
18143 return NULL;
18144 }
18145
18146
18147 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18148 PyObject *resultobj;
18149 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18150 wxFont result;
18151 PyObject * obj0 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18159 {
18160 PyThreadState* __tstate = wxPyBeginAllowThreads();
18161 result = (arg1)->GetFont();
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 {
18167 wxFont * resultptr;
18168 resultptr = new wxFont((wxFont &) result);
18169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18170 }
18171 return resultobj;
18172 fail:
18173 return NULL;
18174 }
18175
18176
18177 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18178 PyObject *resultobj;
18179 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18180 PyObject * obj0 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 wxListItemAttr_Destroy(arg1);
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 Py_INCREF(Py_None); resultobj = Py_None;
18196 return resultobj;
18197 fail:
18198 return NULL;
18199 }
18200
18201
18202 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18203 PyObject *obj;
18204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18205 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18206 Py_INCREF(obj);
18207 return Py_BuildValue((char *)"");
18208 }
18209 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxListItem *result;
18212 char *kwnames[] = {
18213 NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18217 {
18218 PyThreadState* __tstate = wxPyBeginAllowThreads();
18219 result = (wxListItem *)new wxListItem();
18220
18221 wxPyEndAllowThreads(__tstate);
18222 if (PyErr_Occurred()) SWIG_fail;
18223 }
18224 {
18225 resultobj = wxPyMake_wxObject(result);
18226 }
18227 return resultobj;
18228 fail:
18229 return NULL;
18230 }
18231
18232
18233 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxListItem *arg1 = (wxListItem *) 0 ;
18236 PyObject * obj0 = 0 ;
18237 char *kwnames[] = {
18238 (char *) "self", NULL
18239 };
18240
18241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 delete arg1;
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 Py_INCREF(Py_None); resultobj = Py_None;
18252 return resultobj;
18253 fail:
18254 return NULL;
18255 }
18256
18257
18258 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18259 PyObject *resultobj;
18260 wxListItem *arg1 = (wxListItem *) 0 ;
18261 PyObject * obj0 = 0 ;
18262 char *kwnames[] = {
18263 (char *) "self", NULL
18264 };
18265
18266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18269 {
18270 PyThreadState* __tstate = wxPyBeginAllowThreads();
18271 (arg1)->Clear();
18272
18273 wxPyEndAllowThreads(__tstate);
18274 if (PyErr_Occurred()) SWIG_fail;
18275 }
18276 Py_INCREF(Py_None); resultobj = Py_None;
18277 return resultobj;
18278 fail:
18279 return NULL;
18280 }
18281
18282
18283 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18284 PyObject *resultobj;
18285 wxListItem *arg1 = (wxListItem *) 0 ;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->ClearAttributes();
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 Py_INCREF(Py_None); resultobj = Py_None;
18302 return resultobj;
18303 fail:
18304 return NULL;
18305 }
18306
18307
18308 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxListItem *arg1 = (wxListItem *) 0 ;
18311 long arg2 ;
18312 PyObject * obj0 = 0 ;
18313 PyObject * obj1 = 0 ;
18314 char *kwnames[] = {
18315 (char *) "self",(char *) "mask", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
18319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18321 arg2 = (long) SWIG_AsLong(obj1);
18322 if (PyErr_Occurred()) SWIG_fail;
18323 {
18324 PyThreadState* __tstate = wxPyBeginAllowThreads();
18325 (arg1)->SetMask(arg2);
18326
18327 wxPyEndAllowThreads(__tstate);
18328 if (PyErr_Occurred()) SWIG_fail;
18329 }
18330 Py_INCREF(Py_None); resultobj = Py_None;
18331 return resultobj;
18332 fail:
18333 return NULL;
18334 }
18335
18336
18337 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxListItem *arg1 = (wxListItem *) 0 ;
18340 long arg2 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "id", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18350 arg2 = (long) SWIG_AsLong(obj1);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 (arg1)->SetId(arg2);
18355
18356 wxPyEndAllowThreads(__tstate);
18357 if (PyErr_Occurred()) SWIG_fail;
18358 }
18359 Py_INCREF(Py_None); resultobj = Py_None;
18360 return resultobj;
18361 fail:
18362 return NULL;
18363 }
18364
18365
18366 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxListItem *arg1 = (wxListItem *) 0 ;
18369 int arg2 ;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self",(char *) "col", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18379 arg2 = (int) SWIG_AsInt(obj1);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->SetColumn(arg2);
18384
18385 wxPyEndAllowThreads(__tstate);
18386 if (PyErr_Occurred()) SWIG_fail;
18387 }
18388 Py_INCREF(Py_None); resultobj = Py_None;
18389 return resultobj;
18390 fail:
18391 return NULL;
18392 }
18393
18394
18395 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18396 PyObject *resultobj;
18397 wxListItem *arg1 = (wxListItem *) 0 ;
18398 long arg2 ;
18399 PyObject * obj0 = 0 ;
18400 PyObject * obj1 = 0 ;
18401 char *kwnames[] = {
18402 (char *) "self",(char *) "state", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18408 arg2 = (long) SWIG_AsLong(obj1);
18409 if (PyErr_Occurred()) SWIG_fail;
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 (arg1)->SetState(arg2);
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
18417 Py_INCREF(Py_None); resultobj = Py_None;
18418 return resultobj;
18419 fail:
18420 return NULL;
18421 }
18422
18423
18424 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxListItem *arg1 = (wxListItem *) 0 ;
18427 long arg2 ;
18428 PyObject * obj0 = 0 ;
18429 PyObject * obj1 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "stateMask", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18437 arg2 = (long) SWIG_AsLong(obj1);
18438 if (PyErr_Occurred()) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->SetStateMask(arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxListItem *arg1 = (wxListItem *) 0 ;
18456 wxString *arg2 = 0 ;
18457 bool temp2 = False ;
18458 PyObject * obj0 = 0 ;
18459 PyObject * obj1 = 0 ;
18460 char *kwnames[] = {
18461 (char *) "self",(char *) "text", NULL
18462 };
18463
18464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18467 {
18468 arg2 = wxString_in_helper(obj1);
18469 if (arg2 == NULL) SWIG_fail;
18470 temp2 = True;
18471 }
18472 {
18473 PyThreadState* __tstate = wxPyBeginAllowThreads();
18474 (arg1)->SetText((wxString const &)*arg2);
18475
18476 wxPyEndAllowThreads(__tstate);
18477 if (PyErr_Occurred()) SWIG_fail;
18478 }
18479 Py_INCREF(Py_None); resultobj = Py_None;
18480 {
18481 if (temp2)
18482 delete arg2;
18483 }
18484 return resultobj;
18485 fail:
18486 {
18487 if (temp2)
18488 delete arg2;
18489 }
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxListItem *arg1 = (wxListItem *) 0 ;
18497 int arg2 ;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self",(char *) "image", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18507 arg2 = (int) SWIG_AsInt(obj1);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->SetImage(arg2);
18512
18513 wxPyEndAllowThreads(__tstate);
18514 if (PyErr_Occurred()) SWIG_fail;
18515 }
18516 Py_INCREF(Py_None); resultobj = Py_None;
18517 return resultobj;
18518 fail:
18519 return NULL;
18520 }
18521
18522
18523 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxListItem *arg1 = (wxListItem *) 0 ;
18526 long arg2 ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self",(char *) "data", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18536 arg2 = (long) SWIG_AsLong(obj1);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->SetData(arg2);
18541
18542 wxPyEndAllowThreads(__tstate);
18543 if (PyErr_Occurred()) SWIG_fail;
18544 }
18545 Py_INCREF(Py_None); resultobj = Py_None;
18546 return resultobj;
18547 fail:
18548 return NULL;
18549 }
18550
18551
18552 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18553 PyObject *resultobj;
18554 wxListItem *arg1 = (wxListItem *) 0 ;
18555 int arg2 ;
18556 PyObject * obj0 = 0 ;
18557 PyObject * obj1 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self",(char *) "width", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18565 arg2 = (int) SWIG_AsInt(obj1);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->SetWidth(arg2);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 Py_INCREF(Py_None); resultobj = Py_None;
18575 return resultobj;
18576 fail:
18577 return NULL;
18578 }
18579
18580
18581 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxListItem *arg1 = (wxListItem *) 0 ;
18584 int arg2 ;
18585 PyObject * obj0 = 0 ;
18586 PyObject * obj1 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self",(char *) "align", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18594 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->SetAlign((wxListColumnFormat )arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 return resultobj;
18605 fail:
18606 return NULL;
18607 }
18608
18609
18610 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxListItem *arg1 = (wxListItem *) 0 ;
18613 wxColour *arg2 = 0 ;
18614 wxColour temp2 ;
18615 PyObject * obj0 = 0 ;
18616 PyObject * obj1 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "colText", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18624 {
18625 arg2 = &temp2;
18626 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18627 }
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 (arg1)->SetTextColour((wxColour const &)*arg2);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 Py_INCREF(Py_None); resultobj = Py_None;
18636 return resultobj;
18637 fail:
18638 return NULL;
18639 }
18640
18641
18642 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxListItem *arg1 = (wxListItem *) 0 ;
18645 wxColour *arg2 = 0 ;
18646 wxColour temp2 ;
18647 PyObject * obj0 = 0 ;
18648 PyObject * obj1 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "colBack", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18656 {
18657 arg2 = &temp2;
18658 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18659 }
18660 {
18661 PyThreadState* __tstate = wxPyBeginAllowThreads();
18662 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18663
18664 wxPyEndAllowThreads(__tstate);
18665 if (PyErr_Occurred()) SWIG_fail;
18666 }
18667 Py_INCREF(Py_None); resultobj = Py_None;
18668 return resultobj;
18669 fail:
18670 return NULL;
18671 }
18672
18673
18674 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18675 PyObject *resultobj;
18676 wxListItem *arg1 = (wxListItem *) 0 ;
18677 wxFont *arg2 = 0 ;
18678 PyObject * obj0 = 0 ;
18679 PyObject * obj1 = 0 ;
18680 char *kwnames[] = {
18681 (char *) "self",(char *) "font", NULL
18682 };
18683
18684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18688 SWIG_POINTER_EXCEPTION | 0)) == -1)
18689 SWIG_fail;
18690 if (arg2 == NULL) {
18691 PyErr_SetString(PyExc_TypeError,"null reference");
18692 SWIG_fail;
18693 }
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 (arg1)->SetFont((wxFont const &)*arg2);
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 Py_INCREF(Py_None); resultobj = Py_None;
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxListItem *arg1 = (wxListItem *) 0 ;
18711 long result;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = (long)(arg1)->GetMask();
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 resultobj = SWIG_FromLong((long)result);
18728 return resultobj;
18729 fail:
18730 return NULL;
18731 }
18732
18733
18734 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18735 PyObject *resultobj;
18736 wxListItem *arg1 = (wxListItem *) 0 ;
18737 long result;
18738 PyObject * obj0 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18746 {
18747 PyThreadState* __tstate = wxPyBeginAllowThreads();
18748 result = (long)(arg1)->GetId();
18749
18750 wxPyEndAllowThreads(__tstate);
18751 if (PyErr_Occurred()) SWIG_fail;
18752 }
18753 resultobj = SWIG_FromLong((long)result);
18754 return resultobj;
18755 fail:
18756 return NULL;
18757 }
18758
18759
18760 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18761 PyObject *resultobj;
18762 wxListItem *arg1 = (wxListItem *) 0 ;
18763 int result;
18764 PyObject * obj0 = 0 ;
18765 char *kwnames[] = {
18766 (char *) "self", NULL
18767 };
18768
18769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18772 {
18773 PyThreadState* __tstate = wxPyBeginAllowThreads();
18774 result = (int)(arg1)->GetColumn();
18775
18776 wxPyEndAllowThreads(__tstate);
18777 if (PyErr_Occurred()) SWIG_fail;
18778 }
18779 resultobj = SWIG_FromInt((int)result);
18780 return resultobj;
18781 fail:
18782 return NULL;
18783 }
18784
18785
18786 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18787 PyObject *resultobj;
18788 wxListItem *arg1 = (wxListItem *) 0 ;
18789 long result;
18790 PyObject * obj0 = 0 ;
18791 char *kwnames[] = {
18792 (char *) "self", NULL
18793 };
18794
18795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18798 {
18799 PyThreadState* __tstate = wxPyBeginAllowThreads();
18800 result = (long)(arg1)->GetState();
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 resultobj = SWIG_FromLong((long)result);
18806 return resultobj;
18807 fail:
18808 return NULL;
18809 }
18810
18811
18812 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18813 PyObject *resultobj;
18814 wxListItem *arg1 = (wxListItem *) 0 ;
18815 wxString *result;
18816 PyObject * obj0 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 {
18827 wxString const &_result_ref = (arg1)->GetText();
18828 result = (wxString *) &_result_ref;
18829 }
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 {
18835 #if wxUSE_UNICODE
18836 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18837 #else
18838 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18839 #endif
18840 }
18841 return resultobj;
18842 fail:
18843 return NULL;
18844 }
18845
18846
18847 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18848 PyObject *resultobj;
18849 wxListItem *arg1 = (wxListItem *) 0 ;
18850 int result;
18851 PyObject * obj0 = 0 ;
18852 char *kwnames[] = {
18853 (char *) "self", NULL
18854 };
18855
18856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18859 {
18860 PyThreadState* __tstate = wxPyBeginAllowThreads();
18861 result = (int)(arg1)->GetImage();
18862
18863 wxPyEndAllowThreads(__tstate);
18864 if (PyErr_Occurred()) SWIG_fail;
18865 }
18866 resultobj = SWIG_FromInt((int)result);
18867 return resultobj;
18868 fail:
18869 return NULL;
18870 }
18871
18872
18873 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18874 PyObject *resultobj;
18875 wxListItem *arg1 = (wxListItem *) 0 ;
18876 long result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18885 {
18886 PyThreadState* __tstate = wxPyBeginAllowThreads();
18887 result = (long)(arg1)->GetData();
18888
18889 wxPyEndAllowThreads(__tstate);
18890 if (PyErr_Occurred()) SWIG_fail;
18891 }
18892 resultobj = SWIG_FromLong((long)result);
18893 return resultobj;
18894 fail:
18895 return NULL;
18896 }
18897
18898
18899 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxListItem *arg1 = (wxListItem *) 0 ;
18902 int result;
18903 PyObject * obj0 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (int)(arg1)->GetWidth();
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
18918 resultobj = SWIG_FromInt((int)result);
18919 return resultobj;
18920 fail:
18921 return NULL;
18922 }
18923
18924
18925 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxListItem *arg1 = (wxListItem *) 0 ;
18928 int result;
18929 PyObject * obj0 = 0 ;
18930 char *kwnames[] = {
18931 (char *) "self", NULL
18932 };
18933
18934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (int)(arg1)->GetAlign();
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 resultobj = SWIG_FromInt((int)result);
18945 return resultobj;
18946 fail:
18947 return NULL;
18948 }
18949
18950
18951 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18952 PyObject *resultobj;
18953 wxListItem *arg1 = (wxListItem *) 0 ;
18954 wxListItemAttr *result;
18955 PyObject * obj0 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = (wxListItemAttr *)(arg1)->GetAttributes();
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
18970 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18971 return resultobj;
18972 fail:
18973 return NULL;
18974 }
18975
18976
18977 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxListItem *arg1 = (wxListItem *) 0 ;
18980 bool result;
18981 PyObject * obj0 = 0 ;
18982 char *kwnames[] = {
18983 (char *) "self", NULL
18984 };
18985
18986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 result = (bool)(arg1)->HasAttributes();
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 {
18997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18998 }
18999 return resultobj;
19000 fail:
19001 return NULL;
19002 }
19003
19004
19005 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxListItem *arg1 = (wxListItem *) 0 ;
19008 wxColour result;
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = ((wxListItem const *)arg1)->GetTextColour();
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 wxColour * resultptr;
19026 resultptr = new wxColour((wxColour &) result);
19027 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032 }
19033
19034
19035 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj;
19037 wxListItem *arg1 = (wxListItem *) 0 ;
19038 wxColour result;
19039 PyObject * obj0 = 0 ;
19040 char *kwnames[] = {
19041 (char *) "self", NULL
19042 };
19043
19044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19047 {
19048 PyThreadState* __tstate = wxPyBeginAllowThreads();
19049 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19050
19051 wxPyEndAllowThreads(__tstate);
19052 if (PyErr_Occurred()) SWIG_fail;
19053 }
19054 {
19055 wxColour * resultptr;
19056 resultptr = new wxColour((wxColour &) result);
19057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19058 }
19059 return resultobj;
19060 fail:
19061 return NULL;
19062 }
19063
19064
19065 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj;
19067 wxListItem *arg1 = (wxListItem *) 0 ;
19068 wxFont result;
19069 PyObject * obj0 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = ((wxListItem const *)arg1)->GetFont();
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 {
19085 wxFont * resultptr;
19086 resultptr = new wxFont((wxFont &) result);
19087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19088 }
19089 return resultobj;
19090 fail:
19091 return NULL;
19092 }
19093
19094
19095 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxListItem *arg1 = (wxListItem *) 0 ;
19098 long arg2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "m_mask", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19108 arg2 = (long) SWIG_AsLong(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 if (arg1) (arg1)->m_mask = arg2;
19111
19112 Py_INCREF(Py_None); resultobj = Py_None;
19113 return resultobj;
19114 fail:
19115 return NULL;
19116 }
19117
19118
19119 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxListItem *arg1 = (wxListItem *) 0 ;
19122 long result;
19123 PyObject * obj0 = 0 ;
19124 char *kwnames[] = {
19125 (char *) "self", NULL
19126 };
19127
19128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19131 result = (long) ((arg1)->m_mask);
19132
19133 resultobj = SWIG_FromLong((long)result);
19134 return resultobj;
19135 fail:
19136 return NULL;
19137 }
19138
19139
19140 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListItem *arg1 = (wxListItem *) 0 ;
19143 long arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "m_itemId", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19153 arg2 = (long) SWIG_AsLong(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 if (arg1) (arg1)->m_itemId = arg2;
19156
19157 Py_INCREF(Py_None); resultobj = Py_None;
19158 return resultobj;
19159 fail:
19160 return NULL;
19161 }
19162
19163
19164 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19165 PyObject *resultobj;
19166 wxListItem *arg1 = (wxListItem *) 0 ;
19167 long result;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19176 result = (long) ((arg1)->m_itemId);
19177
19178 resultobj = SWIG_FromLong((long)result);
19179 return resultobj;
19180 fail:
19181 return NULL;
19182 }
19183
19184
19185 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19186 PyObject *resultobj;
19187 wxListItem *arg1 = (wxListItem *) 0 ;
19188 int arg2 ;
19189 PyObject * obj0 = 0 ;
19190 PyObject * obj1 = 0 ;
19191 char *kwnames[] = {
19192 (char *) "self",(char *) "m_col", NULL
19193 };
19194
19195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19198 arg2 = (int) SWIG_AsInt(obj1);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 if (arg1) (arg1)->m_col = arg2;
19201
19202 Py_INCREF(Py_None); resultobj = Py_None;
19203 return resultobj;
19204 fail:
19205 return NULL;
19206 }
19207
19208
19209 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19210 PyObject *resultobj;
19211 wxListItem *arg1 = (wxListItem *) 0 ;
19212 int result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19221 result = (int) ((arg1)->m_col);
19222
19223 resultobj = SWIG_FromInt((int)result);
19224 return resultobj;
19225 fail:
19226 return NULL;
19227 }
19228
19229
19230 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxListItem *arg1 = (wxListItem *) 0 ;
19233 long arg2 ;
19234 PyObject * obj0 = 0 ;
19235 PyObject * obj1 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "m_state", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19243 arg2 = (long) SWIG_AsLong(obj1);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 if (arg1) (arg1)->m_state = arg2;
19246
19247 Py_INCREF(Py_None); resultobj = Py_None;
19248 return resultobj;
19249 fail:
19250 return NULL;
19251 }
19252
19253
19254 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxListItem *arg1 = (wxListItem *) 0 ;
19257 long result;
19258 PyObject * obj0 = 0 ;
19259 char *kwnames[] = {
19260 (char *) "self", NULL
19261 };
19262
19263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19266 result = (long) ((arg1)->m_state);
19267
19268 resultobj = SWIG_FromLong((long)result);
19269 return resultobj;
19270 fail:
19271 return NULL;
19272 }
19273
19274
19275 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListItem *arg1 = (wxListItem *) 0 ;
19278 long arg2 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "m_stateMask", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19288 arg2 = (long) SWIG_AsLong(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 if (arg1) (arg1)->m_stateMask = arg2;
19291
19292 Py_INCREF(Py_None); resultobj = Py_None;
19293 return resultobj;
19294 fail:
19295 return NULL;
19296 }
19297
19298
19299 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19300 PyObject *resultobj;
19301 wxListItem *arg1 = (wxListItem *) 0 ;
19302 long result;
19303 PyObject * obj0 = 0 ;
19304 char *kwnames[] = {
19305 (char *) "self", NULL
19306 };
19307
19308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
19309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19311 result = (long) ((arg1)->m_stateMask);
19312
19313 resultobj = SWIG_FromLong((long)result);
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxListItem *arg1 = (wxListItem *) 0 ;
19323 wxString *arg2 = (wxString *) 0 ;
19324 bool temp2 = False ;
19325 PyObject * obj0 = 0 ;
19326 PyObject * obj1 = 0 ;
19327 char *kwnames[] = {
19328 (char *) "self",(char *) "m_text", NULL
19329 };
19330
19331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19334 {
19335 arg2 = wxString_in_helper(obj1);
19336 if (arg2 == NULL) SWIG_fail;
19337 temp2 = True;
19338 }
19339 if (arg1) (arg1)->m_text = *arg2;
19340
19341 Py_INCREF(Py_None); resultobj = Py_None;
19342 {
19343 if (temp2)
19344 delete arg2;
19345 }
19346 return resultobj;
19347 fail:
19348 {
19349 if (temp2)
19350 delete arg2;
19351 }
19352 return NULL;
19353 }
19354
19355
19356 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19357 PyObject *resultobj;
19358 wxListItem *arg1 = (wxListItem *) 0 ;
19359 wxString *result;
19360 PyObject * obj0 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "self", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19368 result = (wxString *)& ((arg1)->m_text);
19369
19370 {
19371 #if wxUSE_UNICODE
19372 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19373 #else
19374 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19375 #endif
19376 }
19377 return resultobj;
19378 fail:
19379 return NULL;
19380 }
19381
19382
19383 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19384 PyObject *resultobj;
19385 wxListItem *arg1 = (wxListItem *) 0 ;
19386 int arg2 ;
19387 PyObject * obj0 = 0 ;
19388 PyObject * obj1 = 0 ;
19389 char *kwnames[] = {
19390 (char *) "self",(char *) "m_image", NULL
19391 };
19392
19393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19396 arg2 = (int) SWIG_AsInt(obj1);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 if (arg1) (arg1)->m_image = arg2;
19399
19400 Py_INCREF(Py_None); resultobj = Py_None;
19401 return resultobj;
19402 fail:
19403 return NULL;
19404 }
19405
19406
19407 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19408 PyObject *resultobj;
19409 wxListItem *arg1 = (wxListItem *) 0 ;
19410 int result;
19411 PyObject * obj0 = 0 ;
19412 char *kwnames[] = {
19413 (char *) "self", NULL
19414 };
19415
19416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19419 result = (int) ((arg1)->m_image);
19420
19421 resultobj = SWIG_FromInt((int)result);
19422 return resultobj;
19423 fail:
19424 return NULL;
19425 }
19426
19427
19428 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxListItem *arg1 = (wxListItem *) 0 ;
19431 long arg2 ;
19432 PyObject * obj0 = 0 ;
19433 PyObject * obj1 = 0 ;
19434 char *kwnames[] = {
19435 (char *) "self",(char *) "m_data", NULL
19436 };
19437
19438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19441 arg2 = (long) SWIG_AsLong(obj1);
19442 if (PyErr_Occurred()) SWIG_fail;
19443 if (arg1) (arg1)->m_data = arg2;
19444
19445 Py_INCREF(Py_None); resultobj = Py_None;
19446 return resultobj;
19447 fail:
19448 return NULL;
19449 }
19450
19451
19452 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxListItem *arg1 = (wxListItem *) 0 ;
19455 long result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19464 result = (long) ((arg1)->m_data);
19465
19466 resultobj = SWIG_FromLong((long)result);
19467 return resultobj;
19468 fail:
19469 return NULL;
19470 }
19471
19472
19473 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19474 PyObject *resultobj;
19475 wxListItem *arg1 = (wxListItem *) 0 ;
19476 int arg2 ;
19477 PyObject * obj0 = 0 ;
19478 PyObject * obj1 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "m_format", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19486 arg2 = (int) SWIG_AsInt(obj1);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 if (arg1) (arg1)->m_format = arg2;
19489
19490 Py_INCREF(Py_None); resultobj = Py_None;
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj;
19499 wxListItem *arg1 = (wxListItem *) 0 ;
19500 int result;
19501 PyObject * obj0 = 0 ;
19502 char *kwnames[] = {
19503 (char *) "self", NULL
19504 };
19505
19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19509 result = (int) ((arg1)->m_format);
19510
19511 resultobj = SWIG_FromInt((int)result);
19512 return resultobj;
19513 fail:
19514 return NULL;
19515 }
19516
19517
19518 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxListItem *arg1 = (wxListItem *) 0 ;
19521 int arg2 ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self",(char *) "m_width", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19531 arg2 = (int) SWIG_AsInt(obj1);
19532 if (PyErr_Occurred()) SWIG_fail;
19533 if (arg1) (arg1)->m_width = arg2;
19534
19535 Py_INCREF(Py_None); resultobj = Py_None;
19536 return resultobj;
19537 fail:
19538 return NULL;
19539 }
19540
19541
19542 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19543 PyObject *resultobj;
19544 wxListItem *arg1 = (wxListItem *) 0 ;
19545 int result;
19546 PyObject * obj0 = 0 ;
19547 char *kwnames[] = {
19548 (char *) "self", NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19554 result = (int) ((arg1)->m_width);
19555
19556 resultobj = SWIG_FromInt((int)result);
19557 return resultobj;
19558 fail:
19559 return NULL;
19560 }
19561
19562
19563 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19564 PyObject *obj;
19565 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19566 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19567 Py_INCREF(obj);
19568 return Py_BuildValue((char *)"");
19569 }
19570 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19571 PyObject *resultobj;
19572 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19573 int arg2 = (int) 0 ;
19574 wxListEvent *result;
19575 PyObject * obj0 = 0 ;
19576 PyObject * obj1 = 0 ;
19577 char *kwnames[] = {
19578 (char *) "commandType",(char *) "id", NULL
19579 };
19580
19581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19582 if (obj0) {
19583 arg1 = (wxEventType) SWIG_AsInt(obj0);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 if (obj1) {
19587 arg2 = (int) SWIG_AsInt(obj1);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19598 return resultobj;
19599 fail:
19600 return NULL;
19601 }
19602
19603
19604 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19605 PyObject *resultobj;
19606 wxListEvent *arg1 = (wxListEvent *) 0 ;
19607 int arg2 ;
19608 PyObject * obj0 = 0 ;
19609 PyObject * obj1 = 0 ;
19610 char *kwnames[] = {
19611 (char *) "self",(char *) "m_code", NULL
19612 };
19613
19614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19617 arg2 = (int) SWIG_AsInt(obj1);
19618 if (PyErr_Occurred()) SWIG_fail;
19619 if (arg1) (arg1)->m_code = arg2;
19620
19621 Py_INCREF(Py_None); resultobj = Py_None;
19622 return resultobj;
19623 fail:
19624 return NULL;
19625 }
19626
19627
19628 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 wxListEvent *arg1 = (wxListEvent *) 0 ;
19631 int result;
19632 PyObject * obj0 = 0 ;
19633 char *kwnames[] = {
19634 (char *) "self", NULL
19635 };
19636
19637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19640 result = (int) ((arg1)->m_code);
19641
19642 resultobj = SWIG_FromInt((int)result);
19643 return resultobj;
19644 fail:
19645 return NULL;
19646 }
19647
19648
19649 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxListEvent *arg1 = (wxListEvent *) 0 ;
19652 long arg2 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "m_oldItemIndex", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 arg2 = (long) SWIG_AsLong(obj1);
19663 if (PyErr_Occurred()) SWIG_fail;
19664 if (arg1) (arg1)->m_oldItemIndex = arg2;
19665
19666 Py_INCREF(Py_None); resultobj = Py_None;
19667 return resultobj;
19668 fail:
19669 return NULL;
19670 }
19671
19672
19673 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19674 PyObject *resultobj;
19675 wxListEvent *arg1 = (wxListEvent *) 0 ;
19676 long result;
19677 PyObject * obj0 = 0 ;
19678 char *kwnames[] = {
19679 (char *) "self", NULL
19680 };
19681
19682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19685 result = (long) ((arg1)->m_oldItemIndex);
19686
19687 resultobj = SWIG_FromLong((long)result);
19688 return resultobj;
19689 fail:
19690 return NULL;
19691 }
19692
19693
19694 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19695 PyObject *resultobj;
19696 wxListEvent *arg1 = (wxListEvent *) 0 ;
19697 long arg2 ;
19698 PyObject * obj0 = 0 ;
19699 PyObject * obj1 = 0 ;
19700 char *kwnames[] = {
19701 (char *) "self",(char *) "m_itemIndex", NULL
19702 };
19703
19704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19707 arg2 = (long) SWIG_AsLong(obj1);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 if (arg1) (arg1)->m_itemIndex = arg2;
19710
19711 Py_INCREF(Py_None); resultobj = Py_None;
19712 return resultobj;
19713 fail:
19714 return NULL;
19715 }
19716
19717
19718 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19719 PyObject *resultobj;
19720 wxListEvent *arg1 = (wxListEvent *) 0 ;
19721 long result;
19722 PyObject * obj0 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19730 result = (long) ((arg1)->m_itemIndex);
19731
19732 resultobj = SWIG_FromLong((long)result);
19733 return resultobj;
19734 fail:
19735 return NULL;
19736 }
19737
19738
19739 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxListEvent *arg1 = (wxListEvent *) 0 ;
19742 int arg2 ;
19743 PyObject * obj0 = 0 ;
19744 PyObject * obj1 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self",(char *) "m_col", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19752 arg2 = (int) SWIG_AsInt(obj1);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 if (arg1) (arg1)->m_col = arg2;
19755
19756 Py_INCREF(Py_None); resultobj = Py_None;
19757 return resultobj;
19758 fail:
19759 return NULL;
19760 }
19761
19762
19763 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19764 PyObject *resultobj;
19765 wxListEvent *arg1 = (wxListEvent *) 0 ;
19766 int result;
19767 PyObject * obj0 = 0 ;
19768 char *kwnames[] = {
19769 (char *) "self", NULL
19770 };
19771
19772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19775 result = (int) ((arg1)->m_col);
19776
19777 resultobj = SWIG_FromInt((int)result);
19778 return resultobj;
19779 fail:
19780 return NULL;
19781 }
19782
19783
19784 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19785 PyObject *resultobj;
19786 wxListEvent *arg1 = (wxListEvent *) 0 ;
19787 wxPoint *arg2 = (wxPoint *) 0 ;
19788 PyObject * obj0 = 0 ;
19789 PyObject * obj1 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self",(char *) "m_pointDrag", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19799 if (arg1) (arg1)->m_pointDrag = *arg2;
19800
19801 Py_INCREF(Py_None); resultobj = Py_None;
19802 return resultobj;
19803 fail:
19804 return NULL;
19805 }
19806
19807
19808 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19809 PyObject *resultobj;
19810 wxListEvent *arg1 = (wxListEvent *) 0 ;
19811 wxPoint *result;
19812 PyObject * obj0 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 result = (wxPoint *)& ((arg1)->m_pointDrag);
19821
19822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxListEvent *arg1 = (wxListEvent *) 0 ;
19832 wxListItem *result;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19841 result = (wxListItem *)& ((arg1)->m_item);
19842
19843 {
19844 resultobj = wxPyMake_wxObject(result);
19845 }
19846 return resultobj;
19847 fail:
19848 return NULL;
19849 }
19850
19851
19852 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19853 PyObject *resultobj;
19854 wxListEvent *arg1 = (wxListEvent *) 0 ;
19855 int result;
19856 PyObject * obj0 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (int)(arg1)->GetKeyCode();
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 resultobj = SWIG_FromInt((int)result);
19872 return resultobj;
19873 fail:
19874 return NULL;
19875 }
19876
19877
19878 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxListEvent *arg1 = (wxListEvent *) 0 ;
19881 long result;
19882 PyObject * obj0 = 0 ;
19883 char *kwnames[] = {
19884 (char *) "self", NULL
19885 };
19886
19887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = (long)(arg1)->GetIndex();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 resultobj = SWIG_FromLong((long)result);
19898 return resultobj;
19899 fail:
19900 return NULL;
19901 }
19902
19903
19904 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxListEvent *arg1 = (wxListEvent *) 0 ;
19907 int result;
19908 PyObject * obj0 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19916 {
19917 PyThreadState* __tstate = wxPyBeginAllowThreads();
19918 result = (int)(arg1)->GetColumn();
19919
19920 wxPyEndAllowThreads(__tstate);
19921 if (PyErr_Occurred()) SWIG_fail;
19922 }
19923 resultobj = SWIG_FromInt((int)result);
19924 return resultobj;
19925 fail:
19926 return NULL;
19927 }
19928
19929
19930 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxListEvent *arg1 = (wxListEvent *) 0 ;
19933 wxPoint result;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 result = (arg1)->GetPoint();
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
19949 {
19950 wxPoint * resultptr;
19951 resultptr = new wxPoint((wxPoint &) result);
19952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19953 }
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxListEvent *arg1 = (wxListEvent *) 0 ;
19963 wxString *result;
19964 PyObject * obj0 = 0 ;
19965 char *kwnames[] = {
19966 (char *) "self", NULL
19967 };
19968
19969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 {
19975 wxString const &_result_ref = (arg1)->GetLabel();
19976 result = (wxString *) &_result_ref;
19977 }
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 {
19983 #if wxUSE_UNICODE
19984 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19985 #else
19986 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19987 #endif
19988 }
19989 return resultobj;
19990 fail:
19991 return NULL;
19992 }
19993
19994
19995 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19996 PyObject *resultobj;
19997 wxListEvent *arg1 = (wxListEvent *) 0 ;
19998 wxString *result;
19999 PyObject * obj0 = 0 ;
20000 char *kwnames[] = {
20001 (char *) "self", NULL
20002 };
20003
20004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 {
20010 wxString const &_result_ref = (arg1)->GetText();
20011 result = (wxString *) &_result_ref;
20012 }
20013
20014 wxPyEndAllowThreads(__tstate);
20015 if (PyErr_Occurred()) SWIG_fail;
20016 }
20017 {
20018 #if wxUSE_UNICODE
20019 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20020 #else
20021 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20022 #endif
20023 }
20024 return resultobj;
20025 fail:
20026 return NULL;
20027 }
20028
20029
20030 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxListEvent *arg1 = (wxListEvent *) 0 ;
20033 int result;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "self", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (int)(arg1)->GetImage();
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 resultobj = SWIG_FromInt((int)result);
20050 return resultobj;
20051 fail:
20052 return NULL;
20053 }
20054
20055
20056 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 wxListEvent *arg1 = (wxListEvent *) 0 ;
20059 long result;
20060 PyObject * obj0 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 result = (long)(arg1)->GetData();
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 resultobj = SWIG_FromLong((long)result);
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxListEvent *arg1 = (wxListEvent *) 0 ;
20085 long result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (long)(arg1)->GetMask();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_FromLong((long)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxListEvent *arg1 = (wxListEvent *) 0 ;
20111 wxListItem *result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 {
20123 wxListItem const &_result_ref = (arg1)->GetItem();
20124 result = (wxListItem *) &_result_ref;
20125 }
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxListEvent *arg1 = (wxListEvent *) 0 ;
20140 long result;
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
20151 result = (long)(arg1)->GetCacheFrom();
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 resultobj = SWIG_FromLong((long)result);
20157 return resultobj;
20158 fail:
20159 return NULL;
20160 }
20161
20162
20163 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 wxListEvent *arg1 = (wxListEvent *) 0 ;
20166 long result;
20167 PyObject * obj0 = 0 ;
20168 char *kwnames[] = {
20169 (char *) "self", NULL
20170 };
20171
20172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 result = (long)(arg1)->GetCacheTo();
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 resultobj = SWIG_FromLong((long)result);
20183 return resultobj;
20184 fail:
20185 return NULL;
20186 }
20187
20188
20189 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20190 PyObject *resultobj;
20191 wxListEvent *arg1 = (wxListEvent *) 0 ;
20192 bool result;
20193 PyObject * obj0 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 {
20209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20210 }
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxListEvent *arg1 = (wxListEvent *) 0 ;
20220 bool arg2 ;
20221 PyObject * obj0 = 0 ;
20222 PyObject * obj1 = 0 ;
20223 char *kwnames[] = {
20224 (char *) "self",(char *) "editCancelled", NULL
20225 };
20226
20227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20230 arg2 = (bool) SWIG_AsBool(obj1);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 (arg1)->SetEditCanceled(arg2);
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 Py_INCREF(Py_None); resultobj = Py_None;
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20247 PyObject *obj;
20248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20249 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20250 Py_INCREF(obj);
20251 return Py_BuildValue((char *)"");
20252 }
20253 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxWindow *arg1 = (wxWindow *) 0 ;
20256 int arg2 = (int) -1 ;
20257 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20258 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20259 wxSize const &arg4_defvalue = wxDefaultSize ;
20260 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20261 long arg5 = (long) wxLC_ICON ;
20262 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20263 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20264 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20265 wxString *arg7 = (wxString *) &arg7_defvalue ;
20266 wxPyListCtrl *result;
20267 wxPoint temp3 ;
20268 wxSize temp4 ;
20269 bool temp7 = False ;
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 PyObject * obj2 = 0 ;
20273 PyObject * obj3 = 0 ;
20274 PyObject * obj4 = 0 ;
20275 PyObject * obj5 = 0 ;
20276 PyObject * obj6 = 0 ;
20277 char *kwnames[] = {
20278 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20279 };
20280
20281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20284 if (obj1) {
20285 arg2 = (int) SWIG_AsInt(obj1);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 if (obj2) {
20289 {
20290 arg3 = &temp3;
20291 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20292 }
20293 }
20294 if (obj3) {
20295 {
20296 arg4 = &temp4;
20297 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20298 }
20299 }
20300 if (obj4) {
20301 arg5 = (long) SWIG_AsLong(obj4);
20302 if (PyErr_Occurred()) SWIG_fail;
20303 }
20304 if (obj5) {
20305 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20306 SWIG_POINTER_EXCEPTION | 0)) == -1)
20307 SWIG_fail;
20308 if (arg6 == NULL) {
20309 PyErr_SetString(PyExc_TypeError,"null reference");
20310 SWIG_fail;
20311 }
20312 }
20313 if (obj6) {
20314 {
20315 arg7 = wxString_in_helper(obj6);
20316 if (arg7 == NULL) SWIG_fail;
20317 temp7 = True;
20318 }
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20328 {
20329 if (temp7)
20330 delete arg7;
20331 }
20332 return resultobj;
20333 fail:
20334 {
20335 if (temp7)
20336 delete arg7;
20337 }
20338 return NULL;
20339 }
20340
20341
20342 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxPyListCtrl *result;
20345 char *kwnames[] = {
20346 NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20350 {
20351 PyThreadState* __tstate = wxPyBeginAllowThreads();
20352 result = (wxPyListCtrl *)new wxPyListCtrl();
20353
20354 wxPyEndAllowThreads(__tstate);
20355 if (PyErr_Occurred()) SWIG_fail;
20356 }
20357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20367 wxWindow *arg2 = (wxWindow *) 0 ;
20368 int arg3 = (int) -1 ;
20369 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20370 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20371 wxSize const &arg5_defvalue = wxDefaultSize ;
20372 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20373 long arg6 = (long) wxLC_ICON ;
20374 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20375 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20376 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20377 wxString *arg8 = (wxString *) &arg8_defvalue ;
20378 bool result;
20379 wxPoint temp4 ;
20380 wxSize temp5 ;
20381 bool temp8 = False ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 PyObject * obj2 = 0 ;
20385 PyObject * obj3 = 0 ;
20386 PyObject * obj4 = 0 ;
20387 PyObject * obj5 = 0 ;
20388 PyObject * obj6 = 0 ;
20389 PyObject * obj7 = 0 ;
20390 char *kwnames[] = {
20391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20392 };
20393
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20399 if (obj2) {
20400 arg3 = (int) SWIG_AsInt(obj2);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 if (obj3) {
20404 {
20405 arg4 = &temp4;
20406 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20407 }
20408 }
20409 if (obj4) {
20410 {
20411 arg5 = &temp5;
20412 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20413 }
20414 }
20415 if (obj5) {
20416 arg6 = (long) SWIG_AsLong(obj5);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 if (obj6) {
20420 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20421 SWIG_POINTER_EXCEPTION | 0)) == -1)
20422 SWIG_fail;
20423 if (arg7 == NULL) {
20424 PyErr_SetString(PyExc_TypeError,"null reference");
20425 SWIG_fail;
20426 }
20427 }
20428 if (obj7) {
20429 {
20430 arg8 = wxString_in_helper(obj7);
20431 if (arg8 == NULL) SWIG_fail;
20432 temp8 = True;
20433 }
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 {
20443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20444 }
20445 {
20446 if (temp8)
20447 delete arg8;
20448 }
20449 return resultobj;
20450 fail:
20451 {
20452 if (temp8)
20453 delete arg8;
20454 }
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20462 PyObject *arg2 = (PyObject *) 0 ;
20463 PyObject *arg3 = (PyObject *) 0 ;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 PyObject * obj2 = 0 ;
20467 char *kwnames[] = {
20468 (char *) "self",(char *) "self",(char *) "_class", NULL
20469 };
20470
20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20474 arg2 = obj1;
20475 arg3 = obj2;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->_setCallbackInfo(arg2,arg3);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 Py_INCREF(Py_None); resultobj = Py_None;
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20493 wxColour *arg2 = 0 ;
20494 bool result;
20495 wxColour temp2 ;
20496 PyObject * obj0 = 0 ;
20497 PyObject * obj1 = 0 ;
20498 char *kwnames[] = {
20499 (char *) "self",(char *) "col", NULL
20500 };
20501
20502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20505 {
20506 arg2 = &temp2;
20507 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20508 }
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
20511 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 {
20517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20518 }
20519 return resultobj;
20520 fail:
20521 return NULL;
20522 }
20523
20524
20525 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20526 PyObject *resultobj;
20527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20528 wxColour *arg2 = 0 ;
20529 bool result;
20530 wxColour temp2 ;
20531 PyObject * obj0 = 0 ;
20532 PyObject * obj1 = 0 ;
20533 char *kwnames[] = {
20534 (char *) "self",(char *) "col", NULL
20535 };
20536
20537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20540 {
20541 arg2 = &temp2;
20542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20543 }
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 {
20552 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20553 }
20554 return resultobj;
20555 fail:
20556 return NULL;
20557 }
20558
20559
20560 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20561 PyObject *resultobj;
20562 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20563 int arg2 ;
20564 wxListItem *result;
20565 PyObject * obj0 = 0 ;
20566 PyObject * obj1 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "self",(char *) "col", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20574 arg2 = (int) SWIG_AsInt(obj1);
20575 if (PyErr_Occurred()) SWIG_fail;
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 {
20584 resultobj = wxPyMake_wxObject(result);
20585 }
20586 return resultobj;
20587 fail:
20588 return NULL;
20589 }
20590
20591
20592 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20595 int arg2 ;
20596 wxListItem *arg3 = 0 ;
20597 bool result;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 PyObject * obj2 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "col",(char *) "item", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20608 arg2 = (int) SWIG_AsInt(obj1);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20611 SWIG_POINTER_EXCEPTION | 0)) == -1)
20612 SWIG_fail;
20613 if (arg3 == NULL) {
20614 PyErr_SetString(PyExc_TypeError,"null reference");
20615 SWIG_fail;
20616 }
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 {
20625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20626 }
20627 return resultobj;
20628 fail:
20629 return NULL;
20630 }
20631
20632
20633 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20636 int arg2 ;
20637 int result;
20638 PyObject * obj0 = 0 ;
20639 PyObject * obj1 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self",(char *) "col", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20647 arg2 = (int) SWIG_AsInt(obj1);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_FromInt((int)result);
20657 return resultobj;
20658 fail:
20659 return NULL;
20660 }
20661
20662
20663 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20664 PyObject *resultobj;
20665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20666 int arg2 ;
20667 int arg3 ;
20668 bool result;
20669 PyObject * obj0 = 0 ;
20670 PyObject * obj1 = 0 ;
20671 PyObject * obj2 = 0 ;
20672 char *kwnames[] = {
20673 (char *) "self",(char *) "col",(char *) "width", NULL
20674 };
20675
20676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20679 arg2 = (int) SWIG_AsInt(obj1);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 arg3 = (int) SWIG_AsInt(obj2);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 {
20684 PyThreadState* __tstate = wxPyBeginAllowThreads();
20685 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20686
20687 wxPyEndAllowThreads(__tstate);
20688 if (PyErr_Occurred()) SWIG_fail;
20689 }
20690 {
20691 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20692 }
20693 return resultobj;
20694 fail:
20695 return NULL;
20696 }
20697
20698
20699 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20700 PyObject *resultobj;
20701 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20702 int result;
20703 PyObject * obj0 = 0 ;
20704 char *kwnames[] = {
20705 (char *) "self", NULL
20706 };
20707
20708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20711 {
20712 PyThreadState* __tstate = wxPyBeginAllowThreads();
20713 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20714
20715 wxPyEndAllowThreads(__tstate);
20716 if (PyErr_Occurred()) SWIG_fail;
20717 }
20718 resultobj = SWIG_FromInt((int)result);
20719 return resultobj;
20720 fail:
20721 return NULL;
20722 }
20723
20724
20725 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20726 PyObject *resultobj;
20727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20728 wxRect result;
20729 PyObject * obj0 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 {
20745 wxRect * resultptr;
20746 resultptr = new wxRect((wxRect &) result);
20747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20748 }
20749 return resultobj;
20750 fail:
20751 return NULL;
20752 }
20753
20754
20755 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20758 long arg2 ;
20759 int arg3 = (int) 0 ;
20760 wxListItem *result;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 PyObject * obj2 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self",(char *) "itemId",(char *) "col", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20771 arg2 = (long) SWIG_AsLong(obj1);
20772 if (PyErr_Occurred()) SWIG_fail;
20773 if (obj2) {
20774 arg3 = (int) SWIG_AsInt(obj2);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 {
20785 resultobj = wxPyMake_wxObject(result);
20786 }
20787 return resultobj;
20788 fail:
20789 return NULL;
20790 }
20791
20792
20793 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20794 PyObject *resultobj;
20795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20796 wxListItem *arg2 = 0 ;
20797 bool result;
20798 PyObject * obj0 = 0 ;
20799 PyObject * obj1 = 0 ;
20800 char *kwnames[] = {
20801 (char *) "self",(char *) "info", NULL
20802 };
20803
20804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20807 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20808 SWIG_POINTER_EXCEPTION | 0)) == -1)
20809 SWIG_fail;
20810 if (arg2 == NULL) {
20811 PyErr_SetString(PyExc_TypeError,"null reference");
20812 SWIG_fail;
20813 }
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 result = (bool)(arg1)->SetItem(*arg2);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 {
20822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20823 }
20824 return resultobj;
20825 fail:
20826 return NULL;
20827 }
20828
20829
20830 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20833 long arg2 ;
20834 int arg3 ;
20835 wxString *arg4 = 0 ;
20836 int arg5 = (int) -1 ;
20837 long result;
20838 bool temp4 = False ;
20839 PyObject * obj0 = 0 ;
20840 PyObject * obj1 = 0 ;
20841 PyObject * obj2 = 0 ;
20842 PyObject * obj3 = 0 ;
20843 PyObject * obj4 = 0 ;
20844 char *kwnames[] = {
20845 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20846 };
20847
20848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20851 arg2 = (long) SWIG_AsLong(obj1);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 arg3 = (int) SWIG_AsInt(obj2);
20854 if (PyErr_Occurred()) SWIG_fail;
20855 {
20856 arg4 = wxString_in_helper(obj3);
20857 if (arg4 == NULL) SWIG_fail;
20858 temp4 = True;
20859 }
20860 if (obj4) {
20861 arg5 = (int) SWIG_AsInt(obj4);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 resultobj = SWIG_FromLong((long)result);
20872 {
20873 if (temp4)
20874 delete arg4;
20875 }
20876 return resultobj;
20877 fail:
20878 {
20879 if (temp4)
20880 delete arg4;
20881 }
20882 return NULL;
20883 }
20884
20885
20886 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20887 PyObject *resultobj;
20888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20889 long arg2 ;
20890 long arg3 ;
20891 int result;
20892 PyObject * obj0 = 0 ;
20893 PyObject * obj1 = 0 ;
20894 PyObject * obj2 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20902 arg2 = (long) SWIG_AsLong(obj1);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 arg3 = (long) SWIG_AsLong(obj2);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 {
20907 PyThreadState* __tstate = wxPyBeginAllowThreads();
20908 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 resultobj = SWIG_FromInt((int)result);
20914 return resultobj;
20915 fail:
20916 return NULL;
20917 }
20918
20919
20920 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20923 long arg2 ;
20924 long arg3 ;
20925 long arg4 ;
20926 bool result;
20927 PyObject * obj0 = 0 ;
20928 PyObject * obj1 = 0 ;
20929 PyObject * obj2 = 0 ;
20930 PyObject * obj3 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20938 arg2 = (long) SWIG_AsLong(obj1);
20939 if (PyErr_Occurred()) SWIG_fail;
20940 arg3 = (long) SWIG_AsLong(obj2);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 arg4 = (long) SWIG_AsLong(obj3);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 {
20952 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20953 }
20954 return resultobj;
20955 fail:
20956 return NULL;
20957 }
20958
20959
20960 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20963 long arg2 ;
20964 int arg3 ;
20965 int arg4 ;
20966 bool result;
20967 PyObject * obj0 = 0 ;
20968 PyObject * obj1 = 0 ;
20969 PyObject * obj2 = 0 ;
20970 PyObject * obj3 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20978 arg2 = (long) SWIG_AsLong(obj1);
20979 if (PyErr_Occurred()) SWIG_fail;
20980 arg3 = (int) SWIG_AsInt(obj2);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 arg4 = (int) SWIG_AsInt(obj3);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 {
20992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20993 }
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21003 long arg2 ;
21004 wxString result;
21005 PyObject * obj0 = 0 ;
21006 PyObject * obj1 = 0 ;
21007 char *kwnames[] = {
21008 (char *) "self",(char *) "item", NULL
21009 };
21010
21011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21014 arg2 = (long) SWIG_AsLong(obj1);
21015 if (PyErr_Occurred()) SWIG_fail;
21016 {
21017 PyThreadState* __tstate = wxPyBeginAllowThreads();
21018 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21019
21020 wxPyEndAllowThreads(__tstate);
21021 if (PyErr_Occurred()) SWIG_fail;
21022 }
21023 {
21024 #if wxUSE_UNICODE
21025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21026 #else
21027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21028 #endif
21029 }
21030 return resultobj;
21031 fail:
21032 return NULL;
21033 }
21034
21035
21036 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21037 PyObject *resultobj;
21038 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21039 long arg2 ;
21040 wxString *arg3 = 0 ;
21041 bool temp3 = False ;
21042 PyObject * obj0 = 0 ;
21043 PyObject * obj1 = 0 ;
21044 PyObject * obj2 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self",(char *) "item",(char *) "str", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21052 arg2 = (long) SWIG_AsLong(obj1);
21053 if (PyErr_Occurred()) SWIG_fail;
21054 {
21055 arg3 = wxString_in_helper(obj2);
21056 if (arg3 == NULL) SWIG_fail;
21057 temp3 = True;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
21066 Py_INCREF(Py_None); resultobj = Py_None;
21067 {
21068 if (temp3)
21069 delete arg3;
21070 }
21071 return resultobj;
21072 fail:
21073 {
21074 if (temp3)
21075 delete arg3;
21076 }
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21084 long arg2 ;
21085 long result;
21086 PyObject * obj0 = 0 ;
21087 PyObject * obj1 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self",(char *) "item", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 arg2 = (long) SWIG_AsLong(obj1);
21096 if (PyErr_Occurred()) SWIG_fail;
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 resultobj = SWIG_FromLong((long)result);
21105 return resultobj;
21106 fail:
21107 return NULL;
21108 }
21109
21110
21111 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21112 PyObject *resultobj;
21113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21114 long arg2 ;
21115 long arg3 ;
21116 bool result;
21117 PyObject * obj0 = 0 ;
21118 PyObject * obj1 = 0 ;
21119 PyObject * obj2 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "self",(char *) "item",(char *) "data", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21127 arg2 = (long) SWIG_AsLong(obj1);
21128 if (PyErr_Occurred()) SWIG_fail;
21129 arg3 = (long) SWIG_AsLong(obj2);
21130 if (PyErr_Occurred()) SWIG_fail;
21131 {
21132 PyThreadState* __tstate = wxPyBeginAllowThreads();
21133 result = (bool)(arg1)->SetItemData(arg2,arg3);
21134
21135 wxPyEndAllowThreads(__tstate);
21136 if (PyErr_Occurred()) SWIG_fail;
21137 }
21138 {
21139 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21140 }
21141 return resultobj;
21142 fail:
21143 return NULL;
21144 }
21145
21146
21147 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21148 PyObject *resultobj;
21149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21150 long arg2 ;
21151 wxPoint result;
21152 PyObject * obj0 = 0 ;
21153 PyObject * obj1 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self",(char *) "item", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21161 arg2 = (long) SWIG_AsLong(obj1);
21162 if (PyErr_Occurred()) SWIG_fail;
21163 {
21164 PyThreadState* __tstate = wxPyBeginAllowThreads();
21165 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21166
21167 wxPyEndAllowThreads(__tstate);
21168 if (PyErr_Occurred()) SWIG_fail;
21169 }
21170 {
21171 wxPoint * resultptr;
21172 resultptr = new wxPoint((wxPoint &) result);
21173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21174 }
21175 return resultobj;
21176 fail:
21177 return NULL;
21178 }
21179
21180
21181 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21182 PyObject *resultobj;
21183 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21184 long arg2 ;
21185 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21186 wxRect result;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 PyObject * obj2 = 0 ;
21190 char *kwnames[] = {
21191 (char *) "self",(char *) "item",(char *) "code", NULL
21192 };
21193
21194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21197 arg2 = (long) SWIG_AsLong(obj1);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 if (obj2) {
21200 arg3 = (int) SWIG_AsInt(obj2);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 {
21204 PyThreadState* __tstate = wxPyBeginAllowThreads();
21205 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21206
21207 wxPyEndAllowThreads(__tstate);
21208 if (PyErr_Occurred()) SWIG_fail;
21209 }
21210 {
21211 wxRect * resultptr;
21212 resultptr = new wxRect((wxRect &) result);
21213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21214 }
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj;
21223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21224 long arg2 ;
21225 wxPoint *arg3 = 0 ;
21226 bool result;
21227 wxPoint temp3 ;
21228 PyObject * obj0 = 0 ;
21229 PyObject * obj1 = 0 ;
21230 PyObject * obj2 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self",(char *) "item",(char *) "pos", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21238 arg2 = (long) SWIG_AsLong(obj1);
21239 if (PyErr_Occurred()) SWIG_fail;
21240 {
21241 arg3 = &temp3;
21242 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21243 }
21244 {
21245 PyThreadState* __tstate = wxPyBeginAllowThreads();
21246 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21247
21248 wxPyEndAllowThreads(__tstate);
21249 if (PyErr_Occurred()) SWIG_fail;
21250 }
21251 {
21252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21253 }
21254 return resultobj;
21255 fail:
21256 return NULL;
21257 }
21258
21259
21260 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21261 PyObject *resultobj;
21262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21263 int result;
21264 PyObject * obj0 = 0 ;
21265 char *kwnames[] = {
21266 (char *) "self", NULL
21267 };
21268
21269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21272 {
21273 PyThreadState* __tstate = wxPyBeginAllowThreads();
21274 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21275
21276 wxPyEndAllowThreads(__tstate);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 resultobj = SWIG_FromInt((int)result);
21280 return resultobj;
21281 fail:
21282 return NULL;
21283 }
21284
21285
21286 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21287 PyObject *resultobj;
21288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21289 int result;
21290 PyObject * obj0 = 0 ;
21291 char *kwnames[] = {
21292 (char *) "self", NULL
21293 };
21294
21295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
21296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 resultobj = SWIG_FromInt((int)result);
21306 return resultobj;
21307 fail:
21308 return NULL;
21309 }
21310
21311
21312 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21313 PyObject *resultobj;
21314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21315 wxSize result;
21316 PyObject * obj0 = 0 ;
21317 char *kwnames[] = {
21318 (char *) "self", NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
21322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 {
21332 wxSize * resultptr;
21333 resultptr = new wxSize((wxSize &) result);
21334 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21335 }
21336 return resultobj;
21337 fail:
21338 return NULL;
21339 }
21340
21341
21342 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21343 PyObject *resultobj;
21344 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21345 int arg2 ;
21346 bool arg3 = (bool) False ;
21347 PyObject * obj0 = 0 ;
21348 PyObject * obj1 = 0 ;
21349 PyObject * obj2 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21357 arg2 = (int) SWIG_AsInt(obj1);
21358 if (PyErr_Occurred()) SWIG_fail;
21359 if (obj2) {
21360 arg3 = (bool) SWIG_AsBool(obj2);
21361 if (PyErr_Occurred()) SWIG_fail;
21362 }
21363 {
21364 PyThreadState* __tstate = wxPyBeginAllowThreads();
21365 (arg1)->SetItemSpacing(arg2,arg3);
21366
21367 wxPyEndAllowThreads(__tstate);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 }
21370 Py_INCREF(Py_None); resultobj = Py_None;
21371 return resultobj;
21372 fail:
21373 return NULL;
21374 }
21375
21376
21377 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21378 PyObject *resultobj;
21379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21380 int result;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21389 {
21390 PyThreadState* __tstate = wxPyBeginAllowThreads();
21391 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21392
21393 wxPyEndAllowThreads(__tstate);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 resultobj = SWIG_FromInt((int)result);
21397 return resultobj;
21398 fail:
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21406 wxColour result;
21407 PyObject * obj0 = 0 ;
21408 char *kwnames[] = {
21409 (char *) "self", NULL
21410 };
21411
21412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21415 {
21416 PyThreadState* __tstate = wxPyBeginAllowThreads();
21417 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21418
21419 wxPyEndAllowThreads(__tstate);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 }
21422 {
21423 wxColour * resultptr;
21424 resultptr = new wxColour((wxColour &) result);
21425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21426 }
21427 return resultobj;
21428 fail:
21429 return NULL;
21430 }
21431
21432
21433 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21434 PyObject *resultobj;
21435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21436 wxColour *arg2 = 0 ;
21437 wxColour temp2 ;
21438 PyObject * obj0 = 0 ;
21439 PyObject * obj1 = 0 ;
21440 char *kwnames[] = {
21441 (char *) "self",(char *) "col", NULL
21442 };
21443
21444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21447 {
21448 arg2 = &temp2;
21449 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21450 }
21451 {
21452 PyThreadState* __tstate = wxPyBeginAllowThreads();
21453 (arg1)->SetTextColour((wxColour const &)*arg2);
21454
21455 wxPyEndAllowThreads(__tstate);
21456 if (PyErr_Occurred()) SWIG_fail;
21457 }
21458 Py_INCREF(Py_None); resultobj = Py_None;
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21468 long result;
21469 PyObject * obj0 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "self", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21477 {
21478 PyThreadState* __tstate = wxPyBeginAllowThreads();
21479 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21480
21481 wxPyEndAllowThreads(__tstate);
21482 if (PyErr_Occurred()) SWIG_fail;
21483 }
21484 resultobj = SWIG_FromLong((long)result);
21485 return resultobj;
21486 fail:
21487 return NULL;
21488 }
21489
21490
21491 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21492 PyObject *resultobj;
21493 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21494 long arg2 ;
21495 bool arg3 = (bool) True ;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 PyObject * obj2 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self",(char *) "style",(char *) "add", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21506 arg2 = (long) SWIG_AsLong(obj1);
21507 if (PyErr_Occurred()) SWIG_fail;
21508 if (obj2) {
21509 arg3 = (bool) SWIG_AsBool(obj2);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetSingleStyle(arg2,arg3);
21515
21516 wxPyEndAllowThreads(__tstate);
21517 if (PyErr_Occurred()) SWIG_fail;
21518 }
21519 Py_INCREF(Py_None); resultobj = Py_None;
21520 return resultobj;
21521 fail:
21522 return NULL;
21523 }
21524
21525
21526 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21529 long arg2 ;
21530 PyObject * obj0 = 0 ;
21531 PyObject * obj1 = 0 ;
21532 char *kwnames[] = {
21533 (char *) "self",(char *) "style", NULL
21534 };
21535
21536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21539 arg2 = (long) SWIG_AsLong(obj1);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 (arg1)->SetWindowStyleFlag(arg2);
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 Py_INCREF(Py_None); resultobj = Py_None;
21549 return resultobj;
21550 fail:
21551 return NULL;
21552 }
21553
21554
21555 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21556 PyObject *resultobj;
21557 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21558 long arg2 ;
21559 int arg3 = (int) wxLIST_NEXT_ALL ;
21560 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21561 long result;
21562 PyObject * obj0 = 0 ;
21563 PyObject * obj1 = 0 ;
21564 PyObject * obj2 = 0 ;
21565 PyObject * obj3 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21573 arg2 = (long) SWIG_AsLong(obj1);
21574 if (PyErr_Occurred()) SWIG_fail;
21575 if (obj2) {
21576 arg3 = (int) SWIG_AsInt(obj2);
21577 if (PyErr_Occurred()) SWIG_fail;
21578 }
21579 if (obj3) {
21580 arg4 = (int) SWIG_AsInt(obj3);
21581 if (PyErr_Occurred()) SWIG_fail;
21582 }
21583 {
21584 PyThreadState* __tstate = wxPyBeginAllowThreads();
21585 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21586
21587 wxPyEndAllowThreads(__tstate);
21588 if (PyErr_Occurred()) SWIG_fail;
21589 }
21590 resultobj = SWIG_FromLong((long)result);
21591 return resultobj;
21592 fail:
21593 return NULL;
21594 }
21595
21596
21597 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21598 PyObject *resultobj;
21599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21600 int arg2 ;
21601 wxImageList *result;
21602 PyObject * obj0 = 0 ;
21603 PyObject * obj1 = 0 ;
21604 char *kwnames[] = {
21605 (char *) "self",(char *) "which", NULL
21606 };
21607
21608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21611 arg2 = (int) SWIG_AsInt(obj1);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 {
21621 resultobj = wxPyMake_wxObject(result);
21622 }
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21630 PyObject *resultobj;
21631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21632 wxImageList *arg2 = (wxImageList *) 0 ;
21633 int arg3 ;
21634 PyObject * obj0 = 0 ;
21635 PyObject * obj1 = 0 ;
21636 PyObject * obj2 = 0 ;
21637 char *kwnames[] = {
21638 (char *) "self",(char *) "imageList",(char *) "which", NULL
21639 };
21640
21641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21646 arg3 = (int) SWIG_AsInt(obj2);
21647 if (PyErr_Occurred()) SWIG_fail;
21648 {
21649 PyThreadState* __tstate = wxPyBeginAllowThreads();
21650 (arg1)->SetImageList(arg2,arg3);
21651
21652 wxPyEndAllowThreads(__tstate);
21653 if (PyErr_Occurred()) SWIG_fail;
21654 }
21655 Py_INCREF(Py_None); resultobj = Py_None;
21656 return resultobj;
21657 fail:
21658 return NULL;
21659 }
21660
21661
21662 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21663 PyObject *resultobj;
21664 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21665 wxImageList *arg2 = (wxImageList *) 0 ;
21666 int arg3 ;
21667 PyObject * obj0 = 0 ;
21668 PyObject * obj1 = 0 ;
21669 PyObject * obj2 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "imageList",(char *) "which", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21678 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21679 arg3 = (int) SWIG_AsInt(obj2);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 (arg1)->AssignImageList(arg2,arg3);
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 Py_INCREF(Py_None); resultobj = Py_None;
21689 return resultobj;
21690 fail:
21691 return NULL;
21692 }
21693
21694
21695 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21696 PyObject *resultobj;
21697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21698 bool result;
21699 PyObject * obj0 = 0 ;
21700 char *kwnames[] = {
21701 (char *) "self", NULL
21702 };
21703
21704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21707 {
21708 PyThreadState* __tstate = wxPyBeginAllowThreads();
21709 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21710
21711 wxPyEndAllowThreads(__tstate);
21712 if (PyErr_Occurred()) SWIG_fail;
21713 }
21714 {
21715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21716 }
21717 return resultobj;
21718 fail:
21719 return NULL;
21720 }
21721
21722
21723 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21724 PyObject *resultobj;
21725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21726 bool result;
21727 PyObject * obj0 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21735 {
21736 PyThreadState* __tstate = wxPyBeginAllowThreads();
21737 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21738
21739 wxPyEndAllowThreads(__tstate);
21740 if (PyErr_Occurred()) SWIG_fail;
21741 }
21742 {
21743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21744 }
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21754 long arg2 ;
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "item", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21764 arg2 = (long) SWIG_AsLong(obj1);
21765 if (PyErr_Occurred()) SWIG_fail;
21766 {
21767 PyThreadState* __tstate = wxPyBeginAllowThreads();
21768 (arg1)->RefreshItem(arg2);
21769
21770 wxPyEndAllowThreads(__tstate);
21771 if (PyErr_Occurred()) SWIG_fail;
21772 }
21773 Py_INCREF(Py_None); resultobj = Py_None;
21774 return resultobj;
21775 fail:
21776 return NULL;
21777 }
21778
21779
21780 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21781 PyObject *resultobj;
21782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21783 long arg2 ;
21784 long arg3 ;
21785 PyObject * obj0 = 0 ;
21786 PyObject * obj1 = 0 ;
21787 PyObject * obj2 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21795 arg2 = (long) SWIG_AsLong(obj1);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 arg3 = (long) SWIG_AsLong(obj2);
21798 if (PyErr_Occurred()) SWIG_fail;
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 (arg1)->RefreshItems(arg2,arg3);
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 Py_INCREF(Py_None); resultobj = Py_None;
21807 return resultobj;
21808 fail:
21809 return NULL;
21810 }
21811
21812
21813 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21816 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21817 bool result;
21818 PyObject * obj0 = 0 ;
21819 PyObject * obj1 = 0 ;
21820 char *kwnames[] = {
21821 (char *) "self",(char *) "flag", NULL
21822 };
21823
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21827 if (obj1) {
21828 arg2 = (int) SWIG_AsInt(obj1);
21829 if (PyErr_Occurred()) SWIG_fail;
21830 }
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 result = (bool)(arg1)->Arrange(arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 {
21839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21840 }
21841 return resultobj;
21842 fail:
21843 return NULL;
21844 }
21845
21846
21847 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21850 long arg2 ;
21851 bool result;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "item", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 arg2 = (long) SWIG_AsLong(obj1);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 result = (bool)(arg1)->DeleteItem(arg2);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 {
21871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21872 }
21873 return resultobj;
21874 fail:
21875 return NULL;
21876 }
21877
21878
21879 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21880 PyObject *resultobj;
21881 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
21884 char *kwnames[] = {
21885 (char *) "self", NULL
21886 };
21887
21888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21891 {
21892 PyThreadState* __tstate = wxPyBeginAllowThreads();
21893 result = (bool)(arg1)->DeleteAllItems();
21894
21895 wxPyEndAllowThreads(__tstate);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 }
21898 {
21899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21900 }
21901 return resultobj;
21902 fail:
21903 return NULL;
21904 }
21905
21906
21907 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21908 PyObject *resultobj;
21909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21910 int arg2 ;
21911 bool result;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 char *kwnames[] = {
21915 (char *) "self",(char *) "col", NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21921 arg2 = (int) SWIG_AsInt(obj1);
21922 if (PyErr_Occurred()) SWIG_fail;
21923 {
21924 PyThreadState* __tstate = wxPyBeginAllowThreads();
21925 result = (bool)(arg1)->DeleteColumn(arg2);
21926
21927 wxPyEndAllowThreads(__tstate);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 {
21931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21932 }
21933 return resultobj;
21934 fail:
21935 return NULL;
21936 }
21937
21938
21939 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21940 PyObject *resultobj;
21941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21942 bool result;
21943 PyObject * obj0 = 0 ;
21944 char *kwnames[] = {
21945 (char *) "self", NULL
21946 };
21947
21948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21951 {
21952 PyThreadState* __tstate = wxPyBeginAllowThreads();
21953 result = (bool)(arg1)->DeleteAllColumns();
21954
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 {
21959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21960 }
21961 return resultobj;
21962 fail:
21963 return NULL;
21964 }
21965
21966
21967 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21968 PyObject *resultobj;
21969 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21970 PyObject * obj0 = 0 ;
21971 char *kwnames[] = {
21972 (char *) "self", NULL
21973 };
21974
21975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->ClearAll();
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21995 long arg2 ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 char *kwnames[] = {
21999 (char *) "self",(char *) "item", NULL
22000 };
22001
22002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22005 arg2 = (long) SWIG_AsLong(obj1);
22006 if (PyErr_Occurred()) SWIG_fail;
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 (arg1)->EditLabel(arg2);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 Py_INCREF(Py_None); resultobj = Py_None;
22015 return resultobj;
22016 fail:
22017 return NULL;
22018 }
22019
22020
22021 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22022 PyObject *resultobj;
22023 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22024 long arg2 ;
22025 bool result;
22026 PyObject * obj0 = 0 ;
22027 PyObject * obj1 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self",(char *) "item", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22035 arg2 = (long) SWIG_AsLong(obj1);
22036 if (PyErr_Occurred()) SWIG_fail;
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = (bool)(arg1)->EnsureVisible(arg2);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22046 }
22047 return resultobj;
22048 fail:
22049 return NULL;
22050 }
22051
22052
22053 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22054 PyObject *resultobj;
22055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22056 long arg2 ;
22057 wxString *arg3 = 0 ;
22058 bool arg4 = (bool) False ;
22059 long result;
22060 bool temp3 = False ;
22061 PyObject * obj0 = 0 ;
22062 PyObject * obj1 = 0 ;
22063 PyObject * obj2 = 0 ;
22064 PyObject * obj3 = 0 ;
22065 char *kwnames[] = {
22066 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22067 };
22068
22069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22072 arg2 = (long) SWIG_AsLong(obj1);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 {
22075 arg3 = wxString_in_helper(obj2);
22076 if (arg3 == NULL) SWIG_fail;
22077 temp3 = True;
22078 }
22079 if (obj3) {
22080 arg4 = (bool) SWIG_AsBool(obj3);
22081 if (PyErr_Occurred()) SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = SWIG_FromLong((long)result);
22091 {
22092 if (temp3)
22093 delete arg3;
22094 }
22095 return resultobj;
22096 fail:
22097 {
22098 if (temp3)
22099 delete arg3;
22100 }
22101 return NULL;
22102 }
22103
22104
22105 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22106 PyObject *resultobj;
22107 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22108 long arg2 ;
22109 long arg3 ;
22110 long result;
22111 PyObject * obj0 = 0 ;
22112 PyObject * obj1 = 0 ;
22113 PyObject * obj2 = 0 ;
22114 char *kwnames[] = {
22115 (char *) "self",(char *) "start",(char *) "data", NULL
22116 };
22117
22118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22121 arg2 = (long) SWIG_AsLong(obj1);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 arg3 = (long) SWIG_AsLong(obj2);
22124 if (PyErr_Occurred()) SWIG_fail;
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 result = (long)(arg1)->FindItem(arg2,arg3);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 resultobj = SWIG_FromLong((long)result);
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22142 long arg2 ;
22143 wxPoint *arg3 = 0 ;
22144 int arg4 ;
22145 long result;
22146 wxPoint temp3 ;
22147 PyObject * obj0 = 0 ;
22148 PyObject * obj1 = 0 ;
22149 PyObject * obj2 = 0 ;
22150 PyObject * obj3 = 0 ;
22151 char *kwnames[] = {
22152 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22153 };
22154
22155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22158 arg2 = (long) SWIG_AsLong(obj1);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 {
22161 arg3 = &temp3;
22162 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22163 }
22164 arg4 = (int) SWIG_AsInt(obj3);
22165 if (PyErr_Occurred()) SWIG_fail;
22166 {
22167 PyThreadState* __tstate = wxPyBeginAllowThreads();
22168 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22169
22170 wxPyEndAllowThreads(__tstate);
22171 if (PyErr_Occurred()) SWIG_fail;
22172 }
22173 resultobj = SWIG_FromLong((long)result);
22174 return resultobj;
22175 fail:
22176 return NULL;
22177 }
22178
22179
22180 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22181 PyObject *resultobj;
22182 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22183 wxPoint *arg2 = 0 ;
22184 int *arg3 = 0 ;
22185 long result;
22186 wxPoint temp2 ;
22187 int temp3 ;
22188 PyObject * obj0 = 0 ;
22189 PyObject * obj1 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self",(char *) "point", NULL
22192 };
22193
22194 arg3 = &temp3;
22195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22198 {
22199 arg2 = &temp2;
22200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22201 }
22202 {
22203 PyThreadState* __tstate = wxPyBeginAllowThreads();
22204 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22205
22206 wxPyEndAllowThreads(__tstate);
22207 if (PyErr_Occurred()) SWIG_fail;
22208 }
22209 resultobj = SWIG_FromLong((long)result);
22210 {
22211 PyObject *o = PyInt_FromLong((long) (*arg3));
22212 resultobj = t_output_helper(resultobj,o);
22213 }
22214 return resultobj;
22215 fail:
22216 return NULL;
22217 }
22218
22219
22220 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22221 PyObject *resultobj;
22222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22223 wxListItem *arg2 = 0 ;
22224 long result;
22225 PyObject * obj0 = 0 ;
22226 PyObject * obj1 = 0 ;
22227 char *kwnames[] = {
22228 (char *) "self",(char *) "info", NULL
22229 };
22230
22231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22235 SWIG_POINTER_EXCEPTION | 0)) == -1)
22236 SWIG_fail;
22237 if (arg2 == NULL) {
22238 PyErr_SetString(PyExc_TypeError,"null reference");
22239 SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = (long)(arg1)->InsertItem(*arg2);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 resultobj = SWIG_FromLong((long)result);
22249 return resultobj;
22250 fail:
22251 return NULL;
22252 }
22253
22254
22255 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22256 PyObject *resultobj;
22257 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22258 long arg2 ;
22259 wxString *arg3 = 0 ;
22260 long result;
22261 bool temp3 = False ;
22262 PyObject * obj0 = 0 ;
22263 PyObject * obj1 = 0 ;
22264 PyObject * obj2 = 0 ;
22265 char *kwnames[] = {
22266 (char *) "self",(char *) "index",(char *) "label", NULL
22267 };
22268
22269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22272 arg2 = (long) SWIG_AsLong(obj1);
22273 if (PyErr_Occurred()) SWIG_fail;
22274 {
22275 arg3 = wxString_in_helper(obj2);
22276 if (arg3 == NULL) SWIG_fail;
22277 temp3 = True;
22278 }
22279 {
22280 PyThreadState* __tstate = wxPyBeginAllowThreads();
22281 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22282
22283 wxPyEndAllowThreads(__tstate);
22284 if (PyErr_Occurred()) SWIG_fail;
22285 }
22286 resultobj = SWIG_FromLong((long)result);
22287 {
22288 if (temp3)
22289 delete arg3;
22290 }
22291 return resultobj;
22292 fail:
22293 {
22294 if (temp3)
22295 delete arg3;
22296 }
22297 return NULL;
22298 }
22299
22300
22301 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22302 PyObject *resultobj;
22303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22304 long arg2 ;
22305 int arg3 ;
22306 long result;
22307 PyObject * obj0 = 0 ;
22308 PyObject * obj1 = 0 ;
22309 PyObject * obj2 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22317 arg2 = (long) SWIG_AsLong(obj1);
22318 if (PyErr_Occurred()) SWIG_fail;
22319 arg3 = (int) SWIG_AsInt(obj2);
22320 if (PyErr_Occurred()) SWIG_fail;
22321 {
22322 PyThreadState* __tstate = wxPyBeginAllowThreads();
22323 result = (long)(arg1)->InsertItem(arg2,arg3);
22324
22325 wxPyEndAllowThreads(__tstate);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 }
22328 resultobj = SWIG_FromLong((long)result);
22329 return resultobj;
22330 fail:
22331 return NULL;
22332 }
22333
22334
22335 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22336 PyObject *resultobj;
22337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22338 long arg2 ;
22339 wxString *arg3 = 0 ;
22340 int arg4 ;
22341 long result;
22342 bool temp3 = False ;
22343 PyObject * obj0 = 0 ;
22344 PyObject * obj1 = 0 ;
22345 PyObject * obj2 = 0 ;
22346 PyObject * obj3 = 0 ;
22347 char *kwnames[] = {
22348 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22349 };
22350
22351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22354 arg2 = (long) SWIG_AsLong(obj1);
22355 if (PyErr_Occurred()) SWIG_fail;
22356 {
22357 arg3 = wxString_in_helper(obj2);
22358 if (arg3 == NULL) SWIG_fail;
22359 temp3 = True;
22360 }
22361 arg4 = (int) SWIG_AsInt(obj3);
22362 if (PyErr_Occurred()) SWIG_fail;
22363 {
22364 PyThreadState* __tstate = wxPyBeginAllowThreads();
22365 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22366
22367 wxPyEndAllowThreads(__tstate);
22368 if (PyErr_Occurred()) SWIG_fail;
22369 }
22370 resultobj = SWIG_FromLong((long)result);
22371 {
22372 if (temp3)
22373 delete arg3;
22374 }
22375 return resultobj;
22376 fail:
22377 {
22378 if (temp3)
22379 delete arg3;
22380 }
22381 return NULL;
22382 }
22383
22384
22385 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22386 PyObject *resultobj;
22387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22388 long arg2 ;
22389 wxListItem *arg3 = 0 ;
22390 long result;
22391 PyObject * obj0 = 0 ;
22392 PyObject * obj1 = 0 ;
22393 PyObject * obj2 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self",(char *) "col",(char *) "info", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22401 arg2 = (long) SWIG_AsLong(obj1);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22404 SWIG_POINTER_EXCEPTION | 0)) == -1)
22405 SWIG_fail;
22406 if (arg3 == NULL) {
22407 PyErr_SetString(PyExc_TypeError,"null reference");
22408 SWIG_fail;
22409 }
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 resultobj = SWIG_FromLong((long)result);
22418 return resultobj;
22419 fail:
22420 return NULL;
22421 }
22422
22423
22424 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22427 long arg2 ;
22428 wxString *arg3 = 0 ;
22429 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22430 int arg5 = (int) -1 ;
22431 long result;
22432 bool temp3 = False ;
22433 PyObject * obj0 = 0 ;
22434 PyObject * obj1 = 0 ;
22435 PyObject * obj2 = 0 ;
22436 PyObject * obj3 = 0 ;
22437 PyObject * obj4 = 0 ;
22438 char *kwnames[] = {
22439 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22440 };
22441
22442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22445 arg2 = (long) SWIG_AsLong(obj1);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 {
22448 arg3 = wxString_in_helper(obj2);
22449 if (arg3 == NULL) SWIG_fail;
22450 temp3 = True;
22451 }
22452 if (obj3) {
22453 arg4 = (int) SWIG_AsInt(obj3);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 if (obj4) {
22457 arg5 = (int) SWIG_AsInt(obj4);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 }
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 resultobj = SWIG_FromLong((long)result);
22468 {
22469 if (temp3)
22470 delete arg3;
22471 }
22472 return resultobj;
22473 fail:
22474 {
22475 if (temp3)
22476 delete arg3;
22477 }
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22485 long arg2 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "self",(char *) "count", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22495 arg2 = (long) SWIG_AsLong(obj1);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->SetItemCount(arg2);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508 }
22509
22510
22511 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22514 int arg2 ;
22515 int arg3 ;
22516 bool result;
22517 PyObject * obj0 = 0 ;
22518 PyObject * obj1 = 0 ;
22519 PyObject * obj2 = 0 ;
22520 char *kwnames[] = {
22521 (char *) "self",(char *) "dx",(char *) "dy", NULL
22522 };
22523
22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22527 arg2 = (int) SWIG_AsInt(obj1);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 arg3 = (int) SWIG_AsInt(obj2);
22530 if (PyErr_Occurred()) SWIG_fail;
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 result = (bool)(arg1)->ScrollList(arg2,arg3);
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 {
22539 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22540 }
22541 return resultobj;
22542 fail:
22543 return NULL;
22544 }
22545
22546
22547 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22548 PyObject *resultobj;
22549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22550 long arg2 ;
22551 wxColour *arg3 = 0 ;
22552 wxColour temp3 ;
22553 PyObject * obj0 = 0 ;
22554 PyObject * obj1 = 0 ;
22555 PyObject * obj2 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self",(char *) "item",(char *) "col", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22563 arg2 = (long) SWIG_AsLong(obj1);
22564 if (PyErr_Occurred()) SWIG_fail;
22565 {
22566 arg3 = &temp3;
22567 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22586 long arg2 ;
22587 wxColour result;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self",(char *) "item", NULL
22592 };
22593
22594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22597 arg2 = (long) SWIG_AsLong(obj1);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 {
22607 wxColour * resultptr;
22608 resultptr = new wxColour((wxColour &) result);
22609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22610 }
22611 return resultobj;
22612 fail:
22613 return NULL;
22614 }
22615
22616
22617 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22618 PyObject *resultobj;
22619 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22620 long arg2 ;
22621 wxColour *arg3 = 0 ;
22622 wxColour temp3 ;
22623 PyObject * obj0 = 0 ;
22624 PyObject * obj1 = 0 ;
22625 PyObject * obj2 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self",(char *) "item",(char *) "col", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22633 arg2 = (long) SWIG_AsLong(obj1);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 {
22636 arg3 = &temp3;
22637 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22638 }
22639 {
22640 PyThreadState* __tstate = wxPyBeginAllowThreads();
22641 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22642
22643 wxPyEndAllowThreads(__tstate);
22644 if (PyErr_Occurred()) SWIG_fail;
22645 }
22646 Py_INCREF(Py_None); resultobj = Py_None;
22647 return resultobj;
22648 fail:
22649 return NULL;
22650 }
22651
22652
22653 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22654 PyObject *resultobj;
22655 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22656 long arg2 ;
22657 wxColour result;
22658 PyObject * obj0 = 0 ;
22659 PyObject * obj1 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self",(char *) "item", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22667 arg2 = (long) SWIG_AsLong(obj1);
22668 if (PyErr_Occurred()) SWIG_fail;
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 {
22677 wxColour * resultptr;
22678 resultptr = new wxColour((wxColour &) result);
22679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22680 }
22681 return resultobj;
22682 fail:
22683 return NULL;
22684 }
22685
22686
22687 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22688 PyObject *resultobj;
22689 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22690 PyObject *arg2 = (PyObject *) 0 ;
22691 bool result;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self",(char *) "func", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22701 arg2 = obj1;
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22711 }
22712 return resultobj;
22713 fail:
22714 return NULL;
22715 }
22716
22717
22718 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22719 PyObject *resultobj;
22720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22721 wxWindow *result;
22722 PyObject * obj0 = 0 ;
22723 char *kwnames[] = {
22724 (char *) "self", NULL
22725 };
22726
22727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22730 {
22731 PyThreadState* __tstate = wxPyBeginAllowThreads();
22732 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22733
22734 wxPyEndAllowThreads(__tstate);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 }
22737 {
22738 resultobj = wxPyMake_wxObject(result);
22739 }
22740 return resultobj;
22741 fail:
22742 return NULL;
22743 }
22744
22745
22746 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22749 wxVisualAttributes result;
22750 PyObject * obj0 = 0 ;
22751 char *kwnames[] = {
22752 (char *) "variant", NULL
22753 };
22754
22755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22756 if (obj0) {
22757 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22758 if (PyErr_Occurred()) SWIG_fail;
22759 }
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 {
22768 wxVisualAttributes * resultptr;
22769 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22770 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22771 }
22772 return resultobj;
22773 fail:
22774 return NULL;
22775 }
22776
22777
22778 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22779 PyObject *obj;
22780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22781 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22782 Py_INCREF(obj);
22783 return Py_BuildValue((char *)"");
22784 }
22785 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22786 PyObject *resultobj;
22787 wxWindow *arg1 = (wxWindow *) 0 ;
22788 int arg2 = (int) -1 ;
22789 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22790 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22791 wxSize const &arg4_defvalue = wxDefaultSize ;
22792 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22793 long arg5 = (long) wxLC_REPORT ;
22794 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22795 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22796 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22797 wxString *arg7 = (wxString *) &arg7_defvalue ;
22798 wxListView *result;
22799 wxPoint temp3 ;
22800 wxSize temp4 ;
22801 bool temp7 = False ;
22802 PyObject * obj0 = 0 ;
22803 PyObject * obj1 = 0 ;
22804 PyObject * obj2 = 0 ;
22805 PyObject * obj3 = 0 ;
22806 PyObject * obj4 = 0 ;
22807 PyObject * obj5 = 0 ;
22808 PyObject * obj6 = 0 ;
22809 char *kwnames[] = {
22810 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22811 };
22812
22813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22816 if (obj1) {
22817 arg2 = (int) SWIG_AsInt(obj1);
22818 if (PyErr_Occurred()) SWIG_fail;
22819 }
22820 if (obj2) {
22821 {
22822 arg3 = &temp3;
22823 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22824 }
22825 }
22826 if (obj3) {
22827 {
22828 arg4 = &temp4;
22829 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22830 }
22831 }
22832 if (obj4) {
22833 arg5 = (long) SWIG_AsLong(obj4);
22834 if (PyErr_Occurred()) SWIG_fail;
22835 }
22836 if (obj5) {
22837 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22838 SWIG_POINTER_EXCEPTION | 0)) == -1)
22839 SWIG_fail;
22840 if (arg6 == NULL) {
22841 PyErr_SetString(PyExc_TypeError,"null reference");
22842 SWIG_fail;
22843 }
22844 }
22845 if (obj6) {
22846 {
22847 arg7 = wxString_in_helper(obj6);
22848 if (arg7 == NULL) SWIG_fail;
22849 temp7 = True;
22850 }
22851 }
22852 {
22853 PyThreadState* __tstate = wxPyBeginAllowThreads();
22854 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22855
22856 wxPyEndAllowThreads(__tstate);
22857 if (PyErr_Occurred()) SWIG_fail;
22858 }
22859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22860 {
22861 if (temp7)
22862 delete arg7;
22863 }
22864 return resultobj;
22865 fail:
22866 {
22867 if (temp7)
22868 delete arg7;
22869 }
22870 return NULL;
22871 }
22872
22873
22874 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22875 PyObject *resultobj;
22876 wxListView *result;
22877 char *kwnames[] = {
22878 NULL
22879 };
22880
22881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 result = (wxListView *)new wxListView();
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22890 return resultobj;
22891 fail:
22892 return NULL;
22893 }
22894
22895
22896 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxListView *arg1 = (wxListView *) 0 ;
22899 wxWindow *arg2 = (wxWindow *) 0 ;
22900 int arg3 = (int) -1 ;
22901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22903 wxSize const &arg5_defvalue = wxDefaultSize ;
22904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22905 long arg6 = (long) wxLC_REPORT ;
22906 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22907 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22908 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22909 wxString *arg8 = (wxString *) &arg8_defvalue ;
22910 bool result;
22911 wxPoint temp4 ;
22912 wxSize temp5 ;
22913 bool temp8 = False ;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 PyObject * obj2 = 0 ;
22917 PyObject * obj3 = 0 ;
22918 PyObject * obj4 = 0 ;
22919 PyObject * obj5 = 0 ;
22920 PyObject * obj6 = 0 ;
22921 PyObject * obj7 = 0 ;
22922 char *kwnames[] = {
22923 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22924 };
22925
22926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22931 if (obj2) {
22932 arg3 = (int) SWIG_AsInt(obj2);
22933 if (PyErr_Occurred()) SWIG_fail;
22934 }
22935 if (obj3) {
22936 {
22937 arg4 = &temp4;
22938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22939 }
22940 }
22941 if (obj4) {
22942 {
22943 arg5 = &temp5;
22944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22945 }
22946 }
22947 if (obj5) {
22948 arg6 = (long) SWIG_AsLong(obj5);
22949 if (PyErr_Occurred()) SWIG_fail;
22950 }
22951 if (obj6) {
22952 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22953 SWIG_POINTER_EXCEPTION | 0)) == -1)
22954 SWIG_fail;
22955 if (arg7 == NULL) {
22956 PyErr_SetString(PyExc_TypeError,"null reference");
22957 SWIG_fail;
22958 }
22959 }
22960 if (obj7) {
22961 {
22962 arg8 = wxString_in_helper(obj7);
22963 if (arg8 == NULL) SWIG_fail;
22964 temp8 = True;
22965 }
22966 }
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22976 }
22977 {
22978 if (temp8)
22979 delete arg8;
22980 }
22981 return resultobj;
22982 fail:
22983 {
22984 if (temp8)
22985 delete arg8;
22986 }
22987 return NULL;
22988 }
22989
22990
22991 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22992 PyObject *resultobj;
22993 wxListView *arg1 = (wxListView *) 0 ;
22994 long arg2 ;
22995 bool arg3 = (bool) True ;
22996 PyObject * obj0 = 0 ;
22997 PyObject * obj1 = 0 ;
22998 PyObject * obj2 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "n",(char *) "on", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23006 arg2 = (long) SWIG_AsLong(obj1);
23007 if (PyErr_Occurred()) SWIG_fail;
23008 if (obj2) {
23009 arg3 = (bool) SWIG_AsBool(obj2);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 (arg1)->Select(arg2,arg3);
23015
23016 wxPyEndAllowThreads(__tstate);
23017 if (PyErr_Occurred()) SWIG_fail;
23018 }
23019 Py_INCREF(Py_None); resultobj = Py_None;
23020 return resultobj;
23021 fail:
23022 return NULL;
23023 }
23024
23025
23026 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxListView *arg1 = (wxListView *) 0 ;
23029 long arg2 ;
23030 PyObject * obj0 = 0 ;
23031 PyObject * obj1 = 0 ;
23032 char *kwnames[] = {
23033 (char *) "self",(char *) "index", NULL
23034 };
23035
23036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23039 arg2 = (long) SWIG_AsLong(obj1);
23040 if (PyErr_Occurred()) SWIG_fail;
23041 {
23042 PyThreadState* __tstate = wxPyBeginAllowThreads();
23043 (arg1)->Focus(arg2);
23044
23045 wxPyEndAllowThreads(__tstate);
23046 if (PyErr_Occurred()) SWIG_fail;
23047 }
23048 Py_INCREF(Py_None); resultobj = Py_None;
23049 return resultobj;
23050 fail:
23051 return NULL;
23052 }
23053
23054
23055 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23056 PyObject *resultobj;
23057 wxListView *arg1 = (wxListView *) 0 ;
23058 long result;
23059 PyObject * obj0 = 0 ;
23060 char *kwnames[] = {
23061 (char *) "self", NULL
23062 };
23063
23064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 resultobj = SWIG_FromLong((long)result);
23075 return resultobj;
23076 fail:
23077 return NULL;
23078 }
23079
23080
23081 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23082 PyObject *resultobj;
23083 wxListView *arg1 = (wxListView *) 0 ;
23084 long arg2 ;
23085 long result;
23086 PyObject * obj0 = 0 ;
23087 PyObject * obj1 = 0 ;
23088 char *kwnames[] = {
23089 (char *) "self",(char *) "item", NULL
23090 };
23091
23092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23095 arg2 = (long) SWIG_AsLong(obj1);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 {
23098 PyThreadState* __tstate = wxPyBeginAllowThreads();
23099 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23100
23101 wxPyEndAllowThreads(__tstate);
23102 if (PyErr_Occurred()) SWIG_fail;
23103 }
23104 resultobj = SWIG_FromLong((long)result);
23105 return resultobj;
23106 fail:
23107 return NULL;
23108 }
23109
23110
23111 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23112 PyObject *resultobj;
23113 wxListView *arg1 = (wxListView *) 0 ;
23114 long result;
23115 PyObject * obj0 = 0 ;
23116 char *kwnames[] = {
23117 (char *) "self", NULL
23118 };
23119
23120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23123 {
23124 PyThreadState* __tstate = wxPyBeginAllowThreads();
23125 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23126
23127 wxPyEndAllowThreads(__tstate);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 }
23130 resultobj = SWIG_FromLong((long)result);
23131 return resultobj;
23132 fail:
23133 return NULL;
23134 }
23135
23136
23137 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23138 PyObject *resultobj;
23139 wxListView *arg1 = (wxListView *) 0 ;
23140 long arg2 ;
23141 bool result;
23142 PyObject * obj0 = 0 ;
23143 PyObject * obj1 = 0 ;
23144 char *kwnames[] = {
23145 (char *) "self",(char *) "index", NULL
23146 };
23147
23148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23151 arg2 = (long) SWIG_AsLong(obj1);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 {
23154 PyThreadState* __tstate = wxPyBeginAllowThreads();
23155 result = (bool)(arg1)->IsSelected(arg2);
23156
23157 wxPyEndAllowThreads(__tstate);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 }
23160 {
23161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23162 }
23163 return resultobj;
23164 fail:
23165 return NULL;
23166 }
23167
23168
23169 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23170 PyObject *resultobj;
23171 wxListView *arg1 = (wxListView *) 0 ;
23172 int arg2 ;
23173 int arg3 ;
23174 PyObject * obj0 = 0 ;
23175 PyObject * obj1 = 0 ;
23176 PyObject * obj2 = 0 ;
23177 char *kwnames[] = {
23178 (char *) "self",(char *) "col",(char *) "image", NULL
23179 };
23180
23181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23184 arg2 = (int) SWIG_AsInt(obj1);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 arg3 = (int) SWIG_AsInt(obj2);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 (arg1)->SetColumnImage(arg2,arg3);
23191
23192 wxPyEndAllowThreads(__tstate);
23193 if (PyErr_Occurred()) SWIG_fail;
23194 }
23195 Py_INCREF(Py_None); resultobj = Py_None;
23196 return resultobj;
23197 fail:
23198 return NULL;
23199 }
23200
23201
23202 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23203 PyObject *resultobj;
23204 wxListView *arg1 = (wxListView *) 0 ;
23205 int arg2 ;
23206 PyObject * obj0 = 0 ;
23207 PyObject * obj1 = 0 ;
23208 char *kwnames[] = {
23209 (char *) "self",(char *) "col", NULL
23210 };
23211
23212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23215 arg2 = (int) SWIG_AsInt(obj1);
23216 if (PyErr_Occurred()) SWIG_fail;
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 (arg1)->ClearColumnImage(arg2);
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
23224 Py_INCREF(Py_None); resultobj = Py_None;
23225 return resultobj;
23226 fail:
23227 return NULL;
23228 }
23229
23230
23231 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23232 PyObject *obj;
23233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23234 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23235 Py_INCREF(obj);
23236 return Py_BuildValue((char *)"");
23237 }
23238 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23239 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23240 return 1;
23241 }
23242
23243
23244 static PyObject *_wrap_TreeCtrlNameStr_get() {
23245 PyObject *pyobj;
23246
23247 {
23248 #if wxUSE_UNICODE
23249 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23250 #else
23251 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23252 #endif
23253 }
23254 return pyobj;
23255 }
23256
23257
23258 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 wxTreeItemId *result;
23261 char *kwnames[] = {
23262 NULL
23263 };
23264
23265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23266 {
23267 PyThreadState* __tstate = wxPyBeginAllowThreads();
23268 result = (wxTreeItemId *)new wxTreeItemId();
23269
23270 wxPyEndAllowThreads(__tstate);
23271 if (PyErr_Occurred()) SWIG_fail;
23272 }
23273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23274 return resultobj;
23275 fail:
23276 return NULL;
23277 }
23278
23279
23280 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23281 PyObject *resultobj;
23282 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23283 PyObject * obj0 = 0 ;
23284 char *kwnames[] = {
23285 (char *) "self", NULL
23286 };
23287
23288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
23289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23291 {
23292 PyThreadState* __tstate = wxPyBeginAllowThreads();
23293 delete arg1;
23294
23295 wxPyEndAllowThreads(__tstate);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 }
23298 Py_INCREF(Py_None); resultobj = Py_None;
23299 return resultobj;
23300 fail:
23301 return NULL;
23302 }
23303
23304
23305 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23306 PyObject *resultobj;
23307 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23308 bool result;
23309 PyObject * obj0 = 0 ;
23310 char *kwnames[] = {
23311 (char *) "self", NULL
23312 };
23313
23314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
23315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23317 {
23318 PyThreadState* __tstate = wxPyBeginAllowThreads();
23319 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23320
23321 wxPyEndAllowThreads(__tstate);
23322 if (PyErr_Occurred()) SWIG_fail;
23323 }
23324 {
23325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23326 }
23327 return resultobj;
23328 fail:
23329 return NULL;
23330 }
23331
23332
23333 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23334 PyObject *resultobj;
23335 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23336 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23337 bool result;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 char *kwnames[] = {
23341 (char *) "self",(char *) "other", NULL
23342 };
23343
23344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23347 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23349 {
23350 PyThreadState* __tstate = wxPyBeginAllowThreads();
23351 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23352
23353 wxPyEndAllowThreads(__tstate);
23354 if (PyErr_Occurred()) SWIG_fail;
23355 }
23356 {
23357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23358 }
23359 return resultobj;
23360 fail:
23361 return NULL;
23362 }
23363
23364
23365 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23368 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23369 bool result;
23370 PyObject * obj0 = 0 ;
23371 PyObject * obj1 = 0 ;
23372 char *kwnames[] = {
23373 (char *) "self",(char *) "other", NULL
23374 };
23375
23376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23379 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
23388 {
23389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23390 }
23391 return resultobj;
23392 fail:
23393 return NULL;
23394 }
23395
23396
23397 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23398 PyObject *resultobj;
23399 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23400 void *arg2 = (void *) 0 ;
23401 PyObject * obj0 = 0 ;
23402 PyObject * obj1 = 0 ;
23403 char *kwnames[] = {
23404 (char *) "self",(char *) "m_pItem", NULL
23405 };
23406
23407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23410 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23411 if (arg1) (arg1)->m_pItem = arg2;
23412
23413 Py_INCREF(Py_None); resultobj = Py_None;
23414 return resultobj;
23415 fail:
23416 return NULL;
23417 }
23418
23419
23420 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23421 PyObject *resultobj;
23422 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23423 void *result;
23424 PyObject * obj0 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23432 result = (void *) ((arg1)->m_pItem);
23433
23434 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23435 return resultobj;
23436 fail:
23437 return NULL;
23438 }
23439
23440
23441 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23442 PyObject *obj;
23443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23444 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23445 Py_INCREF(obj);
23446 return Py_BuildValue((char *)"");
23447 }
23448 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23449 PyObject *resultobj;
23450 PyObject *arg1 = (PyObject *) NULL ;
23451 wxPyTreeItemData *result;
23452 PyObject * obj0 = 0 ;
23453 char *kwnames[] = {
23454 (char *) "obj", NULL
23455 };
23456
23457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23458 if (obj0) {
23459 arg1 = obj0;
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23469 return resultobj;
23470 fail:
23471 return NULL;
23472 }
23473
23474
23475 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23476 PyObject *resultobj;
23477 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23478 PyObject *result;
23479 PyObject * obj0 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = (PyObject *)(arg1)->GetData();
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 resultobj = result;
23495 return resultobj;
23496 fail:
23497 return NULL;
23498 }
23499
23500
23501 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23502 PyObject *resultobj;
23503 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23504 PyObject *arg2 = (PyObject *) 0 ;
23505 PyObject * obj0 = 0 ;
23506 PyObject * obj1 = 0 ;
23507 char *kwnames[] = {
23508 (char *) "self",(char *) "obj", NULL
23509 };
23510
23511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23514 arg2 = obj1;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetData(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23532 wxTreeItemId *result;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23541 {
23542 PyThreadState* __tstate = wxPyBeginAllowThreads();
23543 {
23544 wxTreeItemId const &_result_ref = (arg1)->GetId();
23545 result = (wxTreeItemId *) &_result_ref;
23546 }
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23561 wxTreeItemId *arg2 = 0 ;
23562 PyObject * obj0 = 0 ;
23563 PyObject * obj1 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self",(char *) "id", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23572 SWIG_POINTER_EXCEPTION | 0)) == -1)
23573 SWIG_fail;
23574 if (arg2 == NULL) {
23575 PyErr_SetString(PyExc_TypeError,"null reference");
23576 SWIG_fail;
23577 }
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 (arg1)->SetId((wxTreeItemId const &)*arg2);
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 Py_INCREF(Py_None); resultobj = Py_None;
23586 return resultobj;
23587 fail:
23588 return NULL;
23589 }
23590
23591
23592 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23595 PyObject * obj0 = 0 ;
23596 char *kwnames[] = {
23597 (char *) "self", NULL
23598 };
23599
23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23603 {
23604 PyThreadState* __tstate = wxPyBeginAllowThreads();
23605 wxPyTreeItemData_Destroy(arg1);
23606
23607 wxPyEndAllowThreads(__tstate);
23608 if (PyErr_Occurred()) SWIG_fail;
23609 }
23610 Py_INCREF(Py_None); resultobj = Py_None;
23611 return resultobj;
23612 fail:
23613 return NULL;
23614 }
23615
23616
23617 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23618 PyObject *obj;
23619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23620 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23621 Py_INCREF(obj);
23622 return Py_BuildValue((char *)"");
23623 }
23624 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23627 int arg2 = (int) 0 ;
23628 wxTreeEvent *result;
23629 PyObject * obj0 = 0 ;
23630 PyObject * obj1 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "commandType",(char *) "id", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23636 if (obj0) {
23637 arg1 = (wxEventType) SWIG_AsInt(obj0);
23638 if (PyErr_Occurred()) SWIG_fail;
23639 }
23640 if (obj1) {
23641 arg2 = (int) SWIG_AsInt(obj1);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23652 return resultobj;
23653 fail:
23654 return NULL;
23655 }
23656
23657
23658 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23661 wxTreeItemId result;
23662 PyObject * obj0 = 0 ;
23663 char *kwnames[] = {
23664 (char *) "self", NULL
23665 };
23666
23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23670 {
23671 PyThreadState* __tstate = wxPyBeginAllowThreads();
23672 result = ((wxTreeEvent const *)arg1)->GetItem();
23673
23674 wxPyEndAllowThreads(__tstate);
23675 if (PyErr_Occurred()) SWIG_fail;
23676 }
23677 {
23678 wxTreeItemId * resultptr;
23679 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23681 }
23682 return resultobj;
23683 fail:
23684 return NULL;
23685 }
23686
23687
23688 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23689 PyObject *resultobj;
23690 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23691 wxTreeItemId *arg2 = 0 ;
23692 PyObject * obj0 = 0 ;
23693 PyObject * obj1 = 0 ;
23694 char *kwnames[] = {
23695 (char *) "self",(char *) "item", NULL
23696 };
23697
23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23702 SWIG_POINTER_EXCEPTION | 0)) == -1)
23703 SWIG_fail;
23704 if (arg2 == NULL) {
23705 PyErr_SetString(PyExc_TypeError,"null reference");
23706 SWIG_fail;
23707 }
23708 {
23709 PyThreadState* __tstate = wxPyBeginAllowThreads();
23710 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23711
23712 wxPyEndAllowThreads(__tstate);
23713 if (PyErr_Occurred()) SWIG_fail;
23714 }
23715 Py_INCREF(Py_None); resultobj = Py_None;
23716 return resultobj;
23717 fail:
23718 return NULL;
23719 }
23720
23721
23722 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23725 wxTreeItemId result;
23726 PyObject * obj0 = 0 ;
23727 char *kwnames[] = {
23728 (char *) "self", NULL
23729 };
23730
23731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 {
23742 wxTreeItemId * resultptr;
23743 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23744 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23745 }
23746 return resultobj;
23747 fail:
23748 return NULL;
23749 }
23750
23751
23752 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23753 PyObject *resultobj;
23754 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23755 wxTreeItemId *arg2 = 0 ;
23756 PyObject * obj0 = 0 ;
23757 PyObject * obj1 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self",(char *) "item", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23765 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23766 SWIG_POINTER_EXCEPTION | 0)) == -1)
23767 SWIG_fail;
23768 if (arg2 == NULL) {
23769 PyErr_SetString(PyExc_TypeError,"null reference");
23770 SWIG_fail;
23771 }
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 Py_INCREF(Py_None); resultobj = Py_None;
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23789 wxPoint result;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23798 {
23799 PyThreadState* __tstate = wxPyBeginAllowThreads();
23800 result = ((wxTreeEvent const *)arg1)->GetPoint();
23801
23802 wxPyEndAllowThreads(__tstate);
23803 if (PyErr_Occurred()) SWIG_fail;
23804 }
23805 {
23806 wxPoint * resultptr;
23807 resultptr = new wxPoint((wxPoint &) result);
23808 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23809 }
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23817 PyObject *resultobj;
23818 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23819 wxPoint *arg2 = 0 ;
23820 wxPoint temp2 ;
23821 PyObject * obj0 = 0 ;
23822 PyObject * obj1 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self",(char *) "pt", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23830 {
23831 arg2 = &temp2;
23832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23833 }
23834 {
23835 PyThreadState* __tstate = wxPyBeginAllowThreads();
23836 (arg1)->SetPoint((wxPoint const &)*arg2);
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 Py_INCREF(Py_None); resultobj = Py_None;
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23849 PyObject *resultobj;
23850 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23851 wxKeyEvent *result;
23852 PyObject * obj0 = 0 ;
23853 char *kwnames[] = {
23854 (char *) "self", NULL
23855 };
23856
23857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 {
23863 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23864 result = (wxKeyEvent *) &_result_ref;
23865 }
23866
23867 wxPyEndAllowThreads(__tstate);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23871 return resultobj;
23872 fail:
23873 return NULL;
23874 }
23875
23876
23877 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23878 PyObject *resultobj;
23879 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23880 int result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 resultobj = SWIG_FromInt((int)result);
23897 return resultobj;
23898 fail:
23899 return NULL;
23900 }
23901
23902
23903 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23904 PyObject *resultobj;
23905 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23906 wxKeyEvent *arg2 = 0 ;
23907 PyObject * obj0 = 0 ;
23908 PyObject * obj1 = 0 ;
23909 char *kwnames[] = {
23910 (char *) "self",(char *) "evt", NULL
23911 };
23912
23913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23917 SWIG_POINTER_EXCEPTION | 0)) == -1)
23918 SWIG_fail;
23919 if (arg2 == NULL) {
23920 PyErr_SetString(PyExc_TypeError,"null reference");
23921 SWIG_fail;
23922 }
23923 {
23924 PyThreadState* __tstate = wxPyBeginAllowThreads();
23925 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 Py_INCREF(Py_None); resultobj = Py_None;
23931 return resultobj;
23932 fail:
23933 return NULL;
23934 }
23935
23936
23937 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23938 PyObject *resultobj;
23939 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23940 wxString *result;
23941 PyObject * obj0 = 0 ;
23942 char *kwnames[] = {
23943 (char *) "self", NULL
23944 };
23945
23946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23949 {
23950 PyThreadState* __tstate = wxPyBeginAllowThreads();
23951 {
23952 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23953 result = (wxString *) &_result_ref;
23954 }
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 {
23960 #if wxUSE_UNICODE
23961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23962 #else
23963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23964 #endif
23965 }
23966 return resultobj;
23967 fail:
23968 return NULL;
23969 }
23970
23971
23972 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23973 PyObject *resultobj;
23974 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23975 wxString *arg2 = 0 ;
23976 bool temp2 = False ;
23977 PyObject * obj0 = 0 ;
23978 PyObject * obj1 = 0 ;
23979 char *kwnames[] = {
23980 (char *) "self",(char *) "label", NULL
23981 };
23982
23983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23986 {
23987 arg2 = wxString_in_helper(obj1);
23988 if (arg2 == NULL) SWIG_fail;
23989 temp2 = True;
23990 }
23991 {
23992 PyThreadState* __tstate = wxPyBeginAllowThreads();
23993 (arg1)->SetLabel((wxString const &)*arg2);
23994
23995 wxPyEndAllowThreads(__tstate);
23996 if (PyErr_Occurred()) SWIG_fail;
23997 }
23998 Py_INCREF(Py_None); resultobj = Py_None;
23999 {
24000 if (temp2)
24001 delete arg2;
24002 }
24003 return resultobj;
24004 fail:
24005 {
24006 if (temp2)
24007 delete arg2;
24008 }
24009 return NULL;
24010 }
24011
24012
24013 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24014 PyObject *resultobj;
24015 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24016 bool result;
24017 PyObject * obj0 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24025 {
24026 PyThreadState* __tstate = wxPyBeginAllowThreads();
24027 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24028
24029 wxPyEndAllowThreads(__tstate);
24030 if (PyErr_Occurred()) SWIG_fail;
24031 }
24032 {
24033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038 }
24039
24040
24041 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24044 bool arg2 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "editCancelled", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24054 arg2 = (bool) SWIG_AsBool(obj1);
24055 if (PyErr_Occurred()) SWIG_fail;
24056 {
24057 PyThreadState* __tstate = wxPyBeginAllowThreads();
24058 (arg1)->SetEditCanceled(arg2);
24059
24060 wxPyEndAllowThreads(__tstate);
24061 if (PyErr_Occurred()) SWIG_fail;
24062 }
24063 Py_INCREF(Py_None); resultobj = Py_None;
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj;
24072 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24073 wxString *arg2 = 0 ;
24074 bool temp2 = False ;
24075 PyObject * obj0 = 0 ;
24076 PyObject * obj1 = 0 ;
24077 char *kwnames[] = {
24078 (char *) "self",(char *) "toolTip", NULL
24079 };
24080
24081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24084 {
24085 arg2 = wxString_in_helper(obj1);
24086 if (arg2 == NULL) SWIG_fail;
24087 temp2 = True;
24088 }
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 (arg1)->SetToolTip((wxString const &)*arg2);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 Py_INCREF(Py_None); resultobj = Py_None;
24097 {
24098 if (temp2)
24099 delete arg2;
24100 }
24101 return resultobj;
24102 fail:
24103 {
24104 if (temp2)
24105 delete arg2;
24106 }
24107 return NULL;
24108 }
24109
24110
24111 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24112 PyObject *obj;
24113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24114 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24115 Py_INCREF(obj);
24116 return Py_BuildValue((char *)"");
24117 }
24118 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24119 PyObject *resultobj;
24120 wxWindow *arg1 = (wxWindow *) 0 ;
24121 int arg2 = (int) -1 ;
24122 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24123 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24124 wxSize const &arg4_defvalue = wxDefaultSize ;
24125 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24126 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24127 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24128 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24129 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24130 wxString *arg7 = (wxString *) &arg7_defvalue ;
24131 wxPyTreeCtrl *result;
24132 wxPoint temp3 ;
24133 wxSize temp4 ;
24134 bool temp7 = False ;
24135 PyObject * obj0 = 0 ;
24136 PyObject * obj1 = 0 ;
24137 PyObject * obj2 = 0 ;
24138 PyObject * obj3 = 0 ;
24139 PyObject * obj4 = 0 ;
24140 PyObject * obj5 = 0 ;
24141 PyObject * obj6 = 0 ;
24142 char *kwnames[] = {
24143 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24144 };
24145
24146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24149 if (obj1) {
24150 arg2 = (int) SWIG_AsInt(obj1);
24151 if (PyErr_Occurred()) SWIG_fail;
24152 }
24153 if (obj2) {
24154 {
24155 arg3 = &temp3;
24156 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24157 }
24158 }
24159 if (obj3) {
24160 {
24161 arg4 = &temp4;
24162 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24163 }
24164 }
24165 if (obj4) {
24166 arg5 = (long) SWIG_AsLong(obj4);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 if (obj5) {
24170 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24171 SWIG_POINTER_EXCEPTION | 0)) == -1)
24172 SWIG_fail;
24173 if (arg6 == NULL) {
24174 PyErr_SetString(PyExc_TypeError,"null reference");
24175 SWIG_fail;
24176 }
24177 }
24178 if (obj6) {
24179 {
24180 arg7 = wxString_in_helper(obj6);
24181 if (arg7 == NULL) SWIG_fail;
24182 temp7 = True;
24183 }
24184 }
24185 {
24186 PyThreadState* __tstate = wxPyBeginAllowThreads();
24187 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24188
24189 wxPyEndAllowThreads(__tstate);
24190 if (PyErr_Occurred()) SWIG_fail;
24191 }
24192 {
24193 resultobj = wxPyMake_wxObject(result);
24194 }
24195 {
24196 if (temp7)
24197 delete arg7;
24198 }
24199 return resultobj;
24200 fail:
24201 {
24202 if (temp7)
24203 delete arg7;
24204 }
24205 return NULL;
24206 }
24207
24208
24209 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24210 PyObject *resultobj;
24211 wxPyTreeCtrl *result;
24212 char *kwnames[] = {
24213 NULL
24214 };
24215
24216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 {
24225 resultobj = wxPyMake_wxObject(result);
24226 }
24227 return resultobj;
24228 fail:
24229 return NULL;
24230 }
24231
24232
24233 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24234 PyObject *resultobj;
24235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24236 wxWindow *arg2 = (wxWindow *) 0 ;
24237 int arg3 = (int) -1 ;
24238 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24239 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24240 wxSize const &arg5_defvalue = wxDefaultSize ;
24241 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24242 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24243 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24244 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24245 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24246 wxString *arg8 = (wxString *) &arg8_defvalue ;
24247 bool result;
24248 wxPoint temp4 ;
24249 wxSize temp5 ;
24250 bool temp8 = False ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 PyObject * obj3 = 0 ;
24255 PyObject * obj4 = 0 ;
24256 PyObject * obj5 = 0 ;
24257 PyObject * obj6 = 0 ;
24258 PyObject * obj7 = 0 ;
24259 char *kwnames[] = {
24260 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24261 };
24262
24263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24268 if (obj2) {
24269 arg3 = (int) SWIG_AsInt(obj2);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 if (obj3) {
24273 {
24274 arg4 = &temp4;
24275 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24276 }
24277 }
24278 if (obj4) {
24279 {
24280 arg5 = &temp5;
24281 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24282 }
24283 }
24284 if (obj5) {
24285 arg6 = (long) SWIG_AsLong(obj5);
24286 if (PyErr_Occurred()) SWIG_fail;
24287 }
24288 if (obj6) {
24289 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24290 SWIG_POINTER_EXCEPTION | 0)) == -1)
24291 SWIG_fail;
24292 if (arg7 == NULL) {
24293 PyErr_SetString(PyExc_TypeError,"null reference");
24294 SWIG_fail;
24295 }
24296 }
24297 if (obj7) {
24298 {
24299 arg8 = wxString_in_helper(obj7);
24300 if (arg8 == NULL) SWIG_fail;
24301 temp8 = True;
24302 }
24303 }
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 {
24312 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24313 }
24314 {
24315 if (temp8)
24316 delete arg8;
24317 }
24318 return resultobj;
24319 fail:
24320 {
24321 if (temp8)
24322 delete arg8;
24323 }
24324 return NULL;
24325 }
24326
24327
24328 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24329 PyObject *resultobj;
24330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24331 PyObject *arg2 = (PyObject *) 0 ;
24332 PyObject *arg3 = (PyObject *) 0 ;
24333 PyObject * obj0 = 0 ;
24334 PyObject * obj1 = 0 ;
24335 PyObject * obj2 = 0 ;
24336 char *kwnames[] = {
24337 (char *) "self",(char *) "self",(char *) "_class", NULL
24338 };
24339
24340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24343 arg2 = obj1;
24344 arg3 = obj2;
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 (arg1)->_setCallbackInfo(arg2,arg3);
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 Py_INCREF(Py_None); resultobj = Py_None;
24353 return resultobj;
24354 fail:
24355 return NULL;
24356 }
24357
24358
24359 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24360 PyObject *resultobj;
24361 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24362 size_t result;
24363 PyObject * obj0 = 0 ;
24364 char *kwnames[] = {
24365 (char *) "self", NULL
24366 };
24367
24368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24379 return resultobj;
24380 fail:
24381 return NULL;
24382 }
24383
24384
24385 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
24387 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24388 unsigned int result;
24389 PyObject * obj0 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self", NULL
24392 };
24393
24394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24414 unsigned int arg2 ;
24415 PyObject * obj0 = 0 ;
24416 PyObject * obj1 = 0 ;
24417 char *kwnames[] = {
24418 (char *) "self",(char *) "indent", NULL
24419 };
24420
24421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24424 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24425 if (PyErr_Occurred()) SWIG_fail;
24426 {
24427 PyThreadState* __tstate = wxPyBeginAllowThreads();
24428 (arg1)->SetIndent(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_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24441 PyObject *resultobj;
24442 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24443 unsigned int result;
24444 PyObject * obj0 = 0 ;
24445 char *kwnames[] = {
24446 (char *) "self", NULL
24447 };
24448
24449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24469 unsigned int arg2 ;
24470 PyObject * obj0 = 0 ;
24471 PyObject * obj1 = 0 ;
24472 char *kwnames[] = {
24473 (char *) "self",(char *) "spacing", NULL
24474 };
24475
24476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24479 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24480 if (PyErr_Occurred()) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 (arg1)->SetSpacing(arg2);
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 Py_INCREF(Py_None); resultobj = Py_None;
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24498 wxImageList *result;
24499 PyObject * obj0 = 0 ;
24500 char *kwnames[] = {
24501 (char *) "self", NULL
24502 };
24503
24504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24507 {
24508 PyThreadState* __tstate = wxPyBeginAllowThreads();
24509 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24510
24511 wxPyEndAllowThreads(__tstate);
24512 if (PyErr_Occurred()) SWIG_fail;
24513 }
24514 {
24515 resultobj = wxPyMake_wxObject(result);
24516 }
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24526 wxImageList *result;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 {
24543 resultobj = wxPyMake_wxObject(result);
24544 }
24545 return resultobj;
24546 fail:
24547 return NULL;
24548 }
24549
24550
24551 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24552 PyObject *resultobj;
24553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24554 wxImageList *arg2 = (wxImageList *) 0 ;
24555 PyObject * obj0 = 0 ;
24556 PyObject * obj1 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self",(char *) "imageList", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24566 {
24567 PyThreadState* __tstate = wxPyBeginAllowThreads();
24568 (arg1)->SetImageList(arg2);
24569
24570 wxPyEndAllowThreads(__tstate);
24571 if (PyErr_Occurred()) SWIG_fail;
24572 }
24573 Py_INCREF(Py_None); resultobj = Py_None;
24574 return resultobj;
24575 fail:
24576 return NULL;
24577 }
24578
24579
24580 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24581 PyObject *resultobj;
24582 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24583 wxImageList *arg2 = (wxImageList *) 0 ;
24584 PyObject * obj0 = 0 ;
24585 PyObject * obj1 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self",(char *) "imageList", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->SetStateImageList(arg2);
24598
24599 wxPyEndAllowThreads(__tstate);
24600 if (PyErr_Occurred()) SWIG_fail;
24601 }
24602 Py_INCREF(Py_None); resultobj = Py_None;
24603 return resultobj;
24604 fail:
24605 return NULL;
24606 }
24607
24608
24609 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24610 PyObject *resultobj;
24611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24612 wxImageList *arg2 = (wxImageList *) 0 ;
24613 PyObject * obj0 = 0 ;
24614 PyObject * obj1 = 0 ;
24615 char *kwnames[] = {
24616 (char *) "self",(char *) "imageList", NULL
24617 };
24618
24619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24623 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24624 {
24625 PyThreadState* __tstate = wxPyBeginAllowThreads();
24626 (arg1)->AssignImageList(arg2);
24627
24628 wxPyEndAllowThreads(__tstate);
24629 if (PyErr_Occurred()) SWIG_fail;
24630 }
24631 Py_INCREF(Py_None); resultobj = Py_None;
24632 return resultobj;
24633 fail:
24634 return NULL;
24635 }
24636
24637
24638 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24641 wxImageList *arg2 = (wxImageList *) 0 ;
24642 PyObject * obj0 = 0 ;
24643 PyObject * obj1 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self",(char *) "imageList", NULL
24646 };
24647
24648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24652 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24653 {
24654 PyThreadState* __tstate = wxPyBeginAllowThreads();
24655 (arg1)->AssignStateImageList(arg2);
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 Py_INCREF(Py_None); resultobj = Py_None;
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24670 wxTreeItemId *arg2 = 0 ;
24671 wxString result;
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 char *kwnames[] = {
24675 (char *) "self",(char *) "item", NULL
24676 };
24677
24678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24682 SWIG_POINTER_EXCEPTION | 0)) == -1)
24683 SWIG_fail;
24684 if (arg2 == NULL) {
24685 PyErr_SetString(PyExc_TypeError,"null reference");
24686 SWIG_fail;
24687 }
24688 {
24689 PyThreadState* __tstate = wxPyBeginAllowThreads();
24690 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24691
24692 wxPyEndAllowThreads(__tstate);
24693 if (PyErr_Occurred()) SWIG_fail;
24694 }
24695 {
24696 #if wxUSE_UNICODE
24697 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24698 #else
24699 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24700 #endif
24701 }
24702 return resultobj;
24703 fail:
24704 return NULL;
24705 }
24706
24707
24708 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24709 PyObject *resultobj;
24710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24711 wxTreeItemId *arg2 = 0 ;
24712 int arg3 = (int) wxTreeItemIcon_Normal ;
24713 int result;
24714 PyObject * obj0 = 0 ;
24715 PyObject * obj1 = 0 ;
24716 PyObject * obj2 = 0 ;
24717 char *kwnames[] = {
24718 (char *) "self",(char *) "item",(char *) "which", NULL
24719 };
24720
24721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24725 SWIG_POINTER_EXCEPTION | 0)) == -1)
24726 SWIG_fail;
24727 if (arg2 == NULL) {
24728 PyErr_SetString(PyExc_TypeError,"null reference");
24729 SWIG_fail;
24730 }
24731 if (obj2) {
24732 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24733 if (PyErr_Occurred()) SWIG_fail;
24734 }
24735 {
24736 PyThreadState* __tstate = wxPyBeginAllowThreads();
24737 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24738
24739 wxPyEndAllowThreads(__tstate);
24740 if (PyErr_Occurred()) SWIG_fail;
24741 }
24742 resultobj = SWIG_FromInt((int)result);
24743 return resultobj;
24744 fail:
24745 return NULL;
24746 }
24747
24748
24749 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24750 PyObject *resultobj;
24751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24752 wxTreeItemId *arg2 = 0 ;
24753 wxPyTreeItemData *result;
24754 PyObject * obj0 = 0 ;
24755 PyObject * obj1 = 0 ;
24756 char *kwnames[] = {
24757 (char *) "self",(char *) "item", NULL
24758 };
24759
24760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24763 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24764 SWIG_POINTER_EXCEPTION | 0)) == -1)
24765 SWIG_fail;
24766 if (arg2 == NULL) {
24767 PyErr_SetString(PyExc_TypeError,"null reference");
24768 SWIG_fail;
24769 }
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24787 wxTreeItemId *arg2 = 0 ;
24788 PyObject *result;
24789 PyObject * obj0 = 0 ;
24790 PyObject * obj1 = 0 ;
24791 char *kwnames[] = {
24792 (char *) "self",(char *) "item", NULL
24793 };
24794
24795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24799 SWIG_POINTER_EXCEPTION | 0)) == -1)
24800 SWIG_fail;
24801 if (arg2 == NULL) {
24802 PyErr_SetString(PyExc_TypeError,"null reference");
24803 SWIG_fail;
24804 }
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 resultobj = result;
24813 return resultobj;
24814 fail:
24815 return NULL;
24816 }
24817
24818
24819 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24820 PyObject *resultobj;
24821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24822 wxTreeItemId *arg2 = 0 ;
24823 wxColour result;
24824 PyObject * obj0 = 0 ;
24825 PyObject * obj1 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self",(char *) "item", NULL
24828 };
24829
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24834 SWIG_POINTER_EXCEPTION | 0)) == -1)
24835 SWIG_fail;
24836 if (arg2 == NULL) {
24837 PyErr_SetString(PyExc_TypeError,"null reference");
24838 SWIG_fail;
24839 }
24840 {
24841 PyThreadState* __tstate = wxPyBeginAllowThreads();
24842 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24843
24844 wxPyEndAllowThreads(__tstate);
24845 if (PyErr_Occurred()) SWIG_fail;
24846 }
24847 {
24848 wxColour * resultptr;
24849 resultptr = new wxColour((wxColour &) result);
24850 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24851 }
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24861 wxTreeItemId *arg2 = 0 ;
24862 wxColour result;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self",(char *) "item", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24872 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24873 SWIG_POINTER_EXCEPTION | 0)) == -1)
24874 SWIG_fail;
24875 if (arg2 == NULL) {
24876 PyErr_SetString(PyExc_TypeError,"null reference");
24877 SWIG_fail;
24878 }
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
24886 {
24887 wxColour * resultptr;
24888 resultptr = new wxColour((wxColour &) result);
24889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24890 }
24891 return resultobj;
24892 fail:
24893 return NULL;
24894 }
24895
24896
24897 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24900 wxTreeItemId *arg2 = 0 ;
24901 wxFont result;
24902 PyObject * obj0 = 0 ;
24903 PyObject * obj1 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self",(char *) "item", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24911 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24912 SWIG_POINTER_EXCEPTION | 0)) == -1)
24913 SWIG_fail;
24914 if (arg2 == NULL) {
24915 PyErr_SetString(PyExc_TypeError,"null reference");
24916 SWIG_fail;
24917 }
24918 {
24919 PyThreadState* __tstate = wxPyBeginAllowThreads();
24920 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24921
24922 wxPyEndAllowThreads(__tstate);
24923 if (PyErr_Occurred()) SWIG_fail;
24924 }
24925 {
24926 wxFont * resultptr;
24927 resultptr = new wxFont((wxFont &) result);
24928 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24929 }
24930 return resultobj;
24931 fail:
24932 return NULL;
24933 }
24934
24935
24936 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24937 PyObject *resultobj;
24938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24939 wxTreeItemId *arg2 = 0 ;
24940 wxString *arg3 = 0 ;
24941 bool temp3 = False ;
24942 PyObject * obj0 = 0 ;
24943 PyObject * obj1 = 0 ;
24944 PyObject * obj2 = 0 ;
24945 char *kwnames[] = {
24946 (char *) "self",(char *) "item",(char *) "text", NULL
24947 };
24948
24949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24953 SWIG_POINTER_EXCEPTION | 0)) == -1)
24954 SWIG_fail;
24955 if (arg2 == NULL) {
24956 PyErr_SetString(PyExc_TypeError,"null reference");
24957 SWIG_fail;
24958 }
24959 {
24960 arg3 = wxString_in_helper(obj2);
24961 if (arg3 == NULL) SWIG_fail;
24962 temp3 = True;
24963 }
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 Py_INCREF(Py_None); resultobj = Py_None;
24972 {
24973 if (temp3)
24974 delete arg3;
24975 }
24976 return resultobj;
24977 fail:
24978 {
24979 if (temp3)
24980 delete arg3;
24981 }
24982 return NULL;
24983 }
24984
24985
24986 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24989 wxTreeItemId *arg2 = 0 ;
24990 int arg3 ;
24991 int arg4 = (int) wxTreeItemIcon_Normal ;
24992 PyObject * obj0 = 0 ;
24993 PyObject * obj1 = 0 ;
24994 PyObject * obj2 = 0 ;
24995 PyObject * obj3 = 0 ;
24996 char *kwnames[] = {
24997 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24998 };
24999
25000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25004 SWIG_POINTER_EXCEPTION | 0)) == -1)
25005 SWIG_fail;
25006 if (arg2 == NULL) {
25007 PyErr_SetString(PyExc_TypeError,"null reference");
25008 SWIG_fail;
25009 }
25010 arg3 = (int) SWIG_AsInt(obj2);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 if (obj3) {
25013 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25014 if (PyErr_Occurred()) SWIG_fail;
25015 }
25016 {
25017 PyThreadState* __tstate = wxPyBeginAllowThreads();
25018 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25019
25020 wxPyEndAllowThreads(__tstate);
25021 if (PyErr_Occurred()) SWIG_fail;
25022 }
25023 Py_INCREF(Py_None); resultobj = Py_None;
25024 return resultobj;
25025 fail:
25026 return NULL;
25027 }
25028
25029
25030 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25031 PyObject *resultobj;
25032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25033 wxTreeItemId *arg2 = 0 ;
25034 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25035 PyObject * obj0 = 0 ;
25036 PyObject * obj1 = 0 ;
25037 PyObject * obj2 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self",(char *) "item",(char *) "data", NULL
25040 };
25041
25042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25046 SWIG_POINTER_EXCEPTION | 0)) == -1)
25047 SWIG_fail;
25048 if (arg2 == NULL) {
25049 PyErr_SetString(PyExc_TypeError,"null reference");
25050 SWIG_fail;
25051 }
25052 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25054 {
25055 PyThreadState* __tstate = wxPyBeginAllowThreads();
25056 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25057
25058 wxPyEndAllowThreads(__tstate);
25059 if (PyErr_Occurred()) SWIG_fail;
25060 }
25061 Py_INCREF(Py_None); resultobj = Py_None;
25062 return resultobj;
25063 fail:
25064 return NULL;
25065 }
25066
25067
25068 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25069 PyObject *resultobj;
25070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25071 wxTreeItemId *arg2 = 0 ;
25072 PyObject *arg3 = (PyObject *) 0 ;
25073 PyObject * obj0 = 0 ;
25074 PyObject * obj1 = 0 ;
25075 PyObject * obj2 = 0 ;
25076 char *kwnames[] = {
25077 (char *) "self",(char *) "item",(char *) "obj", NULL
25078 };
25079
25080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25084 SWIG_POINTER_EXCEPTION | 0)) == -1)
25085 SWIG_fail;
25086 if (arg2 == NULL) {
25087 PyErr_SetString(PyExc_TypeError,"null reference");
25088 SWIG_fail;
25089 }
25090 arg3 = obj2;
25091 {
25092 PyThreadState* __tstate = wxPyBeginAllowThreads();
25093 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25094
25095 wxPyEndAllowThreads(__tstate);
25096 if (PyErr_Occurred()) SWIG_fail;
25097 }
25098 Py_INCREF(Py_None); resultobj = Py_None;
25099 return resultobj;
25100 fail:
25101 return NULL;
25102 }
25103
25104
25105 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25106 PyObject *resultobj;
25107 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25108 wxTreeItemId *arg2 = 0 ;
25109 bool arg3 = (bool) True ;
25110 PyObject * obj0 = 0 ;
25111 PyObject * obj1 = 0 ;
25112 PyObject * obj2 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "item",(char *) "has", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25121 SWIG_POINTER_EXCEPTION | 0)) == -1)
25122 SWIG_fail;
25123 if (arg2 == NULL) {
25124 PyErr_SetString(PyExc_TypeError,"null reference");
25125 SWIG_fail;
25126 }
25127 if (obj2) {
25128 arg3 = (bool) SWIG_AsBool(obj2);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132 PyThreadState* __tstate = wxPyBeginAllowThreads();
25133 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25134
25135 wxPyEndAllowThreads(__tstate);
25136 if (PyErr_Occurred()) SWIG_fail;
25137 }
25138 Py_INCREF(Py_None); resultobj = Py_None;
25139 return resultobj;
25140 fail:
25141 return NULL;
25142 }
25143
25144
25145 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25146 PyObject *resultobj;
25147 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25148 wxTreeItemId *arg2 = 0 ;
25149 bool arg3 = (bool) True ;
25150 PyObject * obj0 = 0 ;
25151 PyObject * obj1 = 0 ;
25152 PyObject * obj2 = 0 ;
25153 char *kwnames[] = {
25154 (char *) "self",(char *) "item",(char *) "bold", NULL
25155 };
25156
25157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25160 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25161 SWIG_POINTER_EXCEPTION | 0)) == -1)
25162 SWIG_fail;
25163 if (arg2 == NULL) {
25164 PyErr_SetString(PyExc_TypeError,"null reference");
25165 SWIG_fail;
25166 }
25167 if (obj2) {
25168 arg3 = (bool) SWIG_AsBool(obj2);
25169 if (PyErr_Occurred()) SWIG_fail;
25170 }
25171 {
25172 PyThreadState* __tstate = wxPyBeginAllowThreads();
25173 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25174
25175 wxPyEndAllowThreads(__tstate);
25176 if (PyErr_Occurred()) SWIG_fail;
25177 }
25178 Py_INCREF(Py_None); resultobj = Py_None;
25179 return resultobj;
25180 fail:
25181 return NULL;
25182 }
25183
25184
25185 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25186 PyObject *resultobj;
25187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25188 wxTreeItemId *arg2 = 0 ;
25189 wxColour *arg3 = 0 ;
25190 wxColour temp3 ;
25191 PyObject * obj0 = 0 ;
25192 PyObject * obj1 = 0 ;
25193 PyObject * obj2 = 0 ;
25194 char *kwnames[] = {
25195 (char *) "self",(char *) "item",(char *) "col", NULL
25196 };
25197
25198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25202 SWIG_POINTER_EXCEPTION | 0)) == -1)
25203 SWIG_fail;
25204 if (arg2 == NULL) {
25205 PyErr_SetString(PyExc_TypeError,"null reference");
25206 SWIG_fail;
25207 }
25208 {
25209 arg3 = &temp3;
25210 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25211 }
25212 {
25213 PyThreadState* __tstate = wxPyBeginAllowThreads();
25214 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 Py_INCREF(Py_None); resultobj = Py_None;
25220 return resultobj;
25221 fail:
25222 return NULL;
25223 }
25224
25225
25226 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25227 PyObject *resultobj;
25228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25229 wxTreeItemId *arg2 = 0 ;
25230 wxColour *arg3 = 0 ;
25231 wxColour temp3 ;
25232 PyObject * obj0 = 0 ;
25233 PyObject * obj1 = 0 ;
25234 PyObject * obj2 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "item",(char *) "col", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25242 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25243 SWIG_POINTER_EXCEPTION | 0)) == -1)
25244 SWIG_fail;
25245 if (arg2 == NULL) {
25246 PyErr_SetString(PyExc_TypeError,"null reference");
25247 SWIG_fail;
25248 }
25249 {
25250 arg3 = &temp3;
25251 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25252 }
25253 {
25254 PyThreadState* __tstate = wxPyBeginAllowThreads();
25255 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25256
25257 wxPyEndAllowThreads(__tstate);
25258 if (PyErr_Occurred()) SWIG_fail;
25259 }
25260 Py_INCREF(Py_None); resultobj = Py_None;
25261 return resultobj;
25262 fail:
25263 return NULL;
25264 }
25265
25266
25267 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25268 PyObject *resultobj;
25269 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25270 wxTreeItemId *arg2 = 0 ;
25271 wxFont *arg3 = 0 ;
25272 PyObject * obj0 = 0 ;
25273 PyObject * obj1 = 0 ;
25274 PyObject * obj2 = 0 ;
25275 char *kwnames[] = {
25276 (char *) "self",(char *) "item",(char *) "font", NULL
25277 };
25278
25279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
25280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25283 SWIG_POINTER_EXCEPTION | 0)) == -1)
25284 SWIG_fail;
25285 if (arg2 == NULL) {
25286 PyErr_SetString(PyExc_TypeError,"null reference");
25287 SWIG_fail;
25288 }
25289 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1)
25291 SWIG_fail;
25292 if (arg3 == NULL) {
25293 PyErr_SetString(PyExc_TypeError,"null reference");
25294 SWIG_fail;
25295 }
25296 {
25297 PyThreadState* __tstate = wxPyBeginAllowThreads();
25298 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25299
25300 wxPyEndAllowThreads(__tstate);
25301 if (PyErr_Occurred()) SWIG_fail;
25302 }
25303 Py_INCREF(Py_None); resultobj = Py_None;
25304 return resultobj;
25305 fail:
25306 return NULL;
25307 }
25308
25309
25310 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25311 PyObject *resultobj;
25312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25313 wxTreeItemId *arg2 = 0 ;
25314 bool result;
25315 PyObject * obj0 = 0 ;
25316 PyObject * obj1 = 0 ;
25317 char *kwnames[] = {
25318 (char *) "self",(char *) "item", NULL
25319 };
25320
25321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
25322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25324 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1)
25326 SWIG_fail;
25327 if (arg2 == NULL) {
25328 PyErr_SetString(PyExc_TypeError,"null reference");
25329 SWIG_fail;
25330 }
25331 {
25332 PyThreadState* __tstate = wxPyBeginAllowThreads();
25333 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25334
25335 wxPyEndAllowThreads(__tstate);
25336 if (PyErr_Occurred()) SWIG_fail;
25337 }
25338 {
25339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25340 }
25341 return resultobj;
25342 fail:
25343 return NULL;
25344 }
25345
25346
25347 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25348 PyObject *resultobj;
25349 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25350 wxTreeItemId *arg2 = 0 ;
25351 bool result;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "item", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1)
25363 SWIG_fail;
25364 if (arg2 == NULL) {
25365 PyErr_SetString(PyExc_TypeError,"null reference");
25366 SWIG_fail;
25367 }
25368 {
25369 PyThreadState* __tstate = wxPyBeginAllowThreads();
25370 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25371
25372 wxPyEndAllowThreads(__tstate);
25373 if (PyErr_Occurred()) SWIG_fail;
25374 }
25375 {
25376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25377 }
25378 return resultobj;
25379 fail:
25380 return NULL;
25381 }
25382
25383
25384 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25385 PyObject *resultobj;
25386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25387 wxTreeItemId *arg2 = 0 ;
25388 bool result;
25389 PyObject * obj0 = 0 ;
25390 PyObject * obj1 = 0 ;
25391 char *kwnames[] = {
25392 (char *) "self",(char *) "item", NULL
25393 };
25394
25395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25398 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25399 SWIG_POINTER_EXCEPTION | 0)) == -1)
25400 SWIG_fail;
25401 if (arg2 == NULL) {
25402 PyErr_SetString(PyExc_TypeError,"null reference");
25403 SWIG_fail;
25404 }
25405 {
25406 PyThreadState* __tstate = wxPyBeginAllowThreads();
25407 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25408
25409 wxPyEndAllowThreads(__tstate);
25410 if (PyErr_Occurred()) SWIG_fail;
25411 }
25412 {
25413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25414 }
25415 return resultobj;
25416 fail:
25417 return NULL;
25418 }
25419
25420
25421 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25424 wxTreeItemId *arg2 = 0 ;
25425 bool result;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 char *kwnames[] = {
25429 (char *) "self",(char *) "item", NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25435 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25436 SWIG_POINTER_EXCEPTION | 0)) == -1)
25437 SWIG_fail;
25438 if (arg2 == NULL) {
25439 PyErr_SetString(PyExc_TypeError,"null reference");
25440 SWIG_fail;
25441 }
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25445
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
25449 {
25450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25451 }
25452 return resultobj;
25453 fail:
25454 return NULL;
25455 }
25456
25457
25458 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25459 PyObject *resultobj;
25460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25461 wxTreeItemId *arg2 = 0 ;
25462 bool result;
25463 PyObject * obj0 = 0 ;
25464 PyObject * obj1 = 0 ;
25465 char *kwnames[] = {
25466 (char *) "self",(char *) "item", NULL
25467 };
25468
25469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25473 SWIG_POINTER_EXCEPTION | 0)) == -1)
25474 SWIG_fail;
25475 if (arg2 == NULL) {
25476 PyErr_SetString(PyExc_TypeError,"null reference");
25477 SWIG_fail;
25478 }
25479 {
25480 PyThreadState* __tstate = wxPyBeginAllowThreads();
25481 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25482
25483 wxPyEndAllowThreads(__tstate);
25484 if (PyErr_Occurred()) SWIG_fail;
25485 }
25486 {
25487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25488 }
25489 return resultobj;
25490 fail:
25491 return NULL;
25492 }
25493
25494
25495 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25496 PyObject *resultobj;
25497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25498 wxTreeItemId *arg2 = 0 ;
25499 bool arg3 = (bool) True ;
25500 size_t result;
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 PyObject * obj2 = 0 ;
25504 char *kwnames[] = {
25505 (char *) "self",(char *) "item",(char *) "recursively", NULL
25506 };
25507
25508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25511 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25512 SWIG_POINTER_EXCEPTION | 0)) == -1)
25513 SWIG_fail;
25514 if (arg2 == NULL) {
25515 PyErr_SetString(PyExc_TypeError,"null reference");
25516 SWIG_fail;
25517 }
25518 if (obj2) {
25519 arg3 = (bool) SWIG_AsBool(obj2);
25520 if (PyErr_Occurred()) SWIG_fail;
25521 }
25522 {
25523 PyThreadState* __tstate = wxPyBeginAllowThreads();
25524 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25525
25526 wxPyEndAllowThreads(__tstate);
25527 if (PyErr_Occurred()) SWIG_fail;
25528 }
25529 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25530 return resultobj;
25531 fail:
25532 return NULL;
25533 }
25534
25535
25536 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25537 PyObject *resultobj;
25538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25539 wxTreeItemId result;
25540 PyObject * obj0 = 0 ;
25541 char *kwnames[] = {
25542 (char *) "self", NULL
25543 };
25544
25545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25548 {
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25551
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
25555 {
25556 wxTreeItemId * resultptr;
25557 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25558 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25559 }
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25567 PyObject *resultobj;
25568 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25569 wxTreeItemId result;
25570 PyObject * obj0 = 0 ;
25571 char *kwnames[] = {
25572 (char *) "self", NULL
25573 };
25574
25575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25578 {
25579 PyThreadState* __tstate = wxPyBeginAllowThreads();
25580 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25581
25582 wxPyEndAllowThreads(__tstate);
25583 if (PyErr_Occurred()) SWIG_fail;
25584 }
25585 {
25586 wxTreeItemId * resultptr;
25587 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25589 }
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25599 PyObject *result;
25600 PyObject * obj0 = 0 ;
25601 char *kwnames[] = {
25602 (char *) "self", NULL
25603 };
25604
25605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25608 {
25609 PyThreadState* __tstate = wxPyBeginAllowThreads();
25610 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25611
25612 wxPyEndAllowThreads(__tstate);
25613 if (PyErr_Occurred()) SWIG_fail;
25614 }
25615 resultobj = result;
25616 return resultobj;
25617 fail:
25618 return NULL;
25619 }
25620
25621
25622 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25623 PyObject *resultobj;
25624 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25625 wxTreeItemId *arg2 = 0 ;
25626 wxTreeItemId result;
25627 PyObject * obj0 = 0 ;
25628 PyObject * obj1 = 0 ;
25629 char *kwnames[] = {
25630 (char *) "self",(char *) "item", NULL
25631 };
25632
25633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25636 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25637 SWIG_POINTER_EXCEPTION | 0)) == -1)
25638 SWIG_fail;
25639 if (arg2 == NULL) {
25640 PyErr_SetString(PyExc_TypeError,"null reference");
25641 SWIG_fail;
25642 }
25643 {
25644 PyThreadState* __tstate = wxPyBeginAllowThreads();
25645 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25646
25647 wxPyEndAllowThreads(__tstate);
25648 if (PyErr_Occurred()) SWIG_fail;
25649 }
25650 {
25651 wxTreeItemId * resultptr;
25652 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25653 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25654 }
25655 return resultobj;
25656 fail:
25657 return NULL;
25658 }
25659
25660
25661 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25662 PyObject *resultobj;
25663 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25664 wxTreeItemId *arg2 = 0 ;
25665 PyObject *result;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self",(char *) "item", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25676 SWIG_POINTER_EXCEPTION | 0)) == -1)
25677 SWIG_fail;
25678 if (arg2 == NULL) {
25679 PyErr_SetString(PyExc_TypeError,"null reference");
25680 SWIG_fail;
25681 }
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = result;
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25699 wxTreeItemId *arg2 = 0 ;
25700 void *arg3 = (void *) 0 ;
25701 PyObject *result;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 PyObject * obj2 = 0 ;
25705 char *kwnames[] = {
25706 (char *) "self",(char *) "item",(char *) "cookie", NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25713 SWIG_POINTER_EXCEPTION | 0)) == -1)
25714 SWIG_fail;
25715 if (arg2 == NULL) {
25716 PyErr_SetString(PyExc_TypeError,"null reference");
25717 SWIG_fail;
25718 }
25719 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25720 {
25721 PyThreadState* __tstate = wxPyBeginAllowThreads();
25722 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25723
25724 wxPyEndAllowThreads(__tstate);
25725 if (PyErr_Occurred()) SWIG_fail;
25726 }
25727 resultobj = result;
25728 return resultobj;
25729 fail:
25730 return NULL;
25731 }
25732
25733
25734 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25735 PyObject *resultobj;
25736 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25737 wxTreeItemId *arg2 = 0 ;
25738 wxTreeItemId result;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 char *kwnames[] = {
25742 (char *) "self",(char *) "item", NULL
25743 };
25744
25745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25749 SWIG_POINTER_EXCEPTION | 0)) == -1)
25750 SWIG_fail;
25751 if (arg2 == NULL) {
25752 PyErr_SetString(PyExc_TypeError,"null reference");
25753 SWIG_fail;
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 {
25763 wxTreeItemId * resultptr;
25764 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25766 }
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25776 wxTreeItemId *arg2 = 0 ;
25777 wxTreeItemId result;
25778 PyObject * obj0 = 0 ;
25779 PyObject * obj1 = 0 ;
25780 char *kwnames[] = {
25781 (char *) "self",(char *) "item", NULL
25782 };
25783
25784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25788 SWIG_POINTER_EXCEPTION | 0)) == -1)
25789 SWIG_fail;
25790 if (arg2 == NULL) {
25791 PyErr_SetString(PyExc_TypeError,"null reference");
25792 SWIG_fail;
25793 }
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25797
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 {
25802 wxTreeItemId * resultptr;
25803 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25805 }
25806 return resultobj;
25807 fail:
25808 return NULL;
25809 }
25810
25811
25812 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25813 PyObject *resultobj;
25814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25815 wxTreeItemId *arg2 = 0 ;
25816 wxTreeItemId result;
25817 PyObject * obj0 = 0 ;
25818 PyObject * obj1 = 0 ;
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "item", NULL
25821 };
25822
25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25827 SWIG_POINTER_EXCEPTION | 0)) == -1)
25828 SWIG_fail;
25829 if (arg2 == NULL) {
25830 PyErr_SetString(PyExc_TypeError,"null reference");
25831 SWIG_fail;
25832 }
25833 {
25834 PyThreadState* __tstate = wxPyBeginAllowThreads();
25835 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25836
25837 wxPyEndAllowThreads(__tstate);
25838 if (PyErr_Occurred()) SWIG_fail;
25839 }
25840 {
25841 wxTreeItemId * resultptr;
25842 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25844 }
25845 return resultobj;
25846 fail:
25847 return NULL;
25848 }
25849
25850
25851 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25852 PyObject *resultobj;
25853 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25854 wxTreeItemId result;
25855 PyObject * obj0 = 0 ;
25856 char *kwnames[] = {
25857 (char *) "self", NULL
25858 };
25859
25860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25866
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 {
25871 wxTreeItemId * resultptr;
25872 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25874 }
25875 return resultobj;
25876 fail:
25877 return NULL;
25878 }
25879
25880
25881 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25882 PyObject *resultobj;
25883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25884 wxTreeItemId *arg2 = 0 ;
25885 wxTreeItemId result;
25886 PyObject * obj0 = 0 ;
25887 PyObject * obj1 = 0 ;
25888 char *kwnames[] = {
25889 (char *) "self",(char *) "item", NULL
25890 };
25891
25892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25896 SWIG_POINTER_EXCEPTION | 0)) == -1)
25897 SWIG_fail;
25898 if (arg2 == NULL) {
25899 PyErr_SetString(PyExc_TypeError,"null reference");
25900 SWIG_fail;
25901 }
25902 {
25903 PyThreadState* __tstate = wxPyBeginAllowThreads();
25904 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25905
25906 wxPyEndAllowThreads(__tstate);
25907 if (PyErr_Occurred()) SWIG_fail;
25908 }
25909 {
25910 wxTreeItemId * resultptr;
25911 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25913 }
25914 return resultobj;
25915 fail:
25916 return NULL;
25917 }
25918
25919
25920 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25921 PyObject *resultobj;
25922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25923 wxTreeItemId *arg2 = 0 ;
25924 wxTreeItemId result;
25925 PyObject * obj0 = 0 ;
25926 PyObject * obj1 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "self",(char *) "item", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25935 SWIG_POINTER_EXCEPTION | 0)) == -1)
25936 SWIG_fail;
25937 if (arg2 == NULL) {
25938 PyErr_SetString(PyExc_TypeError,"null reference");
25939 SWIG_fail;
25940 }
25941 {
25942 PyThreadState* __tstate = wxPyBeginAllowThreads();
25943 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25944
25945 wxPyEndAllowThreads(__tstate);
25946 if (PyErr_Occurred()) SWIG_fail;
25947 }
25948 {
25949 wxTreeItemId * resultptr;
25950 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25952 }
25953 return resultobj;
25954 fail:
25955 return NULL;
25956 }
25957
25958
25959 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25960 PyObject *resultobj;
25961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25962 wxString *arg2 = 0 ;
25963 int arg3 = (int) -1 ;
25964 int arg4 = (int) -1 ;
25965 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25966 wxTreeItemId result;
25967 bool temp2 = False ;
25968 PyObject * obj0 = 0 ;
25969 PyObject * obj1 = 0 ;
25970 PyObject * obj2 = 0 ;
25971 PyObject * obj3 = 0 ;
25972 PyObject * obj4 = 0 ;
25973 char *kwnames[] = {
25974 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25975 };
25976
25977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25980 {
25981 arg2 = wxString_in_helper(obj1);
25982 if (arg2 == NULL) SWIG_fail;
25983 temp2 = True;
25984 }
25985 if (obj2) {
25986 arg3 = (int) SWIG_AsInt(obj2);
25987 if (PyErr_Occurred()) SWIG_fail;
25988 }
25989 if (obj3) {
25990 arg4 = (int) SWIG_AsInt(obj3);
25991 if (PyErr_Occurred()) SWIG_fail;
25992 }
25993 if (obj4) {
25994 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25996 }
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 {
26005 wxTreeItemId * resultptr;
26006 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26008 }
26009 {
26010 if (temp2)
26011 delete arg2;
26012 }
26013 return resultobj;
26014 fail:
26015 {
26016 if (temp2)
26017 delete arg2;
26018 }
26019 return NULL;
26020 }
26021
26022
26023 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26024 PyObject *resultobj;
26025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26026 wxTreeItemId *arg2 = 0 ;
26027 wxString *arg3 = 0 ;
26028 int arg4 = (int) -1 ;
26029 int arg5 = (int) -1 ;
26030 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26031 wxTreeItemId result;
26032 bool temp3 = False ;
26033 PyObject * obj0 = 0 ;
26034 PyObject * obj1 = 0 ;
26035 PyObject * obj2 = 0 ;
26036 PyObject * obj3 = 0 ;
26037 PyObject * obj4 = 0 ;
26038 PyObject * obj5 = 0 ;
26039 char *kwnames[] = {
26040 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26041 };
26042
26043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26046 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26047 SWIG_POINTER_EXCEPTION | 0)) == -1)
26048 SWIG_fail;
26049 if (arg2 == NULL) {
26050 PyErr_SetString(PyExc_TypeError,"null reference");
26051 SWIG_fail;
26052 }
26053 {
26054 arg3 = wxString_in_helper(obj2);
26055 if (arg3 == NULL) SWIG_fail;
26056 temp3 = True;
26057 }
26058 if (obj3) {
26059 arg4 = (int) SWIG_AsInt(obj3);
26060 if (PyErr_Occurred()) SWIG_fail;
26061 }
26062 if (obj4) {
26063 arg5 = (int) SWIG_AsInt(obj4);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 if (obj5) {
26067 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26069 }
26070 {
26071 PyThreadState* __tstate = wxPyBeginAllowThreads();
26072 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26073
26074 wxPyEndAllowThreads(__tstate);
26075 if (PyErr_Occurred()) SWIG_fail;
26076 }
26077 {
26078 wxTreeItemId * resultptr;
26079 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26081 }
26082 {
26083 if (temp3)
26084 delete arg3;
26085 }
26086 return resultobj;
26087 fail:
26088 {
26089 if (temp3)
26090 delete arg3;
26091 }
26092 return NULL;
26093 }
26094
26095
26096 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26097 PyObject *resultobj;
26098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26099 wxTreeItemId *arg2 = 0 ;
26100 wxTreeItemId *arg3 = 0 ;
26101 wxString *arg4 = 0 ;
26102 int arg5 = (int) -1 ;
26103 int arg6 = (int) -1 ;
26104 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26105 wxTreeItemId result;
26106 bool temp4 = False ;
26107 PyObject * obj0 = 0 ;
26108 PyObject * obj1 = 0 ;
26109 PyObject * obj2 = 0 ;
26110 PyObject * obj3 = 0 ;
26111 PyObject * obj4 = 0 ;
26112 PyObject * obj5 = 0 ;
26113 PyObject * obj6 = 0 ;
26114 char *kwnames[] = {
26115 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26116 };
26117
26118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26122 SWIG_POINTER_EXCEPTION | 0)) == -1)
26123 SWIG_fail;
26124 if (arg2 == NULL) {
26125 PyErr_SetString(PyExc_TypeError,"null reference");
26126 SWIG_fail;
26127 }
26128 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26129 SWIG_POINTER_EXCEPTION | 0)) == -1)
26130 SWIG_fail;
26131 if (arg3 == NULL) {
26132 PyErr_SetString(PyExc_TypeError,"null reference");
26133 SWIG_fail;
26134 }
26135 {
26136 arg4 = wxString_in_helper(obj3);
26137 if (arg4 == NULL) SWIG_fail;
26138 temp4 = True;
26139 }
26140 if (obj4) {
26141 arg5 = (int) SWIG_AsInt(obj4);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 if (obj5) {
26145 arg6 = (int) SWIG_AsInt(obj5);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 if (obj6) {
26149 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26151 }
26152 {
26153 PyThreadState* __tstate = wxPyBeginAllowThreads();
26154 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26155
26156 wxPyEndAllowThreads(__tstate);
26157 if (PyErr_Occurred()) SWIG_fail;
26158 }
26159 {
26160 wxTreeItemId * resultptr;
26161 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26163 }
26164 {
26165 if (temp4)
26166 delete arg4;
26167 }
26168 return resultobj;
26169 fail:
26170 {
26171 if (temp4)
26172 delete arg4;
26173 }
26174 return NULL;
26175 }
26176
26177
26178 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26179 PyObject *resultobj;
26180 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26181 wxTreeItemId *arg2 = 0 ;
26182 size_t arg3 ;
26183 wxString *arg4 = 0 ;
26184 int arg5 = (int) -1 ;
26185 int arg6 = (int) -1 ;
26186 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26187 wxTreeItemId result;
26188 bool temp4 = False ;
26189 PyObject * obj0 = 0 ;
26190 PyObject * obj1 = 0 ;
26191 PyObject * obj2 = 0 ;
26192 PyObject * obj3 = 0 ;
26193 PyObject * obj4 = 0 ;
26194 PyObject * obj5 = 0 ;
26195 PyObject * obj6 = 0 ;
26196 char *kwnames[] = {
26197 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26198 };
26199
26200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26203 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26204 SWIG_POINTER_EXCEPTION | 0)) == -1)
26205 SWIG_fail;
26206 if (arg2 == NULL) {
26207 PyErr_SetString(PyExc_TypeError,"null reference");
26208 SWIG_fail;
26209 }
26210 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26211 if (PyErr_Occurred()) SWIG_fail;
26212 {
26213 arg4 = wxString_in_helper(obj3);
26214 if (arg4 == NULL) SWIG_fail;
26215 temp4 = True;
26216 }
26217 if (obj4) {
26218 arg5 = (int) SWIG_AsInt(obj4);
26219 if (PyErr_Occurred()) SWIG_fail;
26220 }
26221 if (obj5) {
26222 arg6 = (int) SWIG_AsInt(obj5);
26223 if (PyErr_Occurred()) SWIG_fail;
26224 }
26225 if (obj6) {
26226 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26228 }
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26232
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 {
26237 wxTreeItemId * resultptr;
26238 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26239 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26240 }
26241 {
26242 if (temp4)
26243 delete arg4;
26244 }
26245 return resultobj;
26246 fail:
26247 {
26248 if (temp4)
26249 delete arg4;
26250 }
26251 return NULL;
26252 }
26253
26254
26255 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26256 PyObject *resultobj;
26257 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26258 wxTreeItemId *arg2 = 0 ;
26259 wxString *arg3 = 0 ;
26260 int arg4 = (int) -1 ;
26261 int arg5 = (int) -1 ;
26262 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26263 wxTreeItemId result;
26264 bool temp3 = False ;
26265 PyObject * obj0 = 0 ;
26266 PyObject * obj1 = 0 ;
26267 PyObject * obj2 = 0 ;
26268 PyObject * obj3 = 0 ;
26269 PyObject * obj4 = 0 ;
26270 PyObject * obj5 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26279 SWIG_POINTER_EXCEPTION | 0)) == -1)
26280 SWIG_fail;
26281 if (arg2 == NULL) {
26282 PyErr_SetString(PyExc_TypeError,"null reference");
26283 SWIG_fail;
26284 }
26285 {
26286 arg3 = wxString_in_helper(obj2);
26287 if (arg3 == NULL) SWIG_fail;
26288 temp3 = True;
26289 }
26290 if (obj3) {
26291 arg4 = (int) SWIG_AsInt(obj3);
26292 if (PyErr_Occurred()) SWIG_fail;
26293 }
26294 if (obj4) {
26295 arg5 = (int) SWIG_AsInt(obj4);
26296 if (PyErr_Occurred()) SWIG_fail;
26297 }
26298 if (obj5) {
26299 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26301 }
26302 {
26303 PyThreadState* __tstate = wxPyBeginAllowThreads();
26304 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26305
26306 wxPyEndAllowThreads(__tstate);
26307 if (PyErr_Occurred()) SWIG_fail;
26308 }
26309 {
26310 wxTreeItemId * resultptr;
26311 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26313 }
26314 {
26315 if (temp3)
26316 delete arg3;
26317 }
26318 return resultobj;
26319 fail:
26320 {
26321 if (temp3)
26322 delete arg3;
26323 }
26324 return NULL;
26325 }
26326
26327
26328 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26329 PyObject *resultobj;
26330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26331 wxTreeItemId *arg2 = 0 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "item", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1)
26343 SWIG_fail;
26344 if (arg2 == NULL) {
26345 PyErr_SetString(PyExc_TypeError,"null reference");
26346 SWIG_fail;
26347 }
26348 {
26349 PyThreadState* __tstate = wxPyBeginAllowThreads();
26350 (arg1)->Delete((wxTreeItemId const &)*arg2);
26351
26352 wxPyEndAllowThreads(__tstate);
26353 if (PyErr_Occurred()) SWIG_fail;
26354 }
26355 Py_INCREF(Py_None); resultobj = Py_None;
26356 return resultobj;
26357 fail:
26358 return NULL;
26359 }
26360
26361
26362 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26363 PyObject *resultobj;
26364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26365 wxTreeItemId *arg2 = 0 ;
26366 PyObject * obj0 = 0 ;
26367 PyObject * obj1 = 0 ;
26368 char *kwnames[] = {
26369 (char *) "self",(char *) "item", NULL
26370 };
26371
26372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26376 SWIG_POINTER_EXCEPTION | 0)) == -1)
26377 SWIG_fail;
26378 if (arg2 == NULL) {
26379 PyErr_SetString(PyExc_TypeError,"null reference");
26380 SWIG_fail;
26381 }
26382 {
26383 PyThreadState* __tstate = wxPyBeginAllowThreads();
26384 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26385
26386 wxPyEndAllowThreads(__tstate);
26387 if (PyErr_Occurred()) SWIG_fail;
26388 }
26389 Py_INCREF(Py_None); resultobj = Py_None;
26390 return resultobj;
26391 fail:
26392 return NULL;
26393 }
26394
26395
26396 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26397 PyObject *resultobj;
26398 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26399 PyObject * obj0 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26407 {
26408 PyThreadState* __tstate = wxPyBeginAllowThreads();
26409 (arg1)->DeleteAllItems();
26410
26411 wxPyEndAllowThreads(__tstate);
26412 if (PyErr_Occurred()) SWIG_fail;
26413 }
26414 Py_INCREF(Py_None); resultobj = Py_None;
26415 return resultobj;
26416 fail:
26417 return NULL;
26418 }
26419
26420
26421 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26422 PyObject *resultobj;
26423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26424 wxTreeItemId *arg2 = 0 ;
26425 PyObject * obj0 = 0 ;
26426 PyObject * obj1 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self",(char *) "item", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26435 SWIG_POINTER_EXCEPTION | 0)) == -1)
26436 SWIG_fail;
26437 if (arg2 == NULL) {
26438 PyErr_SetString(PyExc_TypeError,"null reference");
26439 SWIG_fail;
26440 }
26441 {
26442 PyThreadState* __tstate = wxPyBeginAllowThreads();
26443 (arg1)->Expand((wxTreeItemId const &)*arg2);
26444
26445 wxPyEndAllowThreads(__tstate);
26446 if (PyErr_Occurred()) SWIG_fail;
26447 }
26448 Py_INCREF(Py_None); resultobj = Py_None;
26449 return resultobj;
26450 fail:
26451 return NULL;
26452 }
26453
26454
26455 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26456 PyObject *resultobj;
26457 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26458 wxTreeItemId *arg2 = 0 ;
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_Collapse",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 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26478
26479 wxPyEndAllowThreads(__tstate);
26480 if (PyErr_Occurred()) SWIG_fail;
26481 }
26482 Py_INCREF(Py_None); resultobj = Py_None;
26483 return resultobj;
26484 fail:
26485 return NULL;
26486 }
26487
26488
26489 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26490 PyObject *resultobj;
26491 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26492 wxTreeItemId *arg2 = 0 ;
26493 PyObject * obj0 = 0 ;
26494 PyObject * obj1 = 0 ;
26495 char *kwnames[] = {
26496 (char *) "self",(char *) "item", NULL
26497 };
26498
26499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26502 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26503 SWIG_POINTER_EXCEPTION | 0)) == -1)
26504 SWIG_fail;
26505 if (arg2 == NULL) {
26506 PyErr_SetString(PyExc_TypeError,"null reference");
26507 SWIG_fail;
26508 }
26509 {
26510 PyThreadState* __tstate = wxPyBeginAllowThreads();
26511 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26512
26513 wxPyEndAllowThreads(__tstate);
26514 if (PyErr_Occurred()) SWIG_fail;
26515 }
26516 Py_INCREF(Py_None); resultobj = Py_None;
26517 return resultobj;
26518 fail:
26519 return NULL;
26520 }
26521
26522
26523 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26524 PyObject *resultobj;
26525 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26526 wxTreeItemId *arg2 = 0 ;
26527 PyObject * obj0 = 0 ;
26528 PyObject * obj1 = 0 ;
26529 char *kwnames[] = {
26530 (char *) "self",(char *) "item", NULL
26531 };
26532
26533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26537 SWIG_POINTER_EXCEPTION | 0)) == -1)
26538 SWIG_fail;
26539 if (arg2 == NULL) {
26540 PyErr_SetString(PyExc_TypeError,"null reference");
26541 SWIG_fail;
26542 }
26543 {
26544 PyThreadState* __tstate = wxPyBeginAllowThreads();
26545 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26546
26547 wxPyEndAllowThreads(__tstate);
26548 if (PyErr_Occurred()) SWIG_fail;
26549 }
26550 Py_INCREF(Py_None); resultobj = Py_None;
26551 return resultobj;
26552 fail:
26553 return NULL;
26554 }
26555
26556
26557 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26558 PyObject *resultobj;
26559 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26560 PyObject * obj0 = 0 ;
26561 char *kwnames[] = {
26562 (char *) "self", NULL
26563 };
26564
26565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26568 {
26569 PyThreadState* __tstate = wxPyBeginAllowThreads();
26570 (arg1)->Unselect();
26571
26572 wxPyEndAllowThreads(__tstate);
26573 if (PyErr_Occurred()) SWIG_fail;
26574 }
26575 Py_INCREF(Py_None); resultobj = Py_None;
26576 return resultobj;
26577 fail:
26578 return NULL;
26579 }
26580
26581
26582 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26583 PyObject *resultobj;
26584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26585 wxTreeItemId *arg2 = 0 ;
26586 PyObject * obj0 = 0 ;
26587 PyObject * obj1 = 0 ;
26588 char *kwnames[] = {
26589 (char *) "self",(char *) "item", NULL
26590 };
26591
26592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26595 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26596 SWIG_POINTER_EXCEPTION | 0)) == -1)
26597 SWIG_fail;
26598 if (arg2 == NULL) {
26599 PyErr_SetString(PyExc_TypeError,"null reference");
26600 SWIG_fail;
26601 }
26602 {
26603 PyThreadState* __tstate = wxPyBeginAllowThreads();
26604 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26605
26606 wxPyEndAllowThreads(__tstate);
26607 if (PyErr_Occurred()) SWIG_fail;
26608 }
26609 Py_INCREF(Py_None); resultobj = Py_None;
26610 return resultobj;
26611 fail:
26612 return NULL;
26613 }
26614
26615
26616 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26619 PyObject * obj0 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "self", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26627 {
26628 PyThreadState* __tstate = wxPyBeginAllowThreads();
26629 (arg1)->UnselectAll();
26630
26631 wxPyEndAllowThreads(__tstate);
26632 if (PyErr_Occurred()) SWIG_fail;
26633 }
26634 Py_INCREF(Py_None); resultobj = Py_None;
26635 return resultobj;
26636 fail:
26637 return NULL;
26638 }
26639
26640
26641 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26642 PyObject *resultobj;
26643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26644 wxTreeItemId *arg2 = 0 ;
26645 bool arg3 = (bool) True ;
26646 PyObject * obj0 = 0 ;
26647 PyObject * obj1 = 0 ;
26648 PyObject * obj2 = 0 ;
26649 char *kwnames[] = {
26650 (char *) "self",(char *) "item",(char *) "select", NULL
26651 };
26652
26653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26656 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26657 SWIG_POINTER_EXCEPTION | 0)) == -1)
26658 SWIG_fail;
26659 if (arg2 == NULL) {
26660 PyErr_SetString(PyExc_TypeError,"null reference");
26661 SWIG_fail;
26662 }
26663 if (obj2) {
26664 arg3 = (bool) SWIG_AsBool(obj2);
26665 if (PyErr_Occurred()) SWIG_fail;
26666 }
26667 {
26668 PyThreadState* __tstate = wxPyBeginAllowThreads();
26669 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26670
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 Py_INCREF(Py_None); resultobj = Py_None;
26675 return resultobj;
26676 fail:
26677 return NULL;
26678 }
26679
26680
26681 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26682 PyObject *resultobj;
26683 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26684 wxTreeItemId *arg2 = 0 ;
26685 PyObject * obj0 = 0 ;
26686 PyObject * obj1 = 0 ;
26687 char *kwnames[] = {
26688 (char *) "self",(char *) "item", NULL
26689 };
26690
26691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1)
26696 SWIG_fail;
26697 if (arg2 == NULL) {
26698 PyErr_SetString(PyExc_TypeError,"null reference");
26699 SWIG_fail;
26700 }
26701 {
26702 PyThreadState* __tstate = wxPyBeginAllowThreads();
26703 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26704
26705 wxPyEndAllowThreads(__tstate);
26706 if (PyErr_Occurred()) SWIG_fail;
26707 }
26708 Py_INCREF(Py_None); resultobj = Py_None;
26709 return resultobj;
26710 fail:
26711 return NULL;
26712 }
26713
26714
26715 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26716 PyObject *resultobj;
26717 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26718 wxTreeItemId *arg2 = 0 ;
26719 PyObject * obj0 = 0 ;
26720 PyObject * obj1 = 0 ;
26721 char *kwnames[] = {
26722 (char *) "self",(char *) "item", NULL
26723 };
26724
26725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26728 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1)
26730 SWIG_fail;
26731 if (arg2 == NULL) {
26732 PyErr_SetString(PyExc_TypeError,"null reference");
26733 SWIG_fail;
26734 }
26735 {
26736 PyThreadState* __tstate = wxPyBeginAllowThreads();
26737 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26738
26739 wxPyEndAllowThreads(__tstate);
26740 if (PyErr_Occurred()) SWIG_fail;
26741 }
26742 Py_INCREF(Py_None); resultobj = Py_None;
26743 return resultobj;
26744 fail:
26745 return NULL;
26746 }
26747
26748
26749 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26750 PyObject *resultobj;
26751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26752 wxTreeItemId *arg2 = 0 ;
26753 PyObject * obj0 = 0 ;
26754 PyObject * obj1 = 0 ;
26755 char *kwnames[] = {
26756 (char *) "self",(char *) "item", NULL
26757 };
26758
26759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26763 SWIG_POINTER_EXCEPTION | 0)) == -1)
26764 SWIG_fail;
26765 if (arg2 == NULL) {
26766 PyErr_SetString(PyExc_TypeError,"null reference");
26767 SWIG_fail;
26768 }
26769 {
26770 PyThreadState* __tstate = wxPyBeginAllowThreads();
26771 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26772
26773 wxPyEndAllowThreads(__tstate);
26774 if (PyErr_Occurred()) SWIG_fail;
26775 }
26776 Py_INCREF(Py_None); resultobj = Py_None;
26777 return resultobj;
26778 fail:
26779 return NULL;
26780 }
26781
26782
26783 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26784 PyObject *resultobj;
26785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26786 wxTreeItemId *arg2 = 0 ;
26787 PyObject * obj0 = 0 ;
26788 PyObject * obj1 = 0 ;
26789 char *kwnames[] = {
26790 (char *) "self",(char *) "item", NULL
26791 };
26792
26793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26797 SWIG_POINTER_EXCEPTION | 0)) == -1)
26798 SWIG_fail;
26799 if (arg2 == NULL) {
26800 PyErr_SetString(PyExc_TypeError,"null reference");
26801 SWIG_fail;
26802 }
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26806
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 Py_INCREF(Py_None); resultobj = Py_None;
26811 return resultobj;
26812 fail:
26813 return NULL;
26814 }
26815
26816
26817 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26818 PyObject *resultobj;
26819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26820 wxTextCtrl *result;
26821 PyObject * obj0 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26829 {
26830 PyThreadState* __tstate = wxPyBeginAllowThreads();
26831 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26832
26833 wxPyEndAllowThreads(__tstate);
26834 if (PyErr_Occurred()) SWIG_fail;
26835 }
26836 {
26837 resultobj = wxPyMake_wxObject(result);
26838 }
26839 return resultobj;
26840 fail:
26841 return NULL;
26842 }
26843
26844
26845 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26846 PyObject *resultobj;
26847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26848 wxTreeItemId *arg2 = 0 ;
26849 PyObject * obj0 = 0 ;
26850 PyObject * obj1 = 0 ;
26851 char *kwnames[] = {
26852 (char *) "self",(char *) "item", NULL
26853 };
26854
26855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26859 SWIG_POINTER_EXCEPTION | 0)) == -1)
26860 SWIG_fail;
26861 if (arg2 == NULL) {
26862 PyErr_SetString(PyExc_TypeError,"null reference");
26863 SWIG_fail;
26864 }
26865 {
26866 PyThreadState* __tstate = wxPyBeginAllowThreads();
26867 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26868
26869 wxPyEndAllowThreads(__tstate);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 Py_INCREF(Py_None); resultobj = Py_None;
26873 return resultobj;
26874 fail:
26875 return NULL;
26876 }
26877
26878
26879 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26880 PyObject *resultobj;
26881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26882 wxPoint *arg2 = 0 ;
26883 int *arg3 = 0 ;
26884 wxTreeItemId result;
26885 wxPoint temp2 ;
26886 int temp3 ;
26887 PyObject * obj0 = 0 ;
26888 PyObject * obj1 = 0 ;
26889 char *kwnames[] = {
26890 (char *) "self",(char *) "point", NULL
26891 };
26892
26893 arg3 = &temp3;
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26897 {
26898 arg2 = &temp2;
26899 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26900 }
26901 {
26902 PyThreadState* __tstate = wxPyBeginAllowThreads();
26903 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26904
26905 wxPyEndAllowThreads(__tstate);
26906 if (PyErr_Occurred()) SWIG_fail;
26907 }
26908 {
26909 wxTreeItemId * resultptr;
26910 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26911 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26912 }
26913 {
26914 PyObject *o = PyInt_FromLong((long) (*arg3));
26915 resultobj = t_output_helper(resultobj,o);
26916 }
26917 return resultobj;
26918 fail:
26919 return NULL;
26920 }
26921
26922
26923 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26924 PyObject *resultobj;
26925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26926 wxTreeItemId *arg2 = 0 ;
26927 bool arg3 = (bool) False ;
26928 PyObject *result;
26929 PyObject * obj0 = 0 ;
26930 PyObject * obj1 = 0 ;
26931 PyObject * obj2 = 0 ;
26932 char *kwnames[] = {
26933 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26934 };
26935
26936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26940 SWIG_POINTER_EXCEPTION | 0)) == -1)
26941 SWIG_fail;
26942 if (arg2 == NULL) {
26943 PyErr_SetString(PyExc_TypeError,"null reference");
26944 SWIG_fail;
26945 }
26946 if (obj2) {
26947 arg3 = (bool) SWIG_AsBool(obj2);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 {
26951 PyThreadState* __tstate = wxPyBeginAllowThreads();
26952 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26953
26954 wxPyEndAllowThreads(__tstate);
26955 if (PyErr_Occurred()) SWIG_fail;
26956 }
26957 resultobj = result;
26958 return resultobj;
26959 fail:
26960 return NULL;
26961 }
26962
26963
26964 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26965 PyObject *resultobj;
26966 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26967 wxVisualAttributes result;
26968 PyObject * obj0 = 0 ;
26969 char *kwnames[] = {
26970 (char *) "variant", NULL
26971 };
26972
26973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26974 if (obj0) {
26975 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26976 if (PyErr_Occurred()) SWIG_fail;
26977 }
26978 {
26979 PyThreadState* __tstate = wxPyBeginAllowThreads();
26980 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26981
26982 wxPyEndAllowThreads(__tstate);
26983 if (PyErr_Occurred()) SWIG_fail;
26984 }
26985 {
26986 wxVisualAttributes * resultptr;
26987 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26988 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26989 }
26990 return resultobj;
26991 fail:
26992 return NULL;
26993 }
26994
26995
26996 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26997 PyObject *obj;
26998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26999 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27000 Py_INCREF(obj);
27001 return Py_BuildValue((char *)"");
27002 }
27003 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27004 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27005 return 1;
27006 }
27007
27008
27009 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27010 PyObject *pyobj;
27011
27012 {
27013 #if wxUSE_UNICODE
27014 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27015 #else
27016 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27017 #endif
27018 }
27019 return pyobj;
27020 }
27021
27022
27023 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27024 PyObject *resultobj;
27025 wxWindow *arg1 = (wxWindow *) 0 ;
27026 int arg2 = (int) (int)-1 ;
27027 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27028 wxString *arg3 = (wxString *) &arg3_defvalue ;
27029 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27030 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27031 wxSize const &arg5_defvalue = wxDefaultSize ;
27032 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27033 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27034 wxString const &arg7_defvalue = wxPyEmptyString ;
27035 wxString *arg7 = (wxString *) &arg7_defvalue ;
27036 int arg8 = (int) 0 ;
27037 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27038 wxString *arg9 = (wxString *) &arg9_defvalue ;
27039 wxGenericDirCtrl *result;
27040 bool temp3 = False ;
27041 wxPoint temp4 ;
27042 wxSize temp5 ;
27043 bool temp7 = False ;
27044 bool temp9 = False ;
27045 PyObject * obj0 = 0 ;
27046 PyObject * obj1 = 0 ;
27047 PyObject * obj2 = 0 ;
27048 PyObject * obj3 = 0 ;
27049 PyObject * obj4 = 0 ;
27050 PyObject * obj5 = 0 ;
27051 PyObject * obj6 = 0 ;
27052 PyObject * obj7 = 0 ;
27053 PyObject * obj8 = 0 ;
27054 char *kwnames[] = {
27055 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27056 };
27057
27058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27061 if (obj1) {
27062 arg2 = (int const) SWIG_AsInt(obj1);
27063 if (PyErr_Occurred()) SWIG_fail;
27064 }
27065 if (obj2) {
27066 {
27067 arg3 = wxString_in_helper(obj2);
27068 if (arg3 == NULL) SWIG_fail;
27069 temp3 = True;
27070 }
27071 }
27072 if (obj3) {
27073 {
27074 arg4 = &temp4;
27075 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27076 }
27077 }
27078 if (obj4) {
27079 {
27080 arg5 = &temp5;
27081 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27082 }
27083 }
27084 if (obj5) {
27085 arg6 = (long) SWIG_AsLong(obj5);
27086 if (PyErr_Occurred()) SWIG_fail;
27087 }
27088 if (obj6) {
27089 {
27090 arg7 = wxString_in_helper(obj6);
27091 if (arg7 == NULL) SWIG_fail;
27092 temp7 = True;
27093 }
27094 }
27095 if (obj7) {
27096 arg8 = (int) SWIG_AsInt(obj7);
27097 if (PyErr_Occurred()) SWIG_fail;
27098 }
27099 if (obj8) {
27100 {
27101 arg9 = wxString_in_helper(obj8);
27102 if (arg9 == NULL) SWIG_fail;
27103 temp9 = True;
27104 }
27105 }
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27109
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
27113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27114 {
27115 if (temp3)
27116 delete arg3;
27117 }
27118 {
27119 if (temp7)
27120 delete arg7;
27121 }
27122 {
27123 if (temp9)
27124 delete arg9;
27125 }
27126 return resultobj;
27127 fail:
27128 {
27129 if (temp3)
27130 delete arg3;
27131 }
27132 {
27133 if (temp7)
27134 delete arg7;
27135 }
27136 {
27137 if (temp9)
27138 delete arg9;
27139 }
27140 return NULL;
27141 }
27142
27143
27144 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27145 PyObject *resultobj;
27146 wxGenericDirCtrl *result;
27147 char *kwnames[] = {
27148 NULL
27149 };
27150
27151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27152 {
27153 PyThreadState* __tstate = wxPyBeginAllowThreads();
27154 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27155
27156 wxPyEndAllowThreads(__tstate);
27157 if (PyErr_Occurred()) SWIG_fail;
27158 }
27159 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27160 return resultobj;
27161 fail:
27162 return NULL;
27163 }
27164
27165
27166 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27167 PyObject *resultobj;
27168 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27169 wxWindow *arg2 = (wxWindow *) 0 ;
27170 int arg3 = (int) (int)-1 ;
27171 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27172 wxString *arg4 = (wxString *) &arg4_defvalue ;
27173 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27174 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27175 wxSize const &arg6_defvalue = wxDefaultSize ;
27176 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27177 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27178 wxString const &arg8_defvalue = wxPyEmptyString ;
27179 wxString *arg8 = (wxString *) &arg8_defvalue ;
27180 int arg9 = (int) 0 ;
27181 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27182 wxString *arg10 = (wxString *) &arg10_defvalue ;
27183 bool result;
27184 bool temp4 = False ;
27185 wxPoint temp5 ;
27186 wxSize temp6 ;
27187 bool temp8 = False ;
27188 bool temp10 = False ;
27189 PyObject * obj0 = 0 ;
27190 PyObject * obj1 = 0 ;
27191 PyObject * obj2 = 0 ;
27192 PyObject * obj3 = 0 ;
27193 PyObject * obj4 = 0 ;
27194 PyObject * obj5 = 0 ;
27195 PyObject * obj6 = 0 ;
27196 PyObject * obj7 = 0 ;
27197 PyObject * obj8 = 0 ;
27198 PyObject * obj9 = 0 ;
27199 char *kwnames[] = {
27200 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27201 };
27202
27203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27206 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27208 if (obj2) {
27209 arg3 = (int const) SWIG_AsInt(obj2);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 if (obj3) {
27213 {
27214 arg4 = wxString_in_helper(obj3);
27215 if (arg4 == NULL) SWIG_fail;
27216 temp4 = True;
27217 }
27218 }
27219 if (obj4) {
27220 {
27221 arg5 = &temp5;
27222 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27223 }
27224 }
27225 if (obj5) {
27226 {
27227 arg6 = &temp6;
27228 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27229 }
27230 }
27231 if (obj6) {
27232 arg7 = (long) SWIG_AsLong(obj6);
27233 if (PyErr_Occurred()) SWIG_fail;
27234 }
27235 if (obj7) {
27236 {
27237 arg8 = wxString_in_helper(obj7);
27238 if (arg8 == NULL) SWIG_fail;
27239 temp8 = True;
27240 }
27241 }
27242 if (obj8) {
27243 arg9 = (int) SWIG_AsInt(obj8);
27244 if (PyErr_Occurred()) SWIG_fail;
27245 }
27246 if (obj9) {
27247 {
27248 arg10 = wxString_in_helper(obj9);
27249 if (arg10 == NULL) SWIG_fail;
27250 temp10 = True;
27251 }
27252 }
27253 {
27254 PyThreadState* __tstate = wxPyBeginAllowThreads();
27255 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27256
27257 wxPyEndAllowThreads(__tstate);
27258 if (PyErr_Occurred()) SWIG_fail;
27259 }
27260 {
27261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27262 }
27263 {
27264 if (temp4)
27265 delete arg4;
27266 }
27267 {
27268 if (temp8)
27269 delete arg8;
27270 }
27271 {
27272 if (temp10)
27273 delete arg10;
27274 }
27275 return resultobj;
27276 fail:
27277 {
27278 if (temp4)
27279 delete arg4;
27280 }
27281 {
27282 if (temp8)
27283 delete arg8;
27284 }
27285 {
27286 if (temp10)
27287 delete arg10;
27288 }
27289 return NULL;
27290 }
27291
27292
27293 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27294 PyObject *resultobj;
27295 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27296 wxString *arg2 = 0 ;
27297 bool result;
27298 bool temp2 = False ;
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "path", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
27306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27308 {
27309 arg2 = wxString_in_helper(obj1);
27310 if (arg2 == NULL) SWIG_fail;
27311 temp2 = True;
27312 }
27313 {
27314 PyThreadState* __tstate = wxPyBeginAllowThreads();
27315 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27316
27317 wxPyEndAllowThreads(__tstate);
27318 if (PyErr_Occurred()) SWIG_fail;
27319 }
27320 {
27321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27322 }
27323 {
27324 if (temp2)
27325 delete arg2;
27326 }
27327 return resultobj;
27328 fail:
27329 {
27330 if (temp2)
27331 delete arg2;
27332 }
27333 return NULL;
27334 }
27335
27336
27337 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27338 PyObject *resultobj;
27339 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27340 wxString result;
27341 PyObject * obj0 = 0 ;
27342 char *kwnames[] = {
27343 (char *) "self", NULL
27344 };
27345
27346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 {
27357 #if wxUSE_UNICODE
27358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27359 #else
27360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27361 #endif
27362 }
27363 return resultobj;
27364 fail:
27365 return NULL;
27366 }
27367
27368
27369 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27370 PyObject *resultobj;
27371 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27372 wxString *arg2 = 0 ;
27373 bool temp2 = False ;
27374 PyObject * obj0 = 0 ;
27375 PyObject * obj1 = 0 ;
27376 char *kwnames[] = {
27377 (char *) "self",(char *) "path", NULL
27378 };
27379
27380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27383 {
27384 arg2 = wxString_in_helper(obj1);
27385 if (arg2 == NULL) SWIG_fail;
27386 temp2 = True;
27387 }
27388 {
27389 PyThreadState* __tstate = wxPyBeginAllowThreads();
27390 (arg1)->SetDefaultPath((wxString const &)*arg2);
27391
27392 wxPyEndAllowThreads(__tstate);
27393 if (PyErr_Occurred()) SWIG_fail;
27394 }
27395 Py_INCREF(Py_None); resultobj = Py_None;
27396 {
27397 if (temp2)
27398 delete arg2;
27399 }
27400 return resultobj;
27401 fail:
27402 {
27403 if (temp2)
27404 delete arg2;
27405 }
27406 return NULL;
27407 }
27408
27409
27410 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27411 PyObject *resultobj;
27412 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27413 wxString result;
27414 PyObject * obj0 = 0 ;
27415 char *kwnames[] = {
27416 (char *) "self", NULL
27417 };
27418
27419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27422 {
27423 PyThreadState* __tstate = wxPyBeginAllowThreads();
27424 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27425
27426 wxPyEndAllowThreads(__tstate);
27427 if (PyErr_Occurred()) SWIG_fail;
27428 }
27429 {
27430 #if wxUSE_UNICODE
27431 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27432 #else
27433 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27434 #endif
27435 }
27436 return resultobj;
27437 fail:
27438 return NULL;
27439 }
27440
27441
27442 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27443 PyObject *resultobj;
27444 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27445 wxString result;
27446 PyObject * obj0 = 0 ;
27447 char *kwnames[] = {
27448 (char *) "self", NULL
27449 };
27450
27451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27454 {
27455 PyThreadState* __tstate = wxPyBeginAllowThreads();
27456 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27457
27458 wxPyEndAllowThreads(__tstate);
27459 if (PyErr_Occurred()) SWIG_fail;
27460 }
27461 {
27462 #if wxUSE_UNICODE
27463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27464 #else
27465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27466 #endif
27467 }
27468 return resultobj;
27469 fail:
27470 return NULL;
27471 }
27472
27473
27474 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27475 PyObject *resultobj;
27476 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27477 wxString *arg2 = 0 ;
27478 bool temp2 = False ;
27479 PyObject * obj0 = 0 ;
27480 PyObject * obj1 = 0 ;
27481 char *kwnames[] = {
27482 (char *) "self",(char *) "path", NULL
27483 };
27484
27485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27488 {
27489 arg2 = wxString_in_helper(obj1);
27490 if (arg2 == NULL) SWIG_fail;
27491 temp2 = True;
27492 }
27493 {
27494 PyThreadState* __tstate = wxPyBeginAllowThreads();
27495 (arg1)->SetPath((wxString const &)*arg2);
27496
27497 wxPyEndAllowThreads(__tstate);
27498 if (PyErr_Occurred()) SWIG_fail;
27499 }
27500 Py_INCREF(Py_None); resultobj = Py_None;
27501 {
27502 if (temp2)
27503 delete arg2;
27504 }
27505 return resultobj;
27506 fail:
27507 {
27508 if (temp2)
27509 delete arg2;
27510 }
27511 return NULL;
27512 }
27513
27514
27515 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj;
27517 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27518 bool arg2 ;
27519 PyObject * obj0 = 0 ;
27520 PyObject * obj1 = 0 ;
27521 char *kwnames[] = {
27522 (char *) "self",(char *) "show", NULL
27523 };
27524
27525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27528 arg2 = (bool) SWIG_AsBool(obj1);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 {
27531 PyThreadState* __tstate = wxPyBeginAllowThreads();
27532 (arg1)->ShowHidden(arg2);
27533
27534 wxPyEndAllowThreads(__tstate);
27535 if (PyErr_Occurred()) SWIG_fail;
27536 }
27537 Py_INCREF(Py_None); resultobj = Py_None;
27538 return resultobj;
27539 fail:
27540 return NULL;
27541 }
27542
27543
27544 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27545 PyObject *resultobj;
27546 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27547 bool result;
27548 PyObject * obj0 = 0 ;
27549 char *kwnames[] = {
27550 (char *) "self", NULL
27551 };
27552
27553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27556 {
27557 PyThreadState* __tstate = wxPyBeginAllowThreads();
27558 result = (bool)(arg1)->GetShowHidden();
27559
27560 wxPyEndAllowThreads(__tstate);
27561 if (PyErr_Occurred()) SWIG_fail;
27562 }
27563 {
27564 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27565 }
27566 return resultobj;
27567 fail:
27568 return NULL;
27569 }
27570
27571
27572 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27573 PyObject *resultobj;
27574 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27575 wxString result;
27576 PyObject * obj0 = 0 ;
27577 char *kwnames[] = {
27578 (char *) "self", NULL
27579 };
27580
27581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27584 {
27585 PyThreadState* __tstate = wxPyBeginAllowThreads();
27586 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27587
27588 wxPyEndAllowThreads(__tstate);
27589 if (PyErr_Occurred()) SWIG_fail;
27590 }
27591 {
27592 #if wxUSE_UNICODE
27593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27594 #else
27595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27596 #endif
27597 }
27598 return resultobj;
27599 fail:
27600 return NULL;
27601 }
27602
27603
27604 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27605 PyObject *resultobj;
27606 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27607 wxString *arg2 = 0 ;
27608 bool temp2 = False ;
27609 PyObject * obj0 = 0 ;
27610 PyObject * obj1 = 0 ;
27611 char *kwnames[] = {
27612 (char *) "self",(char *) "filter", NULL
27613 };
27614
27615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27618 {
27619 arg2 = wxString_in_helper(obj1);
27620 if (arg2 == NULL) SWIG_fail;
27621 temp2 = True;
27622 }
27623 {
27624 PyThreadState* __tstate = wxPyBeginAllowThreads();
27625 (arg1)->SetFilter((wxString const &)*arg2);
27626
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
27630 Py_INCREF(Py_None); resultobj = Py_None;
27631 {
27632 if (temp2)
27633 delete arg2;
27634 }
27635 return resultobj;
27636 fail:
27637 {
27638 if (temp2)
27639 delete arg2;
27640 }
27641 return NULL;
27642 }
27643
27644
27645 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj;
27647 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27648 int result;
27649 PyObject * obj0 = 0 ;
27650 char *kwnames[] = {
27651 (char *) "self", NULL
27652 };
27653
27654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27660
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 resultobj = SWIG_FromInt((int)result);
27665 return resultobj;
27666 fail:
27667 return NULL;
27668 }
27669
27670
27671 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27672 PyObject *resultobj;
27673 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27674 int arg2 ;
27675 PyObject * obj0 = 0 ;
27676 PyObject * obj1 = 0 ;
27677 char *kwnames[] = {
27678 (char *) "self",(char *) "n", NULL
27679 };
27680
27681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27682 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27684 arg2 = (int) SWIG_AsInt(obj1);
27685 if (PyErr_Occurred()) SWIG_fail;
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
27688 (arg1)->SetFilterIndex(arg2);
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
27693 Py_INCREF(Py_None); resultobj = Py_None;
27694 return resultobj;
27695 fail:
27696 return NULL;
27697 }
27698
27699
27700 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj;
27702 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27703 wxTreeItemId result;
27704 PyObject * obj0 = 0 ;
27705 char *kwnames[] = {
27706 (char *) "self", NULL
27707 };
27708
27709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27712 {
27713 PyThreadState* __tstate = wxPyBeginAllowThreads();
27714 result = (arg1)->GetRootId();
27715
27716 wxPyEndAllowThreads(__tstate);
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 {
27720 wxTreeItemId * resultptr;
27721 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27722 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27723 }
27724 return resultobj;
27725 fail:
27726 return NULL;
27727 }
27728
27729
27730 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27731 PyObject *resultobj;
27732 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27733 wxPyTreeCtrl *result;
27734 PyObject * obj0 = 0 ;
27735 char *kwnames[] = {
27736 (char *) "self", NULL
27737 };
27738
27739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27742 {
27743 PyThreadState* __tstate = wxPyBeginAllowThreads();
27744 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27745
27746 wxPyEndAllowThreads(__tstate);
27747 if (PyErr_Occurred()) SWIG_fail;
27748 }
27749 {
27750 resultobj = wxPyMake_wxObject(result);
27751 }
27752 return resultobj;
27753 fail:
27754 return NULL;
27755 }
27756
27757
27758 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27759 PyObject *resultobj;
27760 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27761 wxDirFilterListCtrl *result;
27762 PyObject * obj0 = 0 ;
27763 char *kwnames[] = {
27764 (char *) "self", NULL
27765 };
27766
27767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27770 {
27771 PyThreadState* __tstate = wxPyBeginAllowThreads();
27772 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27773
27774 wxPyEndAllowThreads(__tstate);
27775 if (PyErr_Occurred()) SWIG_fail;
27776 }
27777 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27778 return resultobj;
27779 fail:
27780 return NULL;
27781 }
27782
27783
27784 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27785 PyObject *resultobj;
27786 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27787 wxTreeItemId arg2 ;
27788 wxString *arg3 = 0 ;
27789 bool *arg4 = 0 ;
27790 wxTreeItemId result;
27791 wxTreeItemId *argp2 ;
27792 bool temp3 = False ;
27793 bool temp4 ;
27794 PyObject * obj0 = 0 ;
27795 PyObject * obj1 = 0 ;
27796 PyObject * obj2 = 0 ;
27797 char *kwnames[] = {
27798 (char *) "self",(char *) "parentId",(char *) "path", NULL
27799 };
27800
27801 arg4 = &temp4;
27802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27805 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27806 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27807 arg2 = *argp2;
27808 {
27809 arg3 = wxString_in_helper(obj2);
27810 if (arg3 == NULL) SWIG_fail;
27811 temp3 = True;
27812 }
27813 {
27814 PyThreadState* __tstate = wxPyBeginAllowThreads();
27815 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27816
27817 wxPyEndAllowThreads(__tstate);
27818 if (PyErr_Occurred()) SWIG_fail;
27819 }
27820 {
27821 wxTreeItemId * resultptr;
27822 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27824 }
27825 {
27826 PyObject *o = PyInt_FromLong((long) (*arg4));
27827 resultobj = t_output_helper(resultobj,o);
27828 }
27829 {
27830 if (temp3)
27831 delete arg3;
27832 }
27833 return resultobj;
27834 fail:
27835 {
27836 if (temp3)
27837 delete arg3;
27838 }
27839 return NULL;
27840 }
27841
27842
27843 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27844 PyObject *resultobj;
27845 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27846 PyObject * obj0 = 0 ;
27847 char *kwnames[] = {
27848 (char *) "self", NULL
27849 };
27850
27851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
27856 (arg1)->DoResize();
27857
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
27861 Py_INCREF(Py_None); resultobj = Py_None;
27862 return resultobj;
27863 fail:
27864 return NULL;
27865 }
27866
27867
27868 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27869 PyObject *resultobj;
27870 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27871 PyObject * obj0 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 (arg1)->ReCreateTree();
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 Py_INCREF(Py_None); resultobj = Py_None;
27887 return resultobj;
27888 fail:
27889 return NULL;
27890 }
27891
27892
27893 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27894 PyObject *obj;
27895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27896 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27897 Py_INCREF(obj);
27898 return Py_BuildValue((char *)"");
27899 }
27900 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27901 PyObject *resultobj;
27902 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27903 int arg2 = (int) (int)-1 ;
27904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27906 wxSize const &arg4_defvalue = wxDefaultSize ;
27907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27908 long arg5 = (long) 0 ;
27909 wxDirFilterListCtrl *result;
27910 wxPoint temp3 ;
27911 wxSize temp4 ;
27912 PyObject * obj0 = 0 ;
27913 PyObject * obj1 = 0 ;
27914 PyObject * obj2 = 0 ;
27915 PyObject * obj3 = 0 ;
27916 PyObject * obj4 = 0 ;
27917 char *kwnames[] = {
27918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27919 };
27920
27921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27924 if (obj1) {
27925 arg2 = (int const) SWIG_AsInt(obj1);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 if (obj2) {
27929 {
27930 arg3 = &temp3;
27931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27932 }
27933 }
27934 if (obj3) {
27935 {
27936 arg4 = &temp4;
27937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27938 }
27939 }
27940 if (obj4) {
27941 arg5 = (long) SWIG_AsLong(obj4);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 }
27944 {
27945 PyThreadState* __tstate = wxPyBeginAllowThreads();
27946 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27947
27948 wxPyEndAllowThreads(__tstate);
27949 if (PyErr_Occurred()) SWIG_fail;
27950 }
27951 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27952 return resultobj;
27953 fail:
27954 return NULL;
27955 }
27956
27957
27958 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27959 PyObject *resultobj;
27960 wxDirFilterListCtrl *result;
27961 char *kwnames[] = {
27962 NULL
27963 };
27964
27965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27966 {
27967 PyThreadState* __tstate = wxPyBeginAllowThreads();
27968 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27969
27970 wxPyEndAllowThreads(__tstate);
27971 if (PyErr_Occurred()) SWIG_fail;
27972 }
27973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27974 return resultobj;
27975 fail:
27976 return NULL;
27977 }
27978
27979
27980 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27981 PyObject *resultobj;
27982 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27983 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27984 int arg3 = (int) (int)-1 ;
27985 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27986 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27987 wxSize const &arg5_defvalue = wxDefaultSize ;
27988 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27989 long arg6 = (long) 0 ;
27990 bool result;
27991 wxPoint temp4 ;
27992 wxSize temp5 ;
27993 PyObject * obj0 = 0 ;
27994 PyObject * obj1 = 0 ;
27995 PyObject * obj2 = 0 ;
27996 PyObject * obj3 = 0 ;
27997 PyObject * obj4 = 0 ;
27998 PyObject * obj5 = 0 ;
27999 char *kwnames[] = {
28000 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28001 };
28002
28003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28008 if (obj2) {
28009 arg3 = (int const) SWIG_AsInt(obj2);
28010 if (PyErr_Occurred()) SWIG_fail;
28011 }
28012 if (obj3) {
28013 {
28014 arg4 = &temp4;
28015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28016 }
28017 }
28018 if (obj4) {
28019 {
28020 arg5 = &temp5;
28021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28022 }
28023 }
28024 if (obj5) {
28025 arg6 = (long) SWIG_AsLong(obj5);
28026 if (PyErr_Occurred()) SWIG_fail;
28027 }
28028 {
28029 PyThreadState* __tstate = wxPyBeginAllowThreads();
28030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28031
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
28035 {
28036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28037 }
28038 return resultobj;
28039 fail:
28040 return NULL;
28041 }
28042
28043
28044 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28045 PyObject *resultobj;
28046 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28047 wxString *arg2 = 0 ;
28048 int arg3 ;
28049 bool temp2 = False ;
28050 PyObject * obj0 = 0 ;
28051 PyObject * obj1 = 0 ;
28052 PyObject * obj2 = 0 ;
28053 char *kwnames[] = {
28054 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28055 };
28056
28057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28060 {
28061 arg2 = wxString_in_helper(obj1);
28062 if (arg2 == NULL) SWIG_fail;
28063 temp2 = True;
28064 }
28065 arg3 = (int) SWIG_AsInt(obj2);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 {
28068 PyThreadState* __tstate = wxPyBeginAllowThreads();
28069 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28070
28071 wxPyEndAllowThreads(__tstate);
28072 if (PyErr_Occurred()) SWIG_fail;
28073 }
28074 Py_INCREF(Py_None); resultobj = Py_None;
28075 {
28076 if (temp2)
28077 delete arg2;
28078 }
28079 return resultobj;
28080 fail:
28081 {
28082 if (temp2)
28083 delete arg2;
28084 }
28085 return NULL;
28086 }
28087
28088
28089 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28090 PyObject *obj;
28091 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28092 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28093 Py_INCREF(obj);
28094 return Py_BuildValue((char *)"");
28095 }
28096 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28097 PyObject *resultobj;
28098 wxWindow *arg1 = (wxWindow *) 0 ;
28099 int arg2 ;
28100 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28101 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28102 wxSize const &arg4_defvalue = wxDefaultSize ;
28103 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28104 long arg5 = (long) 0 ;
28105 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28106 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28107 wxString const &arg7_defvalue = wxPyControlNameStr ;
28108 wxString *arg7 = (wxString *) &arg7_defvalue ;
28109 wxPyControl *result;
28110 wxPoint temp3 ;
28111 wxSize temp4 ;
28112 bool temp7 = False ;
28113 PyObject * obj0 = 0 ;
28114 PyObject * obj1 = 0 ;
28115 PyObject * obj2 = 0 ;
28116 PyObject * obj3 = 0 ;
28117 PyObject * obj4 = 0 ;
28118 PyObject * obj5 = 0 ;
28119 PyObject * obj6 = 0 ;
28120 char *kwnames[] = {
28121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28122 };
28123
28124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28127 arg2 = (int const) SWIG_AsInt(obj1);
28128 if (PyErr_Occurred()) SWIG_fail;
28129 if (obj2) {
28130 {
28131 arg3 = &temp3;
28132 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28133 }
28134 }
28135 if (obj3) {
28136 {
28137 arg4 = &temp4;
28138 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28139 }
28140 }
28141 if (obj4) {
28142 arg5 = (long) SWIG_AsLong(obj4);
28143 if (PyErr_Occurred()) SWIG_fail;
28144 }
28145 if (obj5) {
28146 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28147 SWIG_POINTER_EXCEPTION | 0)) == -1)
28148 SWIG_fail;
28149 if (arg6 == NULL) {
28150 PyErr_SetString(PyExc_TypeError,"null reference");
28151 SWIG_fail;
28152 }
28153 }
28154 if (obj6) {
28155 {
28156 arg7 = wxString_in_helper(obj6);
28157 if (arg7 == NULL) SWIG_fail;
28158 temp7 = True;
28159 }
28160 }
28161 {
28162 PyThreadState* __tstate = wxPyBeginAllowThreads();
28163 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28164
28165 wxPyEndAllowThreads(__tstate);
28166 if (PyErr_Occurred()) SWIG_fail;
28167 }
28168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28169 {
28170 if (temp7)
28171 delete arg7;
28172 }
28173 return resultobj;
28174 fail:
28175 {
28176 if (temp7)
28177 delete arg7;
28178 }
28179 return NULL;
28180 }
28181
28182
28183 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj;
28185 wxPyControl *result;
28186 char *kwnames[] = {
28187 NULL
28188 };
28189
28190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28191 {
28192 PyThreadState* __tstate = wxPyBeginAllowThreads();
28193 result = (wxPyControl *)new wxPyControl();
28194
28195 wxPyEndAllowThreads(__tstate);
28196 if (PyErr_Occurred()) SWIG_fail;
28197 }
28198 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28199 return resultobj;
28200 fail:
28201 return NULL;
28202 }
28203
28204
28205 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28206 PyObject *resultobj;
28207 wxPyControl *arg1 = (wxPyControl *) 0 ;
28208 PyObject *arg2 = (PyObject *) 0 ;
28209 PyObject *arg3 = (PyObject *) 0 ;
28210 PyObject * obj0 = 0 ;
28211 PyObject * obj1 = 0 ;
28212 PyObject * obj2 = 0 ;
28213 char *kwnames[] = {
28214 (char *) "self",(char *) "self",(char *) "_class", NULL
28215 };
28216
28217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28220 arg2 = obj1;
28221 arg3 = obj2;
28222 {
28223 PyThreadState* __tstate = wxPyBeginAllowThreads();
28224 (arg1)->_setCallbackInfo(arg2,arg3);
28225
28226 wxPyEndAllowThreads(__tstate);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 }
28229 Py_INCREF(Py_None); resultobj = Py_None;
28230 return resultobj;
28231 fail:
28232 return NULL;
28233 }
28234
28235
28236 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28237 PyObject *resultobj;
28238 wxPyControl *arg1 = (wxPyControl *) 0 ;
28239 int arg2 ;
28240 int arg3 ;
28241 int arg4 ;
28242 int arg5 ;
28243 PyObject * obj0 = 0 ;
28244 PyObject * obj1 = 0 ;
28245 PyObject * obj2 = 0 ;
28246 PyObject * obj3 = 0 ;
28247 PyObject * obj4 = 0 ;
28248 char *kwnames[] = {
28249 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28250 };
28251
28252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28255 arg2 = (int) SWIG_AsInt(obj1);
28256 if (PyErr_Occurred()) SWIG_fail;
28257 arg3 = (int) SWIG_AsInt(obj2);
28258 if (PyErr_Occurred()) SWIG_fail;
28259 arg4 = (int) SWIG_AsInt(obj3);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 arg5 = (int) SWIG_AsInt(obj4);
28262 if (PyErr_Occurred()) SWIG_fail;
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
28265 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
28270 Py_INCREF(Py_None); resultobj = Py_None;
28271 return resultobj;
28272 fail:
28273 return NULL;
28274 }
28275
28276
28277 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28278 PyObject *resultobj;
28279 wxPyControl *arg1 = (wxPyControl *) 0 ;
28280 int arg2 ;
28281 int arg3 ;
28282 int arg4 ;
28283 int arg5 ;
28284 int arg6 = (int) wxSIZE_AUTO ;
28285 PyObject * obj0 = 0 ;
28286 PyObject * obj1 = 0 ;
28287 PyObject * obj2 = 0 ;
28288 PyObject * obj3 = 0 ;
28289 PyObject * obj4 = 0 ;
28290 PyObject * obj5 = 0 ;
28291 char *kwnames[] = {
28292 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28293 };
28294
28295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28298 arg2 = (int) SWIG_AsInt(obj1);
28299 if (PyErr_Occurred()) SWIG_fail;
28300 arg3 = (int) SWIG_AsInt(obj2);
28301 if (PyErr_Occurred()) SWIG_fail;
28302 arg4 = (int) SWIG_AsInt(obj3);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 arg5 = (int) SWIG_AsInt(obj4);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 if (obj5) {
28307 arg6 = (int) SWIG_AsInt(obj5);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 {
28311 PyThreadState* __tstate = wxPyBeginAllowThreads();
28312 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28313
28314 wxPyEndAllowThreads(__tstate);
28315 if (PyErr_Occurred()) SWIG_fail;
28316 }
28317 Py_INCREF(Py_None); resultobj = Py_None;
28318 return resultobj;
28319 fail:
28320 return NULL;
28321 }
28322
28323
28324 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28325 PyObject *resultobj;
28326 wxPyControl *arg1 = (wxPyControl *) 0 ;
28327 int arg2 ;
28328 int arg3 ;
28329 PyObject * obj0 = 0 ;
28330 PyObject * obj1 = 0 ;
28331 PyObject * obj2 = 0 ;
28332 char *kwnames[] = {
28333 (char *) "self",(char *) "width",(char *) "height", NULL
28334 };
28335
28336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28339 arg2 = (int) SWIG_AsInt(obj1);
28340 if (PyErr_Occurred()) SWIG_fail;
28341 arg3 = (int) SWIG_AsInt(obj2);
28342 if (PyErr_Occurred()) SWIG_fail;
28343 {
28344 PyThreadState* __tstate = wxPyBeginAllowThreads();
28345 (arg1)->base_DoSetClientSize(arg2,arg3);
28346
28347 wxPyEndAllowThreads(__tstate);
28348 if (PyErr_Occurred()) SWIG_fail;
28349 }
28350 Py_INCREF(Py_None); resultobj = Py_None;
28351 return resultobj;
28352 fail:
28353 return NULL;
28354 }
28355
28356
28357 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28358 PyObject *resultobj;
28359 wxPyControl *arg1 = (wxPyControl *) 0 ;
28360 int arg2 ;
28361 int arg3 ;
28362 PyObject * obj0 = 0 ;
28363 PyObject * obj1 = 0 ;
28364 PyObject * obj2 = 0 ;
28365 char *kwnames[] = {
28366 (char *) "self",(char *) "x",(char *) "y", NULL
28367 };
28368
28369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28372 arg2 = (int) SWIG_AsInt(obj1);
28373 if (PyErr_Occurred()) SWIG_fail;
28374 arg3 = (int) SWIG_AsInt(obj2);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 Py_INCREF(Py_None); resultobj = Py_None;
28384 return resultobj;
28385 fail:
28386 return NULL;
28387 }
28388
28389
28390 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj;
28392 wxPyControl *arg1 = (wxPyControl *) 0 ;
28393 int *arg2 = (int *) 0 ;
28394 int *arg3 = (int *) 0 ;
28395 int temp2 ;
28396 int temp3 ;
28397 PyObject * obj0 = 0 ;
28398 char *kwnames[] = {
28399 (char *) "self", NULL
28400 };
28401
28402 arg2 = &temp2;
28403 arg3 = &temp3;
28404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28407 {
28408 PyThreadState* __tstate = wxPyBeginAllowThreads();
28409 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28410
28411 wxPyEndAllowThreads(__tstate);
28412 if (PyErr_Occurred()) SWIG_fail;
28413 }
28414 Py_INCREF(Py_None); resultobj = Py_None;
28415 {
28416 PyObject *o = PyInt_FromLong((long) (*arg2));
28417 resultobj = t_output_helper(resultobj,o);
28418 }
28419 {
28420 PyObject *o = PyInt_FromLong((long) (*arg3));
28421 resultobj = t_output_helper(resultobj,o);
28422 }
28423 return resultobj;
28424 fail:
28425 return NULL;
28426 }
28427
28428
28429 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28430 PyObject *resultobj;
28431 wxPyControl *arg1 = (wxPyControl *) 0 ;
28432 int *arg2 = (int *) 0 ;
28433 int *arg3 = (int *) 0 ;
28434 int temp2 ;
28435 int temp3 ;
28436 PyObject * obj0 = 0 ;
28437 char *kwnames[] = {
28438 (char *) "self", NULL
28439 };
28440
28441 arg2 = &temp2;
28442 arg3 = &temp3;
28443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28446 {
28447 PyThreadState* __tstate = wxPyBeginAllowThreads();
28448 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28449
28450 wxPyEndAllowThreads(__tstate);
28451 if (PyErr_Occurred()) SWIG_fail;
28452 }
28453 Py_INCREF(Py_None); resultobj = Py_None;
28454 {
28455 PyObject *o = PyInt_FromLong((long) (*arg2));
28456 resultobj = t_output_helper(resultobj,o);
28457 }
28458 {
28459 PyObject *o = PyInt_FromLong((long) (*arg3));
28460 resultobj = t_output_helper(resultobj,o);
28461 }
28462 return resultobj;
28463 fail:
28464 return NULL;
28465 }
28466
28467
28468 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28469 PyObject *resultobj;
28470 wxPyControl *arg1 = (wxPyControl *) 0 ;
28471 int *arg2 = (int *) 0 ;
28472 int *arg3 = (int *) 0 ;
28473 int temp2 ;
28474 int temp3 ;
28475 PyObject * obj0 = 0 ;
28476 char *kwnames[] = {
28477 (char *) "self", NULL
28478 };
28479
28480 arg2 = &temp2;
28481 arg3 = &temp3;
28482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28485 {
28486 PyThreadState* __tstate = wxPyBeginAllowThreads();
28487 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28488
28489 wxPyEndAllowThreads(__tstate);
28490 if (PyErr_Occurred()) SWIG_fail;
28491 }
28492 Py_INCREF(Py_None); resultobj = Py_None;
28493 {
28494 PyObject *o = PyInt_FromLong((long) (*arg2));
28495 resultobj = t_output_helper(resultobj,o);
28496 }
28497 {
28498 PyObject *o = PyInt_FromLong((long) (*arg3));
28499 resultobj = t_output_helper(resultobj,o);
28500 }
28501 return resultobj;
28502 fail:
28503 return NULL;
28504 }
28505
28506
28507 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj;
28509 wxPyControl *arg1 = (wxPyControl *) 0 ;
28510 wxSize result;
28511 PyObject * obj0 = 0 ;
28512 char *kwnames[] = {
28513 (char *) "self", NULL
28514 };
28515
28516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28519 {
28520 PyThreadState* __tstate = wxPyBeginAllowThreads();
28521 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28522
28523 wxPyEndAllowThreads(__tstate);
28524 if (PyErr_Occurred()) SWIG_fail;
28525 }
28526 {
28527 wxSize * resultptr;
28528 resultptr = new wxSize((wxSize &) result);
28529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28530 }
28531 return resultobj;
28532 fail:
28533 return NULL;
28534 }
28535
28536
28537 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28538 PyObject *resultobj;
28539 wxPyControl *arg1 = (wxPyControl *) 0 ;
28540 wxSize result;
28541 PyObject * obj0 = 0 ;
28542 char *kwnames[] = {
28543 (char *) "self", NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28549 {
28550 PyThreadState* __tstate = wxPyBeginAllowThreads();
28551 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 {
28557 wxSize * resultptr;
28558 resultptr = new wxSize((wxSize &) result);
28559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28560 }
28561 return resultobj;
28562 fail:
28563 return NULL;
28564 }
28565
28566
28567 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28568 PyObject *resultobj;
28569 wxPyControl *arg1 = (wxPyControl *) 0 ;
28570 PyObject * obj0 = 0 ;
28571 char *kwnames[] = {
28572 (char *) "self", NULL
28573 };
28574
28575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
28576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28578 {
28579 PyThreadState* __tstate = wxPyBeginAllowThreads();
28580 (arg1)->base_InitDialog();
28581
28582 wxPyEndAllowThreads(__tstate);
28583 if (PyErr_Occurred()) SWIG_fail;
28584 }
28585 Py_INCREF(Py_None); resultobj = Py_None;
28586 return resultobj;
28587 fail:
28588 return NULL;
28589 }
28590
28591
28592 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28593 PyObject *resultobj;
28594 wxPyControl *arg1 = (wxPyControl *) 0 ;
28595 bool result;
28596 PyObject * obj0 = 0 ;
28597 char *kwnames[] = {
28598 (char *) "self", NULL
28599 };
28600
28601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28604 {
28605 PyThreadState* __tstate = wxPyBeginAllowThreads();
28606 result = (bool)(arg1)->base_TransferDataToWindow();
28607
28608 wxPyEndAllowThreads(__tstate);
28609 if (PyErr_Occurred()) SWIG_fail;
28610 }
28611 {
28612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28613 }
28614 return resultobj;
28615 fail:
28616 return NULL;
28617 }
28618
28619
28620 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28621 PyObject *resultobj;
28622 wxPyControl *arg1 = (wxPyControl *) 0 ;
28623 bool result;
28624 PyObject * obj0 = 0 ;
28625 char *kwnames[] = {
28626 (char *) "self", NULL
28627 };
28628
28629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28632 {
28633 PyThreadState* __tstate = wxPyBeginAllowThreads();
28634 result = (bool)(arg1)->base_TransferDataFromWindow();
28635
28636 wxPyEndAllowThreads(__tstate);
28637 if (PyErr_Occurred()) SWIG_fail;
28638 }
28639 {
28640 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28641 }
28642 return resultobj;
28643 fail:
28644 return NULL;
28645 }
28646
28647
28648 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28649 PyObject *resultobj;
28650 wxPyControl *arg1 = (wxPyControl *) 0 ;
28651 bool result;
28652 PyObject * obj0 = 0 ;
28653 char *kwnames[] = {
28654 (char *) "self", NULL
28655 };
28656
28657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28660 {
28661 PyThreadState* __tstate = wxPyBeginAllowThreads();
28662 result = (bool)(arg1)->base_Validate();
28663
28664 wxPyEndAllowThreads(__tstate);
28665 if (PyErr_Occurred()) SWIG_fail;
28666 }
28667 {
28668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28669 }
28670 return resultobj;
28671 fail:
28672 return NULL;
28673 }
28674
28675
28676 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28677 PyObject *resultobj;
28678 wxPyControl *arg1 = (wxPyControl *) 0 ;
28679 bool result;
28680 PyObject * obj0 = 0 ;
28681 char *kwnames[] = {
28682 (char *) "self", NULL
28683 };
28684
28685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28688 {
28689 PyThreadState* __tstate = wxPyBeginAllowThreads();
28690 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28691
28692 wxPyEndAllowThreads(__tstate);
28693 if (PyErr_Occurred()) SWIG_fail;
28694 }
28695 {
28696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28697 }
28698 return resultobj;
28699 fail:
28700 return NULL;
28701 }
28702
28703
28704 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28705 PyObject *resultobj;
28706 wxPyControl *arg1 = (wxPyControl *) 0 ;
28707 bool result;
28708 PyObject * obj0 = 0 ;
28709 char *kwnames[] = {
28710 (char *) "self", NULL
28711 };
28712
28713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28719
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 {
28724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28725 }
28726 return resultobj;
28727 fail:
28728 return NULL;
28729 }
28730
28731
28732 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28733 PyObject *resultobj;
28734 wxPyControl *arg1 = (wxPyControl *) 0 ;
28735 wxSize result;
28736 PyObject * obj0 = 0 ;
28737 char *kwnames[] = {
28738 (char *) "self", NULL
28739 };
28740
28741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 {
28752 wxSize * resultptr;
28753 resultptr = new wxSize((wxSize &) result);
28754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28755 }
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28763 PyObject *resultobj;
28764 wxPyControl *arg1 = (wxPyControl *) 0 ;
28765 wxWindow *arg2 = (wxWindow *) 0 ;
28766 PyObject * obj0 = 0 ;
28767 PyObject * obj1 = 0 ;
28768 char *kwnames[] = {
28769 (char *) "self",(char *) "child", NULL
28770 };
28771
28772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28775 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28777 {
28778 PyThreadState* __tstate = wxPyBeginAllowThreads();
28779 (arg1)->base_AddChild(arg2);
28780
28781 wxPyEndAllowThreads(__tstate);
28782 if (PyErr_Occurred()) SWIG_fail;
28783 }
28784 Py_INCREF(Py_None); resultobj = Py_None;
28785 return resultobj;
28786 fail:
28787 return NULL;
28788 }
28789
28790
28791 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28792 PyObject *resultobj;
28793 wxPyControl *arg1 = (wxPyControl *) 0 ;
28794 wxWindow *arg2 = (wxWindow *) 0 ;
28795 PyObject * obj0 = 0 ;
28796 PyObject * obj1 = 0 ;
28797 char *kwnames[] = {
28798 (char *) "self",(char *) "child", NULL
28799 };
28800
28801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28806 {
28807 PyThreadState* __tstate = wxPyBeginAllowThreads();
28808 (arg1)->base_RemoveChild(arg2);
28809
28810 wxPyEndAllowThreads(__tstate);
28811 if (PyErr_Occurred()) SWIG_fail;
28812 }
28813 Py_INCREF(Py_None); resultobj = Py_None;
28814 return resultobj;
28815 fail:
28816 return NULL;
28817 }
28818
28819
28820 static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28821 PyObject *resultobj;
28822 wxPyControl *arg1 = (wxPyControl *) 0 ;
28823 bool result;
28824 PyObject * obj0 = 0 ;
28825 char *kwnames[] = {
28826 (char *) "self", NULL
28827 };
28828
28829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28832 {
28833 PyThreadState* __tstate = wxPyBeginAllowThreads();
28834 result = (bool)(arg1)->base_ShouldInheritColours();
28835
28836 wxPyEndAllowThreads(__tstate);
28837 if (PyErr_Occurred()) SWIG_fail;
28838 }
28839 {
28840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28841 }
28842 return resultobj;
28843 fail:
28844 return NULL;
28845 }
28846
28847
28848 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28849 PyObject *resultobj;
28850 wxPyControl *arg1 = (wxPyControl *) 0 ;
28851 wxColour *arg2 = 0 ;
28852 wxColour temp2 ;
28853 PyObject * obj0 = 0 ;
28854 PyObject * obj1 = 0 ;
28855 char *kwnames[] = {
28856 (char *) "self",(char *) "c", NULL
28857 };
28858
28859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28862 {
28863 arg2 = &temp2;
28864 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28865 }
28866 {
28867 PyThreadState* __tstate = wxPyBeginAllowThreads();
28868 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28869
28870 wxPyEndAllowThreads(__tstate);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 }
28873 Py_INCREF(Py_None); resultobj = Py_None;
28874 return resultobj;
28875 fail:
28876 return NULL;
28877 }
28878
28879
28880 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28881 PyObject *obj;
28882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28883 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28884 Py_INCREF(obj);
28885 return Py_BuildValue((char *)"");
28886 }
28887 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28888 PyObject *resultobj;
28889 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28890 int arg2 = (int) 0 ;
28891 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28892 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28893 wxHelpEvent *result;
28894 wxPoint temp3 ;
28895 PyObject * obj0 = 0 ;
28896 PyObject * obj1 = 0 ;
28897 PyObject * obj2 = 0 ;
28898 char *kwnames[] = {
28899 (char *) "type",(char *) "winid",(char *) "pt", NULL
28900 };
28901
28902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28903 if (obj0) {
28904 arg1 = (wxEventType) SWIG_AsInt(obj0);
28905 if (PyErr_Occurred()) SWIG_fail;
28906 }
28907 if (obj1) {
28908 arg2 = (int) SWIG_AsInt(obj1);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
28911 if (obj2) {
28912 {
28913 arg3 = &temp3;
28914 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28915 }
28916 }
28917 {
28918 PyThreadState* __tstate = wxPyBeginAllowThreads();
28919 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28920
28921 wxPyEndAllowThreads(__tstate);
28922 if (PyErr_Occurred()) SWIG_fail;
28923 }
28924 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28925 return resultobj;
28926 fail:
28927 return NULL;
28928 }
28929
28930
28931 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28932 PyObject *resultobj;
28933 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28934 wxPoint result;
28935 PyObject * obj0 = 0 ;
28936 char *kwnames[] = {
28937 (char *) "self", NULL
28938 };
28939
28940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28943 {
28944 PyThreadState* __tstate = wxPyBeginAllowThreads();
28945 result = ((wxHelpEvent const *)arg1)->GetPosition();
28946
28947 wxPyEndAllowThreads(__tstate);
28948 if (PyErr_Occurred()) SWIG_fail;
28949 }
28950 {
28951 wxPoint * resultptr;
28952 resultptr = new wxPoint((wxPoint &) result);
28953 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28954 }
28955 return resultobj;
28956 fail:
28957 return NULL;
28958 }
28959
28960
28961 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28962 PyObject *resultobj;
28963 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28964 wxPoint *arg2 = 0 ;
28965 wxPoint temp2 ;
28966 PyObject * obj0 = 0 ;
28967 PyObject * obj1 = 0 ;
28968 char *kwnames[] = {
28969 (char *) "self",(char *) "pos", NULL
28970 };
28971
28972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28975 {
28976 arg2 = &temp2;
28977 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28978 }
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 (arg1)->SetPosition((wxPoint const &)*arg2);
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 Py_INCREF(Py_None); resultobj = Py_None;
28987 return resultobj;
28988 fail:
28989 return NULL;
28990 }
28991
28992
28993 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28994 PyObject *resultobj;
28995 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28996 wxString *result;
28997 PyObject * obj0 = 0 ;
28998 char *kwnames[] = {
28999 (char *) "self", NULL
29000 };
29001
29002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29005 {
29006 PyThreadState* __tstate = wxPyBeginAllowThreads();
29007 {
29008 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29009 result = (wxString *) &_result_ref;
29010 }
29011
29012 wxPyEndAllowThreads(__tstate);
29013 if (PyErr_Occurred()) SWIG_fail;
29014 }
29015 {
29016 #if wxUSE_UNICODE
29017 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29018 #else
29019 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29020 #endif
29021 }
29022 return resultobj;
29023 fail:
29024 return NULL;
29025 }
29026
29027
29028 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29029 PyObject *resultobj;
29030 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29031 wxString *arg2 = 0 ;
29032 bool temp2 = False ;
29033 PyObject * obj0 = 0 ;
29034 PyObject * obj1 = 0 ;
29035 char *kwnames[] = {
29036 (char *) "self",(char *) "link", NULL
29037 };
29038
29039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29042 {
29043 arg2 = wxString_in_helper(obj1);
29044 if (arg2 == NULL) SWIG_fail;
29045 temp2 = True;
29046 }
29047 {
29048 PyThreadState* __tstate = wxPyBeginAllowThreads();
29049 (arg1)->SetLink((wxString const &)*arg2);
29050
29051 wxPyEndAllowThreads(__tstate);
29052 if (PyErr_Occurred()) SWIG_fail;
29053 }
29054 Py_INCREF(Py_None); resultobj = Py_None;
29055 {
29056 if (temp2)
29057 delete arg2;
29058 }
29059 return resultobj;
29060 fail:
29061 {
29062 if (temp2)
29063 delete arg2;
29064 }
29065 return NULL;
29066 }
29067
29068
29069 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29070 PyObject *resultobj;
29071 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29072 wxString *result;
29073 PyObject * obj0 = 0 ;
29074 char *kwnames[] = {
29075 (char *) "self", NULL
29076 };
29077
29078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29081 {
29082 PyThreadState* __tstate = wxPyBeginAllowThreads();
29083 {
29084 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29085 result = (wxString *) &_result_ref;
29086 }
29087
29088 wxPyEndAllowThreads(__tstate);
29089 if (PyErr_Occurred()) SWIG_fail;
29090 }
29091 {
29092 #if wxUSE_UNICODE
29093 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29094 #else
29095 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29096 #endif
29097 }
29098 return resultobj;
29099 fail:
29100 return NULL;
29101 }
29102
29103
29104 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29105 PyObject *resultobj;
29106 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29107 wxString *arg2 = 0 ;
29108 bool temp2 = False ;
29109 PyObject * obj0 = 0 ;
29110 PyObject * obj1 = 0 ;
29111 char *kwnames[] = {
29112 (char *) "self",(char *) "target", NULL
29113 };
29114
29115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29118 {
29119 arg2 = wxString_in_helper(obj1);
29120 if (arg2 == NULL) SWIG_fail;
29121 temp2 = True;
29122 }
29123 {
29124 PyThreadState* __tstate = wxPyBeginAllowThreads();
29125 (arg1)->SetTarget((wxString const &)*arg2);
29126
29127 wxPyEndAllowThreads(__tstate);
29128 if (PyErr_Occurred()) SWIG_fail;
29129 }
29130 Py_INCREF(Py_None); resultobj = Py_None;
29131 {
29132 if (temp2)
29133 delete arg2;
29134 }
29135 return resultobj;
29136 fail:
29137 {
29138 if (temp2)
29139 delete arg2;
29140 }
29141 return NULL;
29142 }
29143
29144
29145 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29146 PyObject *obj;
29147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29148 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29149 Py_INCREF(obj);
29150 return Py_BuildValue((char *)"");
29151 }
29152 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29153 PyObject *resultobj;
29154 wxWindow *arg1 = (wxWindow *) NULL ;
29155 bool arg2 = (bool) True ;
29156 wxContextHelp *result;
29157 PyObject * obj0 = 0 ;
29158 PyObject * obj1 = 0 ;
29159 char *kwnames[] = {
29160 (char *) "window",(char *) "doNow", NULL
29161 };
29162
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29164 if (obj0) {
29165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29167 }
29168 if (obj1) {
29169 arg2 = (bool) SWIG_AsBool(obj1);
29170 if (PyErr_Occurred()) SWIG_fail;
29171 }
29172 {
29173 PyThreadState* __tstate = wxPyBeginAllowThreads();
29174 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29175
29176 wxPyEndAllowThreads(__tstate);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 }
29179 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
29180 return resultobj;
29181 fail:
29182 return NULL;
29183 }
29184
29185
29186 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29187 PyObject *resultobj;
29188 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29189 PyObject * obj0 = 0 ;
29190 char *kwnames[] = {
29191 (char *) "self", NULL
29192 };
29193
29194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
29195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 delete arg1;
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
29204 Py_INCREF(Py_None); resultobj = Py_None;
29205 return resultobj;
29206 fail:
29207 return NULL;
29208 }
29209
29210
29211 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29212 PyObject *resultobj;
29213 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29214 wxWindow *arg2 = (wxWindow *) NULL ;
29215 bool result;
29216 PyObject * obj0 = 0 ;
29217 PyObject * obj1 = 0 ;
29218 char *kwnames[] = {
29219 (char *) "self",(char *) "window", NULL
29220 };
29221
29222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
29223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29225 if (obj1) {
29226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29228 }
29229 {
29230 PyThreadState* __tstate = wxPyBeginAllowThreads();
29231 result = (bool)(arg1)->BeginContextHelp(arg2);
29232
29233 wxPyEndAllowThreads(__tstate);
29234 if (PyErr_Occurred()) SWIG_fail;
29235 }
29236 {
29237 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29238 }
29239 return resultobj;
29240 fail:
29241 return NULL;
29242 }
29243
29244
29245 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29246 PyObject *resultobj;
29247 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29248 bool result;
29249 PyObject * obj0 = 0 ;
29250 char *kwnames[] = {
29251 (char *) "self", NULL
29252 };
29253
29254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
29255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 result = (bool)(arg1)->EndContextHelp();
29260
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
29264 {
29265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29266 }
29267 return resultobj;
29268 fail:
29269 return NULL;
29270 }
29271
29272
29273 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29274 PyObject *obj;
29275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29276 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29277 Py_INCREF(obj);
29278 return Py_BuildValue((char *)"");
29279 }
29280 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29281 PyObject *resultobj;
29282 wxWindow *arg1 = (wxWindow *) 0 ;
29283 int arg2 = (int) wxID_CONTEXT_HELP ;
29284 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29285 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29286 wxSize const &arg4_defvalue = wxDefaultSize ;
29287 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29288 long arg5 = (long) wxBU_AUTODRAW ;
29289 wxContextHelpButton *result;
29290 wxPoint temp3 ;
29291 wxSize temp4 ;
29292 PyObject * obj0 = 0 ;
29293 PyObject * obj1 = 0 ;
29294 PyObject * obj2 = 0 ;
29295 PyObject * obj3 = 0 ;
29296 PyObject * obj4 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29299 };
29300
29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29304 if (obj1) {
29305 arg2 = (int) SWIG_AsInt(obj1);
29306 if (PyErr_Occurred()) SWIG_fail;
29307 }
29308 if (obj2) {
29309 {
29310 arg3 = &temp3;
29311 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29312 }
29313 }
29314 if (obj3) {
29315 {
29316 arg4 = &temp4;
29317 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29318 }
29319 }
29320 if (obj4) {
29321 arg5 = (long) SWIG_AsLong(obj4);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 {
29325 PyThreadState* __tstate = wxPyBeginAllowThreads();
29326 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29327
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29332 return resultobj;
29333 fail:
29334 return NULL;
29335 }
29336
29337
29338 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29339 PyObject *obj;
29340 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29341 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29342 Py_INCREF(obj);
29343 return Py_BuildValue((char *)"");
29344 }
29345 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29346 PyObject *resultobj;
29347 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29348 wxHelpProvider *result;
29349 PyObject * obj0 = 0 ;
29350 char *kwnames[] = {
29351 (char *) "helpProvider", NULL
29352 };
29353
29354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29357 {
29358 PyThreadState* __tstate = wxPyBeginAllowThreads();
29359 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29360
29361 wxPyEndAllowThreads(__tstate);
29362 if (PyErr_Occurred()) SWIG_fail;
29363 }
29364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29365 return resultobj;
29366 fail:
29367 return NULL;
29368 }
29369
29370
29371 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29372 PyObject *resultobj;
29373 wxHelpProvider *result;
29374 char *kwnames[] = {
29375 NULL
29376 };
29377
29378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29379 {
29380 PyThreadState* __tstate = wxPyBeginAllowThreads();
29381 result = (wxHelpProvider *)wxHelpProvider::Get();
29382
29383 wxPyEndAllowThreads(__tstate);
29384 if (PyErr_Occurred()) SWIG_fail;
29385 }
29386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29387 return resultobj;
29388 fail:
29389 return NULL;
29390 }
29391
29392
29393 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29394 PyObject *resultobj;
29395 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29396 wxWindow *arg2 = (wxWindow *) 0 ;
29397 wxString result;
29398 PyObject * obj0 = 0 ;
29399 PyObject * obj1 = 0 ;
29400 char *kwnames[] = {
29401 (char *) "self",(char *) "window", NULL
29402 };
29403
29404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29409 {
29410 PyThreadState* __tstate = wxPyBeginAllowThreads();
29411 result = (arg1)->GetHelp((wxWindow const *)arg2);
29412
29413 wxPyEndAllowThreads(__tstate);
29414 if (PyErr_Occurred()) SWIG_fail;
29415 }
29416 {
29417 #if wxUSE_UNICODE
29418 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29419 #else
29420 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29421 #endif
29422 }
29423 return resultobj;
29424 fail:
29425 return NULL;
29426 }
29427
29428
29429 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29430 PyObject *resultobj;
29431 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29432 wxWindow *arg2 = (wxWindow *) 0 ;
29433 bool result;
29434 PyObject * obj0 = 0 ;
29435 PyObject * obj1 = 0 ;
29436 char *kwnames[] = {
29437 (char *) "self",(char *) "window", NULL
29438 };
29439
29440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29445 {
29446 PyThreadState* __tstate = wxPyBeginAllowThreads();
29447 result = (bool)(arg1)->ShowHelp(arg2);
29448
29449 wxPyEndAllowThreads(__tstate);
29450 if (PyErr_Occurred()) SWIG_fail;
29451 }
29452 {
29453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29454 }
29455 return resultobj;
29456 fail:
29457 return NULL;
29458 }
29459
29460
29461 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29462 PyObject *resultobj;
29463 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29464 wxWindow *arg2 = (wxWindow *) 0 ;
29465 wxString *arg3 = 0 ;
29466 bool temp3 = False ;
29467 PyObject * obj0 = 0 ;
29468 PyObject * obj1 = 0 ;
29469 PyObject * obj2 = 0 ;
29470 char *kwnames[] = {
29471 (char *) "self",(char *) "window",(char *) "text", NULL
29472 };
29473
29474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29479 {
29480 arg3 = wxString_in_helper(obj2);
29481 if (arg3 == NULL) SWIG_fail;
29482 temp3 = True;
29483 }
29484 {
29485 PyThreadState* __tstate = wxPyBeginAllowThreads();
29486 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29487
29488 wxPyEndAllowThreads(__tstate);
29489 if (PyErr_Occurred()) SWIG_fail;
29490 }
29491 Py_INCREF(Py_None); resultobj = Py_None;
29492 {
29493 if (temp3)
29494 delete arg3;
29495 }
29496 return resultobj;
29497 fail:
29498 {
29499 if (temp3)
29500 delete arg3;
29501 }
29502 return NULL;
29503 }
29504
29505
29506 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29507 PyObject *resultobj;
29508 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29509 int arg2 ;
29510 wxString *arg3 = 0 ;
29511 bool temp3 = False ;
29512 PyObject * obj0 = 0 ;
29513 PyObject * obj1 = 0 ;
29514 PyObject * obj2 = 0 ;
29515 char *kwnames[] = {
29516 (char *) "self",(char *) "id",(char *) "text", NULL
29517 };
29518
29519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29522 arg2 = (int) SWIG_AsInt(obj1);
29523 if (PyErr_Occurred()) SWIG_fail;
29524 {
29525 arg3 = wxString_in_helper(obj2);
29526 if (arg3 == NULL) SWIG_fail;
29527 temp3 = True;
29528 }
29529 {
29530 PyThreadState* __tstate = wxPyBeginAllowThreads();
29531 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29532
29533 wxPyEndAllowThreads(__tstate);
29534 if (PyErr_Occurred()) SWIG_fail;
29535 }
29536 Py_INCREF(Py_None); resultobj = Py_None;
29537 {
29538 if (temp3)
29539 delete arg3;
29540 }
29541 return resultobj;
29542 fail:
29543 {
29544 if (temp3)
29545 delete arg3;
29546 }
29547 return NULL;
29548 }
29549
29550
29551 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29552 PyObject *resultobj;
29553 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29554 wxWindow *arg2 = (wxWindow *) 0 ;
29555 PyObject * obj0 = 0 ;
29556 PyObject * obj1 = 0 ;
29557 char *kwnames[] = {
29558 (char *) "self",(char *) "window", NULL
29559 };
29560
29561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 (arg1)->RemoveHelp(arg2);
29569
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 Py_INCREF(Py_None); resultobj = Py_None;
29574 return resultobj;
29575 fail:
29576 return NULL;
29577 }
29578
29579
29580 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29581 PyObject *resultobj;
29582 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29583 PyObject * obj0 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29591 {
29592 PyThreadState* __tstate = wxPyBeginAllowThreads();
29593 wxHelpProvider_Destroy(arg1);
29594
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 Py_INCREF(Py_None); resultobj = Py_None;
29599 return resultobj;
29600 fail:
29601 return NULL;
29602 }
29603
29604
29605 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29606 PyObject *obj;
29607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29608 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29609 Py_INCREF(obj);
29610 return Py_BuildValue((char *)"");
29611 }
29612 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj;
29614 wxSimpleHelpProvider *result;
29615 char *kwnames[] = {
29616 NULL
29617 };
29618
29619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29620 {
29621 PyThreadState* __tstate = wxPyBeginAllowThreads();
29622 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29623
29624 wxPyEndAllowThreads(__tstate);
29625 if (PyErr_Occurred()) SWIG_fail;
29626 }
29627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29628 return resultobj;
29629 fail:
29630 return NULL;
29631 }
29632
29633
29634 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29635 PyObject *obj;
29636 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29637 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29638 Py_INCREF(obj);
29639 return Py_BuildValue((char *)"");
29640 }
29641 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29642 PyObject *resultobj;
29643 wxBitmap *arg1 = 0 ;
29644 wxCursor const &arg2_defvalue = wxNullCursor ;
29645 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29646 wxGenericDragImage *result;
29647 PyObject * obj0 = 0 ;
29648 PyObject * obj1 = 0 ;
29649 char *kwnames[] = {
29650 (char *) "image",(char *) "cursor", NULL
29651 };
29652
29653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29655 SWIG_POINTER_EXCEPTION | 0)) == -1)
29656 SWIG_fail;
29657 if (arg1 == NULL) {
29658 PyErr_SetString(PyExc_TypeError,"null reference");
29659 SWIG_fail;
29660 }
29661 if (obj1) {
29662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29663 SWIG_POINTER_EXCEPTION | 0)) == -1)
29664 SWIG_fail;
29665 if (arg2 == NULL) {
29666 PyErr_SetString(PyExc_TypeError,"null reference");
29667 SWIG_fail;
29668 }
29669 }
29670 {
29671 PyThreadState* __tstate = wxPyBeginAllowThreads();
29672 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29673
29674 wxPyEndAllowThreads(__tstate);
29675 if (PyErr_Occurred()) SWIG_fail;
29676 }
29677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29678 return resultobj;
29679 fail:
29680 return NULL;
29681 }
29682
29683
29684 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29685 PyObject *resultobj;
29686 wxIcon *arg1 = 0 ;
29687 wxCursor const &arg2_defvalue = wxNullCursor ;
29688 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29689 wxGenericDragImage *result;
29690 PyObject * obj0 = 0 ;
29691 PyObject * obj1 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "image",(char *) "cursor", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1)
29699 SWIG_fail;
29700 if (arg1 == NULL) {
29701 PyErr_SetString(PyExc_TypeError,"null reference");
29702 SWIG_fail;
29703 }
29704 if (obj1) {
29705 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29706 SWIG_POINTER_EXCEPTION | 0)) == -1)
29707 SWIG_fail;
29708 if (arg2 == NULL) {
29709 PyErr_SetString(PyExc_TypeError,"null reference");
29710 SWIG_fail;
29711 }
29712 }
29713 {
29714 PyThreadState* __tstate = wxPyBeginAllowThreads();
29715 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29716
29717 wxPyEndAllowThreads(__tstate);
29718 if (PyErr_Occurred()) SWIG_fail;
29719 }
29720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29721 return resultobj;
29722 fail:
29723 return NULL;
29724 }
29725
29726
29727 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29728 PyObject *resultobj;
29729 wxString *arg1 = 0 ;
29730 wxCursor const &arg2_defvalue = wxNullCursor ;
29731 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29732 wxGenericDragImage *result;
29733 bool temp1 = False ;
29734 PyObject * obj0 = 0 ;
29735 PyObject * obj1 = 0 ;
29736 char *kwnames[] = {
29737 (char *) "str",(char *) "cursor", NULL
29738 };
29739
29740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29741 {
29742 arg1 = wxString_in_helper(obj0);
29743 if (arg1 == NULL) SWIG_fail;
29744 temp1 = True;
29745 }
29746 if (obj1) {
29747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29748 SWIG_POINTER_EXCEPTION | 0)) == -1)
29749 SWIG_fail;
29750 if (arg2 == NULL) {
29751 PyErr_SetString(PyExc_TypeError,"null reference");
29752 SWIG_fail;
29753 }
29754 }
29755 {
29756 PyThreadState* __tstate = wxPyBeginAllowThreads();
29757 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29758
29759 wxPyEndAllowThreads(__tstate);
29760 if (PyErr_Occurred()) SWIG_fail;
29761 }
29762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29763 {
29764 if (temp1)
29765 delete arg1;
29766 }
29767 return resultobj;
29768 fail:
29769 {
29770 if (temp1)
29771 delete arg1;
29772 }
29773 return NULL;
29774 }
29775
29776
29777 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29778 PyObject *resultobj;
29779 wxPyTreeCtrl *arg1 = 0 ;
29780 wxTreeItemId *arg2 = 0 ;
29781 wxGenericDragImage *result;
29782 PyObject * obj0 = 0 ;
29783 PyObject * obj1 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "treeCtrl",(char *) "id", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29790 SWIG_POINTER_EXCEPTION | 0)) == -1)
29791 SWIG_fail;
29792 if (arg1 == NULL) {
29793 PyErr_SetString(PyExc_TypeError,"null reference");
29794 SWIG_fail;
29795 }
29796 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29797 SWIG_POINTER_EXCEPTION | 0)) == -1)
29798 SWIG_fail;
29799 if (arg2 == NULL) {
29800 PyErr_SetString(PyExc_TypeError,"null reference");
29801 SWIG_fail;
29802 }
29803 {
29804 PyThreadState* __tstate = wxPyBeginAllowThreads();
29805 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29806
29807 wxPyEndAllowThreads(__tstate);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 }
29810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29811 return resultobj;
29812 fail:
29813 return NULL;
29814 }
29815
29816
29817 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29818 PyObject *resultobj;
29819 wxPyListCtrl *arg1 = 0 ;
29820 long arg2 ;
29821 wxGenericDragImage *result;
29822 PyObject * obj0 = 0 ;
29823 PyObject * obj1 = 0 ;
29824 char *kwnames[] = {
29825 (char *) "listCtrl",(char *) "id", NULL
29826 };
29827
29828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29830 SWIG_POINTER_EXCEPTION | 0)) == -1)
29831 SWIG_fail;
29832 if (arg1 == NULL) {
29833 PyErr_SetString(PyExc_TypeError,"null reference");
29834 SWIG_fail;
29835 }
29836 arg2 = (long) SWIG_AsLong(obj1);
29837 if (PyErr_Occurred()) SWIG_fail;
29838 {
29839 PyThreadState* __tstate = wxPyBeginAllowThreads();
29840 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29841
29842 wxPyEndAllowThreads(__tstate);
29843 if (PyErr_Occurred()) SWIG_fail;
29844 }
29845 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29846 return resultobj;
29847 fail:
29848 return NULL;
29849 }
29850
29851
29852 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29853 PyObject *resultobj;
29854 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29855 PyObject * obj0 = 0 ;
29856 char *kwnames[] = {
29857 (char *) "self", NULL
29858 };
29859
29860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29863 {
29864 PyThreadState* __tstate = wxPyBeginAllowThreads();
29865 delete arg1;
29866
29867 wxPyEndAllowThreads(__tstate);
29868 if (PyErr_Occurred()) SWIG_fail;
29869 }
29870 Py_INCREF(Py_None); resultobj = Py_None;
29871 return resultobj;
29872 fail:
29873 return NULL;
29874 }
29875
29876
29877 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj;
29879 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29880 wxBitmap *arg2 = (wxBitmap *) 0 ;
29881 PyObject * obj0 = 0 ;
29882 PyObject * obj1 = 0 ;
29883 char *kwnames[] = {
29884 (char *) "self",(char *) "bitmap", NULL
29885 };
29886
29887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
29894 (arg1)->SetBackingBitmap(arg2);
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
29899 Py_INCREF(Py_None); resultobj = Py_None;
29900 return resultobj;
29901 fail:
29902 return NULL;
29903 }
29904
29905
29906 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29907 PyObject *resultobj;
29908 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29909 wxPoint *arg2 = 0 ;
29910 wxWindow *arg3 = (wxWindow *) 0 ;
29911 bool arg4 = (bool) False ;
29912 wxRect *arg5 = (wxRect *) NULL ;
29913 bool result;
29914 wxPoint temp2 ;
29915 PyObject * obj0 = 0 ;
29916 PyObject * obj1 = 0 ;
29917 PyObject * obj2 = 0 ;
29918 PyObject * obj3 = 0 ;
29919 PyObject * obj4 = 0 ;
29920 char *kwnames[] = {
29921 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29922 };
29923
29924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29927 {
29928 arg2 = &temp2;
29929 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29930 }
29931 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29933 if (obj3) {
29934 arg4 = (bool) SWIG_AsBool(obj3);
29935 if (PyErr_Occurred()) SWIG_fail;
29936 }
29937 if (obj4) {
29938 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29940 }
29941 {
29942 PyThreadState* __tstate = wxPyBeginAllowThreads();
29943 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29944
29945 wxPyEndAllowThreads(__tstate);
29946 if (PyErr_Occurred()) SWIG_fail;
29947 }
29948 {
29949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29950 }
29951 return resultobj;
29952 fail:
29953 return NULL;
29954 }
29955
29956
29957 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29958 PyObject *resultobj;
29959 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29960 wxPoint *arg2 = 0 ;
29961 wxWindow *arg3 = (wxWindow *) 0 ;
29962 wxWindow *arg4 = (wxWindow *) 0 ;
29963 bool result;
29964 wxPoint temp2 ;
29965 PyObject * obj0 = 0 ;
29966 PyObject * obj1 = 0 ;
29967 PyObject * obj2 = 0 ;
29968 PyObject * obj3 = 0 ;
29969 char *kwnames[] = {
29970 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29971 };
29972
29973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29976 {
29977 arg2 = &temp2;
29978 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29979 }
29980 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29982 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29984 {
29985 PyThreadState* __tstate = wxPyBeginAllowThreads();
29986 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29987
29988 wxPyEndAllowThreads(__tstate);
29989 if (PyErr_Occurred()) SWIG_fail;
29990 }
29991 {
29992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29993 }
29994 return resultobj;
29995 fail:
29996 return NULL;
29997 }
29998
29999
30000 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30001 PyObject *resultobj;
30002 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30003 bool result;
30004 PyObject * obj0 = 0 ;
30005 char *kwnames[] = {
30006 (char *) "self", NULL
30007 };
30008
30009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30012 {
30013 PyThreadState* __tstate = wxPyBeginAllowThreads();
30014 result = (bool)(arg1)->EndDrag();
30015
30016 wxPyEndAllowThreads(__tstate);
30017 if (PyErr_Occurred()) SWIG_fail;
30018 }
30019 {
30020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30021 }
30022 return resultobj;
30023 fail:
30024 return NULL;
30025 }
30026
30027
30028 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30029 PyObject *resultobj;
30030 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30031 wxPoint *arg2 = 0 ;
30032 bool result;
30033 wxPoint temp2 ;
30034 PyObject * obj0 = 0 ;
30035 PyObject * obj1 = 0 ;
30036 char *kwnames[] = {
30037 (char *) "self",(char *) "pt", NULL
30038 };
30039
30040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30043 {
30044 arg2 = &temp2;
30045 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30046 }
30047 {
30048 PyThreadState* __tstate = wxPyBeginAllowThreads();
30049 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
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 *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30064 PyObject *resultobj;
30065 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30066 bool result;
30067 PyObject * obj0 = 0 ;
30068 char *kwnames[] = {
30069 (char *) "self", NULL
30070 };
30071
30072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30075 {
30076 PyThreadState* __tstate = wxPyBeginAllowThreads();
30077 result = (bool)(arg1)->Show();
30078
30079 wxPyEndAllowThreads(__tstate);
30080 if (PyErr_Occurred()) SWIG_fail;
30081 }
30082 {
30083 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30084 }
30085 return resultobj;
30086 fail:
30087 return NULL;
30088 }
30089
30090
30091 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30092 PyObject *resultobj;
30093 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30094 bool result;
30095 PyObject * obj0 = 0 ;
30096 char *kwnames[] = {
30097 (char *) "self", NULL
30098 };
30099
30100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30103 {
30104 PyThreadState* __tstate = wxPyBeginAllowThreads();
30105 result = (bool)(arg1)->Hide();
30106
30107 wxPyEndAllowThreads(__tstate);
30108 if (PyErr_Occurred()) SWIG_fail;
30109 }
30110 {
30111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30112 }
30113 return resultobj;
30114 fail:
30115 return NULL;
30116 }
30117
30118
30119 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30120 PyObject *resultobj;
30121 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30122 wxPoint *arg2 = 0 ;
30123 wxRect result;
30124 wxPoint temp2 ;
30125 PyObject * obj0 = 0 ;
30126 PyObject * obj1 = 0 ;
30127 char *kwnames[] = {
30128 (char *) "self",(char *) "pos", NULL
30129 };
30130
30131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30134 {
30135 arg2 = &temp2;
30136 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30137 }
30138 {
30139 PyThreadState* __tstate = wxPyBeginAllowThreads();
30140 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30141
30142 wxPyEndAllowThreads(__tstate);
30143 if (PyErr_Occurred()) SWIG_fail;
30144 }
30145 {
30146 wxRect * resultptr;
30147 resultptr = new wxRect((wxRect &) result);
30148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30149 }
30150 return resultobj;
30151 fail:
30152 return NULL;
30153 }
30154
30155
30156 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30157 PyObject *resultobj;
30158 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30159 wxDC *arg2 = 0 ;
30160 wxPoint *arg3 = 0 ;
30161 bool result;
30162 wxPoint temp3 ;
30163 PyObject * obj0 = 0 ;
30164 PyObject * obj1 = 0 ;
30165 PyObject * obj2 = 0 ;
30166 char *kwnames[] = {
30167 (char *) "self",(char *) "dc",(char *) "pos", NULL
30168 };
30169
30170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
30171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30173 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30174 SWIG_POINTER_EXCEPTION | 0)) == -1)
30175 SWIG_fail;
30176 if (arg2 == NULL) {
30177 PyErr_SetString(PyExc_TypeError,"null reference");
30178 SWIG_fail;
30179 }
30180 {
30181 arg3 = &temp3;
30182 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30183 }
30184 {
30185 PyThreadState* __tstate = wxPyBeginAllowThreads();
30186 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30187
30188 wxPyEndAllowThreads(__tstate);
30189 if (PyErr_Occurred()) SWIG_fail;
30190 }
30191 {
30192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30193 }
30194 return resultobj;
30195 fail:
30196 return NULL;
30197 }
30198
30199
30200 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30201 PyObject *resultobj;
30202 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30203 wxDC *arg2 = 0 ;
30204 wxMemoryDC *arg3 = 0 ;
30205 wxRect *arg4 = 0 ;
30206 wxRect *arg5 = 0 ;
30207 bool result;
30208 wxRect temp4 ;
30209 wxRect temp5 ;
30210 PyObject * obj0 = 0 ;
30211 PyObject * obj1 = 0 ;
30212 PyObject * obj2 = 0 ;
30213 PyObject * obj3 = 0 ;
30214 PyObject * obj4 = 0 ;
30215 char *kwnames[] = {
30216 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30217 };
30218
30219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30223 SWIG_POINTER_EXCEPTION | 0)) == -1)
30224 SWIG_fail;
30225 if (arg2 == NULL) {
30226 PyErr_SetString(PyExc_TypeError,"null reference");
30227 SWIG_fail;
30228 }
30229 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30230 SWIG_POINTER_EXCEPTION | 0)) == -1)
30231 SWIG_fail;
30232 if (arg3 == NULL) {
30233 PyErr_SetString(PyExc_TypeError,"null reference");
30234 SWIG_fail;
30235 }
30236 {
30237 arg4 = &temp4;
30238 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30239 }
30240 {
30241 arg5 = &temp5;
30242 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30243 }
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30247
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 {
30252 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30253 }
30254 return resultobj;
30255 fail:
30256 return NULL;
30257 }
30258
30259
30260 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30261 PyObject *resultobj;
30262 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30263 wxPoint *arg2 = 0 ;
30264 wxPoint *arg3 = 0 ;
30265 bool arg4 ;
30266 bool arg5 ;
30267 bool result;
30268 wxPoint temp2 ;
30269 wxPoint temp3 ;
30270 PyObject * obj0 = 0 ;
30271 PyObject * obj1 = 0 ;
30272 PyObject * obj2 = 0 ;
30273 PyObject * obj3 = 0 ;
30274 PyObject * obj4 = 0 ;
30275 char *kwnames[] = {
30276 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30277 };
30278
30279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30282 {
30283 arg2 = &temp2;
30284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30285 }
30286 {
30287 arg3 = &temp3;
30288 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30289 }
30290 arg4 = (bool) SWIG_AsBool(obj3);
30291 if (PyErr_Occurred()) SWIG_fail;
30292 arg5 = (bool) SWIG_AsBool(obj4);
30293 if (PyErr_Occurred()) SWIG_fail;
30294 {
30295 PyThreadState* __tstate = wxPyBeginAllowThreads();
30296 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30297
30298 wxPyEndAllowThreads(__tstate);
30299 if (PyErr_Occurred()) SWIG_fail;
30300 }
30301 {
30302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30303 }
30304 return resultobj;
30305 fail:
30306 return NULL;
30307 }
30308
30309
30310 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30311 PyObject *obj;
30312 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30313 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30314 Py_INCREF(obj);
30315 return Py_BuildValue((char *)"");
30316 }
30317 static PyMethodDef SwigMethods[] = {
30318 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30324 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30339 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30350 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30357 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30371 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30377 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30390 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30394 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30400 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30404 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30405 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30411 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30434 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30443 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30444 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30473 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30527 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30532 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30543 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30555 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30566 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30570 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30587 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30593 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30618 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30625 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30645 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30649 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30651 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30660 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30662 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30667 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30669 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30674 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30679 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30709 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30754 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30759 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30771 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30805 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30809 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30817 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30823 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30827 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30831 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30836 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30839 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30844 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30845 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30846 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30847 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30850 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30854 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30860 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30861 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30862 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30865 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30867 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30868 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30870 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30876 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30881 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30883 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30889 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30890 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30891 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30892 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30894 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30903 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30907 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30911 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30912 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30913 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30914 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30915 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30916 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30917 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30918 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30919 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30920 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30921 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30922 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30923 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30924 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30925 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30926 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30927 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30928 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30929 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30930 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30931 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30932 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30933 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30934 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30935 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30936 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30937 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30938 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30939 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30940 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30941 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30942 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30943 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30944 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30945 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30946 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30947 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30948 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30949 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30950 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30951 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30952 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30953 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30954 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30955 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30956 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30957 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30958 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30959 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30960 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30961 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30962 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30963 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30964 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30965 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30966 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30967 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30968 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30969 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30970 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30971 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30972 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30973 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30974 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30975 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30976 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30977 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30978 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30979 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30980 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30981 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30982 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30983 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30984 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30985 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30986 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30987 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30988 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30989 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30990 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30991 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30992 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30993 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30994 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30995 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30996 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30997 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30998 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30999 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31000 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31001 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31002 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31003 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31004 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31005 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31006 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31007 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31008 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31009 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31010 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31011 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31012 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31013 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31014 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31015 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31016 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31017 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31018 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31019 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31020 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31021 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31022 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31023 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31024 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31025 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31026 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31027 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31028 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31029 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31030 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31031 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31032 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31033 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31034 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31035 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31036 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31037 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31038 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31039 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31040 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31041 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31042 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31043 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31044 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31045 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31046 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31047 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31048 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31049 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31050 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31051 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31052 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31053 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31054 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31055 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31056 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31057 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31058 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31059 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31060 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31061 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31062 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31063 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31064 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31065 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31066 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31067 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31068 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31069 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31070 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31071 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31072 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31073 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31074 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31075 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31076 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31077 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31078 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31079 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31080 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31081 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31082 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31083 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31084 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31085 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31086 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31087 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31088 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
31089 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31090 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31091 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31092 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31093 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31094 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31095 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31096 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31097 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31098 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31099 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31100 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31101 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31102 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31103 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31104 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31105 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31106 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31107 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31108 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31109 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31110 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31111 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31112 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31113 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31114 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31115 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31116 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31117 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31118 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31119 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31120 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31121 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31122 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31123 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31124 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31125 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31126 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31127 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31128 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31129 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31130 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31131 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31132 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31133 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31134 { NULL, NULL }
31135 };
31136
31137
31138 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31139
31140 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31141 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31142 }
31143 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31144 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31145 }
31146 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31147 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31148 }
31149 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31150 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31151 }
31152 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31153 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31154 }
31155 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31156 return (void *)((wxSizer *) ((wxGridSizer *) x));
31157 }
31158 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31159 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31160 }
31161 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31162 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31163 }
31164 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31165 return (void *)((wxSizer *) ((wxPySizer *) x));
31166 }
31167 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31168 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31169 }
31170 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31171 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31172 }
31173 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31174 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31175 }
31176 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31177 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31178 }
31179 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31180 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31181 }
31182 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31183 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31184 }
31185 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31186 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31187 }
31188 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31189 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31190 }
31191 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31192 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31193 }
31194 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31196 }
31197 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31198 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31199 }
31200 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31201 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31202 }
31203 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31204 return (void *)((wxEvent *) ((wxPyEvent *) x));
31205 }
31206 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31208 }
31209 static void *_p_wxListEventTo_p_wxEvent(void *x) {
31210 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31211 }
31212 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31213 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31214 }
31215 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31216 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31217 }
31218 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31220 }
31221 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31222 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31223 }
31224 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31225 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31226 }
31227 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31228 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31229 }
31230 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31231 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31232 }
31233 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31234 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31235 }
31236 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31237 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31238 }
31239 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31240 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31241 }
31242 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31243 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31244 }
31245 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31246 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31247 }
31248 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31249 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31250 }
31251 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31252 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31253 }
31254 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31255 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31256 }
31257 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31258 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31259 }
31260 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31261 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31262 }
31263 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31264 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31265 }
31266 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31267 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31268 }
31269 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31270 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31271 }
31272 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31274 }
31275 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31276 return (void *)((wxEvent *) ((wxShowEvent *) x));
31277 }
31278 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31279 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31280 }
31281 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31282 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31283 }
31284 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31286 }
31287 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31288 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31289 }
31290 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31291 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31292 }
31293 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31294 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31295 }
31296 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31297 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31298 }
31299 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31300 return (void *)((wxItemContainer *) ((wxComboBox *) x));
31301 }
31302 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31303 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31304 }
31305 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31306 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31307 }
31308 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31309 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31310 }
31311 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31312 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31313 }
31314 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31315 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31316 }
31317 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31318 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31319 }
31320 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31321 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31322 }
31323 static void *_p_wxListBoxTo_p_wxControl(void *x) {
31324 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31325 }
31326 static void *_p_wxChoiceTo_p_wxControl(void *x) {
31327 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31328 }
31329 static void *_p_wxToolBarTo_p_wxControl(void *x) {
31330 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31331 }
31332 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31333 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31334 }
31335 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31336 return (void *)((wxControl *) ((wxComboBox *) x));
31337 }
31338 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31339 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31340 }
31341 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31342 return (void *)((wxControl *) ((wxStaticBox *) x));
31343 }
31344 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31345 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31346 }
31347 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31348 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31349 }
31350 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31351 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31352 }
31353 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31354 return (void *)((wxControl *) ((wxScrollBar *) x));
31355 }
31356 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31357 return (void *)((wxControl *) ((wxBookCtrl *) x));
31358 }
31359 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31360 return (void *)((wxControl *) ((wxRadioButton *) x));
31361 }
31362 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31363 return (void *)((wxControl *) ((wxToggleButton *) x));
31364 }
31365 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31366 return (void *)((wxControl *) ((wxGauge *) x));
31367 }
31368 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31369 return (void *)((wxControl *) ((wxToolBarBase *) x));
31370 }
31371 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31372 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31373 }
31374 static void *_p_wxButtonTo_p_wxControl(void *x) {
31375 return (void *)((wxControl *) ((wxButton *) x));
31376 }
31377 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31378 return (void *)((wxControl *) ((wxSpinButton *) x));
31379 }
31380 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31381 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31382 }
31383 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31384 return (void *)((wxControl *) ((wxControlWithItems *) x));
31385 }
31386 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31387 return (void *)((wxControl *) ((wxRadioBox *) x));
31388 }
31389 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31390 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31391 }
31392 static void *_p_wxListbookTo_p_wxControl(void *x) {
31393 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31394 }
31395 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31396 return (void *)((wxControl *) ((wxCheckBox *) x));
31397 }
31398 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31399 return (void *)((wxControl *) ((wxTextCtrl *) x));
31400 }
31401 static void *_p_wxListViewTo_p_wxControl(void *x) {
31402 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31403 }
31404 static void *_p_wxSliderTo_p_wxControl(void *x) {
31405 return (void *)((wxControl *) ((wxSlider *) x));
31406 }
31407 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31408 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31409 }
31410 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31411 return (void *)((wxControl *) ((wxPyControl *) x));
31412 }
31413 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31414 return (void *)((wxControl *) ((wxStaticLine *) x));
31415 }
31416 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31417 return (void *)((wxControl *) ((wxStaticText *) x));
31418 }
31419 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31420 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31421 }
31422 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31423 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31424 }
31425 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31426 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31427 }
31428 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31429 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31430 }
31431 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31432 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31433 }
31434 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31435 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31436 }
31437 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31438 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31439 }
31440 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31441 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31442 }
31443 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31445 }
31446 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31448 }
31449 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31451 }
31452 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31454 }
31455 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31457 }
31458 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31460 }
31461 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31463 }
31464 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31466 }
31467 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31469 }
31470 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31472 }
31473 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31475 }
31476 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31478 }
31479 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31481 }
31482 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31484 }
31485 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31487 }
31488 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31489 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31490 }
31491 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31493 }
31494 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31496 }
31497 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31499 }
31500 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31502 }
31503 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31505 }
31506 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31508 }
31509 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31511 }
31512 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31514 }
31515 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31516 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31517 }
31518 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31520 }
31521 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31522 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31523 }
31524 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31526 }
31527 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31528 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31529 }
31530 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31531 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31532 }
31533 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31534 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31535 }
31536 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31537 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31538 }
31539 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31540 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31541 }
31542 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31543 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31544 }
31545 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31546 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31547 }
31548 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31549 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31550 }
31551 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31552 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31553 }
31554 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31555 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31556 }
31557 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31558 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31559 }
31560 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31561 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31562 }
31563 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31564 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31565 }
31566 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31567 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31568 }
31569 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31570 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31571 }
31572 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31573 return (void *)((wxButton *) ((wxBitmapButton *) x));
31574 }
31575 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31576 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31577 }
31578 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31579 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31580 }
31581 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31582 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31583 }
31584 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31586 }
31587 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31589 }
31590 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) ((wxSizerItem *) x));
31592 }
31593 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31595 }
31596 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31598 }
31599 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31601 }
31602 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31604 }
31605 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31607 }
31608 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31610 }
31611 static void *_p_wxSizerTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) ((wxSizer *) x));
31613 }
31614 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31616 }
31617 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31619 }
31620 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31622 }
31623 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31625 }
31626 static void *_p_wxEventTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) ((wxEvent *) x));
31628 }
31629 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31631 }
31632 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31634 }
31635 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31637 }
31638 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31640 }
31641 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31643 }
31644 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31646 }
31647 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31649 }
31650 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31652 }
31653 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31655 }
31656 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31658 }
31659 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31661 }
31662 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31664 }
31665 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31667 }
31668 static void *_p_wxControlTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31670 }
31671 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31673 }
31674 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31676 }
31677 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31679 }
31680 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31682 }
31683 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31685 }
31686 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31688 }
31689 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31691 }
31692 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) ((wxFSFile *) x));
31694 }
31695 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31697 }
31698 static void *_p_wxListViewTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31700 }
31701 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31703 }
31704 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31706 }
31707 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31709 }
31710 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31712 }
31713 static void *_p_wxListbookTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31715 }
31716 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31718 }
31719 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31721 }
31722 static void *_p_wxSliderTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31724 }
31725 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) ((wxMenuItem *) x));
31727 }
31728 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31730 }
31731 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31733 }
31734 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31736 }
31737 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31739 }
31740 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31742 }
31743 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31745 }
31746 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31748 }
31749 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31751 }
31752 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31754 }
31755 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) ((wxContextHelp *) x));
31757 }
31758 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31760 }
31761 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31763 }
31764 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31766 }
31767 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31769 }
31770 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31772 }
31773 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31775 }
31776 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31778 }
31779 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31781 }
31782 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31784 }
31785 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31787 }
31788 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) ((wxImageHandler *) x));
31790 }
31791 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31793 }
31794 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) ((wxEvtHandler *) x));
31796 }
31797 static void *_p_wxListEventTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31799 }
31800 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31802 }
31803 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31805 }
31806 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31808 }
31809 static void *_p_wxButtonTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31811 }
31812 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31814 }
31815 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31817 }
31818 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31820 }
31821 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31823 }
31824 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31826 }
31827 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31829 }
31830 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31832 }
31833 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31835 }
31836 static void *_p_wxListItemTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) ((wxListItem *) x));
31838 }
31839 static void *_p_wxImageTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) ((wxImage *) x));
31841 }
31842 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31844 }
31845 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31847 }
31848 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31850 }
31851 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31853 }
31854 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31856 }
31857 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31859 }
31860 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31862 }
31863 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31865 }
31866 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31868 }
31869 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31871 }
31872 static void *_p_wxWindowTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31874 }
31875 static void *_p_wxMenuTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31877 }
31878 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31880 }
31881 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) ((wxFileSystem *) x));
31883 }
31884 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31886 }
31887 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31889 }
31890 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31892 }
31893 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31895 }
31896 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31898 }
31899 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31901 }
31902 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31904 }
31905 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31907 }
31908 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31910 }
31911 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31913 }
31914 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31915 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31916 }
31917 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31918 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31919 }
31920 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31921 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31922 }
31923 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31925 }
31926 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31927 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31928 }
31929 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31931 }
31932 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31933 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31934 }
31935 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31936 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31937 }
31938 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31939 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31940 }
31941 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31942 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31943 }
31944 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31945 return (void *)((wxWindow *) ((wxMenuBar *) x));
31946 }
31947 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31948 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31949 }
31950 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31951 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31952 }
31953 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31954 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31955 }
31956 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31957 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31958 }
31959 static void *_p_wxControlTo_p_wxWindow(void *x) {
31960 return (void *)((wxWindow *) ((wxControl *) x));
31961 }
31962 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31963 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31964 }
31965 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31966 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31967 }
31968 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31969 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31970 }
31971 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31972 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31973 }
31974 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31975 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31976 }
31977 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31978 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31979 }
31980 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31981 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31982 }
31983 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31984 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31985 }
31986 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31987 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31988 }
31989 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31990 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31991 }
31992 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31993 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31994 }
31995 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31996 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31997 }
31998 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31999 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32000 }
32001 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32002 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32003 }
32004 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32005 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32006 }
32007 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32008 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32009 }
32010 static void *_p_wxListViewTo_p_wxWindow(void *x) {
32011 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32012 }
32013 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32014 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32015 }
32016 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32017 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32018 }
32019 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32020 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32021 }
32022 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32023 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32024 }
32025 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32026 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32027 }
32028 static void *_p_wxSliderTo_p_wxWindow(void *x) {
32029 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32030 }
32031 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32032 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32033 }
32034 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32035 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32036 }
32037 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32038 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32039 }
32040 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32041 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32042 }
32043 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32044 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32045 }
32046 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32047 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32048 }
32049 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32051 }
32052 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32053 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32054 }
32055 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32056 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32057 }
32058 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32059 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32060 }
32061 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32062 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32063 }
32064 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32065 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32066 }
32067 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32068 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32069 }
32070 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32071 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32072 }
32073 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32074 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32075 }
32076 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32077 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32078 }
32079 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32080 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32081 }
32082 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32083 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32084 }
32085 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32086 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32087 }
32088 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32089 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32090 }
32091 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32092 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32093 }
32094 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32095 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32096 }
32097 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32098 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32099 }
32100 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32101 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32102 }
32103 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32104 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32105 }
32106 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32107 return (void *)((wxValidator *) ((wxPyValidator *) x));
32108 }
32109 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}};
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 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}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164 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}};
32165 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}};
32166 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}};
32167 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}};
32168 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}};
32169 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}};
32170 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}};
32171 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}};
32172 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}};
32173 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}};
32174 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}};
32175 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}};
32176 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}};
32177 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}};
32178 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}};
32179 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}};
32180 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}};
32181 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}};
32182 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}};
32183 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}};
32184 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}};
32185 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}};
32186 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}};
32187 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}};
32188 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}};
32189 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}};
32190 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}};
32191 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}};
32192 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}};
32193 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}};
32194
32195 static swig_type_info *swig_types_initial[] = {
32196 _swigt__p_wxTextUrlEvent,
32197 _swigt__p_wxBookCtrlEvent,
32198 _swigt__p_wxSizer,
32199 _swigt__p_wxCheckBox,
32200 _swigt__p_wxPyTreeCtrl,
32201 _swigt__p_wxEvent,
32202 _swigt__p_wxGenericDirCtrl,
32203 _swigt__p_bool,
32204 _swigt__p_wxPyTreeItemData,
32205 _swigt__p_wxItemContainer,
32206 _swigt__p_wxPyListCtrl,
32207 _swigt__p_wxDirFilterListCtrl,
32208 _swigt__p_wxStaticLine,
32209 _swigt__p_wxControl,
32210 _swigt__p_wxPyControl,
32211 _swigt__p_wxGauge,
32212 _swigt__p_wxToolBarBase,
32213 _swigt__p_wxFont,
32214 _swigt__p_wxToggleButton,
32215 _swigt__p_wxRadioButton,
32216 _swigt__p_wxChoice,
32217 _swigt__p_wxMemoryDC,
32218 _swigt__p_wxListItemAttr,
32219 _swigt__p_void,
32220 _swigt__p_int,
32221 _swigt__p_wxSize,
32222 _swigt__p_wxDC,
32223 _swigt__p_wxListView,
32224 _swigt__p_wxIcon,
32225 _swigt__p_wxVisualAttributes,
32226 _swigt__p_wxTextCtrl,
32227 _swigt__p_wxNotebook,
32228 _swigt__p_wxNotifyEvent,
32229 _swigt__p_wxArrayString,
32230 _swigt__p_wxListbook,
32231 _swigt__p_wxStaticBitmap,
32232 _swigt__p_wxSlider,
32233 _swigt__p_wxStaticBox,
32234 _swigt__p_wxArrayInt,
32235 _swigt__p_wxContextHelp,
32236 _swigt__p_long,
32237 _swigt__p_wxEvtHandler,
32238 _swigt__p_wxListEvent,
32239 _swigt__p_wxCheckListBox,
32240 _swigt__p_wxListBox,
32241 _swigt__p_wxBookCtrl,
32242 _swigt__p_wxSpinButton,
32243 _swigt__p_wxButton,
32244 _swigt__p_wxBitmapButton,
32245 _swigt__p_wxRect,
32246 _swigt__p_wxContextHelpButton,
32247 _swigt__p_wxRadioBox,
32248 _swigt__p_wxScrollBar,
32249 _swigt__p_char,
32250 _swigt__p_wxTreeItemId,
32251 _swigt__p_wxComboBox,
32252 _swigt__p_wxHelpEvent,
32253 _swigt__p_wxListItem,
32254 _swigt__p_wxNotebookSizer,
32255 _swigt__p_wxSpinEvent,
32256 _swigt__p_wxGenericDragImage,
32257 _swigt__p_wxSpinCtrl,
32258 _swigt__p_wxImageList,
32259 _swigt__p_wxHelpProvider,
32260 _swigt__p_wxTextAttr,
32261 _swigt__p_wxSimpleHelpProvider,
32262 _swigt__p_wxPoint,
32263 _swigt__p_wxListbookEvent,
32264 _swigt__p_wxNotebookEvent,
32265 _swigt__p_wxObject,
32266 _swigt__p_wxCursor,
32267 _swigt__p_wxKeyEvent,
32268 _swigt__p_wxWindow,
32269 _swigt__p_wxString,
32270 _swigt__p_wxBitmap,
32271 _swigt__p_wxTreeEvent,
32272 _swigt__p_wxMouseEvent,
32273 _swigt__p_wxCommandEvent,
32274 _swigt__p_wxStaticText,
32275 _swigt__p_wxControlWithItems,
32276 _swigt__p_wxToolBarToolBase,
32277 _swigt__p_wxColour,
32278 _swigt__p_wxToolBar,
32279 _swigt__p_wxBookCtrlSizer,
32280 _swigt__p_wxValidator,
32281 0
32282 };
32283
32284
32285 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32286
32287 static swig_const_info swig_const_table[] = {
32288 {0}};
32289
32290 #ifdef __cplusplus
32291 }
32292 #endif
32293
32294 #ifdef __cplusplus
32295 extern "C"
32296 #endif
32297 SWIGEXPORT(void) SWIG_init(void) {
32298 static PyObject *SWIG_globals = 0;
32299 static int typeinit = 0;
32300 PyObject *m, *d;
32301 int i;
32302 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32303 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32304 d = PyModule_GetDict(m);
32305
32306 if (!typeinit) {
32307 for (i = 0; swig_types_initial[i]; i++) {
32308 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32309 }
32310 typeinit = 1;
32311 }
32312 SWIG_InstallConstants(d,swig_const_table);
32313
32314 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32315 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
32316 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32317 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32318 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32319 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32320 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32321 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
32322 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
32323 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32324 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32325 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32326 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32327 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32328 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
32329 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32330 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32331 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
32332 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32333 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32334 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32335 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32336 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32337 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32338 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32339 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32340 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32341 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32342 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32343 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32344 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32345 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32346 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32347 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32348 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32349 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32350 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32351 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32352 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32353 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32354 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32355 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32356 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32357 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32358 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32359 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32360 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32361 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32362 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32363 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32364 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32365 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32366 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32367 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32368 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32369 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32370 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32371 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32372 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32373 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32374 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32375 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32376 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32377 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32378 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32379 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32380 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32381 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32382 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32383 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32384 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32385 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32386 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32387 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32388 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32389 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32390 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32391 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32392 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32393 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32394 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32395 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32396 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32397 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32398 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32399 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32400 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32401 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32402 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32403 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32404 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32405 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32406 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32407 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32408 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32409 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32410 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32411 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32412 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32413 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32414 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32415 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32416 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32417 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32418 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32419 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32420 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32421 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32422 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32423 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32424 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32425 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32426 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32427 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32428 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32429 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32430 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32431 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32432 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32433 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32434 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32435 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32436 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32437 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32438 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32439 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32440 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32441 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32442 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32443 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32444 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32445 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32446 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32447 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32448 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32449 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32450 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32451 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32452 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32453 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32454 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32455 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32456 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32457 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32458 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32459 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32460 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32461 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32462 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32463 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32464 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32465 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32466 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32467 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32468 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32469 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32470 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32471 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32472 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32473 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32474 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32475 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32476 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32477 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32478 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32479 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32480 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32481 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32482 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32483 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32484 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32485 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32486 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32487 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32488 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32489 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32490 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32491 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32492 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32493 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32494 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32495 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32496 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32497 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32498 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32499 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32500 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32501 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32502 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32503 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32504 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32505 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32506 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32507 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32508 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32509 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32510 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32511 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32512 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32513 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32514 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32515 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32516 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32517 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32518 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32519 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32520 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32521 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32522 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32523 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32524 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32525
32526 // Map renamed classes back to their common name for OOR
32527 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32528
32529 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32530 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32531 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32532 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32533 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32534 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32535 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32536 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32537 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32538 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32539 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32540 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32541 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32542 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32543 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32544 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32545 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32546 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32547 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32548 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32549 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32550 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32551 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32552 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32553 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32554 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32555 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32556 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32557 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32558 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32559 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32560 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32561 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32562 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32563 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32564 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32565 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32566 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32567 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32568 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32569 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32570 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32571 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32572 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32573 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32574 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32575 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32576 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32577 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32578 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32579 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32580 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32581 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32582 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32583 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32584 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32585
32586 // Map renamed classes back to their common name for OOR
32587 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32588 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32589
32590 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32591 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32592 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32593 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32594 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32595 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32596 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32597 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32598 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32599 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32600
32601 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32602
32603 }
32604