]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/_controls_wrap.cpp
Sorted and added StaticBox, StaticLine
[wxWidgets.git] / wxPython / src / mac / _controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124 #endif
125
126 /***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136 #include "Python.h"
137
138 #ifdef __cplusplus
139 extern "C" {
140 #endif
141
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
147
148 /* Flags for pointer conversion */
149
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
152
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
155
156 /* Constant information structure */
157 typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164 } swig_const_info;
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186 typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198 /* Contract support */
199
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202 #ifdef __cplusplus
203 }
204 #endif
205
206
207 /* -------- TYPES TABLE (BEGIN) -------- */
208
209 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211 #define SWIGTYPE_p_wxSizer swig_types[2]
212 #define SWIGTYPE_p_wxCheckBox swig_types[3]
213 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214 #define SWIGTYPE_p_wxEvent swig_types[5]
215 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216 #define SWIGTYPE_p_bool swig_types[7]
217 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218 #define SWIGTYPE_p_wxItemContainer swig_types[9]
219 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221 #define SWIGTYPE_p_wxStaticLine swig_types[12]
222 #define SWIGTYPE_p_wxControl swig_types[13]
223 #define SWIGTYPE_p_wxPyControl swig_types[14]
224 #define SWIGTYPE_p_wxGauge swig_types[15]
225 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
226 #define SWIGTYPE_p_wxFont swig_types[17]
227 #define SWIGTYPE_p_wxToggleButton swig_types[18]
228 #define SWIGTYPE_p_wxRadioButton swig_types[19]
229 #define SWIGTYPE_p_wxChoice swig_types[20]
230 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
231 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
232 #define SWIGTYPE_p_void swig_types[23]
233 #define SWIGTYPE_p_int swig_types[24]
234 #define SWIGTYPE_p_wxSize swig_types[25]
235 #define SWIGTYPE_p_wxDC swig_types[26]
236 #define SWIGTYPE_p_wxListView swig_types[27]
237 #define SWIGTYPE_p_wxIcon swig_types[28]
238 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
240 #define SWIGTYPE_p_wxNotebook swig_types[31]
241 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242 #define SWIGTYPE_p_wxArrayString swig_types[33]
243 #define SWIGTYPE_p_wxListbook swig_types[34]
244 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245 #define SWIGTYPE_p_wxSlider swig_types[36]
246 #define SWIGTYPE_p_wxStaticBox swig_types[37]
247 #define SWIGTYPE_p_wxArrayInt swig_types[38]
248 #define SWIGTYPE_p_wxContextHelp swig_types[39]
249 #define SWIGTYPE_p_long swig_types[40]
250 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
251 #define SWIGTYPE_p_wxListEvent swig_types[42]
252 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
253 #define SWIGTYPE_p_wxListBox swig_types[44]
254 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
255 #define SWIGTYPE_p_wxSpinButton swig_types[46]
256 #define SWIGTYPE_p_wxButton swig_types[47]
257 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260 #define SWIGTYPE_p_wxRadioBox swig_types[51]
261 #define SWIGTYPE_p_wxScrollBar swig_types[52]
262 #define SWIGTYPE_p_char swig_types[53]
263 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
264 #define SWIGTYPE_p_wxComboBox swig_types[55]
265 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
266 #define SWIGTYPE_p_wxListItem swig_types[57]
267 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271 #define SWIGTYPE_p_wxImageList swig_types[62]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
273 #define SWIGTYPE_p_wxTextAttr swig_types[64]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275 #define SWIGTYPE_p_wxPoint swig_types[66]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[67]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278 #define SWIGTYPE_p_wxObject swig_types[69]
279 #define SWIGTYPE_p_wxCursor swig_types[70]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
281 #define SWIGTYPE_p_wxWindow swig_types[72]
282 #define SWIGTYPE_p_wxString swig_types[73]
283 #define SWIGTYPE_p_wxBitmap swig_types[74]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
287 #define SWIGTYPE_p_wxStaticText swig_types[78]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxToolBar swig_types[82]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293 #define SWIGTYPE_p_wxValidator swig_types[84]
294 static swig_type_info *swig_types[86];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls_
303
304 #define SWIG_name "_controls_"
305
306 /* Auxiliar swig macros */
307
308 #ifdef __cplusplus
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
319 #else
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
321 #endif
322
323 #else /* C case */
324
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
333
334 #endif /* __cplusplus */
335
336
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347
348
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360 #include <limits.h>
361
362
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366 {
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384 }
385
386
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject * obj)
389 {
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399 }
400
401
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject *obj)
405 {
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409 }
410 #else
411 #define SWIG_AsInt SWIG_AsLong
412 #endif
413
414
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject* obj)
417 {
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425 }
426
427
428 SWIGSTATICINLINE(int)
429 SWIG_CheckLong(PyObject* obj)
430 {
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438 }
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject *obj)
444 {
445 return PyObject_IsTrue(obj) ? true : false;
446 }
447
448
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject* obj)
451 {
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459 }
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468 #include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479 PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488 void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494 void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500 void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532 }
533
534
535 SWIGSTATICINLINE(unsigned long)
536 SWIG_AsUnsignedLong(PyObject * obj)
537 {
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547 }
548
549
550 SWIGSTATICINLINE(int)
551 SWIG_CheckUnsignedLong(PyObject* obj)
552 {
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560 }
561
562 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574 #include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580 #if !wxUSE_TOGGLEBTN
581 // implement dummy items for platforms that don't have this class
582
583 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585 class wxToggleButton : public wxControl
586 {
587 public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595 };
596 #endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600 SWIGSTATICINLINE(PyObject* )
601 SWIG_FromUnsignedLong(unsigned long value)
602 {
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606 }
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650 #include <wx/listctrl.h>
651
652
653 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
654 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
657 int retval = 0;
658 PyObject* func = (PyObject*)funcPtr;
659 bool blocked = wxPyBeginBlockThreads();
660
661 PyObject* args = Py_BuildValue("(ii)", item1, item2);
662 PyObject* result = PyEval_CallObject(func, args);
663 Py_DECREF(args);
664 if (result) {
665 retval = PyInt_AsLong(result);
666 Py_DECREF(result);
667 }
668
669 wxPyEndBlockThreads(blocked);
670 return retval;
671 }
672
673 // C++ Version of a Python aware class
674 class wxPyListCtrl : public wxListCtrl {
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
676 public:
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow* parent, wxWindowID id,
679 const wxPoint& pos,
680 const wxSize& size,
681 long style,
682 const wxValidator& validator,
683 const wxString& name) :
684 wxListCtrl(parent, id, pos, size, style, validator, name) {}
685
686 bool Create(wxWindow* parent, wxWindowID id,
687 const wxPoint& pos,
688 const wxSize& size,
689 long style,
690 const wxValidator& validator,
691 const wxString& name) {
692 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
693 }
694
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
698
699 PYPRIVATE;
700 };
701
702 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
703
704 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
705 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
706 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
707
708 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
709 wxListItem item;
710 item.SetMask( wxLIST_MASK_STATE |
711 wxLIST_MASK_TEXT |
712 wxLIST_MASK_IMAGE |
713 wxLIST_MASK_DATA |
714 wxLIST_SET_ITEM |
715 wxLIST_MASK_WIDTH |
716 wxLIST_MASK_FORMAT
717 );
718 if (self->GetColumn(col, item))
719 return new wxListItem(item);
720 else
721 return NULL;
722 }
723 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
724 wxListItem* info = new wxListItem;
725 info->m_itemId = itemId;
726 info->m_col = col;
727 info->m_mask = 0xFFFF;
728 self->GetItem(*info);
729 return info;
730 }
731 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
732 wxPoint pos;
733 self->GetItemPosition(item, pos);
734 return pos;
735 }
736 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
737 wxRect rect;
738 self->GetItemRect(item, rect, code);
739 return rect;
740 }
741 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
742 if (!PyCallable_Check(func))
743 return False;
744 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
745 }
746 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
747
748
749
750 return (wxWindow*)self->m_mainWin;
751
752 }
753
754 #include <wx/treectrl.h>
755 #include "wx/wxPython/pytree.h"
756
757 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758 bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
759 bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
760 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
761 // C++ version of Python aware wxTreeCtrl
762 class wxPyTreeCtrl : public wxTreeCtrl {
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
764 public:
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
767 const wxPoint& pos,
768 const wxSize& size,
769 long style,
770 const wxValidator& validator,
771 const wxString& name) :
772 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
773
774 bool Create(wxWindow *parent, wxWindowID id,
775 const wxPoint& pos,
776 const wxSize& size,
777 long style,
778 const wxValidator& validator,
779 const wxString& name) {
780 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
781 }
782
783
784 int OnCompareItems(const wxTreeItemId& item1,
785 const wxTreeItemId& item2) {
786 int rval = 0;
787 bool found;
788 bool blocked = wxPyBeginBlockThreads();
789 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
790 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
791 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
792 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
793 Py_DECREF(o1);
794 Py_DECREF(o2);
795 }
796 wxPyEndBlockThreads(blocked);
797 if (! found)
798 rval = wxTreeCtrl::OnCompareItems(item1, item2);
799 return rval;
800 }
801 PYPRIVATE;
802 };
803
804 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
805
806
807
808 #if UINT_MAX < LONG_MAX
809 #define SWIG_FromUnsignedInt SWIG_FromLong
810 #else
811 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
812 #endif
813
814
815 SWIGSTATICINLINE(unsigned long)
816 SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
817 unsigned long max_value)
818 {
819 if (!PyErr_Occurred()) {
820 if (value > max_value) {
821 PyObject *err =
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value, type, max_value);
824 PyErr_SetObject(PyExc_OverflowError, err);
825 Py_DECREF(err);
826 }
827 }
828 return value;
829 }
830
831
832 #if UINT_MAX != ULONG_MAX
833 SWIGSTATICINLINE(unsigned int)
834 SWIG_AsUnsignedInt(PyObject *obj)
835 {
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
838 "unsigned int", UINT_MAX));
839 }
840 #else
841 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
842 #endif
843
844
845 SWIGSTATICINLINE(int)
846 SWIG_CheckUnsignedInt(PyObject* obj)
847 {
848 SWIG_AsUnsignedInt(obj);
849 if (PyErr_Occurred()) {
850 PyErr_Clear();
851 return 0;
852 } else {
853 return 1;
854 }
855 }
856
857 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data;
865 }
866 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
867 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
868 if (data == NULL) {
869 data = new wxPyTreeItemData();
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873 return data->GetData();
874 }
875 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
876 data->SetId(item); // set the id
877 self->SetItemData(item, data);
878 }
879 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
880 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
881 if (data == NULL) {
882 data = new wxPyTreeItemData(obj);
883 data->SetId(item); // set the id
884 self->SetItemData(item, data);
885 } else
886 data->SetData(obj);
887 }
888 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
889 bool blocked = wxPyBeginBlockThreads();
890 PyObject* rval = PyList_New(0);
891 wxArrayTreeItemIds array;
892 size_t num, x;
893 num = self->GetSelections(array);
894 for (x=0; x < num; x++) {
895 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
896 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
897 PyList_Append(rval, item);
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935 class wxPyControl : public wxControl
936 {
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938 public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
948
949 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
950 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
951 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
953
954 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
957
958 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
959 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
960
961 DEC_PYCALLBACK__(InitDialog);
962 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
963 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
964 DEC_PYCALLBACK_BOOL_(Validate);
965
966 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
968 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
969
970 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
971 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
972
973 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
974 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
975
976 PYPRIVATE;
977 };
978
979 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
980
981 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
982 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
983 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
984 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
985
986 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
987 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
988 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
989
990 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
991 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
992
993 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
994 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
995 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
996 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
997
998 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
999 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1000 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1001
1002 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1003 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1004
1005 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1006 IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
1007
1008
1009
1010 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1011
1012 #include <wx/generic/dragimgg.h>
1013
1014 #ifdef __cplusplus
1015 extern "C" {
1016 #endif
1017 static int _wrap_ButtonNameStr_set(PyObject *_val) {
1018 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1019 return 1;
1020 }
1021
1022
1023 static PyObject *_wrap_ButtonNameStr_get() {
1024 PyObject *pyobj;
1025
1026 {
1027 #if wxUSE_UNICODE
1028 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1029 #else
1030 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1031 #endif
1032 }
1033 return pyobj;
1034 }
1035
1036
1037 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject *resultobj;
1039 wxWindow *arg1 = (wxWindow *) 0 ;
1040 int arg2 ;
1041 wxString *arg3 = 0 ;
1042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1044 wxSize const &arg5_defvalue = wxDefaultSize ;
1045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1046 long arg6 = (long) 0 ;
1047 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1048 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1049 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1050 wxString *arg8 = (wxString *) &arg8_defvalue ;
1051 wxButton *result;
1052 bool temp3 = False ;
1053 wxPoint temp4 ;
1054 wxSize temp5 ;
1055 bool temp8 = False ;
1056 PyObject * obj0 = 0 ;
1057 PyObject * obj1 = 0 ;
1058 PyObject * obj2 = 0 ;
1059 PyObject * obj3 = 0 ;
1060 PyObject * obj4 = 0 ;
1061 PyObject * obj5 = 0 ;
1062 PyObject * obj6 = 0 ;
1063 PyObject * obj7 = 0 ;
1064 char *kwnames[] = {
1065 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1066 };
1067
1068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1071 arg2 = (int) SWIG_AsInt(obj1);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 {
1074 arg3 = wxString_in_helper(obj2);
1075 if (arg3 == NULL) SWIG_fail;
1076 temp3 = True;
1077 }
1078 if (obj3) {
1079 {
1080 arg4 = &temp4;
1081 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1082 }
1083 }
1084 if (obj4) {
1085 {
1086 arg5 = &temp5;
1087 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1088 }
1089 }
1090 if (obj5) {
1091 arg6 = (long) SWIG_AsLong(obj5);
1092 if (PyErr_Occurred()) SWIG_fail;
1093 }
1094 if (obj6) {
1095 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1096 SWIG_POINTER_EXCEPTION | 0)) == -1)
1097 SWIG_fail;
1098 if (arg7 == NULL) {
1099 PyErr_SetString(PyExc_TypeError,"null reference");
1100 SWIG_fail;
1101 }
1102 }
1103 if (obj7) {
1104 {
1105 arg8 = wxString_in_helper(obj7);
1106 if (arg8 == NULL) SWIG_fail;
1107 temp8 = True;
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 {
1118 resultobj = wxPyMake_wxObject(result);
1119 }
1120 {
1121 if (temp3)
1122 delete arg3;
1123 }
1124 {
1125 if (temp8)
1126 delete arg8;
1127 }
1128 return resultobj;
1129 fail:
1130 {
1131 if (temp3)
1132 delete arg3;
1133 }
1134 {
1135 if (temp8)
1136 delete arg8;
1137 }
1138 return NULL;
1139 }
1140
1141
1142 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1143 PyObject *resultobj;
1144 wxButton *result;
1145 char *kwnames[] = {
1146 NULL
1147 };
1148
1149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1150 {
1151 PyThreadState* __tstate = wxPyBeginAllowThreads();
1152 result = (wxButton *)new wxButton();
1153
1154 wxPyEndAllowThreads(__tstate);
1155 if (PyErr_Occurred()) SWIG_fail;
1156 }
1157 {
1158 resultobj = wxPyMake_wxObject(result);
1159 }
1160 return resultobj;
1161 fail:
1162 return NULL;
1163 }
1164
1165
1166 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1167 PyObject *resultobj;
1168 wxButton *arg1 = (wxButton *) 0 ;
1169 wxWindow *arg2 = (wxWindow *) 0 ;
1170 int arg3 ;
1171 wxString *arg4 = 0 ;
1172 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1173 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1174 wxSize const &arg6_defvalue = wxDefaultSize ;
1175 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1176 long arg7 = (long) 0 ;
1177 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1178 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1179 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1180 wxString *arg9 = (wxString *) &arg9_defvalue ;
1181 bool result;
1182 bool temp4 = False ;
1183 wxPoint temp5 ;
1184 wxSize temp6 ;
1185 bool temp9 = False ;
1186 PyObject * obj0 = 0 ;
1187 PyObject * obj1 = 0 ;
1188 PyObject * obj2 = 0 ;
1189 PyObject * obj3 = 0 ;
1190 PyObject * obj4 = 0 ;
1191 PyObject * obj5 = 0 ;
1192 PyObject * obj6 = 0 ;
1193 PyObject * obj7 = 0 ;
1194 PyObject * obj8 = 0 ;
1195 char *kwnames[] = {
1196 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1197 };
1198
1199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1204 arg3 = (int) SWIG_AsInt(obj2);
1205 if (PyErr_Occurred()) SWIG_fail;
1206 {
1207 arg4 = wxString_in_helper(obj3);
1208 if (arg4 == NULL) SWIG_fail;
1209 temp4 = True;
1210 }
1211 if (obj4) {
1212 {
1213 arg5 = &temp5;
1214 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1215 }
1216 }
1217 if (obj5) {
1218 {
1219 arg6 = &temp6;
1220 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1221 }
1222 }
1223 if (obj6) {
1224 arg7 = (long) SWIG_AsLong(obj6);
1225 if (PyErr_Occurred()) SWIG_fail;
1226 }
1227 if (obj7) {
1228 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1229 SWIG_POINTER_EXCEPTION | 0)) == -1)
1230 SWIG_fail;
1231 if (arg8 == NULL) {
1232 PyErr_SetString(PyExc_TypeError,"null reference");
1233 SWIG_fail;
1234 }
1235 }
1236 if (obj8) {
1237 {
1238 arg9 = wxString_in_helper(obj8);
1239 if (arg9 == NULL) SWIG_fail;
1240 temp9 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 {
1251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1252 }
1253 {
1254 if (temp4)
1255 delete arg4;
1256 }
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return resultobj;
1262 fail:
1263 {
1264 if (temp4)
1265 delete arg4;
1266 }
1267 {
1268 if (temp9)
1269 delete arg9;
1270 }
1271 return NULL;
1272 }
1273
1274
1275 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1276 PyObject *resultobj;
1277 wxButton *arg1 = (wxButton *) 0 ;
1278 PyObject * obj0 = 0 ;
1279 char *kwnames[] = {
1280 (char *) "self", NULL
1281 };
1282
1283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 (arg1)->SetDefault();
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 Py_INCREF(Py_None); resultobj = Py_None;
1294 return resultobj;
1295 fail:
1296 return NULL;
1297 }
1298
1299
1300 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1301 PyObject *resultobj;
1302 wxSize result;
1303 char *kwnames[] = {
1304 NULL
1305 };
1306
1307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1308 {
1309 PyThreadState* __tstate = wxPyBeginAllowThreads();
1310 result = wxButton::GetDefaultSize();
1311
1312 wxPyEndAllowThreads(__tstate);
1313 if (PyErr_Occurred()) SWIG_fail;
1314 }
1315 {
1316 wxSize * resultptr;
1317 resultptr = new wxSize((wxSize &) result);
1318 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1319 }
1320 return resultobj;
1321 fail:
1322 return NULL;
1323 }
1324
1325
1326 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1327 PyObject *obj;
1328 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1329 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1330 Py_INCREF(obj);
1331 return Py_BuildValue((char *)"");
1332 }
1333 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1334 PyObject *resultobj;
1335 wxWindow *arg1 = (wxWindow *) 0 ;
1336 int arg2 ;
1337 wxBitmap *arg3 = 0 ;
1338 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1339 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1340 wxSize const &arg5_defvalue = wxDefaultSize ;
1341 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1342 long arg6 = (long) wxBU_AUTODRAW ;
1343 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1344 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1345 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1346 wxString *arg8 = (wxString *) &arg8_defvalue ;
1347 wxBitmapButton *result;
1348 wxPoint temp4 ;
1349 wxSize temp5 ;
1350 bool temp8 = False ;
1351 PyObject * obj0 = 0 ;
1352 PyObject * obj1 = 0 ;
1353 PyObject * obj2 = 0 ;
1354 PyObject * obj3 = 0 ;
1355 PyObject * obj4 = 0 ;
1356 PyObject * obj5 = 0 ;
1357 PyObject * obj6 = 0 ;
1358 PyObject * obj7 = 0 ;
1359 char *kwnames[] = {
1360 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1361 };
1362
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1366 arg2 = (int) SWIG_AsInt(obj1);
1367 if (PyErr_Occurred()) SWIG_fail;
1368 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1369 SWIG_POINTER_EXCEPTION | 0)) == -1)
1370 SWIG_fail;
1371 if (arg3 == NULL) {
1372 PyErr_SetString(PyExc_TypeError,"null reference");
1373 SWIG_fail;
1374 }
1375 if (obj3) {
1376 {
1377 arg4 = &temp4;
1378 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1379 }
1380 }
1381 if (obj4) {
1382 {
1383 arg5 = &temp5;
1384 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1385 }
1386 }
1387 if (obj5) {
1388 arg6 = (long) SWIG_AsLong(obj5);
1389 if (PyErr_Occurred()) SWIG_fail;
1390 }
1391 if (obj6) {
1392 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1393 SWIG_POINTER_EXCEPTION | 0)) == -1)
1394 SWIG_fail;
1395 if (arg7 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference");
1397 SWIG_fail;
1398 }
1399 }
1400 if (obj7) {
1401 {
1402 arg8 = wxString_in_helper(obj7);
1403 if (arg8 == NULL) SWIG_fail;
1404 temp8 = True;
1405 }
1406 }
1407 {
1408 PyThreadState* __tstate = wxPyBeginAllowThreads();
1409 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1410
1411 wxPyEndAllowThreads(__tstate);
1412 if (PyErr_Occurred()) SWIG_fail;
1413 }
1414 {
1415 resultobj = wxPyMake_wxObject(result);
1416 }
1417 {
1418 if (temp8)
1419 delete arg8;
1420 }
1421 return resultobj;
1422 fail:
1423 {
1424 if (temp8)
1425 delete arg8;
1426 }
1427 return NULL;
1428 }
1429
1430
1431 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject *resultobj;
1433 wxBitmapButton *result;
1434 char *kwnames[] = {
1435 NULL
1436 };
1437
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1439 {
1440 PyThreadState* __tstate = wxPyBeginAllowThreads();
1441 result = (wxBitmapButton *)new wxBitmapButton();
1442
1443 wxPyEndAllowThreads(__tstate);
1444 if (PyErr_Occurred()) SWIG_fail;
1445 }
1446 {
1447 resultobj = wxPyMake_wxObject(result);
1448 }
1449 return resultobj;
1450 fail:
1451 return NULL;
1452 }
1453
1454
1455 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1458 wxWindow *arg2 = (wxWindow *) 0 ;
1459 int arg3 ;
1460 wxBitmap *arg4 = 0 ;
1461 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1462 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1463 wxSize const &arg6_defvalue = wxDefaultSize ;
1464 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1465 long arg7 = (long) wxBU_AUTODRAW ;
1466 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1467 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1468 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1469 wxString *arg9 = (wxString *) &arg9_defvalue ;
1470 bool result;
1471 wxPoint temp5 ;
1472 wxSize temp6 ;
1473 bool temp9 = False ;
1474 PyObject * obj0 = 0 ;
1475 PyObject * obj1 = 0 ;
1476 PyObject * obj2 = 0 ;
1477 PyObject * obj3 = 0 ;
1478 PyObject * obj4 = 0 ;
1479 PyObject * obj5 = 0 ;
1480 PyObject * obj6 = 0 ;
1481 PyObject * obj7 = 0 ;
1482 PyObject * obj8 = 0 ;
1483 char *kwnames[] = {
1484 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1485 };
1486
1487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1492 arg3 = (int) SWIG_AsInt(obj2);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1495 SWIG_POINTER_EXCEPTION | 0)) == -1)
1496 SWIG_fail;
1497 if (arg4 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference");
1499 SWIG_fail;
1500 }
1501 if (obj4) {
1502 {
1503 arg5 = &temp5;
1504 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1505 }
1506 }
1507 if (obj5) {
1508 {
1509 arg6 = &temp6;
1510 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1511 }
1512 }
1513 if (obj6) {
1514 arg7 = (long) SWIG_AsLong(obj6);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 if (obj7) {
1518 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1519 SWIG_POINTER_EXCEPTION | 0)) == -1)
1520 SWIG_fail;
1521 if (arg8 == NULL) {
1522 PyErr_SetString(PyExc_TypeError,"null reference");
1523 SWIG_fail;
1524 }
1525 }
1526 if (obj8) {
1527 {
1528 arg9 = wxString_in_helper(obj8);
1529 if (arg9 == NULL) SWIG_fail;
1530 temp9 = True;
1531 }
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 {
1541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1542 }
1543 {
1544 if (temp9)
1545 delete arg9;
1546 }
1547 return resultobj;
1548 fail:
1549 {
1550 if (temp9)
1551 delete arg9;
1552 }
1553 return NULL;
1554 }
1555
1556
1557 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1558 PyObject *resultobj;
1559 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1560 wxBitmap result;
1561 PyObject * obj0 = 0 ;
1562 char *kwnames[] = {
1563 (char *) "self", NULL
1564 };
1565
1566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 result = (arg1)->GetBitmapLabel();
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 {
1577 wxBitmap * resultptr;
1578 resultptr = new wxBitmap((wxBitmap &) result);
1579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1580 }
1581 return resultobj;
1582 fail:
1583 return NULL;
1584 }
1585
1586
1587 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1588 PyObject *resultobj;
1589 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1590 wxBitmap result;
1591 PyObject * obj0 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1599 {
1600 PyThreadState* __tstate = wxPyBeginAllowThreads();
1601 result = (arg1)->GetBitmapDisabled();
1602
1603 wxPyEndAllowThreads(__tstate);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
1606 {
1607 wxBitmap * resultptr;
1608 resultptr = new wxBitmap((wxBitmap &) result);
1609 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1610 }
1611 return resultobj;
1612 fail:
1613 return NULL;
1614 }
1615
1616
1617 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapFocus();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644 }
1645
1646
1647 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapSelected();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674 }
1675
1676
1677 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap *arg2 = 0 ;
1681 PyObject * obj0 = 0 ;
1682 PyObject * obj1 = 0 ;
1683 char *kwnames[] = {
1684 (char *) "self",(char *) "bitmap", NULL
1685 };
1686
1687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1690 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1691 SWIG_POINTER_EXCEPTION | 0)) == -1)
1692 SWIG_fail;
1693 if (arg2 == NULL) {
1694 PyErr_SetString(PyExc_TypeError,"null reference");
1695 SWIG_fail;
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 Py_INCREF(Py_None); resultobj = Py_None;
1705 return resultobj;
1706 fail:
1707 return NULL;
1708 }
1709
1710
1711 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1712 PyObject *resultobj;
1713 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1714 wxBitmap *arg2 = 0 ;
1715 PyObject * obj0 = 0 ;
1716 PyObject * obj1 = 0 ;
1717 char *kwnames[] = {
1718 (char *) "self",(char *) "bitmap", NULL
1719 };
1720
1721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1725 SWIG_POINTER_EXCEPTION | 0)) == -1)
1726 SWIG_fail;
1727 if (arg2 == NULL) {
1728 PyErr_SetString(PyExc_TypeError,"null reference");
1729 SWIG_fail;
1730 }
1731 {
1732 PyThreadState* __tstate = wxPyBeginAllowThreads();
1733 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1734
1735 wxPyEndAllowThreads(__tstate);
1736 if (PyErr_Occurred()) SWIG_fail;
1737 }
1738 Py_INCREF(Py_None); resultobj = Py_None;
1739 return resultobj;
1740 fail:
1741 return NULL;
1742 }
1743
1744
1745 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1746 PyObject *resultobj;
1747 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1748 wxBitmap *arg2 = 0 ;
1749 PyObject * obj0 = 0 ;
1750 PyObject * obj1 = 0 ;
1751 char *kwnames[] = {
1752 (char *) "self",(char *) "bitmap", NULL
1753 };
1754
1755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1759 SWIG_POINTER_EXCEPTION | 0)) == -1)
1760 SWIG_fail;
1761 if (arg2 == NULL) {
1762 PyErr_SetString(PyExc_TypeError,"null reference");
1763 SWIG_fail;
1764 }
1765 {
1766 PyThreadState* __tstate = wxPyBeginAllowThreads();
1767 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1768
1769 wxPyEndAllowThreads(__tstate);
1770 if (PyErr_Occurred()) SWIG_fail;
1771 }
1772 Py_INCREF(Py_None); resultobj = Py_None;
1773 return resultobj;
1774 fail:
1775 return NULL;
1776 }
1777
1778
1779 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1780 PyObject *resultobj;
1781 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1782 wxBitmap *arg2 = 0 ;
1783 PyObject * obj0 = 0 ;
1784 PyObject * obj1 = 0 ;
1785 char *kwnames[] = {
1786 (char *) "self",(char *) "bitmap", NULL
1787 };
1788
1789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1793 SWIG_POINTER_EXCEPTION | 0)) == -1)
1794 SWIG_fail;
1795 if (arg2 == NULL) {
1796 PyErr_SetString(PyExc_TypeError,"null reference");
1797 SWIG_fail;
1798 }
1799 {
1800 PyThreadState* __tstate = wxPyBeginAllowThreads();
1801 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1802
1803 wxPyEndAllowThreads(__tstate);
1804 if (PyErr_Occurred()) SWIG_fail;
1805 }
1806 Py_INCREF(Py_None); resultobj = Py_None;
1807 return resultobj;
1808 fail:
1809 return NULL;
1810 }
1811
1812
1813 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1816 int arg2 ;
1817 int arg3 ;
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 PyObject * obj2 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self",(char *) "x",(char *) "y", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1828 arg2 = (int) SWIG_AsInt(obj1);
1829 if (PyErr_Occurred()) SWIG_fail;
1830 arg3 = (int) SWIG_AsInt(obj2);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 {
1833 PyThreadState* __tstate = wxPyBeginAllowThreads();
1834 (arg1)->SetMargins(arg2,arg3);
1835
1836 wxPyEndAllowThreads(__tstate);
1837 if (PyErr_Occurred()) SWIG_fail;
1838 }
1839 Py_INCREF(Py_None); resultobj = Py_None;
1840 return resultobj;
1841 fail:
1842 return NULL;
1843 }
1844
1845
1846 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1847 PyObject *resultobj;
1848 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1849 int result;
1850 PyObject * obj0 = 0 ;
1851 char *kwnames[] = {
1852 (char *) "self", NULL
1853 };
1854
1855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1858 {
1859 PyThreadState* __tstate = wxPyBeginAllowThreads();
1860 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1861
1862 wxPyEndAllowThreads(__tstate);
1863 if (PyErr_Occurred()) SWIG_fail;
1864 }
1865 resultobj = SWIG_FromInt((int)result);
1866 return resultobj;
1867 fail:
1868 return NULL;
1869 }
1870
1871
1872 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1873 PyObject *resultobj;
1874 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1875 int result;
1876 PyObject * obj0 = 0 ;
1877 char *kwnames[] = {
1878 (char *) "self", NULL
1879 };
1880
1881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1884 {
1885 PyThreadState* __tstate = wxPyBeginAllowThreads();
1886 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1887
1888 wxPyEndAllowThreads(__tstate);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 }
1891 resultobj = SWIG_FromInt((int)result);
1892 return resultobj;
1893 fail:
1894 return NULL;
1895 }
1896
1897
1898 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1899 PyObject *obj;
1900 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1901 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1902 Py_INCREF(obj);
1903 return Py_BuildValue((char *)"");
1904 }
1905 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1906 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1907 return 1;
1908 }
1909
1910
1911 static PyObject *_wrap_CheckBoxNameStr_get() {
1912 PyObject *pyobj;
1913
1914 {
1915 #if wxUSE_UNICODE
1916 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1917 #else
1918 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1919 #endif
1920 }
1921 return pyobj;
1922 }
1923
1924
1925 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject *resultobj;
1927 wxWindow *arg1 = (wxWindow *) 0 ;
1928 int arg2 ;
1929 wxString *arg3 = 0 ;
1930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1932 wxSize const &arg5_defvalue = wxDefaultSize ;
1933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1934 long arg6 = (long) 0 ;
1935 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1936 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1937 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1938 wxString *arg8 = (wxString *) &arg8_defvalue ;
1939 wxCheckBox *result;
1940 bool temp3 = False ;
1941 wxPoint temp4 ;
1942 wxSize temp5 ;
1943 bool temp8 = False ;
1944 PyObject * obj0 = 0 ;
1945 PyObject * obj1 = 0 ;
1946 PyObject * obj2 = 0 ;
1947 PyObject * obj3 = 0 ;
1948 PyObject * obj4 = 0 ;
1949 PyObject * obj5 = 0 ;
1950 PyObject * obj6 = 0 ;
1951 PyObject * obj7 = 0 ;
1952 char *kwnames[] = {
1953 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1954 };
1955
1956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1959 arg2 = (int) SWIG_AsInt(obj1);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 {
1962 arg3 = wxString_in_helper(obj2);
1963 if (arg3 == NULL) SWIG_fail;
1964 temp3 = True;
1965 }
1966 if (obj3) {
1967 {
1968 arg4 = &temp4;
1969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1970 }
1971 }
1972 if (obj4) {
1973 {
1974 arg5 = &temp5;
1975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1976 }
1977 }
1978 if (obj5) {
1979 arg6 = (long) SWIG_AsLong(obj5);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 if (obj6) {
1983 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1)
1985 SWIG_fail;
1986 if (arg7 == NULL) {
1987 PyErr_SetString(PyExc_TypeError,"null reference");
1988 SWIG_fail;
1989 }
1990 }
1991 if (obj7) {
1992 {
1993 arg8 = wxString_in_helper(obj7);
1994 if (arg8 == NULL) SWIG_fail;
1995 temp8 = True;
1996 }
1997 }
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
2000 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
2005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2006 {
2007 if (temp3)
2008 delete arg3;
2009 }
2010 {
2011 if (temp8)
2012 delete arg8;
2013 }
2014 return resultobj;
2015 fail:
2016 {
2017 if (temp3)
2018 delete arg3;
2019 }
2020 {
2021 if (temp8)
2022 delete arg8;
2023 }
2024 return NULL;
2025 }
2026
2027
2028 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 wxCheckBox *result;
2031 char *kwnames[] = {
2032 NULL
2033 };
2034
2035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2036 {
2037 PyThreadState* __tstate = wxPyBeginAllowThreads();
2038 result = (wxCheckBox *)new wxCheckBox();
2039
2040 wxPyEndAllowThreads(__tstate);
2041 if (PyErr_Occurred()) SWIG_fail;
2042 }
2043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2044 return resultobj;
2045 fail:
2046 return NULL;
2047 }
2048
2049
2050 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2051 PyObject *resultobj;
2052 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2053 wxWindow *arg2 = (wxWindow *) 0 ;
2054 int arg3 ;
2055 wxString *arg4 = 0 ;
2056 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2057 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2058 wxSize const &arg6_defvalue = wxDefaultSize ;
2059 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2060 long arg7 = (long) 0 ;
2061 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2062 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2063 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2064 wxString *arg9 = (wxString *) &arg9_defvalue ;
2065 bool result;
2066 bool temp4 = False ;
2067 wxPoint temp5 ;
2068 wxSize temp6 ;
2069 bool temp9 = False ;
2070 PyObject * obj0 = 0 ;
2071 PyObject * obj1 = 0 ;
2072 PyObject * obj2 = 0 ;
2073 PyObject * obj3 = 0 ;
2074 PyObject * obj4 = 0 ;
2075 PyObject * obj5 = 0 ;
2076 PyObject * obj6 = 0 ;
2077 PyObject * obj7 = 0 ;
2078 PyObject * obj8 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2086 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2088 arg3 = (int) SWIG_AsInt(obj2);
2089 if (PyErr_Occurred()) SWIG_fail;
2090 {
2091 arg4 = wxString_in_helper(obj3);
2092 if (arg4 == NULL) SWIG_fail;
2093 temp4 = True;
2094 }
2095 if (obj4) {
2096 {
2097 arg5 = &temp5;
2098 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2099 }
2100 }
2101 if (obj5) {
2102 {
2103 arg6 = &temp6;
2104 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2105 }
2106 }
2107 if (obj6) {
2108 arg7 = (long) SWIG_AsLong(obj6);
2109 if (PyErr_Occurred()) SWIG_fail;
2110 }
2111 if (obj7) {
2112 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2113 SWIG_POINTER_EXCEPTION | 0)) == -1)
2114 SWIG_fail;
2115 if (arg8 == NULL) {
2116 PyErr_SetString(PyExc_TypeError,"null reference");
2117 SWIG_fail;
2118 }
2119 }
2120 if (obj8) {
2121 {
2122 arg9 = wxString_in_helper(obj8);
2123 if (arg9 == NULL) SWIG_fail;
2124 temp9 = True;
2125 }
2126 }
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 {
2135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2136 }
2137 {
2138 if (temp4)
2139 delete arg4;
2140 }
2141 {
2142 if (temp9)
2143 delete arg9;
2144 }
2145 return resultobj;
2146 fail:
2147 {
2148 if (temp4)
2149 delete arg4;
2150 }
2151 {
2152 if (temp9)
2153 delete arg9;
2154 }
2155 return NULL;
2156 }
2157
2158
2159 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2162 bool result;
2163 PyObject * obj0 = 0 ;
2164 char *kwnames[] = {
2165 (char *) "self", NULL
2166 };
2167
2168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 result = (bool)(arg1)->GetValue();
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 {
2179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2180 }
2181 return resultobj;
2182 fail:
2183 return NULL;
2184 }
2185
2186
2187 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2188 PyObject *resultobj;
2189 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2190 bool result;
2191 PyObject * obj0 = 0 ;
2192 char *kwnames[] = {
2193 (char *) "self", NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->IsChecked();
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 return resultobj;
2210 fail:
2211 return NULL;
2212 }
2213
2214
2215 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2216 PyObject *resultobj;
2217 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2218 bool arg2 ;
2219 PyObject * obj0 = 0 ;
2220 PyObject * obj1 = 0 ;
2221 char *kwnames[] = {
2222 (char *) "self",(char *) "state", NULL
2223 };
2224
2225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2228 arg2 = (bool const) SWIG_AsBool(obj1);
2229 if (PyErr_Occurred()) SWIG_fail;
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->SetValue(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241 }
2242
2243
2244 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2247 int result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 resultobj = SWIG_FromInt((int)result);
2264 return resultobj;
2265 fail:
2266 return NULL;
2267 }
2268
2269
2270 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2273 int arg2 ;
2274 PyObject * obj0 = 0 ;
2275 PyObject * obj1 = 0 ;
2276 char *kwnames[] = {
2277 (char *) "self",(char *) "state", NULL
2278 };
2279
2280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2283 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2284 if (PyErr_Occurred()) SWIG_fail;
2285 {
2286 PyThreadState* __tstate = wxPyBeginAllowThreads();
2287 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2288
2289 wxPyEndAllowThreads(__tstate);
2290 if (PyErr_Occurred()) SWIG_fail;
2291 }
2292 Py_INCREF(Py_None); resultobj = Py_None;
2293 return resultobj;
2294 fail:
2295 return NULL;
2296 }
2297
2298
2299 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2302 bool result;
2303 PyObject * obj0 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2311 {
2312 PyThreadState* __tstate = wxPyBeginAllowThreads();
2313 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2314
2315 wxPyEndAllowThreads(__tstate);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 }
2318 {
2319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2320 }
2321 return resultobj;
2322 fail:
2323 return NULL;
2324 }
2325
2326
2327 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2330 bool result;
2331 PyObject * obj0 = 0 ;
2332 char *kwnames[] = {
2333 (char *) "self", NULL
2334 };
2335
2336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 {
2347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2348 }
2349 return resultobj;
2350 fail:
2351 return NULL;
2352 }
2353
2354
2355 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2356 PyObject *obj;
2357 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2358 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2359 Py_INCREF(obj);
2360 return Py_BuildValue((char *)"");
2361 }
2362 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2363 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2364 return 1;
2365 }
2366
2367
2368 static PyObject *_wrap_ChoiceNameStr_get() {
2369 PyObject *pyobj;
2370
2371 {
2372 #if wxUSE_UNICODE
2373 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2374 #else
2375 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2376 #endif
2377 }
2378 return pyobj;
2379 }
2380
2381
2382 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2383 PyObject *resultobj;
2384 wxWindow *arg1 = (wxWindow *) 0 ;
2385 int arg2 = (int) -1 ;
2386 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2387 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2388 wxSize const &arg4_defvalue = wxDefaultSize ;
2389 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2390 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2391 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2392 long arg6 = (long) 0 ;
2393 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2394 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2395 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2396 wxString *arg8 = (wxString *) &arg8_defvalue ;
2397 wxChoice *result;
2398 wxPoint temp3 ;
2399 wxSize temp4 ;
2400 bool temp5 = False ;
2401 bool temp8 = False ;
2402 PyObject * obj0 = 0 ;
2403 PyObject * obj1 = 0 ;
2404 PyObject * obj2 = 0 ;
2405 PyObject * obj3 = 0 ;
2406 PyObject * obj4 = 0 ;
2407 PyObject * obj5 = 0 ;
2408 PyObject * obj6 = 0 ;
2409 PyObject * obj7 = 0 ;
2410 char *kwnames[] = {
2411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2412 };
2413
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2417 if (obj1) {
2418 arg2 = (int) SWIG_AsInt(obj1);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 if (obj2) {
2422 {
2423 arg3 = &temp3;
2424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2425 }
2426 }
2427 if (obj3) {
2428 {
2429 arg4 = &temp4;
2430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2431 }
2432 }
2433 if (obj4) {
2434 {
2435 if (! PySequence_Check(obj4)) {
2436 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2437 SWIG_fail;
2438 }
2439 arg5 = new wxArrayString;
2440 temp5 = True;
2441 int i, len=PySequence_Length(obj4);
2442 for (i=0; i<len; i++) {
2443 PyObject* item = PySequence_GetItem(obj4, i);
2444 #if wxUSE_UNICODE
2445 PyObject* str = PyObject_Unicode(item);
2446 #else
2447 PyObject* str = PyObject_Str(item);
2448 #endif
2449 if (PyErr_Occurred()) SWIG_fail;
2450 arg5->Add(Py2wxString(str));
2451 Py_DECREF(item);
2452 Py_DECREF(str);
2453 }
2454 }
2455 }
2456 if (obj5) {
2457 arg6 = (long) SWIG_AsLong(obj5);
2458 if (PyErr_Occurred()) SWIG_fail;
2459 }
2460 if (obj6) {
2461 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2462 SWIG_POINTER_EXCEPTION | 0)) == -1)
2463 SWIG_fail;
2464 if (arg7 == NULL) {
2465 PyErr_SetString(PyExc_TypeError,"null reference");
2466 SWIG_fail;
2467 }
2468 }
2469 if (obj7) {
2470 {
2471 arg8 = wxString_in_helper(obj7);
2472 if (arg8 == NULL) SWIG_fail;
2473 temp8 = True;
2474 }
2475 }
2476 {
2477 PyThreadState* __tstate = wxPyBeginAllowThreads();
2478 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2479
2480 wxPyEndAllowThreads(__tstate);
2481 if (PyErr_Occurred()) SWIG_fail;
2482 }
2483 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2484 {
2485 if (temp5) delete arg5;
2486 }
2487 {
2488 if (temp8)
2489 delete arg8;
2490 }
2491 return resultobj;
2492 fail:
2493 {
2494 if (temp5) delete arg5;
2495 }
2496 {
2497 if (temp8)
2498 delete arg8;
2499 }
2500 return NULL;
2501 }
2502
2503
2504 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 wxChoice *result;
2507 char *kwnames[] = {
2508 NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 result = (wxChoice *)new wxChoice();
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2520 return resultobj;
2521 fail:
2522 return NULL;
2523 }
2524
2525
2526 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2527 PyObject *resultobj;
2528 wxChoice *arg1 = (wxChoice *) 0 ;
2529 wxWindow *arg2 = (wxWindow *) 0 ;
2530 int arg3 = (int) -1 ;
2531 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2532 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2533 wxSize const &arg5_defvalue = wxDefaultSize ;
2534 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2535 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2536 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2537 long arg7 = (long) 0 ;
2538 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2539 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2540 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2541 wxString *arg9 = (wxString *) &arg9_defvalue ;
2542 bool result;
2543 wxPoint temp4 ;
2544 wxSize temp5 ;
2545 bool temp6 = False ;
2546 bool temp9 = False ;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 PyObject * obj3 = 0 ;
2551 PyObject * obj4 = 0 ;
2552 PyObject * obj5 = 0 ;
2553 PyObject * obj6 = 0 ;
2554 PyObject * obj7 = 0 ;
2555 PyObject * obj8 = 0 ;
2556 char *kwnames[] = {
2557 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2558 };
2559
2560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2563 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2565 if (obj2) {
2566 arg3 = (int) SWIG_AsInt(obj2);
2567 if (PyErr_Occurred()) SWIG_fail;
2568 }
2569 if (obj3) {
2570 {
2571 arg4 = &temp4;
2572 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2573 }
2574 }
2575 if (obj4) {
2576 {
2577 arg5 = &temp5;
2578 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2579 }
2580 }
2581 if (obj5) {
2582 {
2583 if (! PySequence_Check(obj5)) {
2584 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2585 SWIG_fail;
2586 }
2587 arg6 = new wxArrayString;
2588 temp6 = True;
2589 int i, len=PySequence_Length(obj5);
2590 for (i=0; i<len; i++) {
2591 PyObject* item = PySequence_GetItem(obj5, i);
2592 #if wxUSE_UNICODE
2593 PyObject* str = PyObject_Unicode(item);
2594 #else
2595 PyObject* str = PyObject_Str(item);
2596 #endif
2597 if (PyErr_Occurred()) SWIG_fail;
2598 arg6->Add(Py2wxString(str));
2599 Py_DECREF(item);
2600 Py_DECREF(str);
2601 }
2602 }
2603 }
2604 if (obj6) {
2605 arg7 = (long) SWIG_AsLong(obj6);
2606 if (PyErr_Occurred()) SWIG_fail;
2607 }
2608 if (obj7) {
2609 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2610 SWIG_POINTER_EXCEPTION | 0)) == -1)
2611 SWIG_fail;
2612 if (arg8 == NULL) {
2613 PyErr_SetString(PyExc_TypeError,"null reference");
2614 SWIG_fail;
2615 }
2616 }
2617 if (obj8) {
2618 {
2619 arg9 = wxString_in_helper(obj8);
2620 if (arg9 == NULL) SWIG_fail;
2621 temp9 = True;
2622 }
2623 }
2624 {
2625 PyThreadState* __tstate = wxPyBeginAllowThreads();
2626 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2627
2628 wxPyEndAllowThreads(__tstate);
2629 if (PyErr_Occurred()) SWIG_fail;
2630 }
2631 {
2632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2633 }
2634 {
2635 if (temp6) delete arg6;
2636 }
2637 {
2638 if (temp9)
2639 delete arg9;
2640 }
2641 return resultobj;
2642 fail:
2643 {
2644 if (temp6) delete arg6;
2645 }
2646 {
2647 if (temp9)
2648 delete arg9;
2649 }
2650 return NULL;
2651 }
2652
2653
2654 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2655 PyObject *resultobj;
2656 wxChoice *arg1 = (wxChoice *) 0 ;
2657 int arg2 ;
2658 PyObject * obj0 = 0 ;
2659 PyObject * obj1 = 0 ;
2660 char *kwnames[] = {
2661 (char *) "self",(char *) "n", NULL
2662 };
2663
2664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2667 arg2 = (int const) SWIG_AsInt(obj1);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 {
2670 PyThreadState* __tstate = wxPyBeginAllowThreads();
2671 (arg1)->SetSelection(arg2);
2672
2673 wxPyEndAllowThreads(__tstate);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 Py_INCREF(Py_None); resultobj = Py_None;
2677 return resultobj;
2678 fail:
2679 return NULL;
2680 }
2681
2682
2683 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2684 PyObject *resultobj;
2685 wxChoice *arg1 = (wxChoice *) 0 ;
2686 wxString *arg2 = 0 ;
2687 bool result;
2688 bool temp2 = False ;
2689 PyObject * obj0 = 0 ;
2690 PyObject * obj1 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self",(char *) "string", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2698 {
2699 arg2 = wxString_in_helper(obj1);
2700 if (arg2 == NULL) SWIG_fail;
2701 temp2 = True;
2702 }
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 {
2711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2712 }
2713 {
2714 if (temp2)
2715 delete arg2;
2716 }
2717 return resultobj;
2718 fail:
2719 {
2720 if (temp2)
2721 delete arg2;
2722 }
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxChoice *arg1 = (wxChoice *) 0 ;
2730 int arg2 ;
2731 wxString *arg3 = 0 ;
2732 bool temp3 = False ;
2733 PyObject * obj0 = 0 ;
2734 PyObject * obj1 = 0 ;
2735 PyObject * obj2 = 0 ;
2736 char *kwnames[] = {
2737 (char *) "self",(char *) "n",(char *) "string", NULL
2738 };
2739
2740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2743 arg2 = (int) SWIG_AsInt(obj1);
2744 if (PyErr_Occurred()) SWIG_fail;
2745 {
2746 arg3 = wxString_in_helper(obj2);
2747 if (arg3 == NULL) SWIG_fail;
2748 temp3 = True;
2749 }
2750 {
2751 PyThreadState* __tstate = wxPyBeginAllowThreads();
2752 (arg1)->SetString(arg2,(wxString const &)*arg3);
2753
2754 wxPyEndAllowThreads(__tstate);
2755 if (PyErr_Occurred()) SWIG_fail;
2756 }
2757 Py_INCREF(Py_None); resultobj = Py_None;
2758 {
2759 if (temp3)
2760 delete arg3;
2761 }
2762 return resultobj;
2763 fail:
2764 {
2765 if (temp3)
2766 delete arg3;
2767 }
2768 return NULL;
2769 }
2770
2771
2772 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2773 PyObject *obj;
2774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2775 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2776 Py_INCREF(obj);
2777 return Py_BuildValue((char *)"");
2778 }
2779 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2780 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2781 return 1;
2782 }
2783
2784
2785 static PyObject *_wrap_ComboBoxNameStr_get() {
2786 PyObject *pyobj;
2787
2788 {
2789 #if wxUSE_UNICODE
2790 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2791 #else
2792 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2793 #endif
2794 }
2795 return pyobj;
2796 }
2797
2798
2799 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2800 PyObject *resultobj;
2801 wxWindow *arg1 = (wxWindow *) 0 ;
2802 int arg2 = (int) -1 ;
2803 wxString const &arg3_defvalue = wxPyEmptyString ;
2804 wxString *arg3 = (wxString *) &arg3_defvalue ;
2805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2807 wxSize const &arg5_defvalue = wxDefaultSize ;
2808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2809 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2810 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2811 long arg7 = (long) 0 ;
2812 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2813 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2814 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2815 wxString *arg9 = (wxString *) &arg9_defvalue ;
2816 wxComboBox *result;
2817 bool temp3 = False ;
2818 wxPoint temp4 ;
2819 wxSize temp5 ;
2820 bool temp6 = False ;
2821 bool temp9 = False ;
2822 PyObject * obj0 = 0 ;
2823 PyObject * obj1 = 0 ;
2824 PyObject * obj2 = 0 ;
2825 PyObject * obj3 = 0 ;
2826 PyObject * obj4 = 0 ;
2827 PyObject * obj5 = 0 ;
2828 PyObject * obj6 = 0 ;
2829 PyObject * obj7 = 0 ;
2830 PyObject * obj8 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2838 if (obj1) {
2839 arg2 = (int) SWIG_AsInt(obj1);
2840 if (PyErr_Occurred()) SWIG_fail;
2841 }
2842 if (obj2) {
2843 {
2844 arg3 = wxString_in_helper(obj2);
2845 if (arg3 == NULL) SWIG_fail;
2846 temp3 = True;
2847 }
2848 }
2849 if (obj3) {
2850 {
2851 arg4 = &temp4;
2852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2853 }
2854 }
2855 if (obj4) {
2856 {
2857 arg5 = &temp5;
2858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2859 }
2860 }
2861 if (obj5) {
2862 {
2863 if (! PySequence_Check(obj5)) {
2864 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2865 SWIG_fail;
2866 }
2867 arg6 = new wxArrayString;
2868 temp6 = True;
2869 int i, len=PySequence_Length(obj5);
2870 for (i=0; i<len; i++) {
2871 PyObject* item = PySequence_GetItem(obj5, i);
2872 #if wxUSE_UNICODE
2873 PyObject* str = PyObject_Unicode(item);
2874 #else
2875 PyObject* str = PyObject_Str(item);
2876 #endif
2877 if (PyErr_Occurred()) SWIG_fail;
2878 arg6->Add(Py2wxString(str));
2879 Py_DECREF(item);
2880 Py_DECREF(str);
2881 }
2882 }
2883 }
2884 if (obj6) {
2885 arg7 = (long) SWIG_AsLong(obj6);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 if (obj7) {
2889 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2890 SWIG_POINTER_EXCEPTION | 0)) == -1)
2891 SWIG_fail;
2892 if (arg8 == NULL) {
2893 PyErr_SetString(PyExc_TypeError,"null reference");
2894 SWIG_fail;
2895 }
2896 }
2897 if (obj8) {
2898 {
2899 arg9 = wxString_in_helper(obj8);
2900 if (arg9 == NULL) SWIG_fail;
2901 temp9 = True;
2902 }
2903 }
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 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);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2912 {
2913 if (temp3)
2914 delete arg3;
2915 }
2916 {
2917 if (temp6) delete arg6;
2918 }
2919 {
2920 if (temp9)
2921 delete arg9;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp3)
2927 delete arg3;
2928 }
2929 {
2930 if (temp6) delete arg6;
2931 }
2932 {
2933 if (temp9)
2934 delete arg9;
2935 }
2936 return NULL;
2937 }
2938
2939
2940 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxComboBox *result;
2943 char *kwnames[] = {
2944 NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxComboBox *)new wxComboBox();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
2956 return resultobj;
2957 fail:
2958 return NULL;
2959 }
2960
2961
2962 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxComboBox *arg1 = (wxComboBox *) 0 ;
2965 wxWindow *arg2 = (wxWindow *) 0 ;
2966 int arg3 = (int) -1 ;
2967 wxString const &arg4_defvalue = wxPyEmptyString ;
2968 wxString *arg4 = (wxString *) &arg4_defvalue ;
2969 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2970 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2971 wxSize const &arg6_defvalue = wxDefaultSize ;
2972 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2973 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2974 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2975 long arg8 = (long) 0 ;
2976 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2977 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2978 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2979 wxString *arg10 = (wxString *) &arg10_defvalue ;
2980 bool result;
2981 bool temp4 = False ;
2982 wxPoint temp5 ;
2983 wxSize temp6 ;
2984 bool temp7 = False ;
2985 bool temp10 = False ;
2986 PyObject * obj0 = 0 ;
2987 PyObject * obj1 = 0 ;
2988 PyObject * obj2 = 0 ;
2989 PyObject * obj3 = 0 ;
2990 PyObject * obj4 = 0 ;
2991 PyObject * obj5 = 0 ;
2992 PyObject * obj6 = 0 ;
2993 PyObject * obj7 = 0 ;
2994 PyObject * obj8 = 0 ;
2995 PyObject * obj9 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3005 if (obj2) {
3006 arg3 = (int) SWIG_AsInt(obj2);
3007 if (PyErr_Occurred()) SWIG_fail;
3008 }
3009 if (obj3) {
3010 {
3011 arg4 = wxString_in_helper(obj3);
3012 if (arg4 == NULL) SWIG_fail;
3013 temp4 = True;
3014 }
3015 }
3016 if (obj4) {
3017 {
3018 arg5 = &temp5;
3019 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3020 }
3021 }
3022 if (obj5) {
3023 {
3024 arg6 = &temp6;
3025 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3026 }
3027 }
3028 if (obj6) {
3029 {
3030 if (! PySequence_Check(obj6)) {
3031 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3032 SWIG_fail;
3033 }
3034 arg7 = new wxArrayString;
3035 temp7 = True;
3036 int i, len=PySequence_Length(obj6);
3037 for (i=0; i<len; i++) {
3038 PyObject* item = PySequence_GetItem(obj6, i);
3039 #if wxUSE_UNICODE
3040 PyObject* str = PyObject_Unicode(item);
3041 #else
3042 PyObject* str = PyObject_Str(item);
3043 #endif
3044 if (PyErr_Occurred()) SWIG_fail;
3045 arg7->Add(Py2wxString(str));
3046 Py_DECREF(item);
3047 Py_DECREF(str);
3048 }
3049 }
3050 }
3051 if (obj7) {
3052 arg8 = (long) SWIG_AsLong(obj7);
3053 if (PyErr_Occurred()) SWIG_fail;
3054 }
3055 if (obj8) {
3056 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3057 SWIG_POINTER_EXCEPTION | 0)) == -1)
3058 SWIG_fail;
3059 if (arg9 == NULL) {
3060 PyErr_SetString(PyExc_TypeError,"null reference");
3061 SWIG_fail;
3062 }
3063 }
3064 if (obj9) {
3065 {
3066 arg10 = wxString_in_helper(obj9);
3067 if (arg10 == NULL) SWIG_fail;
3068 temp10 = True;
3069 }
3070 }
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 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);
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 {
3079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3080 }
3081 {
3082 if (temp4)
3083 delete arg4;
3084 }
3085 {
3086 if (temp7) delete arg7;
3087 }
3088 {
3089 if (temp10)
3090 delete arg10;
3091 }
3092 return resultobj;
3093 fail:
3094 {
3095 if (temp4)
3096 delete arg4;
3097 }
3098 {
3099 if (temp7) delete arg7;
3100 }
3101 {
3102 if (temp10)
3103 delete arg10;
3104 }
3105 return NULL;
3106 }
3107
3108
3109 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxComboBox *arg1 = (wxComboBox *) 0 ;
3112 wxString result;
3113 PyObject * obj0 = 0 ;
3114 char *kwnames[] = {
3115 (char *) "self", NULL
3116 };
3117
3118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3121 {
3122 PyThreadState* __tstate = wxPyBeginAllowThreads();
3123 result = ((wxComboBox const *)arg1)->GetValue();
3124
3125 wxPyEndAllowThreads(__tstate);
3126 if (PyErr_Occurred()) SWIG_fail;
3127 }
3128 {
3129 #if wxUSE_UNICODE
3130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3131 #else
3132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3133 #endif
3134 }
3135 return resultobj;
3136 fail:
3137 return NULL;
3138 }
3139
3140
3141 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxComboBox *arg1 = (wxComboBox *) 0 ;
3144 wxString *arg2 = 0 ;
3145 bool temp2 = False ;
3146 PyObject * obj0 = 0 ;
3147 PyObject * obj1 = 0 ;
3148 char *kwnames[] = {
3149 (char *) "self",(char *) "value", NULL
3150 };
3151
3152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3155 {
3156 arg2 = wxString_in_helper(obj1);
3157 if (arg2 == NULL) SWIG_fail;
3158 temp2 = True;
3159 }
3160 {
3161 PyThreadState* __tstate = wxPyBeginAllowThreads();
3162 (arg1)->SetValue((wxString const &)*arg2);
3163
3164 wxPyEndAllowThreads(__tstate);
3165 if (PyErr_Occurred()) SWIG_fail;
3166 }
3167 Py_INCREF(Py_None); resultobj = Py_None;
3168 {
3169 if (temp2)
3170 delete arg2;
3171 }
3172 return resultobj;
3173 fail:
3174 {
3175 if (temp2)
3176 delete arg2;
3177 }
3178 return NULL;
3179 }
3180
3181
3182 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3183 PyObject *resultobj;
3184 wxComboBox *arg1 = (wxComboBox *) 0 ;
3185 PyObject * obj0 = 0 ;
3186 char *kwnames[] = {
3187 (char *) "self", NULL
3188 };
3189
3190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 (arg1)->Copy();
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 Py_INCREF(Py_None); resultobj = Py_None;
3201 return resultobj;
3202 fail:
3203 return NULL;
3204 }
3205
3206
3207 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3208 PyObject *resultobj;
3209 wxComboBox *arg1 = (wxComboBox *) 0 ;
3210 PyObject * obj0 = 0 ;
3211 char *kwnames[] = {
3212 (char *) "self", NULL
3213 };
3214
3215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3218 {
3219 PyThreadState* __tstate = wxPyBeginAllowThreads();
3220 (arg1)->Cut();
3221
3222 wxPyEndAllowThreads(__tstate);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 Py_INCREF(Py_None); resultobj = Py_None;
3226 return resultobj;
3227 fail:
3228 return NULL;
3229 }
3230
3231
3232 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3233 PyObject *resultobj;
3234 wxComboBox *arg1 = (wxComboBox *) 0 ;
3235 PyObject * obj0 = 0 ;
3236 char *kwnames[] = {
3237 (char *) "self", NULL
3238 };
3239
3240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 (arg1)->Paste();
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
3250 Py_INCREF(Py_None); resultobj = Py_None;
3251 return resultobj;
3252 fail:
3253 return NULL;
3254 }
3255
3256
3257 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxComboBox *arg1 = (wxComboBox *) 0 ;
3260 long arg2 ;
3261 PyObject * obj0 = 0 ;
3262 PyObject * obj1 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self",(char *) "pos", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3270 arg2 = (long) SWIG_AsLong(obj1);
3271 if (PyErr_Occurred()) SWIG_fail;
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetInsertionPoint(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283 }
3284
3285
3286 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxComboBox *arg1 = (wxComboBox *) 0 ;
3289 long result;
3290 PyObject * obj0 = 0 ;
3291 char *kwnames[] = {
3292 (char *) "self", NULL
3293 };
3294
3295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3298 {
3299 PyThreadState* __tstate = wxPyBeginAllowThreads();
3300 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3301
3302 wxPyEndAllowThreads(__tstate);
3303 if (PyErr_Occurred()) SWIG_fail;
3304 }
3305 resultobj = SWIG_FromLong((long)result);
3306 return resultobj;
3307 fail:
3308 return NULL;
3309 }
3310
3311
3312 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxComboBox *arg1 = (wxComboBox *) 0 ;
3315 long result;
3316 PyObject * obj0 = 0 ;
3317 char *kwnames[] = {
3318 (char *) "self", NULL
3319 };
3320
3321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3324 {
3325 PyThreadState* __tstate = wxPyBeginAllowThreads();
3326 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3327
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 resultobj = SWIG_FromLong((long)result);
3332 return resultobj;
3333 fail:
3334 return NULL;
3335 }
3336
3337
3338 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject *resultobj;
3340 wxComboBox *arg1 = (wxComboBox *) 0 ;
3341 long arg2 ;
3342 long arg3 ;
3343 wxString *arg4 = 0 ;
3344 bool temp4 = False ;
3345 PyObject * obj0 = 0 ;
3346 PyObject * obj1 = 0 ;
3347 PyObject * obj2 = 0 ;
3348 PyObject * obj3 = 0 ;
3349 char *kwnames[] = {
3350 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3351 };
3352
3353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3356 arg2 = (long) SWIG_AsLong(obj1);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 arg3 = (long) SWIG_AsLong(obj2);
3359 if (PyErr_Occurred()) SWIG_fail;
3360 {
3361 arg4 = wxString_in_helper(obj3);
3362 if (arg4 == NULL) SWIG_fail;
3363 temp4 = True;
3364 }
3365 {
3366 PyThreadState* __tstate = wxPyBeginAllowThreads();
3367 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3368
3369 wxPyEndAllowThreads(__tstate);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 }
3372 Py_INCREF(Py_None); resultobj = Py_None;
3373 {
3374 if (temp4)
3375 delete arg4;
3376 }
3377 return resultobj;
3378 fail:
3379 {
3380 if (temp4)
3381 delete arg4;
3382 }
3383 return NULL;
3384 }
3385
3386
3387 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxComboBox *arg1 = (wxComboBox *) 0 ;
3390 int arg2 ;
3391 PyObject * obj0 = 0 ;
3392 PyObject * obj1 = 0 ;
3393 char *kwnames[] = {
3394 (char *) "self",(char *) "n", NULL
3395 };
3396
3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3400 arg2 = (int) SWIG_AsInt(obj1);
3401 if (PyErr_Occurred()) SWIG_fail;
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->SetSelection(arg2);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxComboBox *arg1 = (wxComboBox *) 0 ;
3419 long arg2 ;
3420 long arg3 ;
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
3423 PyObject * obj2 = 0 ;
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "from",(char *) "to", NULL
3426 };
3427
3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 arg2 = (long) SWIG_AsLong(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 arg3 = (long) SWIG_AsLong(obj2);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->SetSelection(arg2,arg3);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 return resultobj;
3444 fail:
3445 return NULL;
3446 }
3447
3448
3449 static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3450 PyObject *resultobj;
3451 wxComboBox *arg1 = (wxComboBox *) 0 ;
3452 wxString *arg2 = 0 ;
3453 bool result;
3454 bool temp2 = False ;
3455 PyObject * obj0 = 0 ;
3456 PyObject * obj1 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "string", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3464 {
3465 arg2 = wxString_in_helper(obj1);
3466 if (arg2 == NULL) SWIG_fail;
3467 temp2 = True;
3468 }
3469 {
3470 PyThreadState* __tstate = wxPyBeginAllowThreads();
3471 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3472
3473 wxPyEndAllowThreads(__tstate);
3474 if (PyErr_Occurred()) SWIG_fail;
3475 }
3476 {
3477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3478 }
3479 {
3480 if (temp2)
3481 delete arg2;
3482 }
3483 return resultobj;
3484 fail:
3485 {
3486 if (temp2)
3487 delete arg2;
3488 }
3489 return NULL;
3490 }
3491
3492
3493 static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3494 PyObject *resultobj;
3495 wxComboBox *arg1 = (wxComboBox *) 0 ;
3496 int arg2 ;
3497 wxString *arg3 = 0 ;
3498 bool temp3 = False ;
3499 PyObject * obj0 = 0 ;
3500 PyObject * obj1 = 0 ;
3501 PyObject * obj2 = 0 ;
3502 char *kwnames[] = {
3503 (char *) "self",(char *) "n",(char *) "string", NULL
3504 };
3505
3506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3509 arg2 = (int) SWIG_AsInt(obj1);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 {
3512 arg3 = wxString_in_helper(obj2);
3513 if (arg3 == NULL) SWIG_fail;
3514 temp3 = True;
3515 }
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 (arg1)->SetString(arg2,(wxString const &)*arg3);
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 Py_INCREF(Py_None); resultobj = Py_None;
3524 {
3525 if (temp3)
3526 delete arg3;
3527 }
3528 return resultobj;
3529 fail:
3530 {
3531 if (temp3)
3532 delete arg3;
3533 }
3534 return NULL;
3535 }
3536
3537
3538 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject *resultobj;
3540 wxComboBox *arg1 = (wxComboBox *) 0 ;
3541 bool arg2 ;
3542 PyObject * obj0 = 0 ;
3543 PyObject * obj1 = 0 ;
3544 char *kwnames[] = {
3545 (char *) "self",(char *) "editable", NULL
3546 };
3547
3548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3551 arg2 = (bool) SWIG_AsBool(obj1);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 (arg1)->SetEditable(arg2);
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 Py_INCREF(Py_None); resultobj = Py_None;
3561 return resultobj;
3562 fail:
3563 return NULL;
3564 }
3565
3566
3567 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxComboBox *arg1 = (wxComboBox *) 0 ;
3570 PyObject * obj0 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 (arg1)->SetInsertionPointEnd();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 Py_INCREF(Py_None); resultobj = Py_None;
3586 return resultobj;
3587 fail:
3588 return NULL;
3589 }
3590
3591
3592 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxComboBox *arg1 = (wxComboBox *) 0 ;
3595 long arg2 ;
3596 long arg3 ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 PyObject * obj2 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self",(char *) "from",(char *) "to", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3607 arg2 = (long) SWIG_AsLong(obj1);
3608 if (PyErr_Occurred()) SWIG_fail;
3609 arg3 = (long) SWIG_AsLong(obj2);
3610 if (PyErr_Occurred()) SWIG_fail;
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 (arg1)->Remove(arg2,arg3);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 Py_INCREF(Py_None); resultobj = Py_None;
3619 return resultobj;
3620 fail:
3621 return NULL;
3622 }
3623
3624
3625 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3626 PyObject *obj;
3627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3628 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3629 Py_INCREF(obj);
3630 return Py_BuildValue((char *)"");
3631 }
3632 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3633 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3634 return 1;
3635 }
3636
3637
3638 static PyObject *_wrap_GaugeNameStr_get() {
3639 PyObject *pyobj;
3640
3641 {
3642 #if wxUSE_UNICODE
3643 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3644 #else
3645 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3646 #endif
3647 }
3648 return pyobj;
3649 }
3650
3651
3652 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj;
3654 wxWindow *arg1 = (wxWindow *) 0 ;
3655 int arg2 ;
3656 int arg3 ;
3657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3659 wxSize const &arg5_defvalue = wxDefaultSize ;
3660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3661 long arg6 = (long) wxGA_HORIZONTAL ;
3662 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3663 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3664 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3665 wxString *arg8 = (wxString *) &arg8_defvalue ;
3666 wxGauge *result;
3667 wxPoint temp4 ;
3668 wxSize temp5 ;
3669 bool temp8 = False ;
3670 PyObject * obj0 = 0 ;
3671 PyObject * obj1 = 0 ;
3672 PyObject * obj2 = 0 ;
3673 PyObject * obj3 = 0 ;
3674 PyObject * obj4 = 0 ;
3675 PyObject * obj5 = 0 ;
3676 PyObject * obj6 = 0 ;
3677 PyObject * obj7 = 0 ;
3678 char *kwnames[] = {
3679 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3680 };
3681
3682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3685 arg2 = (int) SWIG_AsInt(obj1);
3686 if (PyErr_Occurred()) SWIG_fail;
3687 arg3 = (int) SWIG_AsInt(obj2);
3688 if (PyErr_Occurred()) SWIG_fail;
3689 if (obj3) {
3690 {
3691 arg4 = &temp4;
3692 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3693 }
3694 }
3695 if (obj4) {
3696 {
3697 arg5 = &temp5;
3698 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3699 }
3700 }
3701 if (obj5) {
3702 arg6 = (long) SWIG_AsLong(obj5);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 if (obj6) {
3706 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3707 SWIG_POINTER_EXCEPTION | 0)) == -1)
3708 SWIG_fail;
3709 if (arg7 == NULL) {
3710 PyErr_SetString(PyExc_TypeError,"null reference");
3711 SWIG_fail;
3712 }
3713 }
3714 if (obj7) {
3715 {
3716 arg8 = wxString_in_helper(obj7);
3717 if (arg8 == NULL) SWIG_fail;
3718 temp8 = True;
3719 }
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3729 {
3730 if (temp8)
3731 delete arg8;
3732 }
3733 return resultobj;
3734 fail:
3735 {
3736 if (temp8)
3737 delete arg8;
3738 }
3739 return NULL;
3740 }
3741
3742
3743 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxGauge *result;
3746 char *kwnames[] = {
3747 NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 result = (wxGauge *)new wxGauge();
3754
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3759 return resultobj;
3760 fail:
3761 return NULL;
3762 }
3763
3764
3765 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxGauge *arg1 = (wxGauge *) 0 ;
3768 wxWindow *arg2 = (wxWindow *) 0 ;
3769 int arg3 ;
3770 int arg4 ;
3771 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3772 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3773 wxSize const &arg6_defvalue = wxDefaultSize ;
3774 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3775 long arg7 = (long) wxGA_HORIZONTAL ;
3776 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3777 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3778 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3779 wxString *arg9 = (wxString *) &arg9_defvalue ;
3780 bool result;
3781 wxPoint temp5 ;
3782 wxSize temp6 ;
3783 bool temp9 = False ;
3784 PyObject * obj0 = 0 ;
3785 PyObject * obj1 = 0 ;
3786 PyObject * obj2 = 0 ;
3787 PyObject * obj3 = 0 ;
3788 PyObject * obj4 = 0 ;
3789 PyObject * obj5 = 0 ;
3790 PyObject * obj6 = 0 ;
3791 PyObject * obj7 = 0 ;
3792 PyObject * obj8 = 0 ;
3793 char *kwnames[] = {
3794 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3795 };
3796
3797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3800 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3802 arg3 = (int) SWIG_AsInt(obj2);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 arg4 = (int) SWIG_AsInt(obj3);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 if (obj4) {
3807 {
3808 arg5 = &temp5;
3809 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3810 }
3811 }
3812 if (obj5) {
3813 {
3814 arg6 = &temp6;
3815 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3816 }
3817 }
3818 if (obj6) {
3819 arg7 = (long) SWIG_AsLong(obj6);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 if (obj7) {
3823 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3824 SWIG_POINTER_EXCEPTION | 0)) == -1)
3825 SWIG_fail;
3826 if (arg8 == NULL) {
3827 PyErr_SetString(PyExc_TypeError,"null reference");
3828 SWIG_fail;
3829 }
3830 }
3831 if (obj8) {
3832 {
3833 arg9 = wxString_in_helper(obj8);
3834 if (arg9 == NULL) SWIG_fail;
3835 temp9 = True;
3836 }
3837 }
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 {
3846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3847 }
3848 {
3849 if (temp9)
3850 delete arg9;
3851 }
3852 return resultobj;
3853 fail:
3854 {
3855 if (temp9)
3856 delete arg9;
3857 }
3858 return NULL;
3859 }
3860
3861
3862 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3863 PyObject *resultobj;
3864 wxGauge *arg1 = (wxGauge *) 0 ;
3865 int arg2 ;
3866 PyObject * obj0 = 0 ;
3867 PyObject * obj1 = 0 ;
3868 char *kwnames[] = {
3869 (char *) "self",(char *) "range", NULL
3870 };
3871
3872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3875 arg2 = (int) SWIG_AsInt(obj1);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 {
3878 PyThreadState* __tstate = wxPyBeginAllowThreads();
3879 (arg1)->SetRange(arg2);
3880
3881 wxPyEndAllowThreads(__tstate);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 Py_INCREF(Py_None); resultobj = Py_None;
3885 return resultobj;
3886 fail:
3887 return NULL;
3888 }
3889
3890
3891 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3892 PyObject *resultobj;
3893 wxGauge *arg1 = (wxGauge *) 0 ;
3894 int result;
3895 PyObject * obj0 = 0 ;
3896 char *kwnames[] = {
3897 (char *) "self", NULL
3898 };
3899
3900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3903 {
3904 PyThreadState* __tstate = wxPyBeginAllowThreads();
3905 result = (int)((wxGauge const *)arg1)->GetRange();
3906
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 resultobj = SWIG_FromInt((int)result);
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3918 PyObject *resultobj;
3919 wxGauge *arg1 = (wxGauge *) 0 ;
3920 int arg2 ;
3921 PyObject * obj0 = 0 ;
3922 PyObject * obj1 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "pos", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3930 arg2 = (int) SWIG_AsInt(obj1);
3931 if (PyErr_Occurred()) SWIG_fail;
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 (arg1)->SetValue(arg2);
3935
3936 wxPyEndAllowThreads(__tstate);
3937 if (PyErr_Occurred()) SWIG_fail;
3938 }
3939 Py_INCREF(Py_None); resultobj = Py_None;
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxGauge *arg1 = (wxGauge *) 0 ;
3949 int result;
3950 PyObject * obj0 = 0 ;
3951 char *kwnames[] = {
3952 (char *) "self", NULL
3953 };
3954
3955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 result = (int)((wxGauge const *)arg1)->GetValue();
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 resultobj = SWIG_FromInt((int)result);
3966 return resultobj;
3967 fail:
3968 return NULL;
3969 }
3970
3971
3972 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3973 PyObject *resultobj;
3974 wxGauge *arg1 = (wxGauge *) 0 ;
3975 bool result;
3976 PyObject * obj0 = 0 ;
3977 char *kwnames[] = {
3978 (char *) "self", NULL
3979 };
3980
3981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3984 {
3985 PyThreadState* __tstate = wxPyBeginAllowThreads();
3986 result = (bool)((wxGauge const *)arg1)->IsVertical();
3987
3988 wxPyEndAllowThreads(__tstate);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
3991 {
3992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3993 }
3994 return resultobj;
3995 fail:
3996 return NULL;
3997 }
3998
3999
4000 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4001 PyObject *resultobj;
4002 wxGauge *arg1 = (wxGauge *) 0 ;
4003 int arg2 ;
4004 PyObject * obj0 = 0 ;
4005 PyObject * obj1 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "self",(char *) "w", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4013 arg2 = (int) SWIG_AsInt(obj1);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 {
4016 PyThreadState* __tstate = wxPyBeginAllowThreads();
4017 (arg1)->SetShadowWidth(arg2);
4018
4019 wxPyEndAllowThreads(__tstate);
4020 if (PyErr_Occurred()) SWIG_fail;
4021 }
4022 Py_INCREF(Py_None); resultobj = Py_None;
4023 return resultobj;
4024 fail:
4025 return NULL;
4026 }
4027
4028
4029 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4030 PyObject *resultobj;
4031 wxGauge *arg1 = (wxGauge *) 0 ;
4032 int result;
4033 PyObject * obj0 = 0 ;
4034 char *kwnames[] = {
4035 (char *) "self", NULL
4036 };
4037
4038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 resultobj = SWIG_FromInt((int)result);
4049 return resultobj;
4050 fail:
4051 return NULL;
4052 }
4053
4054
4055 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxGauge *arg1 = (wxGauge *) 0 ;
4058 int arg2 ;
4059 PyObject * obj0 = 0 ;
4060 PyObject * obj1 = 0 ;
4061 char *kwnames[] = {
4062 (char *) "self",(char *) "w", NULL
4063 };
4064
4065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4068 arg2 = (int) SWIG_AsInt(obj1);
4069 if (PyErr_Occurred()) SWIG_fail;
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 (arg1)->SetBezelFace(arg2);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 Py_INCREF(Py_None); resultobj = Py_None;
4078 return resultobj;
4079 fail:
4080 return NULL;
4081 }
4082
4083
4084 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxGauge *arg1 = (wxGauge *) 0 ;
4087 int result;
4088 PyObject * obj0 = 0 ;
4089 char *kwnames[] = {
4090 (char *) "self", NULL
4091 };
4092
4093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4096 {
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4099
4100 wxPyEndAllowThreads(__tstate);
4101 if (PyErr_Occurred()) SWIG_fail;
4102 }
4103 resultobj = SWIG_FromInt((int)result);
4104 return resultobj;
4105 fail:
4106 return NULL;
4107 }
4108
4109
4110 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4111 PyObject *obj;
4112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4113 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4114 Py_INCREF(obj);
4115 return Py_BuildValue((char *)"");
4116 }
4117 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4118 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4119 return 1;
4120 }
4121
4122
4123 static PyObject *_wrap_StaticBitmapNameStr_get() {
4124 PyObject *pyobj;
4125
4126 {
4127 #if wxUSE_UNICODE
4128 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4129 #else
4130 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4131 #endif
4132 }
4133 return pyobj;
4134 }
4135
4136
4137 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4138 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4139 return 1;
4140 }
4141
4142
4143 static PyObject *_wrap_StaticBoxNameStr_get() {
4144 PyObject *pyobj;
4145
4146 {
4147 #if wxUSE_UNICODE
4148 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4149 #else
4150 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4151 #endif
4152 }
4153 return pyobj;
4154 }
4155
4156
4157 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4158 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4159 return 1;
4160 }
4161
4162
4163 static PyObject *_wrap_StaticTextNameStr_get() {
4164 PyObject *pyobj;
4165
4166 {
4167 #if wxUSE_UNICODE
4168 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4169 #else
4170 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4171 #endif
4172 }
4173 return pyobj;
4174 }
4175
4176
4177 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4178 PyObject *resultobj;
4179 wxWindow *arg1 = (wxWindow *) 0 ;
4180 int arg2 ;
4181 wxString *arg3 = 0 ;
4182 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4183 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4184 wxSize const &arg5_defvalue = wxDefaultSize ;
4185 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4186 long arg6 = (long) 0 ;
4187 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4188 wxString *arg7 = (wxString *) &arg7_defvalue ;
4189 wxStaticBox *result;
4190 bool temp3 = False ;
4191 wxPoint temp4 ;
4192 wxSize temp5 ;
4193 bool temp7 = False ;
4194 PyObject * obj0 = 0 ;
4195 PyObject * obj1 = 0 ;
4196 PyObject * obj2 = 0 ;
4197 PyObject * obj3 = 0 ;
4198 PyObject * obj4 = 0 ;
4199 PyObject * obj5 = 0 ;
4200 PyObject * obj6 = 0 ;
4201 char *kwnames[] = {
4202 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4208 arg2 = (int) SWIG_AsInt(obj1);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 {
4211 arg3 = wxString_in_helper(obj2);
4212 if (arg3 == NULL) SWIG_fail;
4213 temp3 = True;
4214 }
4215 if (obj3) {
4216 {
4217 arg4 = &temp4;
4218 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4219 }
4220 }
4221 if (obj4) {
4222 {
4223 arg5 = &temp5;
4224 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4225 }
4226 }
4227 if (obj5) {
4228 arg6 = (long) SWIG_AsLong(obj5);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 if (obj6) {
4232 {
4233 arg7 = wxString_in_helper(obj6);
4234 if (arg7 == NULL) SWIG_fail;
4235 temp7 = True;
4236 }
4237 }
4238 {
4239 PyThreadState* __tstate = wxPyBeginAllowThreads();
4240 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4241
4242 wxPyEndAllowThreads(__tstate);
4243 if (PyErr_Occurred()) SWIG_fail;
4244 }
4245 {
4246 resultobj = wxPyMake_wxObject(result);
4247 }
4248 {
4249 if (temp3)
4250 delete arg3;
4251 }
4252 {
4253 if (temp7)
4254 delete arg7;
4255 }
4256 return resultobj;
4257 fail:
4258 {
4259 if (temp3)
4260 delete arg3;
4261 }
4262 {
4263 if (temp7)
4264 delete arg7;
4265 }
4266 return NULL;
4267 }
4268
4269
4270 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4271 PyObject *resultobj;
4272 wxStaticBox *result;
4273 char *kwnames[] = {
4274 NULL
4275 };
4276
4277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4278 {
4279 PyThreadState* __tstate = wxPyBeginAllowThreads();
4280 result = (wxStaticBox *)new wxStaticBox();
4281
4282 wxPyEndAllowThreads(__tstate);
4283 if (PyErr_Occurred()) SWIG_fail;
4284 }
4285 {
4286 resultobj = wxPyMake_wxObject(result);
4287 }
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject *resultobj;
4296 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4297 wxWindow *arg2 = (wxWindow *) 0 ;
4298 int arg3 ;
4299 wxString *arg4 = 0 ;
4300 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4301 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4302 wxSize const &arg6_defvalue = wxDefaultSize ;
4303 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4304 long arg7 = (long) 0 ;
4305 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4306 wxString *arg8 = (wxString *) &arg8_defvalue ;
4307 bool result;
4308 bool temp4 = False ;
4309 wxPoint temp5 ;
4310 wxSize temp6 ;
4311 bool temp8 = False ;
4312 PyObject * obj0 = 0 ;
4313 PyObject * obj1 = 0 ;
4314 PyObject * obj2 = 0 ;
4315 PyObject * obj3 = 0 ;
4316 PyObject * obj4 = 0 ;
4317 PyObject * obj5 = 0 ;
4318 PyObject * obj6 = 0 ;
4319 PyObject * obj7 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 arg3 = (int) SWIG_AsInt(obj2);
4330 if (PyErr_Occurred()) SWIG_fail;
4331 {
4332 arg4 = wxString_in_helper(obj3);
4333 if (arg4 == NULL) SWIG_fail;
4334 temp4 = True;
4335 }
4336 if (obj4) {
4337 {
4338 arg5 = &temp5;
4339 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4340 }
4341 }
4342 if (obj5) {
4343 {
4344 arg6 = &temp6;
4345 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4346 }
4347 }
4348 if (obj6) {
4349 arg7 = (long) SWIG_AsLong(obj6);
4350 if (PyErr_Occurred()) SWIG_fail;
4351 }
4352 if (obj7) {
4353 {
4354 arg8 = wxString_in_helper(obj7);
4355 if (arg8 == NULL) SWIG_fail;
4356 temp8 = True;
4357 }
4358 }
4359 {
4360 PyThreadState* __tstate = wxPyBeginAllowThreads();
4361 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4362
4363 wxPyEndAllowThreads(__tstate);
4364 if (PyErr_Occurred()) SWIG_fail;
4365 }
4366 {
4367 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4368 }
4369 {
4370 if (temp4)
4371 delete arg4;
4372 }
4373 {
4374 if (temp8)
4375 delete arg8;
4376 }
4377 return resultobj;
4378 fail:
4379 {
4380 if (temp4)
4381 delete arg4;
4382 }
4383 {
4384 if (temp8)
4385 delete arg8;
4386 }
4387 return NULL;
4388 }
4389
4390
4391 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4392 PyObject *obj;
4393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4394 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4395 Py_INCREF(obj);
4396 return Py_BuildValue((char *)"");
4397 }
4398 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 wxWindow *arg1 = (wxWindow *) 0 ;
4401 int arg2 ;
4402 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4403 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4404 wxSize const &arg4_defvalue = wxDefaultSize ;
4405 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4406 long arg5 = (long) wxLI_HORIZONTAL ;
4407 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4408 wxString *arg6 = (wxString *) &arg6_defvalue ;
4409 wxStaticLine *result;
4410 wxPoint temp3 ;
4411 wxSize temp4 ;
4412 bool temp6 = False ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 PyObject * obj2 = 0 ;
4416 PyObject * obj3 = 0 ;
4417 PyObject * obj4 = 0 ;
4418 PyObject * obj5 = 0 ;
4419 char *kwnames[] = {
4420 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4421 };
4422
4423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4426 arg2 = (int) SWIG_AsInt(obj1);
4427 if (PyErr_Occurred()) SWIG_fail;
4428 if (obj2) {
4429 {
4430 arg3 = &temp3;
4431 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4432 }
4433 }
4434 if (obj3) {
4435 {
4436 arg4 = &temp4;
4437 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4438 }
4439 }
4440 if (obj4) {
4441 arg5 = (long) SWIG_AsLong(obj4);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
4444 if (obj5) {
4445 {
4446 arg6 = wxString_in_helper(obj5);
4447 if (arg6 == NULL) SWIG_fail;
4448 temp6 = True;
4449 }
4450 }
4451 {
4452 PyThreadState* __tstate = wxPyBeginAllowThreads();
4453 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4454
4455 wxPyEndAllowThreads(__tstate);
4456 if (PyErr_Occurred()) SWIG_fail;
4457 }
4458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4459 {
4460 if (temp6)
4461 delete arg6;
4462 }
4463 return resultobj;
4464 fail:
4465 {
4466 if (temp6)
4467 delete arg6;
4468 }
4469 return NULL;
4470 }
4471
4472
4473 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4474 PyObject *resultobj;
4475 wxStaticLine *result;
4476 char *kwnames[] = {
4477 NULL
4478 };
4479
4480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (wxStaticLine *)new wxStaticLine();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4489 return resultobj;
4490 fail:
4491 return NULL;
4492 }
4493
4494
4495 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4496 PyObject *resultobj;
4497 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4498 wxWindow *arg2 = (wxWindow *) 0 ;
4499 int arg3 ;
4500 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4501 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4502 wxSize const &arg5_defvalue = wxDefaultSize ;
4503 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4504 long arg6 = (long) wxLI_HORIZONTAL ;
4505 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4506 wxString *arg7 = (wxString *) &arg7_defvalue ;
4507 bool result;
4508 wxPoint temp4 ;
4509 wxSize temp5 ;
4510 bool temp7 = False ;
4511 PyObject * obj0 = 0 ;
4512 PyObject * obj1 = 0 ;
4513 PyObject * obj2 = 0 ;
4514 PyObject * obj3 = 0 ;
4515 PyObject * obj4 = 0 ;
4516 PyObject * obj5 = 0 ;
4517 PyObject * obj6 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4527 arg3 = (int) SWIG_AsInt(obj2);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 if (obj3) {
4530 {
4531 arg4 = &temp4;
4532 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4533 }
4534 }
4535 if (obj4) {
4536 {
4537 arg5 = &temp5;
4538 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4539 }
4540 }
4541 if (obj5) {
4542 arg6 = (long) SWIG_AsLong(obj5);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 if (obj6) {
4546 {
4547 arg7 = wxString_in_helper(obj6);
4548 if (arg7 == NULL) SWIG_fail;
4549 temp7 = True;
4550 }
4551 }
4552 {
4553 PyThreadState* __tstate = wxPyBeginAllowThreads();
4554 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4555
4556 wxPyEndAllowThreads(__tstate);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 {
4560 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4561 }
4562 {
4563 if (temp7)
4564 delete arg7;
4565 }
4566 return resultobj;
4567 fail:
4568 {
4569 if (temp7)
4570 delete arg7;
4571 }
4572 return NULL;
4573 }
4574
4575
4576 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4577 PyObject *resultobj;
4578 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4579 bool result;
4580 PyObject * obj0 = 0 ;
4581 char *kwnames[] = {
4582 (char *) "self", NULL
4583 };
4584
4585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4588 {
4589 PyThreadState* __tstate = wxPyBeginAllowThreads();
4590 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4591
4592 wxPyEndAllowThreads(__tstate);
4593 if (PyErr_Occurred()) SWIG_fail;
4594 }
4595 {
4596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4597 }
4598 return resultobj;
4599 fail:
4600 return NULL;
4601 }
4602
4603
4604 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4605 PyObject *resultobj;
4606 int result;
4607 char *kwnames[] = {
4608 NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4612 {
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (int)wxStaticLine::GetDefaultSize();
4615
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = SWIG_FromInt((int)result);
4620 return resultobj;
4621 fail:
4622 return NULL;
4623 }
4624
4625
4626 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4627 PyObject *obj;
4628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4629 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4630 Py_INCREF(obj);
4631 return Py_BuildValue((char *)"");
4632 }
4633 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4634 PyObject *resultobj;
4635 wxWindow *arg1 = (wxWindow *) 0 ;
4636 int arg2 ;
4637 wxString *arg3 = 0 ;
4638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4640 wxSize const &arg5_defvalue = wxDefaultSize ;
4641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4642 long arg6 = (long) 0 ;
4643 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4644 wxString *arg7 = (wxString *) &arg7_defvalue ;
4645 wxStaticText *result;
4646 bool temp3 = False ;
4647 wxPoint temp4 ;
4648 wxSize temp5 ;
4649 bool temp7 = False ;
4650 PyObject * obj0 = 0 ;
4651 PyObject * obj1 = 0 ;
4652 PyObject * obj2 = 0 ;
4653 PyObject * obj3 = 0 ;
4654 PyObject * obj4 = 0 ;
4655 PyObject * obj5 = 0 ;
4656 PyObject * obj6 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4664 arg2 = (int) SWIG_AsInt(obj1);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 {
4667 arg3 = wxString_in_helper(obj2);
4668 if (arg3 == NULL) SWIG_fail;
4669 temp3 = True;
4670 }
4671 if (obj3) {
4672 {
4673 arg4 = &temp4;
4674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4675 }
4676 }
4677 if (obj4) {
4678 {
4679 arg5 = &temp5;
4680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4681 }
4682 }
4683 if (obj5) {
4684 arg6 = (long) SWIG_AsLong(obj5);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 if (obj6) {
4688 {
4689 arg7 = wxString_in_helper(obj6);
4690 if (arg7 == NULL) SWIG_fail;
4691 temp7 = True;
4692 }
4693 }
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4702 {
4703 if (temp3)
4704 delete arg3;
4705 }
4706 {
4707 if (temp7)
4708 delete arg7;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (temp3)
4714 delete arg3;
4715 }
4716 {
4717 if (temp7)
4718 delete arg7;
4719 }
4720 return NULL;
4721 }
4722
4723
4724 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxStaticText *result;
4727 char *kwnames[] = {
4728 NULL
4729 };
4730
4731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4732 {
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (wxStaticText *)new wxStaticText();
4735
4736 wxPyEndAllowThreads(__tstate);
4737 if (PyErr_Occurred()) SWIG_fail;
4738 }
4739 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4740 return resultobj;
4741 fail:
4742 return NULL;
4743 }
4744
4745
4746 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4747 PyObject *resultobj;
4748 wxStaticText *arg1 = (wxStaticText *) 0 ;
4749 wxWindow *arg2 = (wxWindow *) 0 ;
4750 int arg3 ;
4751 wxString *arg4 = 0 ;
4752 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4753 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4754 wxSize const &arg6_defvalue = wxDefaultSize ;
4755 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4756 long arg7 = (long) 0 ;
4757 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4758 wxString *arg8 = (wxString *) &arg8_defvalue ;
4759 bool result;
4760 bool temp4 = False ;
4761 wxPoint temp5 ;
4762 wxSize temp6 ;
4763 bool temp8 = False ;
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
4767 PyObject * obj3 = 0 ;
4768 PyObject * obj4 = 0 ;
4769 PyObject * obj5 = 0 ;
4770 PyObject * obj6 = 0 ;
4771 PyObject * obj7 = 0 ;
4772 char *kwnames[] = {
4773 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4779 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4781 arg3 = (int) SWIG_AsInt(obj2);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 {
4784 arg4 = wxString_in_helper(obj3);
4785 if (arg4 == NULL) SWIG_fail;
4786 temp4 = True;
4787 }
4788 if (obj4) {
4789 {
4790 arg5 = &temp5;
4791 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4792 }
4793 }
4794 if (obj5) {
4795 {
4796 arg6 = &temp6;
4797 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4798 }
4799 }
4800 if (obj6) {
4801 arg7 = (long) SWIG_AsLong(obj6);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 if (obj7) {
4805 {
4806 arg8 = wxString_in_helper(obj7);
4807 if (arg8 == NULL) SWIG_fail;
4808 temp8 = True;
4809 }
4810 }
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4814
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 {
4819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4820 }
4821 {
4822 if (temp4)
4823 delete arg4;
4824 }
4825 {
4826 if (temp8)
4827 delete arg8;
4828 }
4829 return resultobj;
4830 fail:
4831 {
4832 if (temp4)
4833 delete arg4;
4834 }
4835 {
4836 if (temp8)
4837 delete arg8;
4838 }
4839 return NULL;
4840 }
4841
4842
4843 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4844 PyObject *obj;
4845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4846 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4847 Py_INCREF(obj);
4848 return Py_BuildValue((char *)"");
4849 }
4850 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj;
4852 wxWindow *arg1 = (wxWindow *) 0 ;
4853 int arg2 ;
4854 wxBitmap *arg3 = 0 ;
4855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4857 wxSize const &arg5_defvalue = wxDefaultSize ;
4858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4859 long arg6 = (long) 0 ;
4860 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4861 wxString *arg7 = (wxString *) &arg7_defvalue ;
4862 wxStaticBitmap *result;
4863 wxPoint temp4 ;
4864 wxSize temp5 ;
4865 bool temp7 = False ;
4866 PyObject * obj0 = 0 ;
4867 PyObject * obj1 = 0 ;
4868 PyObject * obj2 = 0 ;
4869 PyObject * obj3 = 0 ;
4870 PyObject * obj4 = 0 ;
4871 PyObject * obj5 = 0 ;
4872 PyObject * obj6 = 0 ;
4873 char *kwnames[] = {
4874 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4875 };
4876
4877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4880 arg2 = (int) SWIG_AsInt(obj1);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1)
4884 SWIG_fail;
4885 if (arg3 == NULL) {
4886 PyErr_SetString(PyExc_TypeError,"null reference");
4887 SWIG_fail;
4888 }
4889 if (obj3) {
4890 {
4891 arg4 = &temp4;
4892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4893 }
4894 }
4895 if (obj4) {
4896 {
4897 arg5 = &temp5;
4898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4899 }
4900 }
4901 if (obj5) {
4902 arg6 = (long) SWIG_AsLong(obj5);
4903 if (PyErr_Occurred()) SWIG_fail;
4904 }
4905 if (obj6) {
4906 {
4907 arg7 = wxString_in_helper(obj6);
4908 if (arg7 == NULL) SWIG_fail;
4909 temp7 = True;
4910 }
4911 }
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4915
4916 wxPyEndAllowThreads(__tstate);
4917 if (PyErr_Occurred()) SWIG_fail;
4918 }
4919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4920 {
4921 if (temp7)
4922 delete arg7;
4923 }
4924 return resultobj;
4925 fail:
4926 {
4927 if (temp7)
4928 delete arg7;
4929 }
4930 return NULL;
4931 }
4932
4933
4934 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj;
4936 wxStaticBitmap *result;
4937 char *kwnames[] = {
4938 NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 result = (wxStaticBitmap *)new wxStaticBitmap();
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
4950 return resultobj;
4951 fail:
4952 return NULL;
4953 }
4954
4955
4956 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4959 wxWindow *arg2 = (wxWindow *) 0 ;
4960 int arg3 ;
4961 wxBitmap *arg4 = 0 ;
4962 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4963 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4964 wxSize const &arg6_defvalue = wxDefaultSize ;
4965 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4966 long arg7 = (long) 0 ;
4967 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4968 wxString *arg8 = (wxString *) &arg8_defvalue ;
4969 bool result;
4970 wxPoint temp5 ;
4971 wxSize temp6 ;
4972 bool temp8 = False ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj1 = 0 ;
4975 PyObject * obj2 = 0 ;
4976 PyObject * obj3 = 0 ;
4977 PyObject * obj4 = 0 ;
4978 PyObject * obj5 = 0 ;
4979 PyObject * obj6 = 0 ;
4980 PyObject * obj7 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4990 arg3 = (int) SWIG_AsInt(obj2);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1)
4994 SWIG_fail;
4995 if (arg4 == NULL) {
4996 PyErr_SetString(PyExc_TypeError,"null reference");
4997 SWIG_fail;
4998 }
4999 if (obj4) {
5000 {
5001 arg5 = &temp5;
5002 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5003 }
5004 }
5005 if (obj5) {
5006 {
5007 arg6 = &temp6;
5008 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5009 }
5010 }
5011 if (obj6) {
5012 arg7 = (long) SWIG_AsLong(obj6);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
5015 if (obj7) {
5016 {
5017 arg8 = wxString_in_helper(obj7);
5018 if (arg8 == NULL) SWIG_fail;
5019 temp8 = True;
5020 }
5021 }
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 {
5030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5031 }
5032 {
5033 if (temp8)
5034 delete arg8;
5035 }
5036 return resultobj;
5037 fail:
5038 {
5039 if (temp8)
5040 delete arg8;
5041 }
5042 return NULL;
5043 }
5044
5045
5046 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5049 wxBitmap result;
5050 PyObject * obj0 = 0 ;
5051 char *kwnames[] = {
5052 (char *) "self", NULL
5053 };
5054
5055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5058 {
5059 PyThreadState* __tstate = wxPyBeginAllowThreads();
5060 result = (arg1)->GetBitmap();
5061
5062 wxPyEndAllowThreads(__tstate);
5063 if (PyErr_Occurred()) SWIG_fail;
5064 }
5065 {
5066 wxBitmap * resultptr;
5067 resultptr = new wxBitmap((wxBitmap &) result);
5068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5069 }
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5079 wxBitmap *arg2 = 0 ;
5080 PyObject * obj0 = 0 ;
5081 PyObject * obj1 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "bitmap", NULL
5084 };
5085
5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1)
5091 SWIG_fail;
5092 if (arg2 == NULL) {
5093 PyErr_SetString(PyExc_TypeError,"null reference");
5094 SWIG_fail;
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 return resultobj;
5105 fail:
5106 return NULL;
5107 }
5108
5109
5110 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5113 wxIcon *arg2 = 0 ;
5114 PyObject * obj0 = 0 ;
5115 PyObject * obj1 = 0 ;
5116 char *kwnames[] = {
5117 (char *) "self",(char *) "icon", NULL
5118 };
5119
5120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5123 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5124 SWIG_POINTER_EXCEPTION | 0)) == -1)
5125 SWIG_fail;
5126 if (arg2 == NULL) {
5127 PyErr_SetString(PyExc_TypeError,"null reference");
5128 SWIG_fail;
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 (arg1)->SetIcon((wxIcon const &)*arg2);
5133
5134 wxPyEndAllowThreads(__tstate);
5135 if (PyErr_Occurred()) SWIG_fail;
5136 }
5137 Py_INCREF(Py_None); resultobj = Py_None;
5138 return resultobj;
5139 fail:
5140 return NULL;
5141 }
5142
5143
5144 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5145 PyObject *obj;
5146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5147 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5148 Py_INCREF(obj);
5149 return Py_BuildValue((char *)"");
5150 }
5151 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5152 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5153 return 1;
5154 }
5155
5156
5157 static PyObject *_wrap_ListBoxNameStr_get() {
5158 PyObject *pyobj;
5159
5160 {
5161 #if wxUSE_UNICODE
5162 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5163 #else
5164 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5165 #endif
5166 }
5167 return pyobj;
5168 }
5169
5170
5171 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5172 PyObject *resultobj;
5173 wxWindow *arg1 = (wxWindow *) 0 ;
5174 int arg2 ;
5175 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5176 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5177 wxSize const &arg4_defvalue = wxDefaultSize ;
5178 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5179 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5180 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5181 long arg6 = (long) 0 ;
5182 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5183 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5184 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5185 wxString *arg8 = (wxString *) &arg8_defvalue ;
5186 wxListBox *result;
5187 wxPoint temp3 ;
5188 wxSize temp4 ;
5189 bool temp5 = False ;
5190 bool temp8 = False ;
5191 PyObject * obj0 = 0 ;
5192 PyObject * obj1 = 0 ;
5193 PyObject * obj2 = 0 ;
5194 PyObject * obj3 = 0 ;
5195 PyObject * obj4 = 0 ;
5196 PyObject * obj5 = 0 ;
5197 PyObject * obj6 = 0 ;
5198 PyObject * obj7 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5206 arg2 = (int) SWIG_AsInt(obj1);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 if (obj2) {
5209 {
5210 arg3 = &temp3;
5211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5212 }
5213 }
5214 if (obj3) {
5215 {
5216 arg4 = &temp4;
5217 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5218 }
5219 }
5220 if (obj4) {
5221 {
5222 if (! PySequence_Check(obj4)) {
5223 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5224 SWIG_fail;
5225 }
5226 arg5 = new wxArrayString;
5227 temp5 = True;
5228 int i, len=PySequence_Length(obj4);
5229 for (i=0; i<len; i++) {
5230 PyObject* item = PySequence_GetItem(obj4, i);
5231 #if wxUSE_UNICODE
5232 PyObject* str = PyObject_Unicode(item);
5233 #else
5234 PyObject* str = PyObject_Str(item);
5235 #endif
5236 if (PyErr_Occurred()) SWIG_fail;
5237 arg5->Add(Py2wxString(str));
5238 Py_DECREF(item);
5239 Py_DECREF(str);
5240 }
5241 }
5242 }
5243 if (obj5) {
5244 arg6 = (long) SWIG_AsLong(obj5);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 if (obj6) {
5248 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5249 SWIG_POINTER_EXCEPTION | 0)) == -1)
5250 SWIG_fail;
5251 if (arg7 == NULL) {
5252 PyErr_SetString(PyExc_TypeError,"null reference");
5253 SWIG_fail;
5254 }
5255 }
5256 if (obj7) {
5257 {
5258 arg8 = wxString_in_helper(obj7);
5259 if (arg8 == NULL) SWIG_fail;
5260 temp8 = True;
5261 }
5262 }
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5271 {
5272 if (temp5) delete arg5;
5273 }
5274 {
5275 if (temp8)
5276 delete arg8;
5277 }
5278 return resultobj;
5279 fail:
5280 {
5281 if (temp5) delete arg5;
5282 }
5283 {
5284 if (temp8)
5285 delete arg8;
5286 }
5287 return NULL;
5288 }
5289
5290
5291 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxListBox *result;
5294 char *kwnames[] = {
5295 NULL
5296 };
5297
5298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5299 {
5300 PyThreadState* __tstate = wxPyBeginAllowThreads();
5301 result = (wxListBox *)new wxListBox();
5302
5303 wxPyEndAllowThreads(__tstate);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5307 return resultobj;
5308 fail:
5309 return NULL;
5310 }
5311
5312
5313 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5314 PyObject *resultobj;
5315 wxListBox *arg1 = (wxListBox *) 0 ;
5316 wxWindow *arg2 = (wxWindow *) 0 ;
5317 int arg3 ;
5318 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5319 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5320 wxSize const &arg5_defvalue = wxDefaultSize ;
5321 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5322 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5323 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5324 long arg7 = (long) 0 ;
5325 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5326 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5327 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5328 wxString *arg9 = (wxString *) &arg9_defvalue ;
5329 bool result;
5330 wxPoint temp4 ;
5331 wxSize temp5 ;
5332 bool temp6 = False ;
5333 bool temp9 = False ;
5334 PyObject * obj0 = 0 ;
5335 PyObject * obj1 = 0 ;
5336 PyObject * obj2 = 0 ;
5337 PyObject * obj3 = 0 ;
5338 PyObject * obj4 = 0 ;
5339 PyObject * obj5 = 0 ;
5340 PyObject * obj6 = 0 ;
5341 PyObject * obj7 = 0 ;
5342 PyObject * obj8 = 0 ;
5343 char *kwnames[] = {
5344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5345 };
5346
5347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5352 arg3 = (int) SWIG_AsInt(obj2);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 if (obj3) {
5355 {
5356 arg4 = &temp4;
5357 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5358 }
5359 }
5360 if (obj4) {
5361 {
5362 arg5 = &temp5;
5363 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5364 }
5365 }
5366 if (obj5) {
5367 {
5368 if (! PySequence_Check(obj5)) {
5369 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5370 SWIG_fail;
5371 }
5372 arg6 = new wxArrayString;
5373 temp6 = True;
5374 int i, len=PySequence_Length(obj5);
5375 for (i=0; i<len; i++) {
5376 PyObject* item = PySequence_GetItem(obj5, i);
5377 #if wxUSE_UNICODE
5378 PyObject* str = PyObject_Unicode(item);
5379 #else
5380 PyObject* str = PyObject_Str(item);
5381 #endif
5382 if (PyErr_Occurred()) SWIG_fail;
5383 arg6->Add(Py2wxString(str));
5384 Py_DECREF(item);
5385 Py_DECREF(str);
5386 }
5387 }
5388 }
5389 if (obj6) {
5390 arg7 = (long) SWIG_AsLong(obj6);
5391 if (PyErr_Occurred()) SWIG_fail;
5392 }
5393 if (obj7) {
5394 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5395 SWIG_POINTER_EXCEPTION | 0)) == -1)
5396 SWIG_fail;
5397 if (arg8 == NULL) {
5398 PyErr_SetString(PyExc_TypeError,"null reference");
5399 SWIG_fail;
5400 }
5401 }
5402 if (obj8) {
5403 {
5404 arg9 = wxString_in_helper(obj8);
5405 if (arg9 == NULL) SWIG_fail;
5406 temp9 = True;
5407 }
5408 }
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5412
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5418 }
5419 {
5420 if (temp6) delete arg6;
5421 }
5422 {
5423 if (temp9)
5424 delete arg9;
5425 }
5426 return resultobj;
5427 fail:
5428 {
5429 if (temp6) delete arg6;
5430 }
5431 {
5432 if (temp9)
5433 delete arg9;
5434 }
5435 return NULL;
5436 }
5437
5438
5439 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxListBox *arg1 = (wxListBox *) 0 ;
5442 wxString *arg2 = 0 ;
5443 int arg3 ;
5444 PyObject *arg4 = (PyObject *) NULL ;
5445 bool temp2 = False ;
5446 PyObject * obj0 = 0 ;
5447 PyObject * obj1 = 0 ;
5448 PyObject * obj2 = 0 ;
5449 PyObject * obj3 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5457 {
5458 arg2 = wxString_in_helper(obj1);
5459 if (arg2 == NULL) SWIG_fail;
5460 temp2 = True;
5461 }
5462 arg3 = (int) SWIG_AsInt(obj2);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 if (obj3) {
5465 arg4 = obj3;
5466 }
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 Py_INCREF(Py_None); resultobj = Py_None;
5475 {
5476 if (temp2)
5477 delete arg2;
5478 }
5479 return resultobj;
5480 fail:
5481 {
5482 if (temp2)
5483 delete arg2;
5484 }
5485 return NULL;
5486 }
5487
5488
5489 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj;
5491 wxListBox *arg1 = (wxListBox *) 0 ;
5492 wxArrayString *arg2 = 0 ;
5493 int arg3 ;
5494 bool temp2 = False ;
5495 PyObject * obj0 = 0 ;
5496 PyObject * obj1 = 0 ;
5497 PyObject * obj2 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self",(char *) "items",(char *) "pos", NULL
5500 };
5501
5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5505 {
5506 if (! PySequence_Check(obj1)) {
5507 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5508 SWIG_fail;
5509 }
5510 arg2 = new wxArrayString;
5511 temp2 = True;
5512 int i, len=PySequence_Length(obj1);
5513 for (i=0; i<len; i++) {
5514 PyObject* item = PySequence_GetItem(obj1, i);
5515 #if wxUSE_UNICODE
5516 PyObject* str = PyObject_Unicode(item);
5517 #else
5518 PyObject* str = PyObject_Str(item);
5519 #endif
5520 if (PyErr_Occurred()) SWIG_fail;
5521 arg2->Add(Py2wxString(str));
5522 Py_DECREF(item);
5523 Py_DECREF(str);
5524 }
5525 }
5526 arg3 = (int) SWIG_AsInt(obj2);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5531
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 Py_INCREF(Py_None); resultobj = Py_None;
5536 {
5537 if (temp2) delete arg2;
5538 }
5539 return resultobj;
5540 fail:
5541 {
5542 if (temp2) delete arg2;
5543 }
5544 return NULL;
5545 }
5546
5547
5548 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxListBox *arg1 = (wxListBox *) 0 ;
5551 wxArrayString *arg2 = 0 ;
5552 bool temp2 = False ;
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "items", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5562 {
5563 if (! PySequence_Check(obj1)) {
5564 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5565 SWIG_fail;
5566 }
5567 arg2 = new wxArrayString;
5568 temp2 = True;
5569 int i, len=PySequence_Length(obj1);
5570 for (i=0; i<len; i++) {
5571 PyObject* item = PySequence_GetItem(obj1, i);
5572 #if wxUSE_UNICODE
5573 PyObject* str = PyObject_Unicode(item);
5574 #else
5575 PyObject* str = PyObject_Str(item);
5576 #endif
5577 if (PyErr_Occurred()) SWIG_fail;
5578 arg2->Add(Py2wxString(str));
5579 Py_DECREF(item);
5580 Py_DECREF(str);
5581 }
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->Set((wxArrayString const &)*arg2);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 {
5592 if (temp2) delete arg2;
5593 }
5594 return resultobj;
5595 fail:
5596 {
5597 if (temp2) delete arg2;
5598 }
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxListBox *arg1 = (wxListBox *) 0 ;
5606 int arg2 ;
5607 bool result;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "n", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5617 arg2 = (int) SWIG_AsInt(obj1);
5618 if (PyErr_Occurred()) SWIG_fail;
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 {
5627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5628 }
5629 return resultobj;
5630 fail:
5631 return NULL;
5632 }
5633
5634
5635 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject *resultobj;
5637 wxListBox *arg1 = (wxListBox *) 0 ;
5638 int arg2 ;
5639 bool arg3 = (bool) True ;
5640 PyObject * obj0 = 0 ;
5641 PyObject * obj1 = 0 ;
5642 PyObject * obj2 = 0 ;
5643 char *kwnames[] = {
5644 (char *) "self",(char *) "n",(char *) "select", NULL
5645 };
5646
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5650 arg2 = (int) SWIG_AsInt(obj1);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 if (obj2) {
5653 arg3 = (bool) SWIG_AsBool(obj2);
5654 if (PyErr_Occurred()) SWIG_fail;
5655 }
5656 {
5657 PyThreadState* __tstate = wxPyBeginAllowThreads();
5658 (arg1)->SetSelection(arg2,arg3);
5659
5660 wxPyEndAllowThreads(__tstate);
5661 if (PyErr_Occurred()) SWIG_fail;
5662 }
5663 Py_INCREF(Py_None); resultobj = Py_None;
5664 return resultobj;
5665 fail:
5666 return NULL;
5667 }
5668
5669
5670 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5671 PyObject *resultobj;
5672 wxListBox *arg1 = (wxListBox *) 0 ;
5673 int arg2 ;
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj1 = 0 ;
5676 char *kwnames[] = {
5677 (char *) "self",(char *) "n", NULL
5678 };
5679
5680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5683 arg2 = (int) SWIG_AsInt(obj1);
5684 if (PyErr_Occurred()) SWIG_fail;
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 (arg1)->Select(arg2);
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 Py_INCREF(Py_None); resultobj = Py_None;
5693 return resultobj;
5694 fail:
5695 return NULL;
5696 }
5697
5698
5699 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5700 PyObject *resultobj;
5701 wxListBox *arg1 = (wxListBox *) 0 ;
5702 int arg2 ;
5703 PyObject * obj0 = 0 ;
5704 PyObject * obj1 = 0 ;
5705 char *kwnames[] = {
5706 (char *) "self",(char *) "n", NULL
5707 };
5708
5709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5712 arg2 = (int) SWIG_AsInt(obj1);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 (arg1)->Deselect(arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 Py_INCREF(Py_None); resultobj = Py_None;
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj;
5730 wxListBox *arg1 = (wxListBox *) 0 ;
5731 int arg2 = (int) -1 ;
5732 PyObject * obj0 = 0 ;
5733 PyObject * obj1 = 0 ;
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "itemToLeaveSelected", NULL
5736 };
5737
5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5741 if (obj1) {
5742 arg2 = (int) SWIG_AsInt(obj1);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->DeselectAll(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxListBox *arg1 = (wxListBox *) 0 ;
5762 wxString *arg2 = 0 ;
5763 bool arg3 = (bool) True ;
5764 bool result;
5765 bool temp2 = False ;
5766 PyObject * obj0 = 0 ;
5767 PyObject * obj1 = 0 ;
5768 PyObject * obj2 = 0 ;
5769 char *kwnames[] = {
5770 (char *) "self",(char *) "s",(char *) "select", NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5776 {
5777 arg2 = wxString_in_helper(obj1);
5778 if (arg2 == NULL) SWIG_fail;
5779 temp2 = True;
5780 }
5781 if (obj2) {
5782 arg3 = (bool) SWIG_AsBool(obj2);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 {
5793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5794 }
5795 {
5796 if (temp2)
5797 delete arg2;
5798 }
5799 return resultobj;
5800 fail:
5801 {
5802 if (temp2)
5803 delete arg2;
5804 }
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxListBox *arg1 = (wxListBox *) 0 ;
5812 PyObject *result;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (PyObject *)wxListBox_GetSelections(arg1);
5824
5825 wxPyEndAllowThreads(__tstate);
5826 if (PyErr_Occurred()) SWIG_fail;
5827 }
5828 resultobj = result;
5829 return resultobj;
5830 fail:
5831 return NULL;
5832 }
5833
5834
5835 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5836 PyObject *resultobj;
5837 wxListBox *arg1 = (wxListBox *) 0 ;
5838 int arg2 ;
5839 PyObject * obj0 = 0 ;
5840 PyObject * obj1 = 0 ;
5841 char *kwnames[] = {
5842 (char *) "self",(char *) "n", NULL
5843 };
5844
5845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5848 arg2 = (int) SWIG_AsInt(obj1);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 (arg1)->SetFirstItem(arg2);
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 Py_INCREF(Py_None); resultobj = Py_None;
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxListBox *arg1 = (wxListBox *) 0 ;
5867 wxString *arg2 = 0 ;
5868 bool temp2 = False ;
5869 PyObject * obj0 = 0 ;
5870 PyObject * obj1 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self",(char *) "s", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5878 {
5879 arg2 = wxString_in_helper(obj1);
5880 if (arg2 == NULL) SWIG_fail;
5881 temp2 = True;
5882 }
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 (arg1)->SetFirstItem((wxString const &)*arg2);
5886
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 Py_INCREF(Py_None); resultobj = Py_None;
5891 {
5892 if (temp2)
5893 delete arg2;
5894 }
5895 return resultobj;
5896 fail:
5897 {
5898 if (temp2)
5899 delete arg2;
5900 }
5901 return NULL;
5902 }
5903
5904
5905 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5906 PyObject *resultobj;
5907 wxListBox *arg1 = (wxListBox *) 0 ;
5908 int arg2 ;
5909 PyObject * obj0 = 0 ;
5910 PyObject * obj1 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self",(char *) "n", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 arg2 = (int) SWIG_AsInt(obj1);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 (arg1)->EnsureVisible(arg2);
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 Py_INCREF(Py_None); resultobj = Py_None;
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxListBox *arg1 = (wxListBox *) 0 ;
5937 wxString *arg2 = 0 ;
5938 bool temp2 = False ;
5939 PyObject * obj0 = 0 ;
5940 PyObject * obj1 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self",(char *) "s", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5948 {
5949 arg2 = wxString_in_helper(obj1);
5950 if (arg2 == NULL) SWIG_fail;
5951 temp2 = True;
5952 }
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 Py_INCREF(Py_None); resultobj = Py_None;
5961 {
5962 if (temp2)
5963 delete arg2;
5964 }
5965 return resultobj;
5966 fail:
5967 {
5968 if (temp2)
5969 delete arg2;
5970 }
5971 return NULL;
5972 }
5973
5974
5975 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxListBox *arg1 = (wxListBox *) 0 ;
5978 bool result;
5979 PyObject * obj0 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5987 {
5988 PyThreadState* __tstate = wxPyBeginAllowThreads();
5989 result = (bool)((wxListBox const *)arg1)->IsSorted();
5990
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5996 }
5997 return resultobj;
5998 fail:
5999 return NULL;
6000 }
6001
6002
6003 static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxListBox *arg1 = (wxListBox *) 0 ;
6006 int arg2 ;
6007 wxColour *arg3 = 0 ;
6008 wxColour temp3 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 PyObject * obj2 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self",(char *) "item",(char *) "c", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6019 arg2 = (int) SWIG_AsInt(obj1);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 {
6022 arg3 = &temp3;
6023 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6024 }
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6028
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 Py_INCREF(Py_None); resultobj = Py_None;
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6040 PyObject *resultobj;
6041 wxListBox *arg1 = (wxListBox *) 0 ;
6042 int arg2 ;
6043 wxColour *arg3 = 0 ;
6044 wxColour temp3 ;
6045 PyObject * obj0 = 0 ;
6046 PyObject * obj1 = 0 ;
6047 PyObject * obj2 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "item",(char *) "c", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6055 arg2 = (int) SWIG_AsInt(obj1);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 {
6058 arg3 = &temp3;
6059 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 Py_INCREF(Py_None); resultobj = Py_None;
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxListBox *arg1 = (wxListBox *) 0 ;
6078 int arg2 ;
6079 wxFont *arg3 = 0 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 PyObject * obj2 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self",(char *) "item",(char *) "f", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6090 arg2 = (int) SWIG_AsInt(obj1);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6093 SWIG_POINTER_EXCEPTION | 0)) == -1)
6094 SWIG_fail;
6095 if (arg3 == NULL) {
6096 PyErr_SetString(PyExc_TypeError,"null reference");
6097 SWIG_fail;
6098 }
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 Py_INCREF(Py_None); resultobj = Py_None;
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6116 wxVisualAttributes result;
6117 PyObject * obj0 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "variant", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6123 if (obj0) {
6124 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6130
6131 wxPyEndAllowThreads(__tstate);
6132 if (PyErr_Occurred()) SWIG_fail;
6133 }
6134 {
6135 wxVisualAttributes * resultptr;
6136 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6138 }
6139 return resultobj;
6140 fail:
6141 return NULL;
6142 }
6143
6144
6145 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6146 PyObject *obj;
6147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6148 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6149 Py_INCREF(obj);
6150 return Py_BuildValue((char *)"");
6151 }
6152 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxWindow *arg1 = (wxWindow *) 0 ;
6155 int arg2 ;
6156 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6157 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6158 wxSize const &arg4_defvalue = wxDefaultSize ;
6159 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6160 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6161 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6162 long arg6 = (long) 0 ;
6163 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6164 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6165 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6166 wxString *arg8 = (wxString *) &arg8_defvalue ;
6167 wxCheckListBox *result;
6168 wxPoint temp3 ;
6169 wxSize temp4 ;
6170 bool temp5 = False ;
6171 bool temp8 = False ;
6172 PyObject * obj0 = 0 ;
6173 PyObject * obj1 = 0 ;
6174 PyObject * obj2 = 0 ;
6175 PyObject * obj3 = 0 ;
6176 PyObject * obj4 = 0 ;
6177 PyObject * obj5 = 0 ;
6178 PyObject * obj6 = 0 ;
6179 PyObject * obj7 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6187 arg2 = (int) SWIG_AsInt(obj1);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 if (obj2) {
6190 {
6191 arg3 = &temp3;
6192 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6193 }
6194 }
6195 if (obj3) {
6196 {
6197 arg4 = &temp4;
6198 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6199 }
6200 }
6201 if (obj4) {
6202 {
6203 if (! PySequence_Check(obj4)) {
6204 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6205 SWIG_fail;
6206 }
6207 arg5 = new wxArrayString;
6208 temp5 = True;
6209 int i, len=PySequence_Length(obj4);
6210 for (i=0; i<len; i++) {
6211 PyObject* item = PySequence_GetItem(obj4, i);
6212 #if wxUSE_UNICODE
6213 PyObject* str = PyObject_Unicode(item);
6214 #else
6215 PyObject* str = PyObject_Str(item);
6216 #endif
6217 if (PyErr_Occurred()) SWIG_fail;
6218 arg5->Add(Py2wxString(str));
6219 Py_DECREF(item);
6220 Py_DECREF(str);
6221 }
6222 }
6223 }
6224 if (obj5) {
6225 arg6 = (long) SWIG_AsLong(obj5);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 if (obj6) {
6229 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6230 SWIG_POINTER_EXCEPTION | 0)) == -1)
6231 SWIG_fail;
6232 if (arg7 == NULL) {
6233 PyErr_SetString(PyExc_TypeError,"null reference");
6234 SWIG_fail;
6235 }
6236 }
6237 if (obj7) {
6238 {
6239 arg8 = wxString_in_helper(obj7);
6240 if (arg8 == NULL) SWIG_fail;
6241 temp8 = True;
6242 }
6243 }
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6252 {
6253 if (temp5) delete arg5;
6254 }
6255 {
6256 if (temp8)
6257 delete arg8;
6258 }
6259 return resultobj;
6260 fail:
6261 {
6262 if (temp5) delete arg5;
6263 }
6264 {
6265 if (temp8)
6266 delete arg8;
6267 }
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxCheckListBox *result;
6275 char *kwnames[] = {
6276 NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6280 {
6281 PyThreadState* __tstate = wxPyBeginAllowThreads();
6282 result = (wxCheckListBox *)new wxCheckListBox();
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6297 wxWindow *arg2 = (wxWindow *) 0 ;
6298 int arg3 ;
6299 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6300 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6301 wxSize const &arg5_defvalue = wxDefaultSize ;
6302 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6303 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6304 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6305 long arg7 = (long) 0 ;
6306 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6307 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6308 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6309 wxString *arg9 = (wxString *) &arg9_defvalue ;
6310 bool result;
6311 wxPoint temp4 ;
6312 wxSize temp5 ;
6313 bool temp6 = False ;
6314 bool temp9 = False ;
6315 PyObject * obj0 = 0 ;
6316 PyObject * obj1 = 0 ;
6317 PyObject * obj2 = 0 ;
6318 PyObject * obj3 = 0 ;
6319 PyObject * obj4 = 0 ;
6320 PyObject * obj5 = 0 ;
6321 PyObject * obj6 = 0 ;
6322 PyObject * obj7 = 0 ;
6323 PyObject * obj8 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6331 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6333 arg3 = (int) SWIG_AsInt(obj2);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 if (obj3) {
6336 {
6337 arg4 = &temp4;
6338 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6339 }
6340 }
6341 if (obj4) {
6342 {
6343 arg5 = &temp5;
6344 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6345 }
6346 }
6347 if (obj5) {
6348 {
6349 if (! PySequence_Check(obj5)) {
6350 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6351 SWIG_fail;
6352 }
6353 arg6 = new wxArrayString;
6354 temp6 = True;
6355 int i, len=PySequence_Length(obj5);
6356 for (i=0; i<len; i++) {
6357 PyObject* item = PySequence_GetItem(obj5, i);
6358 #if wxUSE_UNICODE
6359 PyObject* str = PyObject_Unicode(item);
6360 #else
6361 PyObject* str = PyObject_Str(item);
6362 #endif
6363 if (PyErr_Occurred()) SWIG_fail;
6364 arg6->Add(Py2wxString(str));
6365 Py_DECREF(item);
6366 Py_DECREF(str);
6367 }
6368 }
6369 }
6370 if (obj6) {
6371 arg7 = (long) SWIG_AsLong(obj6);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 if (obj7) {
6375 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6376 SWIG_POINTER_EXCEPTION | 0)) == -1)
6377 SWIG_fail;
6378 if (arg8 == NULL) {
6379 PyErr_SetString(PyExc_TypeError,"null reference");
6380 SWIG_fail;
6381 }
6382 }
6383 if (obj8) {
6384 {
6385 arg9 = wxString_in_helper(obj8);
6386 if (arg9 == NULL) SWIG_fail;
6387 temp9 = True;
6388 }
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 {
6398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6399 }
6400 {
6401 if (temp6) delete arg6;
6402 }
6403 {
6404 if (temp9)
6405 delete arg9;
6406 }
6407 return resultobj;
6408 fail:
6409 {
6410 if (temp6) delete arg6;
6411 }
6412 {
6413 if (temp9)
6414 delete arg9;
6415 }
6416 return NULL;
6417 }
6418
6419
6420 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6421 PyObject *resultobj;
6422 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6423 int arg2 ;
6424 bool result;
6425 PyObject * obj0 = 0 ;
6426 PyObject * obj1 = 0 ;
6427 char *kwnames[] = {
6428 (char *) "self",(char *) "index", NULL
6429 };
6430
6431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6434 arg2 = (int) SWIG_AsInt(obj1);
6435 if (PyErr_Occurred()) SWIG_fail;
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 result = (bool)(arg1)->IsChecked(arg2);
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 {
6444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6445 }
6446 return resultobj;
6447 fail:
6448 return NULL;
6449 }
6450
6451
6452 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj;
6454 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6455 int arg2 ;
6456 int arg3 = (int) True ;
6457 PyObject * obj0 = 0 ;
6458 PyObject * obj1 = 0 ;
6459 PyObject * obj2 = 0 ;
6460 char *kwnames[] = {
6461 (char *) "self",(char *) "index",(char *) "check", NULL
6462 };
6463
6464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6467 arg2 = (int) SWIG_AsInt(obj1);
6468 if (PyErr_Occurred()) SWIG_fail;
6469 if (obj2) {
6470 arg3 = (int) SWIG_AsInt(obj2);
6471 if (PyErr_Occurred()) SWIG_fail;
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 (arg1)->Check(arg2,arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 Py_INCREF(Py_None); resultobj = Py_None;
6481 return resultobj;
6482 fail:
6483 return NULL;
6484 }
6485
6486
6487 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6488 PyObject *resultobj;
6489 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6490 wxPoint *arg2 = 0 ;
6491 int result;
6492 wxPoint temp2 ;
6493 PyObject * obj0 = 0 ;
6494 PyObject * obj1 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self",(char *) "pt", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6502 {
6503 arg2 = &temp2;
6504 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6505 }
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 resultobj = SWIG_FromInt((int)result);
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6523 int arg2 ;
6524 int arg3 ;
6525 int result;
6526 PyObject * obj0 = 0 ;
6527 PyObject * obj1 = 0 ;
6528 PyObject * obj2 = 0 ;
6529 char *kwnames[] = {
6530 (char *) "self",(char *) "x",(char *) "y", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6536 arg2 = (int) SWIG_AsInt(obj1);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 arg3 = (int) SWIG_AsInt(obj2);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 {
6541 PyThreadState* __tstate = wxPyBeginAllowThreads();
6542 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6543
6544 wxPyEndAllowThreads(__tstate);
6545 if (PyErr_Occurred()) SWIG_fail;
6546 }
6547 resultobj = SWIG_FromInt((int)result);
6548 return resultobj;
6549 fail:
6550 return NULL;
6551 }
6552
6553
6554 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6555 PyObject *obj;
6556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6558 Py_INCREF(obj);
6559 return Py_BuildValue((char *)"");
6560 }
6561 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6562 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6563 return 1;
6564 }
6565
6566
6567 static PyObject *_wrap_TextCtrlNameStr_get() {
6568 PyObject *pyobj;
6569
6570 {
6571 #if wxUSE_UNICODE
6572 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6573 #else
6574 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6575 #endif
6576 }
6577 return pyobj;
6578 }
6579
6580
6581 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6582 PyObject *resultobj;
6583 wxTextAttr *result;
6584
6585 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (wxTextAttr *)new wxTextAttr();
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6601 PyObject *resultobj;
6602 wxColour *arg1 = 0 ;
6603 wxColour const &arg2_defvalue = wxNullColour ;
6604 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6605 wxFont const &arg3_defvalue = wxNullFont ;
6606 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6607 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6608 wxTextAttr *result;
6609 wxColour temp1 ;
6610 wxColour temp2 ;
6611 PyObject * obj0 = 0 ;
6612 PyObject * obj1 = 0 ;
6613 PyObject * obj2 = 0 ;
6614 PyObject * obj3 = 0 ;
6615
6616 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6617 {
6618 arg1 = &temp1;
6619 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6620 }
6621 if (obj1) {
6622 {
6623 arg2 = &temp2;
6624 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6625 }
6626 }
6627 if (obj2) {
6628 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6629 SWIG_POINTER_EXCEPTION | 0)) == -1)
6630 SWIG_fail;
6631 if (arg3 == NULL) {
6632 PyErr_SetString(PyExc_TypeError,"null reference");
6633 SWIG_fail;
6634 }
6635 }
6636 if (obj3) {
6637 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 {
6641 PyThreadState* __tstate = wxPyBeginAllowThreads();
6642 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6643
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6648 return resultobj;
6649 fail:
6650 return NULL;
6651 }
6652
6653
6654 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6655 int argc;
6656 PyObject *argv[5];
6657 int ii;
6658
6659 argc = PyObject_Length(args);
6660 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6661 argv[ii] = PyTuple_GetItem(args,ii);
6662 }
6663 if (argc == 0) {
6664 return _wrap_new_TextAttr__SWIG_0(self,args);
6665 }
6666 if ((argc >= 1) && (argc <= 4)) {
6667 int _v;
6668 {
6669 _v = wxColour_typecheck(argv[0]);
6670 }
6671 if (_v) {
6672 if (argc <= 1) {
6673 return _wrap_new_TextAttr__SWIG_1(self,args);
6674 }
6675 {
6676 _v = wxColour_typecheck(argv[1]);
6677 }
6678 if (_v) {
6679 if (argc <= 2) {
6680 return _wrap_new_TextAttr__SWIG_1(self,args);
6681 }
6682 {
6683 void *ptr;
6684 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6685 _v = 0;
6686 PyErr_Clear();
6687 } else {
6688 _v = 1;
6689 }
6690 }
6691 if (_v) {
6692 if (argc <= 3) {
6693 return _wrap_new_TextAttr__SWIG_1(self,args);
6694 }
6695 _v = SWIG_CheckInt(argv[3]);
6696 if (_v) {
6697 return _wrap_new_TextAttr__SWIG_1(self,args);
6698 }
6699 }
6700 }
6701 }
6702 }
6703
6704 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6705 return NULL;
6706 }
6707
6708
6709 static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6710 PyObject *resultobj;
6711 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6720 {
6721 PyThreadState* __tstate = wxPyBeginAllowThreads();
6722 delete arg1;
6723
6724 wxPyEndAllowThreads(__tstate);
6725 if (PyErr_Occurred()) SWIG_fail;
6726 }
6727 Py_INCREF(Py_None); resultobj = Py_None;
6728 return resultobj;
6729 fail:
6730 return NULL;
6731 }
6732
6733
6734 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj;
6736 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6737 PyObject * obj0 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6745 {
6746 PyThreadState* __tstate = wxPyBeginAllowThreads();
6747 (arg1)->Init();
6748
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 Py_INCREF(Py_None); resultobj = Py_None;
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj;
6761 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6762 wxColour *arg2 = 0 ;
6763 wxColour temp2 ;
6764 PyObject * obj0 = 0 ;
6765 PyObject * obj1 = 0 ;
6766 char *kwnames[] = {
6767 (char *) "self",(char *) "colText", NULL
6768 };
6769
6770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6773 {
6774 arg2 = &temp2;
6775 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 (arg1)->SetTextColour((wxColour const &)*arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 Py_INCREF(Py_None); resultobj = Py_None;
6785 return resultobj;
6786 fail:
6787 return NULL;
6788 }
6789
6790
6791 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6792 PyObject *resultobj;
6793 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6794 wxColour *arg2 = 0 ;
6795 wxColour temp2 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "colBack", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 {
6806 arg2 = &temp2;
6807 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6808 }
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6812
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 Py_INCREF(Py_None); resultobj = Py_None;
6817 return resultobj;
6818 fail:
6819 return NULL;
6820 }
6821
6822
6823 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6826 wxFont *arg2 = 0 ;
6827 long arg3 = (long) wxTEXT_ATTR_FONT ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 PyObject * obj2 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "font",(char *) "flags", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6838 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6839 SWIG_POINTER_EXCEPTION | 0)) == -1)
6840 SWIG_fail;
6841 if (arg2 == NULL) {
6842 PyErr_SetString(PyExc_TypeError,"null reference");
6843 SWIG_fail;
6844 }
6845 if (obj2) {
6846 arg3 = (long) SWIG_AsLong(obj2);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6852
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 Py_INCREF(Py_None); resultobj = Py_None;
6857 return resultobj;
6858 fail:
6859 return NULL;
6860 }
6861
6862
6863 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj;
6865 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6866 int arg2 ;
6867 PyObject * obj0 = 0 ;
6868 PyObject * obj1 = 0 ;
6869 char *kwnames[] = {
6870 (char *) "self",(char *) "alignment", NULL
6871 };
6872
6873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6876 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
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_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6895 wxArrayInt *arg2 = 0 ;
6896 bool temp2 = False ;
6897 PyObject * obj0 = 0 ;
6898 PyObject * obj1 = 0 ;
6899 char *kwnames[] = {
6900 (char *) "self",(char *) "tabs", NULL
6901 };
6902
6903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6906 {
6907 if (! PySequence_Check(obj1)) {
6908 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6909 SWIG_fail;
6910 }
6911 arg2 = new wxArrayInt;
6912 temp2 = True;
6913 int i, len=PySequence_Length(obj1);
6914 for (i=0; i<len; i++) {
6915 PyObject* item = PySequence_GetItem(obj1, i);
6916 PyObject* number = PyNumber_Int(item);
6917 arg2->Add(PyInt_AS_LONG(number));
6918 Py_DECREF(item);
6919 Py_DECREF(number);
6920 }
6921 }
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 Py_INCREF(Py_None); resultobj = Py_None;
6930 {
6931 if (temp2) delete arg2;
6932 }
6933 return resultobj;
6934 fail:
6935 {
6936 if (temp2) delete arg2;
6937 }
6938 return NULL;
6939 }
6940
6941
6942 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj;
6944 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6945 int arg2 ;
6946 PyObject * obj0 = 0 ;
6947 PyObject * obj1 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self",(char *) "indent", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6955 arg2 = (int) SWIG_AsInt(obj1);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->SetLeftIndent(arg2);
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 Py_INCREF(Py_None); resultobj = Py_None;
6965 return resultobj;
6966 fail:
6967 return NULL;
6968 }
6969
6970
6971 static PyObject *_wrap_TextAttr_SetRightIndent(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_SetRightIndent",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)->SetRightIndent(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_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj;
7002 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7003 long arg2 ;
7004 PyObject * obj0 = 0 ;
7005 PyObject * obj1 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self",(char *) "flags", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",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 = (long) SWIG_AsLong(obj1);
7014 if (PyErr_Occurred()) SWIG_fail;
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 (arg1)->SetFlags(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_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7030 PyObject *resultobj;
7031 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7032 bool result;
7033 PyObject * obj0 = 0 ;
7034 char *kwnames[] = {
7035 (char *) "self", NULL
7036 };
7037
7038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7044
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 {
7049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7050 }
7051 return resultobj;
7052 fail:
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7060 bool result;
7061 PyObject * obj0 = 0 ;
7062 char *kwnames[] = {
7063 (char *) "self", NULL
7064 };
7065
7066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7069 {
7070 PyThreadState* __tstate = wxPyBeginAllowThreads();
7071 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7072
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 {
7077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7078 }
7079 return resultobj;
7080 fail:
7081 return NULL;
7082 }
7083
7084
7085 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7086 PyObject *resultobj;
7087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7088 bool result;
7089 PyObject * obj0 = 0 ;
7090 char *kwnames[] = {
7091 (char *) "self", NULL
7092 };
7093
7094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 {
7105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7106 }
7107 return resultobj;
7108 fail:
7109 return NULL;
7110 }
7111
7112
7113 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj;
7115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7116 bool result;
7117 PyObject * obj0 = 0 ;
7118 char *kwnames[] = {
7119 (char *) "self", NULL
7120 };
7121
7122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 {
7133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7134 }
7135 return resultobj;
7136 fail:
7137 return NULL;
7138 }
7139
7140
7141 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7142 PyObject *resultobj;
7143 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7144 bool result;
7145 PyObject * obj0 = 0 ;
7146 char *kwnames[] = {
7147 (char *) "self", NULL
7148 };
7149
7150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7162 }
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj;
7171 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7172 bool result;
7173 PyObject * obj0 = 0 ;
7174 char *kwnames[] = {
7175 (char *) "self", NULL
7176 };
7177
7178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 {
7189 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7190 }
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7200 bool result;
7201 PyObject * obj0 = 0 ;
7202 char *kwnames[] = {
7203 (char *) "self", NULL
7204 };
7205
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 {
7217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7218 }
7219 return resultobj;
7220 fail:
7221 return NULL;
7222 }
7223
7224
7225 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7226 PyObject *resultobj;
7227 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7228 long arg2 ;
7229 bool result;
7230 PyObject * obj0 = 0 ;
7231 PyObject * obj1 = 0 ;
7232 char *kwnames[] = {
7233 (char *) "self",(char *) "flag", NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7239 arg2 = (long) SWIG_AsLong(obj1);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 {
7249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7250 }
7251 return resultobj;
7252 fail:
7253 return NULL;
7254 }
7255
7256
7257 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7258 PyObject *resultobj;
7259 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7260 wxColour *result;
7261 PyObject * obj0 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 {
7270 PyThreadState* __tstate = wxPyBeginAllowThreads();
7271 {
7272 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7273 result = (wxColour *) &_result_ref;
7274 }
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_TextAttr_GetBackgroundColour(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_GetBackgroundColour",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)->GetBackgroundColour();
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_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7318 wxFont *result;
7319 PyObject * obj0 = 0 ;
7320 char *kwnames[] = {
7321 (char *) "self", NULL
7322 };
7323
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",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 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7331 result = (wxFont *) &_result_ref;
7332 }
7333
7334 wxPyEndAllowThreads(__tstate);
7335 if (PyErr_Occurred()) SWIG_fail;
7336 }
7337 {
7338 wxFont* resultptr = new wxFont(*result);
7339 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7340 }
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7350 int result;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 resultobj = SWIG_FromInt((int)result);
7367 return resultobj;
7368 fail:
7369 return NULL;
7370 }
7371
7372
7373 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7376 wxArrayInt *result;
7377 PyObject * obj0 = 0 ;
7378 char *kwnames[] = {
7379 (char *) "self", NULL
7380 };
7381
7382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 {
7388 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7389 result = (wxArrayInt *) &_result_ref;
7390 }
7391
7392 wxPyEndAllowThreads(__tstate);
7393 if (PyErr_Occurred()) SWIG_fail;
7394 }
7395 {
7396 resultobj = PyList_New(0);
7397 size_t idx;
7398 for (idx = 0; idx < result->GetCount(); idx += 1) {
7399 PyObject* val = PyInt_FromLong( result->Item(idx) );
7400 PyList_Append(resultobj, val);
7401 Py_DECREF(val);
7402 }
7403 }
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7413 long result;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 resultobj = SWIG_FromLong((long)result);
7430 return resultobj;
7431 fail:
7432 return NULL;
7433 }
7434
7435
7436 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7437 PyObject *resultobj;
7438 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7439 long result;
7440 PyObject * obj0 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_FromLong((long)result);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7465 long result;
7466 PyObject * obj0 = 0 ;
7467 char *kwnames[] = {
7468 (char *) "self", NULL
7469 };
7470
7471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7474 {
7475 PyThreadState* __tstate = wxPyBeginAllowThreads();
7476 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7477
7478 wxPyEndAllowThreads(__tstate);
7479 if (PyErr_Occurred()) SWIG_fail;
7480 }
7481 resultobj = SWIG_FromLong((long)result);
7482 return resultobj;
7483 fail:
7484 return NULL;
7485 }
7486
7487
7488 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7489 PyObject *resultobj;
7490 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7491 bool result;
7492 PyObject * obj0 = 0 ;
7493 char *kwnames[] = {
7494 (char *) "self", NULL
7495 };
7496
7497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 {
7508 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7509 }
7510 return resultobj;
7511 fail:
7512 return NULL;
7513 }
7514
7515
7516 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7517 PyObject *resultobj;
7518 wxTextAttr *arg1 = 0 ;
7519 wxTextAttr *arg2 = 0 ;
7520 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7521 wxTextAttr result;
7522 PyObject * obj0 = 0 ;
7523 PyObject * obj1 = 0 ;
7524 PyObject * obj2 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7531 SWIG_POINTER_EXCEPTION | 0)) == -1)
7532 SWIG_fail;
7533 if (arg1 == NULL) {
7534 PyErr_SetString(PyExc_TypeError,"null reference");
7535 SWIG_fail;
7536 }
7537 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1)
7539 SWIG_fail;
7540 if (arg2 == NULL) {
7541 PyErr_SetString(PyExc_TypeError,"null reference");
7542 SWIG_fail;
7543 }
7544 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 {
7554 wxTextAttr * resultptr;
7555 resultptr = new wxTextAttr((wxTextAttr &) result);
7556 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7557 }
7558 return resultobj;
7559 fail:
7560 return NULL;
7561 }
7562
7563
7564 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7565 PyObject *obj;
7566 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7567 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7568 Py_INCREF(obj);
7569 return Py_BuildValue((char *)"");
7570 }
7571 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxWindow *arg1 = (wxWindow *) 0 ;
7574 int arg2 ;
7575 wxString const &arg3_defvalue = wxPyEmptyString ;
7576 wxString *arg3 = (wxString *) &arg3_defvalue ;
7577 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7578 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7579 wxSize const &arg5_defvalue = wxDefaultSize ;
7580 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7581 long arg6 = (long) 0 ;
7582 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7583 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7584 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7585 wxString *arg8 = (wxString *) &arg8_defvalue ;
7586 wxTextCtrl *result;
7587 bool temp3 = False ;
7588 wxPoint temp4 ;
7589 wxSize temp5 ;
7590 bool temp8 = False ;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 PyObject * obj2 = 0 ;
7594 PyObject * obj3 = 0 ;
7595 PyObject * obj4 = 0 ;
7596 PyObject * obj5 = 0 ;
7597 PyObject * obj6 = 0 ;
7598 PyObject * obj7 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7606 arg2 = (int) SWIG_AsInt(obj1);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 if (obj2) {
7609 {
7610 arg3 = wxString_in_helper(obj2);
7611 if (arg3 == NULL) SWIG_fail;
7612 temp3 = True;
7613 }
7614 }
7615 if (obj3) {
7616 {
7617 arg4 = &temp4;
7618 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7619 }
7620 }
7621 if (obj4) {
7622 {
7623 arg5 = &temp5;
7624 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7625 }
7626 }
7627 if (obj5) {
7628 arg6 = (long) SWIG_AsLong(obj5);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 if (obj6) {
7632 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1)
7634 SWIG_fail;
7635 if (arg7 == NULL) {
7636 PyErr_SetString(PyExc_TypeError,"null reference");
7637 SWIG_fail;
7638 }
7639 }
7640 if (obj7) {
7641 {
7642 arg8 = wxString_in_helper(obj7);
7643 if (arg8 == NULL) SWIG_fail;
7644 temp8 = True;
7645 }
7646 }
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 {
7655 resultobj = wxPyMake_wxObject(result);
7656 }
7657 {
7658 if (temp3)
7659 delete arg3;
7660 }
7661 {
7662 if (temp8)
7663 delete arg8;
7664 }
7665 return resultobj;
7666 fail:
7667 {
7668 if (temp3)
7669 delete arg3;
7670 }
7671 {
7672 if (temp8)
7673 delete arg8;
7674 }
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxTextCtrl *result;
7682 char *kwnames[] = {
7683 NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7687 {
7688 PyThreadState* __tstate = wxPyBeginAllowThreads();
7689 result = (wxTextCtrl *)new wxTextCtrl();
7690
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 {
7695 resultobj = wxPyMake_wxObject(result);
7696 }
7697 return resultobj;
7698 fail:
7699 return NULL;
7700 }
7701
7702
7703 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7706 wxWindow *arg2 = (wxWindow *) 0 ;
7707 int arg3 ;
7708 wxString const &arg4_defvalue = wxPyEmptyString ;
7709 wxString *arg4 = (wxString *) &arg4_defvalue ;
7710 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7711 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7712 wxSize const &arg6_defvalue = wxDefaultSize ;
7713 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7714 long arg7 = (long) 0 ;
7715 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7716 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7717 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7718 wxString *arg9 = (wxString *) &arg9_defvalue ;
7719 bool result;
7720 bool temp4 = False ;
7721 wxPoint temp5 ;
7722 wxSize temp6 ;
7723 bool temp9 = False ;
7724 PyObject * obj0 = 0 ;
7725 PyObject * obj1 = 0 ;
7726 PyObject * obj2 = 0 ;
7727 PyObject * obj3 = 0 ;
7728 PyObject * obj4 = 0 ;
7729 PyObject * obj5 = 0 ;
7730 PyObject * obj6 = 0 ;
7731 PyObject * obj7 = 0 ;
7732 PyObject * obj8 = 0 ;
7733 char *kwnames[] = {
7734 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7735 };
7736
7737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7742 arg3 = (int) SWIG_AsInt(obj2);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 if (obj3) {
7745 {
7746 arg4 = wxString_in_helper(obj3);
7747 if (arg4 == NULL) SWIG_fail;
7748 temp4 = True;
7749 }
7750 }
7751 if (obj4) {
7752 {
7753 arg5 = &temp5;
7754 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7755 }
7756 }
7757 if (obj5) {
7758 {
7759 arg6 = &temp6;
7760 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7761 }
7762 }
7763 if (obj6) {
7764 arg7 = (long) SWIG_AsLong(obj6);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 if (obj7) {
7768 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7769 SWIG_POINTER_EXCEPTION | 0)) == -1)
7770 SWIG_fail;
7771 if (arg8 == NULL) {
7772 PyErr_SetString(PyExc_TypeError,"null reference");
7773 SWIG_fail;
7774 }
7775 }
7776 if (obj8) {
7777 {
7778 arg9 = wxString_in_helper(obj8);
7779 if (arg9 == NULL) SWIG_fail;
7780 temp9 = True;
7781 }
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 {
7791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7792 }
7793 {
7794 if (temp4)
7795 delete arg4;
7796 }
7797 {
7798 if (temp9)
7799 delete arg9;
7800 }
7801 return resultobj;
7802 fail:
7803 {
7804 if (temp4)
7805 delete arg4;
7806 }
7807 {
7808 if (temp9)
7809 delete arg9;
7810 }
7811 return NULL;
7812 }
7813
7814
7815 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7816 PyObject *resultobj;
7817 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7818 wxString result;
7819 PyObject * obj0 = 0 ;
7820 char *kwnames[] = {
7821 (char *) "self", NULL
7822 };
7823
7824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7827 {
7828 PyThreadState* __tstate = wxPyBeginAllowThreads();
7829 result = ((wxTextCtrl const *)arg1)->GetValue();
7830
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 {
7835 #if wxUSE_UNICODE
7836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7837 #else
7838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7839 #endif
7840 }
7841 return resultobj;
7842 fail:
7843 return NULL;
7844 }
7845
7846
7847 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7850 wxString *arg2 = 0 ;
7851 bool temp2 = False ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "value", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7861 {
7862 arg2 = wxString_in_helper(obj1);
7863 if (arg2 == NULL) SWIG_fail;
7864 temp2 = True;
7865 }
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->SetValue((wxString const &)*arg2);
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 {
7875 if (temp2)
7876 delete arg2;
7877 }
7878 return resultobj;
7879 fail:
7880 {
7881 if (temp2)
7882 delete arg2;
7883 }
7884 return NULL;
7885 }
7886
7887
7888 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7891 long arg2 ;
7892 long arg3 ;
7893 wxString result;
7894 PyObject * obj0 = 0 ;
7895 PyObject * obj1 = 0 ;
7896 PyObject * obj2 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "from",(char *) "to", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7904 arg2 = (long) SWIG_AsLong(obj1);
7905 if (PyErr_Occurred()) SWIG_fail;
7906 arg3 = (long) SWIG_AsLong(obj2);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 {
7909 PyThreadState* __tstate = wxPyBeginAllowThreads();
7910 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7911
7912 wxPyEndAllowThreads(__tstate);
7913 if (PyErr_Occurred()) SWIG_fail;
7914 }
7915 {
7916 #if wxUSE_UNICODE
7917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7918 #else
7919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7920 #endif
7921 }
7922 return resultobj;
7923 fail:
7924 return NULL;
7925 }
7926
7927
7928 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7929 PyObject *resultobj;
7930 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7931 long arg2 ;
7932 int result;
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self",(char *) "lineNo", NULL
7937 };
7938
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7942 arg2 = (long) SWIG_AsLong(obj1);
7943 if (PyErr_Occurred()) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 resultobj = SWIG_FromInt((int)result);
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7961 long arg2 ;
7962 wxString result;
7963 PyObject * obj0 = 0 ;
7964 PyObject * obj1 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self",(char *) "lineNo", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7972 arg2 = (long) SWIG_AsLong(obj1);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 {
7975 PyThreadState* __tstate = wxPyBeginAllowThreads();
7976 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7977
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 {
7982 #if wxUSE_UNICODE
7983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7984 #else
7985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7986 #endif
7987 }
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7997 int result;
7998 PyObject * obj0 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8009
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = SWIG_FromInt((int)result);
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8023 bool result;
8024 PyObject * obj0 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "self", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 {
8040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8041 }
8042 return resultobj;
8043 fail:
8044 return NULL;
8045 }
8046
8047
8048 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8049 PyObject *resultobj;
8050 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8051 bool result;
8052 PyObject * obj0 = 0 ;
8053 char *kwnames[] = {
8054 (char *) "self", NULL
8055 };
8056
8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8060 {
8061 PyThreadState* __tstate = wxPyBeginAllowThreads();
8062 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8063
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 {
8068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8069 }
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8079 bool result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8107 bool result;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
8118 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 {
8124 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8125 }
8126 return resultobj;
8127 fail:
8128 return NULL;
8129 }
8130
8131
8132 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8135 long *arg2 = (long *) 0 ;
8136 long *arg3 = (long *) 0 ;
8137 long temp2 ;
8138 long temp3 ;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 arg2 = &temp2;
8145 arg3 = &temp3;
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 Py_INCREF(Py_None); resultobj = Py_None;
8157 {
8158 PyObject *o = PyInt_FromLong((long) (*arg2));
8159 resultobj = t_output_helper(resultobj,o);
8160 }
8161 {
8162 PyObject *o = PyInt_FromLong((long) (*arg3));
8163 resultobj = t_output_helper(resultobj,o);
8164 }
8165 return resultobj;
8166 fail:
8167 return NULL;
8168 }
8169
8170
8171 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8172 PyObject *resultobj;
8173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8174 wxString result;
8175 PyObject * obj0 = 0 ;
8176 char *kwnames[] = {
8177 (char *) "self", NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 {
8191 #if wxUSE_UNICODE
8192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8193 #else
8194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8195 #endif
8196 }
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8206 PyObject * obj0 = 0 ;
8207 char *kwnames[] = {
8208 (char *) "self", NULL
8209 };
8210
8211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 (arg1)->Clear();
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 Py_INCREF(Py_None); resultobj = Py_None;
8222 return resultobj;
8223 fail:
8224 return NULL;
8225 }
8226
8227
8228 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject *resultobj;
8230 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8231 long arg2 ;
8232 long arg3 ;
8233 wxString *arg4 = 0 ;
8234 bool temp4 = False ;
8235 PyObject * obj0 = 0 ;
8236 PyObject * obj1 = 0 ;
8237 PyObject * obj2 = 0 ;
8238 PyObject * obj3 = 0 ;
8239 char *kwnames[] = {
8240 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8241 };
8242
8243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8246 arg2 = (long) SWIG_AsLong(obj1);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 arg3 = (long) SWIG_AsLong(obj2);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 {
8251 arg4 = wxString_in_helper(obj3);
8252 if (arg4 == NULL) SWIG_fail;
8253 temp4 = True;
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 Py_INCREF(Py_None); resultobj = Py_None;
8263 {
8264 if (temp4)
8265 delete arg4;
8266 }
8267 return resultobj;
8268 fail:
8269 {
8270 if (temp4)
8271 delete arg4;
8272 }
8273 return NULL;
8274 }
8275
8276
8277 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 long arg2 ;
8281 long arg3 ;
8282 PyObject * obj0 = 0 ;
8283 PyObject * obj1 = 0 ;
8284 PyObject * obj2 = 0 ;
8285 char *kwnames[] = {
8286 (char *) "self",(char *) "from",(char *) "to", NULL
8287 };
8288
8289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8292 arg2 = (long) SWIG_AsLong(obj1);
8293 if (PyErr_Occurred()) SWIG_fail;
8294 arg3 = (long) SWIG_AsLong(obj2);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 (arg1)->Remove(arg2,arg3);
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 Py_INCREF(Py_None); resultobj = Py_None;
8304 return resultobj;
8305 fail:
8306 return NULL;
8307 }
8308
8309
8310 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj;
8312 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8313 wxString *arg2 = 0 ;
8314 bool result;
8315 bool temp2 = False ;
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
8318 char *kwnames[] = {
8319 (char *) "self",(char *) "file", NULL
8320 };
8321
8322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8325 {
8326 arg2 = wxString_in_helper(obj1);
8327 if (arg2 == NULL) SWIG_fail;
8328 temp2 = True;
8329 }
8330 {
8331 PyThreadState* __tstate = wxPyBeginAllowThreads();
8332 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8333
8334 wxPyEndAllowThreads(__tstate);
8335 if (PyErr_Occurred()) SWIG_fail;
8336 }
8337 {
8338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8339 }
8340 {
8341 if (temp2)
8342 delete arg2;
8343 }
8344 return resultobj;
8345 fail:
8346 {
8347 if (temp2)
8348 delete arg2;
8349 }
8350 return NULL;
8351 }
8352
8353
8354 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8357 wxString const &arg2_defvalue = wxPyEmptyString ;
8358 wxString *arg2 = (wxString *) &arg2_defvalue ;
8359 bool result;
8360 bool temp2 = False ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj1 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "self",(char *) "file", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8370 if (obj1) {
8371 {
8372 arg2 = wxString_in_helper(obj1);
8373 if (arg2 == NULL) SWIG_fail;
8374 temp2 = True;
8375 }
8376 }
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 {
8385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8386 }
8387 {
8388 if (temp2)
8389 delete arg2;
8390 }
8391 return resultobj;
8392 fail:
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8404 PyObject * obj0 = 0 ;
8405 char *kwnames[] = {
8406 (char *) "self", NULL
8407 };
8408
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 (arg1)->MarkDirty();
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 Py_INCREF(Py_None); resultobj = Py_None;
8420 return resultobj;
8421 fail:
8422 return NULL;
8423 }
8424
8425
8426 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8429 PyObject * obj0 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "self", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 (arg1)->DiscardEdits();
8440
8441 wxPyEndAllowThreads(__tstate);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 }
8444 Py_INCREF(Py_None); resultobj = Py_None;
8445 return resultobj;
8446 fail:
8447 return NULL;
8448 }
8449
8450
8451 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8454 unsigned long arg2 ;
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "len", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8464 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8465 if (PyErr_Occurred()) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 (arg1)->SetMaxLength(arg2);
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_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8481 PyObject *resultobj;
8482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8483 wxString *arg2 = 0 ;
8484 bool temp2 = False ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 char *kwnames[] = {
8488 (char *) "self",(char *) "text", NULL
8489 };
8490
8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8494 {
8495 arg2 = wxString_in_helper(obj1);
8496 if (arg2 == NULL) SWIG_fail;
8497 temp2 = True;
8498 }
8499 {
8500 PyThreadState* __tstate = wxPyBeginAllowThreads();
8501 (arg1)->WriteText((wxString const &)*arg2);
8502
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 Py_INCREF(Py_None); resultobj = Py_None;
8507 {
8508 if (temp2)
8509 delete arg2;
8510 }
8511 return resultobj;
8512 fail:
8513 {
8514 if (temp2)
8515 delete arg2;
8516 }
8517 return NULL;
8518 }
8519
8520
8521 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8522 PyObject *resultobj;
8523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8524 wxString *arg2 = 0 ;
8525 bool temp2 = False ;
8526 PyObject * obj0 = 0 ;
8527 PyObject * obj1 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self",(char *) "text", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8535 {
8536 arg2 = wxString_in_helper(obj1);
8537 if (arg2 == NULL) SWIG_fail;
8538 temp2 = True;
8539 }
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 (arg1)->AppendText((wxString const &)*arg2);
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 Py_INCREF(Py_None); resultobj = Py_None;
8548 {
8549 if (temp2)
8550 delete arg2;
8551 }
8552 return resultobj;
8553 fail:
8554 {
8555 if (temp2)
8556 delete arg2;
8557 }
8558 return NULL;
8559 }
8560
8561
8562 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj;
8564 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8565 wxKeyEvent *arg2 = 0 ;
8566 bool result;
8567 PyObject * obj0 = 0 ;
8568 PyObject * obj1 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self",(char *) "event", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8576 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8577 SWIG_POINTER_EXCEPTION | 0)) == -1)
8578 SWIG_fail;
8579 if (arg2 == NULL) {
8580 PyErr_SetString(PyExc_TypeError,"null reference");
8581 SWIG_fail;
8582 }
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8586
8587 wxPyEndAllowThreads(__tstate);
8588 if (PyErr_Occurred()) SWIG_fail;
8589 }
8590 {
8591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8592 }
8593 return resultobj;
8594 fail:
8595 return NULL;
8596 }
8597
8598
8599 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8600 PyObject *resultobj;
8601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8602 long arg2 ;
8603 long arg3 ;
8604 wxTextAttr *arg4 = 0 ;
8605 bool result;
8606 PyObject * obj0 = 0 ;
8607 PyObject * obj1 = 0 ;
8608 PyObject * obj2 = 0 ;
8609 PyObject * obj3 = 0 ;
8610 char *kwnames[] = {
8611 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8612 };
8613
8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8617 arg2 = (long) SWIG_AsLong(obj1);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 arg3 = (long) SWIG_AsLong(obj2);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8622 SWIG_POINTER_EXCEPTION | 0)) == -1)
8623 SWIG_fail;
8624 if (arg4 == NULL) {
8625 PyErr_SetString(PyExc_TypeError,"null reference");
8626 SWIG_fail;
8627 }
8628 {
8629 PyThreadState* __tstate = wxPyBeginAllowThreads();
8630 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8631
8632 wxPyEndAllowThreads(__tstate);
8633 if (PyErr_Occurred()) SWIG_fail;
8634 }
8635 {
8636 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8637 }
8638 return resultobj;
8639 fail:
8640 return NULL;
8641 }
8642
8643
8644 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8645 PyObject *resultobj;
8646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8647 long arg2 ;
8648 wxTextAttr *arg3 = 0 ;
8649 bool result;
8650 PyObject * obj0 = 0 ;
8651 PyObject * obj1 = 0 ;
8652 PyObject * obj2 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self",(char *) "position",(char *) "style", NULL
8655 };
8656
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8660 arg2 = (long) SWIG_AsLong(obj1);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8663 SWIG_POINTER_EXCEPTION | 0)) == -1)
8664 SWIG_fail;
8665 if (arg3 == NULL) {
8666 PyErr_SetString(PyExc_TypeError,"null reference");
8667 SWIG_fail;
8668 }
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
8676 {
8677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8678 }
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8686 PyObject *resultobj;
8687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8688 wxTextAttr *arg2 = 0 ;
8689 bool result;
8690 PyObject * obj0 = 0 ;
8691 PyObject * obj1 = 0 ;
8692 char *kwnames[] = {
8693 (char *) "self",(char *) "style", NULL
8694 };
8695
8696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8700 SWIG_POINTER_EXCEPTION | 0)) == -1)
8701 SWIG_fail;
8702 if (arg2 == NULL) {
8703 PyErr_SetString(PyExc_TypeError,"null reference");
8704 SWIG_fail;
8705 }
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 {
8714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8715 }
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8725 wxTextAttr *result;
8726 PyObject * obj0 = 0 ;
8727 char *kwnames[] = {
8728 (char *) "self", NULL
8729 };
8730
8731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 {
8737 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8738 result = (wxTextAttr *) &_result_ref;
8739 }
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
8745 return resultobj;
8746 fail:
8747 return NULL;
8748 }
8749
8750
8751 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8752 PyObject *resultobj;
8753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8754 long arg2 ;
8755 long arg3 ;
8756 long result;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 PyObject * obj2 = 0 ;
8760 char *kwnames[] = {
8761 (char *) "self",(char *) "x",(char *) "y", NULL
8762 };
8763
8764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8767 arg2 = (long) SWIG_AsLong(obj1);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 arg3 = (long) SWIG_AsLong(obj2);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 {
8772 PyThreadState* __tstate = wxPyBeginAllowThreads();
8773 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8774
8775 wxPyEndAllowThreads(__tstate);
8776 if (PyErr_Occurred()) SWIG_fail;
8777 }
8778 resultobj = SWIG_FromLong((long)result);
8779 return resultobj;
8780 fail:
8781 return NULL;
8782 }
8783
8784
8785 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8786 PyObject *resultobj;
8787 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8788 long arg2 ;
8789 long *arg3 = (long *) 0 ;
8790 long *arg4 = (long *) 0 ;
8791 long temp3 ;
8792 long temp4 ;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 char *kwnames[] = {
8796 (char *) "self",(char *) "pos", NULL
8797 };
8798
8799 arg3 = &temp3;
8800 arg4 = &temp4;
8801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8804 arg2 = (long) SWIG_AsLong(obj1);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 Py_INCREF(Py_None); resultobj = Py_None;
8814 {
8815 PyObject *o = PyInt_FromLong((long) (*arg3));
8816 resultobj = t_output_helper(resultobj,o);
8817 }
8818 {
8819 PyObject *o = PyInt_FromLong((long) (*arg4));
8820 resultobj = t_output_helper(resultobj,o);
8821 }
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8831 long arg2 ;
8832 PyObject * obj0 = 0 ;
8833 PyObject * obj1 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "pos", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8841 arg2 = (long) SWIG_AsLong(obj1);
8842 if (PyErr_Occurred()) SWIG_fail;
8843 {
8844 PyThreadState* __tstate = wxPyBeginAllowThreads();
8845 (arg1)->ShowPosition(arg2);
8846
8847 wxPyEndAllowThreads(__tstate);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 }
8850 Py_INCREF(Py_None); resultobj = Py_None;
8851 return resultobj;
8852 fail:
8853 return NULL;
8854 }
8855
8856
8857 static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8858 PyObject *resultobj;
8859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8860 wxPoint *arg2 = 0 ;
8861 long *arg3 = (long *) 0 ;
8862 long *arg4 = (long *) 0 ;
8863 int result;
8864 wxPoint temp2 ;
8865 long temp3 ;
8866 long temp4 ;
8867 PyObject * obj0 = 0 ;
8868 PyObject * obj1 = 0 ;
8869 char *kwnames[] = {
8870 (char *) "self",(char *) "pt", NULL
8871 };
8872
8873 arg3 = &temp3;
8874 arg4 = &temp4;
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8878 {
8879 arg2 = &temp2;
8880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8885
8886 wxPyEndAllowThreads(__tstate);
8887 if (PyErr_Occurred()) SWIG_fail;
8888 }
8889 resultobj = SWIG_FromInt((int)result);
8890 {
8891 PyObject *o = PyInt_FromLong((long) (*arg3));
8892 resultobj = t_output_helper(resultobj,o);
8893 }
8894 {
8895 PyObject *o = PyInt_FromLong((long) (*arg4));
8896 resultobj = t_output_helper(resultobj,o);
8897 }
8898 return resultobj;
8899 fail:
8900 return NULL;
8901 }
8902
8903
8904 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8905 PyObject *resultobj;
8906 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8907 PyObject * obj0 = 0 ;
8908 char *kwnames[] = {
8909 (char *) "self", NULL
8910 };
8911
8912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->Copy();
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 return resultobj;
8924 fail:
8925 return NULL;
8926 }
8927
8928
8929 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8932 PyObject * obj0 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8940 {
8941 PyThreadState* __tstate = wxPyBeginAllowThreads();
8942 (arg1)->Cut();
8943
8944 wxPyEndAllowThreads(__tstate);
8945 if (PyErr_Occurred()) SWIG_fail;
8946 }
8947 Py_INCREF(Py_None); resultobj = Py_None;
8948 return resultobj;
8949 fail:
8950 return NULL;
8951 }
8952
8953
8954 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8955 PyObject *resultobj;
8956 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8957 PyObject * obj0 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self", NULL
8960 };
8961
8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->Paste();
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976 }
8977
8978
8979 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8982 bool result;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 {
8999 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9000 }
9001 return resultobj;
9002 fail:
9003 return NULL;
9004 }
9005
9006
9007 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9008 PyObject *resultobj;
9009 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9010 bool result;
9011 PyObject * obj0 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9022
9023 wxPyEndAllowThreads(__tstate);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 }
9026 {
9027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9028 }
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj;
9037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9038 bool result;
9039 PyObject * obj0 = 0 ;
9040 char *kwnames[] = {
9041 (char *) "self", NULL
9042 };
9043
9044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 {
9055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9056 }
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9066 PyObject * obj0 = 0 ;
9067 char *kwnames[] = {
9068 (char *) "self", NULL
9069 };
9070
9071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->Undo();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9091 PyObject * obj0 = 0 ;
9092 char *kwnames[] = {
9093 (char *) "self", NULL
9094 };
9095
9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 (arg1)->Redo();
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 Py_INCREF(Py_None); resultobj = Py_None;
9107 return resultobj;
9108 fail:
9109 return NULL;
9110 }
9111
9112
9113 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9116 bool result;
9117 PyObject * obj0 = 0 ;
9118 char *kwnames[] = {
9119 (char *) "self", NULL
9120 };
9121
9122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9125 {
9126 PyThreadState* __tstate = wxPyBeginAllowThreads();
9127 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9128
9129 wxPyEndAllowThreads(__tstate);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 }
9132 {
9133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9134 }
9135 return resultobj;
9136 fail:
9137 return NULL;
9138 }
9139
9140
9141 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject *resultobj;
9143 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9144 bool result;
9145 PyObject * obj0 = 0 ;
9146 char *kwnames[] = {
9147 (char *) "self", NULL
9148 };
9149
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9153 {
9154 PyThreadState* __tstate = wxPyBeginAllowThreads();
9155 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9156
9157 wxPyEndAllowThreads(__tstate);
9158 if (PyErr_Occurred()) SWIG_fail;
9159 }
9160 {
9161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9162 }
9163 return resultobj;
9164 fail:
9165 return NULL;
9166 }
9167
9168
9169 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9170 PyObject *resultobj;
9171 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9172 long arg2 ;
9173 PyObject * obj0 = 0 ;
9174 PyObject * obj1 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self",(char *) "pos", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9182 arg2 = (long) SWIG_AsLong(obj1);
9183 if (PyErr_Occurred()) SWIG_fail;
9184 {
9185 PyThreadState* __tstate = wxPyBeginAllowThreads();
9186 (arg1)->SetInsertionPoint(arg2);
9187
9188 wxPyEndAllowThreads(__tstate);
9189 if (PyErr_Occurred()) SWIG_fail;
9190 }
9191 Py_INCREF(Py_None); resultobj = Py_None;
9192 return resultobj;
9193 fail:
9194 return NULL;
9195 }
9196
9197
9198 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9199 PyObject *resultobj;
9200 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9209 {
9210 PyThreadState* __tstate = wxPyBeginAllowThreads();
9211 (arg1)->SetInsertionPointEnd();
9212
9213 wxPyEndAllowThreads(__tstate);
9214 if (PyErr_Occurred()) SWIG_fail;
9215 }
9216 Py_INCREF(Py_None); resultobj = Py_None;
9217 return resultobj;
9218 fail:
9219 return NULL;
9220 }
9221
9222
9223 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9224 PyObject *resultobj;
9225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9226 long result;
9227 PyObject * obj0 = 0 ;
9228 char *kwnames[] = {
9229 (char *) "self", NULL
9230 };
9231
9232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9235 {
9236 PyThreadState* __tstate = wxPyBeginAllowThreads();
9237 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9238
9239 wxPyEndAllowThreads(__tstate);
9240 if (PyErr_Occurred()) SWIG_fail;
9241 }
9242 resultobj = SWIG_FromLong((long)result);
9243 return resultobj;
9244 fail:
9245 return NULL;
9246 }
9247
9248
9249 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9250 PyObject *resultobj;
9251 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9252 long result;
9253 PyObject * obj0 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9264
9265 wxPyEndAllowThreads(__tstate);
9266 if (PyErr_Occurred()) SWIG_fail;
9267 }
9268 resultobj = SWIG_FromLong((long)result);
9269 return resultobj;
9270 fail:
9271 return NULL;
9272 }
9273
9274
9275 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9276 PyObject *resultobj;
9277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9278 long arg2 ;
9279 long arg3 ;
9280 PyObject * obj0 = 0 ;
9281 PyObject * obj1 = 0 ;
9282 PyObject * obj2 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "from",(char *) "to", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9290 arg2 = (long) SWIG_AsLong(obj1);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 arg3 = (long) SWIG_AsLong(obj2);
9293 if (PyErr_Occurred()) SWIG_fail;
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 (arg1)->SetSelection(arg2,arg3);
9297
9298 wxPyEndAllowThreads(__tstate);
9299 if (PyErr_Occurred()) SWIG_fail;
9300 }
9301 Py_INCREF(Py_None); resultobj = Py_None;
9302 return resultobj;
9303 fail:
9304 return NULL;
9305 }
9306
9307
9308 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9309 PyObject *resultobj;
9310 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9311 PyObject * obj0 = 0 ;
9312 char *kwnames[] = {
9313 (char *) "self", NULL
9314 };
9315
9316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9319 {
9320 PyThreadState* __tstate = wxPyBeginAllowThreads();
9321 (arg1)->SelectAll();
9322
9323 wxPyEndAllowThreads(__tstate);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 }
9326 Py_INCREF(Py_None); resultobj = Py_None;
9327 return resultobj;
9328 fail:
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9336 bool arg2 ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self",(char *) "editable", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9346 arg2 = (bool) SWIG_AsBool(obj1);
9347 if (PyErr_Occurred()) SWIG_fail;
9348 {
9349 PyThreadState* __tstate = wxPyBeginAllowThreads();
9350 (arg1)->SetEditable(arg2);
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_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9365 wxString *arg2 = 0 ;
9366 bool temp2 = False ;
9367 PyObject * obj0 = 0 ;
9368 PyObject * obj1 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self",(char *) "text", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9376 {
9377 arg2 = wxString_in_helper(obj1);
9378 if (arg2 == NULL) SWIG_fail;
9379 temp2 = True;
9380 }
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 Py_INCREF(Py_None); resultobj = Py_None;
9389 {
9390 if (temp2)
9391 delete arg2;
9392 }
9393 return resultobj;
9394 fail:
9395 {
9396 if (temp2)
9397 delete arg2;
9398 }
9399 return NULL;
9400 }
9401
9402
9403 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9406 long arg2 ;
9407 long arg3 ;
9408 wxString result;
9409 PyObject * obj0 = 0 ;
9410 PyObject * obj1 = 0 ;
9411 PyObject * obj2 = 0 ;
9412 char *kwnames[] = {
9413 (char *) "self",(char *) "from",(char *) "to", NULL
9414 };
9415
9416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9419 arg2 = (long) SWIG_AsLong(obj1);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 arg3 = (long) SWIG_AsLong(obj2);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 #if wxUSE_UNICODE
9432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9433 #else
9434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9435 #endif
9436 }
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9444 PyObject *obj;
9445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9446 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9447 Py_INCREF(obj);
9448 return Py_BuildValue((char *)"");
9449 }
9450 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj;
9452 int arg1 ;
9453 wxMouseEvent *arg2 = 0 ;
9454 long arg3 ;
9455 long arg4 ;
9456 wxTextUrlEvent *result;
9457 PyObject * obj0 = 0 ;
9458 PyObject * obj1 = 0 ;
9459 PyObject * obj2 = 0 ;
9460 PyObject * obj3 = 0 ;
9461 char *kwnames[] = {
9462 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9463 };
9464
9465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9466 arg1 = (int) SWIG_AsInt(obj0);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9469 SWIG_POINTER_EXCEPTION | 0)) == -1)
9470 SWIG_fail;
9471 if (arg2 == NULL) {
9472 PyErr_SetString(PyExc_TypeError,"null reference");
9473 SWIG_fail;
9474 }
9475 arg3 = (long) SWIG_AsLong(obj2);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 arg4 = (long) SWIG_AsLong(obj3);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9487 return resultobj;
9488 fail:
9489 return NULL;
9490 }
9491
9492
9493 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9496 wxMouseEvent *result;
9497 PyObject * obj0 = 0 ;
9498 char *kwnames[] = {
9499 (char *) "self", NULL
9500 };
9501
9502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 {
9508 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9509 result = (wxMouseEvent *) &_result_ref;
9510 }
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9525 long result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",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 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = SWIG_FromLong((long)result);
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9551 long result;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 resultobj = SWIG_FromLong((long)result);
9568 return resultobj;
9569 fail:
9570 return NULL;
9571 }
9572
9573
9574 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9575 PyObject *obj;
9576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9577 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9578 Py_INCREF(obj);
9579 return Py_BuildValue((char *)"");
9580 }
9581 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9582 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9583 return 1;
9584 }
9585
9586
9587 static PyObject *_wrap_ScrollBarNameStr_get() {
9588 PyObject *pyobj;
9589
9590 {
9591 #if wxUSE_UNICODE
9592 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9593 #else
9594 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9595 #endif
9596 }
9597 return pyobj;
9598 }
9599
9600
9601 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxWindow *arg1 = (wxWindow *) 0 ;
9604 int arg2 = (int) -1 ;
9605 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9606 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9607 wxSize const &arg4_defvalue = wxDefaultSize ;
9608 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9609 long arg5 = (long) wxSB_HORIZONTAL ;
9610 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9611 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9612 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9613 wxString *arg7 = (wxString *) &arg7_defvalue ;
9614 wxScrollBar *result;
9615 wxPoint temp3 ;
9616 wxSize temp4 ;
9617 bool temp7 = False ;
9618 PyObject * obj0 = 0 ;
9619 PyObject * obj1 = 0 ;
9620 PyObject * obj2 = 0 ;
9621 PyObject * obj3 = 0 ;
9622 PyObject * obj4 = 0 ;
9623 PyObject * obj5 = 0 ;
9624 PyObject * obj6 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9632 if (obj1) {
9633 arg2 = (int) SWIG_AsInt(obj1);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 if (obj2) {
9637 {
9638 arg3 = &temp3;
9639 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9640 }
9641 }
9642 if (obj3) {
9643 {
9644 arg4 = &temp4;
9645 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9646 }
9647 }
9648 if (obj4) {
9649 arg5 = (long) SWIG_AsLong(obj4);
9650 if (PyErr_Occurred()) SWIG_fail;
9651 }
9652 if (obj5) {
9653 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9654 SWIG_POINTER_EXCEPTION | 0)) == -1)
9655 SWIG_fail;
9656 if (arg6 == NULL) {
9657 PyErr_SetString(PyExc_TypeError,"null reference");
9658 SWIG_fail;
9659 }
9660 }
9661 if (obj6) {
9662 {
9663 arg7 = wxString_in_helper(obj6);
9664 if (arg7 == NULL) SWIG_fail;
9665 temp7 = True;
9666 }
9667 }
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9676 {
9677 if (temp7)
9678 delete arg7;
9679 }
9680 return resultobj;
9681 fail:
9682 {
9683 if (temp7)
9684 delete arg7;
9685 }
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxScrollBar *result;
9693 char *kwnames[] = {
9694 NULL
9695 };
9696
9697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9698 {
9699 PyThreadState* __tstate = wxPyBeginAllowThreads();
9700 result = (wxScrollBar *)new wxScrollBar();
9701
9702 wxPyEndAllowThreads(__tstate);
9703 if (PyErr_Occurred()) SWIG_fail;
9704 }
9705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
9706 return resultobj;
9707 fail:
9708 return NULL;
9709 }
9710
9711
9712 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9715 wxWindow *arg2 = (wxWindow *) 0 ;
9716 int arg3 = (int) -1 ;
9717 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9718 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9719 wxSize const &arg5_defvalue = wxDefaultSize ;
9720 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9721 long arg6 = (long) wxSB_HORIZONTAL ;
9722 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9723 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9724 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9725 wxString *arg8 = (wxString *) &arg8_defvalue ;
9726 bool result;
9727 wxPoint temp4 ;
9728 wxSize temp5 ;
9729 bool temp8 = False ;
9730 PyObject * obj0 = 0 ;
9731 PyObject * obj1 = 0 ;
9732 PyObject * obj2 = 0 ;
9733 PyObject * obj3 = 0 ;
9734 PyObject * obj4 = 0 ;
9735 PyObject * obj5 = 0 ;
9736 PyObject * obj6 = 0 ;
9737 PyObject * obj7 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9747 if (obj2) {
9748 arg3 = (int) SWIG_AsInt(obj2);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 if (obj3) {
9752 {
9753 arg4 = &temp4;
9754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9755 }
9756 }
9757 if (obj4) {
9758 {
9759 arg5 = &temp5;
9760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9761 }
9762 }
9763 if (obj5) {
9764 arg6 = (long) SWIG_AsLong(obj5);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 if (obj6) {
9768 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9769 SWIG_POINTER_EXCEPTION | 0)) == -1)
9770 SWIG_fail;
9771 if (arg7 == NULL) {
9772 PyErr_SetString(PyExc_TypeError,"null reference");
9773 SWIG_fail;
9774 }
9775 }
9776 if (obj7) {
9777 {
9778 arg8 = wxString_in_helper(obj7);
9779 if (arg8 == NULL) SWIG_fail;
9780 temp8 = True;
9781 }
9782 }
9783 {
9784 PyThreadState* __tstate = wxPyBeginAllowThreads();
9785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9786
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 {
9791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9792 }
9793 {
9794 if (temp8)
9795 delete arg8;
9796 }
9797 return resultobj;
9798 fail:
9799 {
9800 if (temp8)
9801 delete arg8;
9802 }
9803 return NULL;
9804 }
9805
9806
9807 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9808 PyObject *resultobj;
9809 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9810 int result;
9811 PyObject * obj0 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "self", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_FromInt((int)result);
9827 return resultobj;
9828 fail:
9829 return NULL;
9830 }
9831
9832
9833 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9834 PyObject *resultobj;
9835 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9836 int result;
9837 PyObject * obj0 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 {
9846 PyThreadState* __tstate = wxPyBeginAllowThreads();
9847 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9848
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_FromInt((int)result);
9853 return resultobj;
9854 fail:
9855 return NULL;
9856 }
9857
9858
9859 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9862 int result;
9863 PyObject * obj0 = 0 ;
9864 char *kwnames[] = {
9865 (char *) "self", NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 resultobj = SWIG_FromInt((int)result);
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9888 int result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (int)((wxScrollBar const *)arg1)->GetRange();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_FromInt((int)result);
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9914 bool result;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9923 {
9924 PyThreadState* __tstate = wxPyBeginAllowThreads();
9925 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9926
9927 wxPyEndAllowThreads(__tstate);
9928 if (PyErr_Occurred()) SWIG_fail;
9929 }
9930 {
9931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9932 }
9933 return resultobj;
9934 fail:
9935 return NULL;
9936 }
9937
9938
9939 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9942 int arg2 ;
9943 PyObject * obj0 = 0 ;
9944 PyObject * obj1 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self",(char *) "viewStart", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 arg2 = (int) SWIG_AsInt(obj1);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 (arg1)->SetThumbPosition(arg2);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 Py_INCREF(Py_None); resultobj = Py_None;
9962 return resultobj;
9963 fail:
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9971 int arg2 ;
9972 int arg3 ;
9973 int arg4 ;
9974 int arg5 ;
9975 bool arg6 = (bool) True ;
9976 PyObject * obj0 = 0 ;
9977 PyObject * obj1 = 0 ;
9978 PyObject * obj2 = 0 ;
9979 PyObject * obj3 = 0 ;
9980 PyObject * obj4 = 0 ;
9981 PyObject * obj5 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9989 arg2 = (int) SWIG_AsInt(obj1);
9990 if (PyErr_Occurred()) SWIG_fail;
9991 arg3 = (int) SWIG_AsInt(obj2);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 arg4 = (int) SWIG_AsInt(obj3);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 arg5 = (int) SWIG_AsInt(obj4);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 if (obj5) {
9998 arg6 = (bool) SWIG_AsBool(obj5);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 Py_INCREF(Py_None); resultobj = Py_None;
10009 return resultobj;
10010 fail:
10011 return NULL;
10012 }
10013
10014
10015 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10016 PyObject *obj;
10017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10018 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10019 Py_INCREF(obj);
10020 return Py_BuildValue((char *)"");
10021 }
10022 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10023 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10024 return 1;
10025 }
10026
10027
10028 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10029 PyObject *pyobj;
10030
10031 {
10032 #if wxUSE_UNICODE
10033 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10034 #else
10035 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10036 #endif
10037 }
10038 return pyobj;
10039 }
10040
10041
10042 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10043 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10044 return 1;
10045 }
10046
10047
10048 static PyObject *_wrap_SpinCtrlNameStr_get() {
10049 PyObject *pyobj;
10050
10051 {
10052 #if wxUSE_UNICODE
10053 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10054 #else
10055 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10056 #endif
10057 }
10058 return pyobj;
10059 }
10060
10061
10062 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10063 PyObject *resultobj;
10064 wxWindow *arg1 = (wxWindow *) 0 ;
10065 int arg2 = (int) -1 ;
10066 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10067 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10068 wxSize const &arg4_defvalue = wxDefaultSize ;
10069 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10070 long arg5 = (long) wxSP_HORIZONTAL ;
10071 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10072 wxString *arg6 = (wxString *) &arg6_defvalue ;
10073 wxSpinButton *result;
10074 wxPoint temp3 ;
10075 wxSize temp4 ;
10076 bool temp6 = False ;
10077 PyObject * obj0 = 0 ;
10078 PyObject * obj1 = 0 ;
10079 PyObject * obj2 = 0 ;
10080 PyObject * obj3 = 0 ;
10081 PyObject * obj4 = 0 ;
10082 PyObject * obj5 = 0 ;
10083 char *kwnames[] = {
10084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10085 };
10086
10087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10090 if (obj1) {
10091 arg2 = (int) SWIG_AsInt(obj1);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 if (obj2) {
10095 {
10096 arg3 = &temp3;
10097 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10098 }
10099 }
10100 if (obj3) {
10101 {
10102 arg4 = &temp4;
10103 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10104 }
10105 }
10106 if (obj4) {
10107 arg5 = (long) SWIG_AsLong(obj4);
10108 if (PyErr_Occurred()) SWIG_fail;
10109 }
10110 if (obj5) {
10111 {
10112 arg6 = wxString_in_helper(obj5);
10113 if (arg6 == NULL) SWIG_fail;
10114 temp6 = True;
10115 }
10116 }
10117 {
10118 PyThreadState* __tstate = wxPyBeginAllowThreads();
10119 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10120
10121 wxPyEndAllowThreads(__tstate);
10122 if (PyErr_Occurred()) SWIG_fail;
10123 }
10124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10125 {
10126 if (temp6)
10127 delete arg6;
10128 }
10129 return resultobj;
10130 fail:
10131 {
10132 if (temp6)
10133 delete arg6;
10134 }
10135 return NULL;
10136 }
10137
10138
10139 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10140 PyObject *resultobj;
10141 wxSpinButton *result;
10142 char *kwnames[] = {
10143 NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10147 {
10148 PyThreadState* __tstate = wxPyBeginAllowThreads();
10149 result = (wxSpinButton *)new wxSpinButton();
10150
10151 wxPyEndAllowThreads(__tstate);
10152 if (PyErr_Occurred()) SWIG_fail;
10153 }
10154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10155 return resultobj;
10156 fail:
10157 return NULL;
10158 }
10159
10160
10161 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10162 PyObject *resultobj;
10163 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10164 wxWindow *arg2 = (wxWindow *) 0 ;
10165 int arg3 = (int) -1 ;
10166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10168 wxSize const &arg5_defvalue = wxDefaultSize ;
10169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10170 long arg6 = (long) wxSP_HORIZONTAL ;
10171 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10172 wxString *arg7 = (wxString *) &arg7_defvalue ;
10173 bool result;
10174 wxPoint temp4 ;
10175 wxSize temp5 ;
10176 bool temp7 = False ;
10177 PyObject * obj0 = 0 ;
10178 PyObject * obj1 = 0 ;
10179 PyObject * obj2 = 0 ;
10180 PyObject * obj3 = 0 ;
10181 PyObject * obj4 = 0 ;
10182 PyObject * obj5 = 0 ;
10183 PyObject * obj6 = 0 ;
10184 char *kwnames[] = {
10185 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10186 };
10187
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10193 if (obj2) {
10194 arg3 = (int) SWIG_AsInt(obj2);
10195 if (PyErr_Occurred()) SWIG_fail;
10196 }
10197 if (obj3) {
10198 {
10199 arg4 = &temp4;
10200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10201 }
10202 }
10203 if (obj4) {
10204 {
10205 arg5 = &temp5;
10206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10207 }
10208 }
10209 if (obj5) {
10210 arg6 = (long) SWIG_AsLong(obj5);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 }
10213 if (obj6) {
10214 {
10215 arg7 = wxString_in_helper(obj6);
10216 if (arg7 == NULL) SWIG_fail;
10217 temp7 = True;
10218 }
10219 }
10220 {
10221 PyThreadState* __tstate = wxPyBeginAllowThreads();
10222 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10223
10224 wxPyEndAllowThreads(__tstate);
10225 if (PyErr_Occurred()) SWIG_fail;
10226 }
10227 {
10228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10229 }
10230 {
10231 if (temp7)
10232 delete arg7;
10233 }
10234 return resultobj;
10235 fail:
10236 {
10237 if (temp7)
10238 delete arg7;
10239 }
10240 return NULL;
10241 }
10242
10243
10244 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10247 int result;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (int)((wxSpinButton const *)arg1)->GetValue();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 resultobj = SWIG_FromInt((int)result);
10264 return resultobj;
10265 fail:
10266 return NULL;
10267 }
10268
10269
10270 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10273 int result;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (int)((wxSpinButton const *)arg1)->GetMin();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 resultobj = SWIG_FromInt((int)result);
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10299 int result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (int)((wxSpinButton const *)arg1)->GetMax();
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_FromInt((int)result);
10316 return resultobj;
10317 fail:
10318 return NULL;
10319 }
10320
10321
10322 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10325 int arg2 ;
10326 PyObject * obj0 = 0 ;
10327 PyObject * obj1 = 0 ;
10328 char *kwnames[] = {
10329 (char *) "self",(char *) "val", NULL
10330 };
10331
10332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10335 arg2 = (int) SWIG_AsInt(obj1);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 (arg1)->SetValue(arg2);
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 Py_INCREF(Py_None); resultobj = Py_None;
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_SpinButton_SetMin(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 *) "minVal", NULL
10359 };
10360
10361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",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)->SetMin(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_SetMax(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 *) "maxVal", NULL
10388 };
10389
10390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",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)->SetMax(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_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10410 PyObject *resultobj;
10411 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10412 int arg2 ;
10413 int arg3 ;
10414 PyObject * obj0 = 0 ;
10415 PyObject * obj1 = 0 ;
10416 PyObject * obj2 = 0 ;
10417 char *kwnames[] = {
10418 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10419 };
10420
10421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10424 arg2 = (int) SWIG_AsInt(obj1);
10425 if (PyErr_Occurred()) SWIG_fail;
10426 arg3 = (int) SWIG_AsInt(obj2);
10427 if (PyErr_Occurred()) SWIG_fail;
10428 {
10429 PyThreadState* __tstate = wxPyBeginAllowThreads();
10430 (arg1)->SetRange(arg2,arg3);
10431
10432 wxPyEndAllowThreads(__tstate);
10433 if (PyErr_Occurred()) SWIG_fail;
10434 }
10435 Py_INCREF(Py_None); resultobj = Py_None;
10436 return resultobj;
10437 fail:
10438 return NULL;
10439 }
10440
10441
10442 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10443 PyObject *resultobj;
10444 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10445 bool result;
10446 PyObject * obj0 = 0 ;
10447 char *kwnames[] = {
10448 (char *) "self", NULL
10449 };
10450
10451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10454 {
10455 PyThreadState* __tstate = wxPyBeginAllowThreads();
10456 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10457
10458 wxPyEndAllowThreads(__tstate);
10459 if (PyErr_Occurred()) SWIG_fail;
10460 }
10461 {
10462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10463 }
10464 return resultobj;
10465 fail:
10466 return NULL;
10467 }
10468
10469
10470 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10471 PyObject *obj;
10472 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10473 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10474 Py_INCREF(obj);
10475 return Py_BuildValue((char *)"");
10476 }
10477 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxWindow *arg1 = (wxWindow *) 0 ;
10480 int arg2 = (int) -1 ;
10481 wxString const &arg3_defvalue = wxPyEmptyString ;
10482 wxString *arg3 = (wxString *) &arg3_defvalue ;
10483 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10484 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10485 wxSize const &arg5_defvalue = wxDefaultSize ;
10486 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10487 long arg6 = (long) wxSP_ARROW_KEYS ;
10488 int arg7 = (int) 0 ;
10489 int arg8 = (int) 100 ;
10490 int arg9 = (int) 0 ;
10491 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10492 wxString *arg10 = (wxString *) &arg10_defvalue ;
10493 wxSpinCtrl *result;
10494 bool temp3 = False ;
10495 wxPoint temp4 ;
10496 wxSize temp5 ;
10497 bool temp10 = False ;
10498 PyObject * obj0 = 0 ;
10499 PyObject * obj1 = 0 ;
10500 PyObject * obj2 = 0 ;
10501 PyObject * obj3 = 0 ;
10502 PyObject * obj4 = 0 ;
10503 PyObject * obj5 = 0 ;
10504 PyObject * obj6 = 0 ;
10505 PyObject * obj7 = 0 ;
10506 PyObject * obj8 = 0 ;
10507 PyObject * obj9 = 0 ;
10508 char *kwnames[] = {
10509 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10510 };
10511
10512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10515 if (obj1) {
10516 arg2 = (int) SWIG_AsInt(obj1);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 if (obj2) {
10520 {
10521 arg3 = wxString_in_helper(obj2);
10522 if (arg3 == NULL) SWIG_fail;
10523 temp3 = True;
10524 }
10525 }
10526 if (obj3) {
10527 {
10528 arg4 = &temp4;
10529 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10530 }
10531 }
10532 if (obj4) {
10533 {
10534 arg5 = &temp5;
10535 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10536 }
10537 }
10538 if (obj5) {
10539 arg6 = (long) SWIG_AsLong(obj5);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 if (obj6) {
10543 arg7 = (int) SWIG_AsInt(obj6);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 if (obj7) {
10547 arg8 = (int) SWIG_AsInt(obj7);
10548 if (PyErr_Occurred()) SWIG_fail;
10549 }
10550 if (obj8) {
10551 arg9 = (int) SWIG_AsInt(obj8);
10552 if (PyErr_Occurred()) SWIG_fail;
10553 }
10554 if (obj9) {
10555 {
10556 arg10 = wxString_in_helper(obj9);
10557 if (arg10 == NULL) SWIG_fail;
10558 temp10 = True;
10559 }
10560 }
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10569 {
10570 if (temp3)
10571 delete arg3;
10572 }
10573 {
10574 if (temp10)
10575 delete arg10;
10576 }
10577 return resultobj;
10578 fail:
10579 {
10580 if (temp3)
10581 delete arg3;
10582 }
10583 {
10584 if (temp10)
10585 delete arg10;
10586 }
10587 return NULL;
10588 }
10589
10590
10591 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10592 PyObject *resultobj;
10593 wxSpinCtrl *result;
10594 char *kwnames[] = {
10595 NULL
10596 };
10597
10598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10599 {
10600 PyThreadState* __tstate = wxPyBeginAllowThreads();
10601 result = (wxSpinCtrl *)new wxSpinCtrl();
10602
10603 wxPyEndAllowThreads(__tstate);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 }
10606 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
10607 return resultobj;
10608 fail:
10609 return NULL;
10610 }
10611
10612
10613 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10614 PyObject *resultobj;
10615 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10616 wxWindow *arg2 = (wxWindow *) 0 ;
10617 int arg3 = (int) -1 ;
10618 wxString const &arg4_defvalue = wxPyEmptyString ;
10619 wxString *arg4 = (wxString *) &arg4_defvalue ;
10620 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10621 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10622 wxSize const &arg6_defvalue = wxDefaultSize ;
10623 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10624 long arg7 = (long) wxSP_ARROW_KEYS ;
10625 int arg8 = (int) 0 ;
10626 int arg9 = (int) 100 ;
10627 int arg10 = (int) 0 ;
10628 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10629 wxString *arg11 = (wxString *) &arg11_defvalue ;
10630 bool result;
10631 bool temp4 = False ;
10632 wxPoint temp5 ;
10633 wxSize temp6 ;
10634 bool temp11 = False ;
10635 PyObject * obj0 = 0 ;
10636 PyObject * obj1 = 0 ;
10637 PyObject * obj2 = 0 ;
10638 PyObject * obj3 = 0 ;
10639 PyObject * obj4 = 0 ;
10640 PyObject * obj5 = 0 ;
10641 PyObject * obj6 = 0 ;
10642 PyObject * obj7 = 0 ;
10643 PyObject * obj8 = 0 ;
10644 PyObject * obj9 = 0 ;
10645 PyObject * obj10 = 0 ;
10646 char *kwnames[] = {
10647 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10648 };
10649
10650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10655 if (obj2) {
10656 arg3 = (int) SWIG_AsInt(obj2);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 if (obj3) {
10660 {
10661 arg4 = wxString_in_helper(obj3);
10662 if (arg4 == NULL) SWIG_fail;
10663 temp4 = True;
10664 }
10665 }
10666 if (obj4) {
10667 {
10668 arg5 = &temp5;
10669 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10670 }
10671 }
10672 if (obj5) {
10673 {
10674 arg6 = &temp6;
10675 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10676 }
10677 }
10678 if (obj6) {
10679 arg7 = (long) SWIG_AsLong(obj6);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 if (obj7) {
10683 arg8 = (int) SWIG_AsInt(obj7);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 if (obj8) {
10687 arg9 = (int) SWIG_AsInt(obj8);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 if (obj9) {
10691 arg10 = (int) SWIG_AsInt(obj9);
10692 if (PyErr_Occurred()) SWIG_fail;
10693 }
10694 if (obj10) {
10695 {
10696 arg11 = wxString_in_helper(obj10);
10697 if (arg11 == NULL) SWIG_fail;
10698 temp11 = True;
10699 }
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 {
10709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10710 }
10711 {
10712 if (temp4)
10713 delete arg4;
10714 }
10715 {
10716 if (temp11)
10717 delete arg11;
10718 }
10719 return resultobj;
10720 fail:
10721 {
10722 if (temp4)
10723 delete arg4;
10724 }
10725 {
10726 if (temp11)
10727 delete arg11;
10728 }
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10736 int result;
10737 PyObject * obj0 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10748
10749 wxPyEndAllowThreads(__tstate);
10750 if (PyErr_Occurred()) SWIG_fail;
10751 }
10752 resultobj = SWIG_FromInt((int)result);
10753 return resultobj;
10754 fail:
10755 return NULL;
10756 }
10757
10758
10759 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10760 PyObject *resultobj;
10761 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10762 int arg2 ;
10763 PyObject * obj0 = 0 ;
10764 PyObject * obj1 = 0 ;
10765 char *kwnames[] = {
10766 (char *) "self",(char *) "value", NULL
10767 };
10768
10769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10772 arg2 = (int) SWIG_AsInt(obj1);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 (arg1)->SetValue(arg2);
10777
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 Py_INCREF(Py_None); resultobj = Py_None;
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10789 PyObject *resultobj;
10790 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10791 wxString *arg2 = 0 ;
10792 bool temp2 = False ;
10793 PyObject * obj0 = 0 ;
10794 PyObject * obj1 = 0 ;
10795 char *kwnames[] = {
10796 (char *) "self",(char *) "text", NULL
10797 };
10798
10799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10802 {
10803 arg2 = wxString_in_helper(obj1);
10804 if (arg2 == NULL) SWIG_fail;
10805 temp2 = True;
10806 }
10807 {
10808 PyThreadState* __tstate = wxPyBeginAllowThreads();
10809 (arg1)->SetValue((wxString const &)*arg2);
10810
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 Py_INCREF(Py_None); resultobj = Py_None;
10815 {
10816 if (temp2)
10817 delete arg2;
10818 }
10819 return resultobj;
10820 fail:
10821 {
10822 if (temp2)
10823 delete arg2;
10824 }
10825 return NULL;
10826 }
10827
10828
10829 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10830 PyObject *resultobj;
10831 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10832 int arg2 ;
10833 int arg3 ;
10834 PyObject * obj0 = 0 ;
10835 PyObject * obj1 = 0 ;
10836 PyObject * obj2 = 0 ;
10837 char *kwnames[] = {
10838 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10839 };
10840
10841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10844 arg2 = (int) SWIG_AsInt(obj1);
10845 if (PyErr_Occurred()) SWIG_fail;
10846 arg3 = (int) SWIG_AsInt(obj2);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 {
10849 PyThreadState* __tstate = wxPyBeginAllowThreads();
10850 (arg1)->SetRange(arg2,arg3);
10851
10852 wxPyEndAllowThreads(__tstate);
10853 if (PyErr_Occurred()) SWIG_fail;
10854 }
10855 Py_INCREF(Py_None); resultobj = Py_None;
10856 return resultobj;
10857 fail:
10858 return NULL;
10859 }
10860
10861
10862 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10863 PyObject *resultobj;
10864 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10865 int result;
10866 PyObject * obj0 = 0 ;
10867 char *kwnames[] = {
10868 (char *) "self", NULL
10869 };
10870
10871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10874 {
10875 PyThreadState* __tstate = wxPyBeginAllowThreads();
10876 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10877
10878 wxPyEndAllowThreads(__tstate);
10879 if (PyErr_Occurred()) SWIG_fail;
10880 }
10881 resultobj = SWIG_FromInt((int)result);
10882 return resultobj;
10883 fail:
10884 return NULL;
10885 }
10886
10887
10888 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10889 PyObject *resultobj;
10890 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10891 int result;
10892 PyObject * obj0 = 0 ;
10893 char *kwnames[] = {
10894 (char *) "self", NULL
10895 };
10896
10897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = SWIG_FromInt((int)result);
10908 return resultobj;
10909 fail:
10910 return NULL;
10911 }
10912
10913
10914 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10917 long arg2 ;
10918 long arg3 ;
10919 PyObject * obj0 = 0 ;
10920 PyObject * obj1 = 0 ;
10921 PyObject * obj2 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self",(char *) "from",(char *) "to", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10929 arg2 = (long) SWIG_AsLong(obj1);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 arg3 = (long) SWIG_AsLong(obj2);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 (arg1)->SetSelection(arg2,arg3);
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 Py_INCREF(Py_None); resultobj = Py_None;
10941 return resultobj;
10942 fail:
10943 return NULL;
10944 }
10945
10946
10947 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10948 PyObject *obj;
10949 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10950 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10951 Py_INCREF(obj);
10952 return Py_BuildValue((char *)"");
10953 }
10954 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10957 int arg2 = (int) 0 ;
10958 wxSpinEvent *result;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "commandType",(char *) "winid", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10966 if (obj0) {
10967 arg1 = (wxEventType) SWIG_AsInt(obj0);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 if (obj1) {
10971 arg2 = (int) SWIG_AsInt(obj1);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 {
10975 PyThreadState* __tstate = wxPyBeginAllowThreads();
10976 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10977
10978 wxPyEndAllowThreads(__tstate);
10979 if (PyErr_Occurred()) SWIG_fail;
10980 }
10981 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
10982 return resultobj;
10983 fail:
10984 return NULL;
10985 }
10986
10987
10988 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10989 PyObject *resultobj;
10990 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10991 int result;
10992 PyObject * obj0 = 0 ;
10993 char *kwnames[] = {
10994 (char *) "self", NULL
10995 };
10996
10997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11000 {
11001 PyThreadState* __tstate = wxPyBeginAllowThreads();
11002 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11003
11004 wxPyEndAllowThreads(__tstate);
11005 if (PyErr_Occurred()) SWIG_fail;
11006 }
11007 resultobj = SWIG_FromInt((int)result);
11008 return resultobj;
11009 fail:
11010 return NULL;
11011 }
11012
11013
11014 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11015 PyObject *resultobj;
11016 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11017 int arg2 ;
11018 PyObject * obj0 = 0 ;
11019 PyObject * obj1 = 0 ;
11020 char *kwnames[] = {
11021 (char *) "self",(char *) "pos", NULL
11022 };
11023
11024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11027 arg2 = (int) SWIG_AsInt(obj1);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetPosition(arg2);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11044 PyObject *obj;
11045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11046 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11047 Py_INCREF(obj);
11048 return Py_BuildValue((char *)"");
11049 }
11050 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11051 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11052 return 1;
11053 }
11054
11055
11056 static PyObject *_wrap_RadioBoxNameStr_get() {
11057 PyObject *pyobj;
11058
11059 {
11060 #if wxUSE_UNICODE
11061 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11062 #else
11063 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11064 #endif
11065 }
11066 return pyobj;
11067 }
11068
11069
11070 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11071 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11072 return 1;
11073 }
11074
11075
11076 static PyObject *_wrap_RadioButtonNameStr_get() {
11077 PyObject *pyobj;
11078
11079 {
11080 #if wxUSE_UNICODE
11081 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11082 #else
11083 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11084 #endif
11085 }
11086 return pyobj;
11087 }
11088
11089
11090 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11091 PyObject *resultobj;
11092 wxWindow *arg1 = (wxWindow *) 0 ;
11093 int arg2 ;
11094 wxString *arg3 = 0 ;
11095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11097 wxSize const &arg5_defvalue = wxDefaultSize ;
11098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11099 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11100 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11101 int arg7 = (int) 0 ;
11102 long arg8 = (long) wxRA_HORIZONTAL ;
11103 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11104 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11105 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11106 wxString *arg10 = (wxString *) &arg10_defvalue ;
11107 wxRadioBox *result;
11108 bool temp3 = False ;
11109 wxPoint temp4 ;
11110 wxSize temp5 ;
11111 bool temp6 = False ;
11112 bool temp10 = False ;
11113 PyObject * obj0 = 0 ;
11114 PyObject * obj1 = 0 ;
11115 PyObject * obj2 = 0 ;
11116 PyObject * obj3 = 0 ;
11117 PyObject * obj4 = 0 ;
11118 PyObject * obj5 = 0 ;
11119 PyObject * obj6 = 0 ;
11120 PyObject * obj7 = 0 ;
11121 PyObject * obj8 = 0 ;
11122 PyObject * obj9 = 0 ;
11123 char *kwnames[] = {
11124 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11125 };
11126
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11130 arg2 = (int) SWIG_AsInt(obj1);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 {
11133 arg3 = wxString_in_helper(obj2);
11134 if (arg3 == NULL) SWIG_fail;
11135 temp3 = True;
11136 }
11137 if (obj3) {
11138 {
11139 arg4 = &temp4;
11140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11141 }
11142 }
11143 if (obj4) {
11144 {
11145 arg5 = &temp5;
11146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11147 }
11148 }
11149 if (obj5) {
11150 {
11151 if (! PySequence_Check(obj5)) {
11152 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11153 SWIG_fail;
11154 }
11155 arg6 = new wxArrayString;
11156 temp6 = True;
11157 int i, len=PySequence_Length(obj5);
11158 for (i=0; i<len; i++) {
11159 PyObject* item = PySequence_GetItem(obj5, i);
11160 #if wxUSE_UNICODE
11161 PyObject* str = PyObject_Unicode(item);
11162 #else
11163 PyObject* str = PyObject_Str(item);
11164 #endif
11165 if (PyErr_Occurred()) SWIG_fail;
11166 arg6->Add(Py2wxString(str));
11167 Py_DECREF(item);
11168 Py_DECREF(str);
11169 }
11170 }
11171 }
11172 if (obj6) {
11173 arg7 = (int) SWIG_AsInt(obj6);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 if (obj7) {
11177 arg8 = (long) SWIG_AsLong(obj7);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 if (obj8) {
11181 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1)
11183 SWIG_fail;
11184 if (arg9 == NULL) {
11185 PyErr_SetString(PyExc_TypeError,"null reference");
11186 SWIG_fail;
11187 }
11188 }
11189 if (obj9) {
11190 {
11191 arg10 = wxString_in_helper(obj9);
11192 if (arg10 == NULL) SWIG_fail;
11193 temp10 = True;
11194 }
11195 }
11196 {
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 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);
11199
11200 wxPyEndAllowThreads(__tstate);
11201 if (PyErr_Occurred()) SWIG_fail;
11202 }
11203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11204 {
11205 if (temp3)
11206 delete arg3;
11207 }
11208 {
11209 if (temp6) delete arg6;
11210 }
11211 {
11212 if (temp10)
11213 delete arg10;
11214 }
11215 return resultobj;
11216 fail:
11217 {
11218 if (temp3)
11219 delete arg3;
11220 }
11221 {
11222 if (temp6) delete arg6;
11223 }
11224 {
11225 if (temp10)
11226 delete arg10;
11227 }
11228 return NULL;
11229 }
11230
11231
11232 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11233 PyObject *resultobj;
11234 wxRadioBox *result;
11235 char *kwnames[] = {
11236 NULL
11237 };
11238
11239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 result = (wxRadioBox *)new wxRadioBox();
11243
11244 wxPyEndAllowThreads(__tstate);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 }
11247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11248 return resultobj;
11249 fail:
11250 return NULL;
11251 }
11252
11253
11254 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11255 PyObject *resultobj;
11256 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11257 wxWindow *arg2 = (wxWindow *) 0 ;
11258 int arg3 ;
11259 wxString *arg4 = 0 ;
11260 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11261 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11262 wxSize const &arg6_defvalue = wxDefaultSize ;
11263 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11264 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11265 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11266 int arg8 = (int) 0 ;
11267 long arg9 = (long) wxRA_HORIZONTAL ;
11268 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11269 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11270 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11271 wxString *arg11 = (wxString *) &arg11_defvalue ;
11272 bool result;
11273 bool temp4 = False ;
11274 wxPoint temp5 ;
11275 wxSize temp6 ;
11276 bool temp7 = False ;
11277 bool temp11 = False ;
11278 PyObject * obj0 = 0 ;
11279 PyObject * obj1 = 0 ;
11280 PyObject * obj2 = 0 ;
11281 PyObject * obj3 = 0 ;
11282 PyObject * obj4 = 0 ;
11283 PyObject * obj5 = 0 ;
11284 PyObject * obj6 = 0 ;
11285 PyObject * obj7 = 0 ;
11286 PyObject * obj8 = 0 ;
11287 PyObject * obj9 = 0 ;
11288 PyObject * obj10 = 0 ;
11289 char *kwnames[] = {
11290 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11291 };
11292
11293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11298 arg3 = (int) SWIG_AsInt(obj2);
11299 if (PyErr_Occurred()) SWIG_fail;
11300 {
11301 arg4 = wxString_in_helper(obj3);
11302 if (arg4 == NULL) SWIG_fail;
11303 temp4 = True;
11304 }
11305 if (obj4) {
11306 {
11307 arg5 = &temp5;
11308 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11309 }
11310 }
11311 if (obj5) {
11312 {
11313 arg6 = &temp6;
11314 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11315 }
11316 }
11317 if (obj6) {
11318 {
11319 if (! PySequence_Check(obj6)) {
11320 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11321 SWIG_fail;
11322 }
11323 arg7 = new wxArrayString;
11324 temp7 = True;
11325 int i, len=PySequence_Length(obj6);
11326 for (i=0; i<len; i++) {
11327 PyObject* item = PySequence_GetItem(obj6, i);
11328 #if wxUSE_UNICODE
11329 PyObject* str = PyObject_Unicode(item);
11330 #else
11331 PyObject* str = PyObject_Str(item);
11332 #endif
11333 if (PyErr_Occurred()) SWIG_fail;
11334 arg7->Add(Py2wxString(str));
11335 Py_DECREF(item);
11336 Py_DECREF(str);
11337 }
11338 }
11339 }
11340 if (obj7) {
11341 arg8 = (int) SWIG_AsInt(obj7);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 if (obj8) {
11345 arg9 = (long) SWIG_AsLong(obj8);
11346 if (PyErr_Occurred()) SWIG_fail;
11347 }
11348 if (obj9) {
11349 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11350 SWIG_POINTER_EXCEPTION | 0)) == -1)
11351 SWIG_fail;
11352 if (arg10 == NULL) {
11353 PyErr_SetString(PyExc_TypeError,"null reference");
11354 SWIG_fail;
11355 }
11356 }
11357 if (obj10) {
11358 {
11359 arg11 = wxString_in_helper(obj10);
11360 if (arg11 == NULL) SWIG_fail;
11361 temp11 = True;
11362 }
11363 }
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 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);
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 {
11372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11373 }
11374 {
11375 if (temp4)
11376 delete arg4;
11377 }
11378 {
11379 if (temp7) delete arg7;
11380 }
11381 {
11382 if (temp11)
11383 delete arg11;
11384 }
11385 return resultobj;
11386 fail:
11387 {
11388 if (temp4)
11389 delete arg4;
11390 }
11391 {
11392 if (temp7) delete arg7;
11393 }
11394 {
11395 if (temp11)
11396 delete arg11;
11397 }
11398 return NULL;
11399 }
11400
11401
11402 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11403 PyObject *resultobj;
11404 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11405 int arg2 ;
11406 PyObject * obj0 = 0 ;
11407 PyObject * obj1 = 0 ;
11408 char *kwnames[] = {
11409 (char *) "self",(char *) "n", NULL
11410 };
11411
11412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11415 arg2 = (int) SWIG_AsInt(obj1);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 {
11418 PyThreadState* __tstate = wxPyBeginAllowThreads();
11419 (arg1)->SetSelection(arg2);
11420
11421 wxPyEndAllowThreads(__tstate);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 }
11424 Py_INCREF(Py_None); resultobj = Py_None;
11425 return resultobj;
11426 fail:
11427 return NULL;
11428 }
11429
11430
11431 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11432 PyObject *resultobj;
11433 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11434 int result;
11435 PyObject * obj0 = 0 ;
11436 char *kwnames[] = {
11437 (char *) "self", NULL
11438 };
11439
11440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 resultobj = SWIG_FromInt((int)result);
11451 return resultobj;
11452 fail:
11453 return NULL;
11454 }
11455
11456
11457 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11458 PyObject *resultobj;
11459 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11460 wxString result;
11461 PyObject * obj0 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11469 {
11470 PyThreadState* __tstate = wxPyBeginAllowThreads();
11471 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11472
11473 wxPyEndAllowThreads(__tstate);
11474 if (PyErr_Occurred()) SWIG_fail;
11475 }
11476 {
11477 #if wxUSE_UNICODE
11478 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11479 #else
11480 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11481 #endif
11482 }
11483 return resultobj;
11484 fail:
11485 return NULL;
11486 }
11487
11488
11489 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11490 PyObject *resultobj;
11491 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11492 wxString *arg2 = 0 ;
11493 bool result;
11494 bool temp2 = False ;
11495 PyObject * obj0 = 0 ;
11496 PyObject * obj1 = 0 ;
11497 char *kwnames[] = {
11498 (char *) "self",(char *) "s", NULL
11499 };
11500
11501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11504 {
11505 arg2 = wxString_in_helper(obj1);
11506 if (arg2 == NULL) SWIG_fail;
11507 temp2 = True;
11508 }
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 {
11517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11518 }
11519 {
11520 if (temp2)
11521 delete arg2;
11522 }
11523 return resultobj;
11524 fail:
11525 {
11526 if (temp2)
11527 delete arg2;
11528 }
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11536 int result;
11537 PyObject * obj0 = 0 ;
11538 char *kwnames[] = {
11539 (char *) "self", NULL
11540 };
11541
11542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 result = (int)((wxRadioBox const *)arg1)->GetCount();
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
11552 resultobj = SWIG_FromInt((int)result);
11553 return resultobj;
11554 fail:
11555 return NULL;
11556 }
11557
11558
11559 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj;
11561 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11562 wxString *arg2 = 0 ;
11563 int result;
11564 bool temp2 = False ;
11565 PyObject * obj0 = 0 ;
11566 PyObject * obj1 = 0 ;
11567 char *kwnames[] = {
11568 (char *) "self",(char *) "s", NULL
11569 };
11570
11571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11574 {
11575 arg2 = wxString_in_helper(obj1);
11576 if (arg2 == NULL) SWIG_fail;
11577 temp2 = True;
11578 }
11579 {
11580 PyThreadState* __tstate = wxPyBeginAllowThreads();
11581 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11582
11583 wxPyEndAllowThreads(__tstate);
11584 if (PyErr_Occurred()) SWIG_fail;
11585 }
11586 resultobj = SWIG_FromInt((int)result);
11587 {
11588 if (temp2)
11589 delete arg2;
11590 }
11591 return resultobj;
11592 fail:
11593 {
11594 if (temp2)
11595 delete arg2;
11596 }
11597 return NULL;
11598 }
11599
11600
11601 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11602 PyObject *resultobj;
11603 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11604 int arg2 ;
11605 wxString result;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self",(char *) "n", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11615 arg2 = (int) SWIG_AsInt(obj1);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 {
11618 PyThreadState* __tstate = wxPyBeginAllowThreads();
11619 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11620
11621 wxPyEndAllowThreads(__tstate);
11622 if (PyErr_Occurred()) SWIG_fail;
11623 }
11624 {
11625 #if wxUSE_UNICODE
11626 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11627 #else
11628 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11629 #endif
11630 }
11631 return resultobj;
11632 fail:
11633 return NULL;
11634 }
11635
11636
11637 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11638 PyObject *resultobj;
11639 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11640 int arg2 ;
11641 wxString *arg3 = 0 ;
11642 bool temp3 = False ;
11643 PyObject * obj0 = 0 ;
11644 PyObject * obj1 = 0 ;
11645 PyObject * obj2 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "n",(char *) "label", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11653 arg2 = (int) SWIG_AsInt(obj1);
11654 if (PyErr_Occurred()) SWIG_fail;
11655 {
11656 arg3 = wxString_in_helper(obj2);
11657 if (arg3 == NULL) SWIG_fail;
11658 temp3 = True;
11659 }
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 (arg1)->SetString(arg2,(wxString const &)*arg3);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 Py_INCREF(Py_None); resultobj = Py_None;
11668 {
11669 if (temp3)
11670 delete arg3;
11671 }
11672 return resultobj;
11673 fail:
11674 {
11675 if (temp3)
11676 delete arg3;
11677 }
11678 return NULL;
11679 }
11680
11681
11682 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11685 int arg2 ;
11686 bool arg3 = (bool) True ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 PyObject * obj2 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "self",(char *) "n",(char *) "enable", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11697 arg2 = (int) SWIG_AsInt(obj1);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 if (obj2) {
11700 arg3 = (bool) SWIG_AsBool(obj2);
11701 if (PyErr_Occurred()) SWIG_fail;
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 (arg1)->Enable(arg2,arg3);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 Py_INCREF(Py_None); resultobj = Py_None;
11711 return resultobj;
11712 fail:
11713 return NULL;
11714 }
11715
11716
11717 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11718 PyObject *resultobj;
11719 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11720 int arg2 ;
11721 bool arg3 = (bool) True ;
11722 PyObject * obj0 = 0 ;
11723 PyObject * obj1 = 0 ;
11724 PyObject * obj2 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self",(char *) "n",(char *) "show", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11732 arg2 = (int) SWIG_AsInt(obj1);
11733 if (PyErr_Occurred()) SWIG_fail;
11734 if (obj2) {
11735 arg3 = (bool) SWIG_AsBool(obj2);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 (arg1)->Show(arg2,arg3);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 Py_INCREF(Py_None); resultobj = Py_None;
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11755 int result;
11756 PyObject * obj0 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 resultobj = SWIG_FromInt((int)result);
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11781 int result;
11782 PyObject * obj0 = 0 ;
11783 char *kwnames[] = {
11784 (char *) "self", NULL
11785 };
11786
11787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11790 {
11791 PyThreadState* __tstate = wxPyBeginAllowThreads();
11792 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11793
11794 wxPyEndAllowThreads(__tstate);
11795 if (PyErr_Occurred()) SWIG_fail;
11796 }
11797 resultobj = SWIG_FromInt((int)result);
11798 return resultobj;
11799 fail:
11800 return NULL;
11801 }
11802
11803
11804 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11805 PyObject *resultobj;
11806 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11807 int arg2 ;
11808 int arg3 ;
11809 long arg4 ;
11810 int result;
11811 PyObject * obj0 = 0 ;
11812 PyObject * obj1 = 0 ;
11813 PyObject * obj2 = 0 ;
11814 PyObject * obj3 = 0 ;
11815 char *kwnames[] = {
11816 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11817 };
11818
11819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11822 arg2 = (int) SWIG_AsInt(obj1);
11823 if (PyErr_Occurred()) SWIG_fail;
11824 arg3 = (wxDirection) SWIG_AsInt(obj2);
11825 if (PyErr_Occurred()) SWIG_fail;
11826 arg4 = (long) SWIG_AsLong(obj3);
11827 if (PyErr_Occurred()) SWIG_fail;
11828 {
11829 PyThreadState* __tstate = wxPyBeginAllowThreads();
11830 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11831
11832 wxPyEndAllowThreads(__tstate);
11833 if (PyErr_Occurred()) SWIG_fail;
11834 }
11835 resultobj = SWIG_FromInt((int)result);
11836 return resultobj;
11837 fail:
11838 return NULL;
11839 }
11840
11841
11842 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11843 PyObject *obj;
11844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11845 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11846 Py_INCREF(obj);
11847 return Py_BuildValue((char *)"");
11848 }
11849 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxWindow *arg1 = (wxWindow *) 0 ;
11852 int arg2 ;
11853 wxString *arg3 = 0 ;
11854 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11855 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11856 wxSize const &arg5_defvalue = wxDefaultSize ;
11857 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11858 long arg6 = (long) 0 ;
11859 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11860 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11861 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11862 wxString *arg8 = (wxString *) &arg8_defvalue ;
11863 wxRadioButton *result;
11864 bool temp3 = False ;
11865 wxPoint temp4 ;
11866 wxSize temp5 ;
11867 bool temp8 = False ;
11868 PyObject * obj0 = 0 ;
11869 PyObject * obj1 = 0 ;
11870 PyObject * obj2 = 0 ;
11871 PyObject * obj3 = 0 ;
11872 PyObject * obj4 = 0 ;
11873 PyObject * obj5 = 0 ;
11874 PyObject * obj6 = 0 ;
11875 PyObject * obj7 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11883 arg2 = (int) SWIG_AsInt(obj1);
11884 if (PyErr_Occurred()) SWIG_fail;
11885 {
11886 arg3 = wxString_in_helper(obj2);
11887 if (arg3 == NULL) SWIG_fail;
11888 temp3 = True;
11889 }
11890 if (obj3) {
11891 {
11892 arg4 = &temp4;
11893 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11894 }
11895 }
11896 if (obj4) {
11897 {
11898 arg5 = &temp5;
11899 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11900 }
11901 }
11902 if (obj5) {
11903 arg6 = (long) SWIG_AsLong(obj5);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 if (obj6) {
11907 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11908 SWIG_POINTER_EXCEPTION | 0)) == -1)
11909 SWIG_fail;
11910 if (arg7 == NULL) {
11911 PyErr_SetString(PyExc_TypeError,"null reference");
11912 SWIG_fail;
11913 }
11914 }
11915 if (obj7) {
11916 {
11917 arg8 = wxString_in_helper(obj7);
11918 if (arg8 == NULL) SWIG_fail;
11919 temp8 = True;
11920 }
11921 }
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11925
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11930 {
11931 if (temp3)
11932 delete arg3;
11933 }
11934 {
11935 if (temp8)
11936 delete arg8;
11937 }
11938 return resultobj;
11939 fail:
11940 {
11941 if (temp3)
11942 delete arg3;
11943 }
11944 {
11945 if (temp8)
11946 delete arg8;
11947 }
11948 return NULL;
11949 }
11950
11951
11952 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11953 PyObject *resultobj;
11954 wxRadioButton *result;
11955 char *kwnames[] = {
11956 NULL
11957 };
11958
11959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 result = (wxRadioButton *)new wxRadioButton();
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
11968 return resultobj;
11969 fail:
11970 return NULL;
11971 }
11972
11973
11974 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11977 wxWindow *arg2 = (wxWindow *) 0 ;
11978 int arg3 ;
11979 wxString *arg4 = 0 ;
11980 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11981 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11982 wxSize const &arg6_defvalue = wxDefaultSize ;
11983 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11984 long arg7 = (long) 0 ;
11985 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11986 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11987 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11988 wxString *arg9 = (wxString *) &arg9_defvalue ;
11989 bool result;
11990 bool temp4 = False ;
11991 wxPoint temp5 ;
11992 wxSize temp6 ;
11993 bool temp9 = False ;
11994 PyObject * obj0 = 0 ;
11995 PyObject * obj1 = 0 ;
11996 PyObject * obj2 = 0 ;
11997 PyObject * obj3 = 0 ;
11998 PyObject * obj4 = 0 ;
11999 PyObject * obj5 = 0 ;
12000 PyObject * obj6 = 0 ;
12001 PyObject * obj7 = 0 ;
12002 PyObject * obj8 = 0 ;
12003 char *kwnames[] = {
12004 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12012 arg3 = (int) SWIG_AsInt(obj2);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 {
12015 arg4 = wxString_in_helper(obj3);
12016 if (arg4 == NULL) SWIG_fail;
12017 temp4 = True;
12018 }
12019 if (obj4) {
12020 {
12021 arg5 = &temp5;
12022 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12023 }
12024 }
12025 if (obj5) {
12026 {
12027 arg6 = &temp6;
12028 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12029 }
12030 }
12031 if (obj6) {
12032 arg7 = (long) SWIG_AsLong(obj6);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 if (obj7) {
12036 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12037 SWIG_POINTER_EXCEPTION | 0)) == -1)
12038 SWIG_fail;
12039 if (arg8 == NULL) {
12040 PyErr_SetString(PyExc_TypeError,"null reference");
12041 SWIG_fail;
12042 }
12043 }
12044 if (obj8) {
12045 {
12046 arg9 = wxString_in_helper(obj8);
12047 if (arg9 == NULL) SWIG_fail;
12048 temp9 = True;
12049 }
12050 }
12051 {
12052 PyThreadState* __tstate = wxPyBeginAllowThreads();
12053 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12054
12055 wxPyEndAllowThreads(__tstate);
12056 if (PyErr_Occurred()) SWIG_fail;
12057 }
12058 {
12059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12060 }
12061 {
12062 if (temp4)
12063 delete arg4;
12064 }
12065 {
12066 if (temp9)
12067 delete arg9;
12068 }
12069 return resultobj;
12070 fail:
12071 {
12072 if (temp4)
12073 delete arg4;
12074 }
12075 {
12076 if (temp9)
12077 delete arg9;
12078 }
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12086 bool result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (bool)(arg1)->GetValue();
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 {
12103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12104 }
12105 return resultobj;
12106 fail:
12107 return NULL;
12108 }
12109
12110
12111 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12112 PyObject *resultobj;
12113 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12114 bool arg2 ;
12115 PyObject * obj0 = 0 ;
12116 PyObject * obj1 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self",(char *) "value", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 arg2 = (bool) SWIG_AsBool(obj1);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 (arg1)->SetValue(arg2);
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 Py_INCREF(Py_None); resultobj = Py_None;
12134 return resultobj;
12135 fail:
12136 return NULL;
12137 }
12138
12139
12140 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12141 PyObject *obj;
12142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12143 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12144 Py_INCREF(obj);
12145 return Py_BuildValue((char *)"");
12146 }
12147 static int _wrap_SliderNameStr_set(PyObject *_val) {
12148 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12149 return 1;
12150 }
12151
12152
12153 static PyObject *_wrap_SliderNameStr_get() {
12154 PyObject *pyobj;
12155
12156 {
12157 #if wxUSE_UNICODE
12158 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12159 #else
12160 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12161 #endif
12162 }
12163 return pyobj;
12164 }
12165
12166
12167 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12168 PyObject *resultobj;
12169 wxWindow *arg1 = (wxWindow *) 0 ;
12170 int arg2 ;
12171 int arg3 ;
12172 int arg4 ;
12173 int arg5 ;
12174 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12175 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12176 wxSize const &arg7_defvalue = wxDefaultSize ;
12177 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12178 long arg8 = (long) wxSL_HORIZONTAL ;
12179 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12180 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12181 wxString const &arg10_defvalue = wxPySliderNameStr ;
12182 wxString *arg10 = (wxString *) &arg10_defvalue ;
12183 wxSlider *result;
12184 wxPoint temp6 ;
12185 wxSize temp7 ;
12186 bool temp10 = False ;
12187 PyObject * obj0 = 0 ;
12188 PyObject * obj1 = 0 ;
12189 PyObject * obj2 = 0 ;
12190 PyObject * obj3 = 0 ;
12191 PyObject * obj4 = 0 ;
12192 PyObject * obj5 = 0 ;
12193 PyObject * obj6 = 0 ;
12194 PyObject * obj7 = 0 ;
12195 PyObject * obj8 = 0 ;
12196 PyObject * obj9 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 arg2 = (int) SWIG_AsInt(obj1);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 arg3 = (int) SWIG_AsInt(obj2);
12207 if (PyErr_Occurred()) SWIG_fail;
12208 arg4 = (int) SWIG_AsInt(obj3);
12209 if (PyErr_Occurred()) SWIG_fail;
12210 arg5 = (int) SWIG_AsInt(obj4);
12211 if (PyErr_Occurred()) SWIG_fail;
12212 if (obj5) {
12213 {
12214 arg6 = &temp6;
12215 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12216 }
12217 }
12218 if (obj6) {
12219 {
12220 arg7 = &temp7;
12221 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12222 }
12223 }
12224 if (obj7) {
12225 arg8 = (long) SWIG_AsLong(obj7);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 if (obj8) {
12229 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12230 SWIG_POINTER_EXCEPTION | 0)) == -1)
12231 SWIG_fail;
12232 if (arg9 == NULL) {
12233 PyErr_SetString(PyExc_TypeError,"null reference");
12234 SWIG_fail;
12235 }
12236 }
12237 if (obj9) {
12238 {
12239 arg10 = wxString_in_helper(obj9);
12240 if (arg10 == NULL) SWIG_fail;
12241 temp10 = True;
12242 }
12243 }
12244 {
12245 PyThreadState* __tstate = wxPyBeginAllowThreads();
12246 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12247
12248 wxPyEndAllowThreads(__tstate);
12249 if (PyErr_Occurred()) SWIG_fail;
12250 }
12251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12252 {
12253 if (temp10)
12254 delete arg10;
12255 }
12256 return resultobj;
12257 fail:
12258 {
12259 if (temp10)
12260 delete arg10;
12261 }
12262 return NULL;
12263 }
12264
12265
12266 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxSlider *result;
12269 char *kwnames[] = {
12270 NULL
12271 };
12272
12273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12274 {
12275 PyThreadState* __tstate = wxPyBeginAllowThreads();
12276 result = (wxSlider *)new wxSlider();
12277
12278 wxPyEndAllowThreads(__tstate);
12279 if (PyErr_Occurred()) SWIG_fail;
12280 }
12281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12282 return resultobj;
12283 fail:
12284 return NULL;
12285 }
12286
12287
12288 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12289 PyObject *resultobj;
12290 wxSlider *arg1 = (wxSlider *) 0 ;
12291 wxWindow *arg2 = (wxWindow *) 0 ;
12292 int arg3 ;
12293 int arg4 ;
12294 int arg5 ;
12295 int arg6 ;
12296 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12297 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12298 wxSize const &arg8_defvalue = wxDefaultSize ;
12299 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12300 long arg9 = (long) wxSL_HORIZONTAL ;
12301 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12302 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12303 wxString const &arg11_defvalue = wxPySliderNameStr ;
12304 wxString *arg11 = (wxString *) &arg11_defvalue ;
12305 bool result;
12306 wxPoint temp7 ;
12307 wxSize temp8 ;
12308 bool temp11 = False ;
12309 PyObject * obj0 = 0 ;
12310 PyObject * obj1 = 0 ;
12311 PyObject * obj2 = 0 ;
12312 PyObject * obj3 = 0 ;
12313 PyObject * obj4 = 0 ;
12314 PyObject * obj5 = 0 ;
12315 PyObject * obj6 = 0 ;
12316 PyObject * obj7 = 0 ;
12317 PyObject * obj8 = 0 ;
12318 PyObject * obj9 = 0 ;
12319 PyObject * obj10 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12329 arg3 = (int) SWIG_AsInt(obj2);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 arg4 = (int) SWIG_AsInt(obj3);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 arg5 = (int) SWIG_AsInt(obj4);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 arg6 = (int) SWIG_AsInt(obj5);
12336 if (PyErr_Occurred()) SWIG_fail;
12337 if (obj6) {
12338 {
12339 arg7 = &temp7;
12340 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12341 }
12342 }
12343 if (obj7) {
12344 {
12345 arg8 = &temp8;
12346 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12347 }
12348 }
12349 if (obj8) {
12350 arg9 = (long) SWIG_AsLong(obj8);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 if (obj9) {
12354 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12355 SWIG_POINTER_EXCEPTION | 0)) == -1)
12356 SWIG_fail;
12357 if (arg10 == NULL) {
12358 PyErr_SetString(PyExc_TypeError,"null reference");
12359 SWIG_fail;
12360 }
12361 }
12362 if (obj10) {
12363 {
12364 arg11 = wxString_in_helper(obj10);
12365 if (arg11 == NULL) SWIG_fail;
12366 temp11 = True;
12367 }
12368 }
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 {
12377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12378 }
12379 {
12380 if (temp11)
12381 delete arg11;
12382 }
12383 return resultobj;
12384 fail:
12385 {
12386 if (temp11)
12387 delete arg11;
12388 }
12389 return NULL;
12390 }
12391
12392
12393 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12394 PyObject *resultobj;
12395 wxSlider *arg1 = (wxSlider *) 0 ;
12396 int result;
12397 PyObject * obj0 = 0 ;
12398 char *kwnames[] = {
12399 (char *) "self", NULL
12400 };
12401
12402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12405 {
12406 PyThreadState* __tstate = wxPyBeginAllowThreads();
12407 result = (int)((wxSlider const *)arg1)->GetValue();
12408
12409 wxPyEndAllowThreads(__tstate);
12410 if (PyErr_Occurred()) SWIG_fail;
12411 }
12412 resultobj = SWIG_FromInt((int)result);
12413 return resultobj;
12414 fail:
12415 return NULL;
12416 }
12417
12418
12419 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12420 PyObject *resultobj;
12421 wxSlider *arg1 = (wxSlider *) 0 ;
12422 int arg2 ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 char *kwnames[] = {
12426 (char *) "self",(char *) "value", NULL
12427 };
12428
12429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12432 arg2 = (int) SWIG_AsInt(obj1);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 (arg1)->SetValue(arg2);
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 Py_INCREF(Py_None); resultobj = Py_None;
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxSlider *arg1 = (wxSlider *) 0 ;
12451 int arg2 ;
12452 int arg3 ;
12453 PyObject * obj0 = 0 ;
12454 PyObject * obj1 = 0 ;
12455 PyObject * obj2 = 0 ;
12456 char *kwnames[] = {
12457 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12458 };
12459
12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12463 arg2 = (int) SWIG_AsInt(obj1);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 arg3 = (int) SWIG_AsInt(obj2);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 {
12468 PyThreadState* __tstate = wxPyBeginAllowThreads();
12469 (arg1)->SetRange(arg2,arg3);
12470
12471 wxPyEndAllowThreads(__tstate);
12472 if (PyErr_Occurred()) SWIG_fail;
12473 }
12474 Py_INCREF(Py_None); resultobj = Py_None;
12475 return resultobj;
12476 fail:
12477 return NULL;
12478 }
12479
12480
12481 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12482 PyObject *resultobj;
12483 wxSlider *arg1 = (wxSlider *) 0 ;
12484 int result;
12485 PyObject * obj0 = 0 ;
12486 char *kwnames[] = {
12487 (char *) "self", NULL
12488 };
12489
12490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (int)((wxSlider const *)arg1)->GetMin();
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = SWIG_FromInt((int)result);
12501 return resultobj;
12502 fail:
12503 return NULL;
12504 }
12505
12506
12507 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxSlider *arg1 = (wxSlider *) 0 ;
12510 int result;
12511 PyObject * obj0 = 0 ;
12512 char *kwnames[] = {
12513 (char *) "self", NULL
12514 };
12515
12516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (int)((wxSlider const *)arg1)->GetMax();
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = SWIG_FromInt((int)result);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530 }
12531
12532
12533 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12534 PyObject *resultobj;
12535 wxSlider *arg1 = (wxSlider *) 0 ;
12536 int arg2 ;
12537 PyObject * obj0 = 0 ;
12538 PyObject * obj1 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self",(char *) "minValue", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12546 arg2 = (int) SWIG_AsInt(obj1);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 (arg1)->SetMin(arg2);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 return resultobj;
12557 fail:
12558 return NULL;
12559 }
12560
12561
12562 static PyObject *_wrap_Slider_SetMax(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 *) "maxValue", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",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)->SetMax(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_SetLineSize(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 *) "lineSize", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",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)->SetLineSize(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_SetPageSize(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 *) "pageSize", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",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)->SetPageSize(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_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12650 PyObject *resultobj;
12651 wxSlider *arg1 = (wxSlider *) 0 ;
12652 int result;
12653 PyObject * obj0 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 result = (int)((wxSlider const *)arg1)->GetLineSize();
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 resultobj = SWIG_FromInt((int)result);
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxSlider *arg1 = (wxSlider *) 0 ;
12678 int result;
12679 PyObject * obj0 = 0 ;
12680 char *kwnames[] = {
12681 (char *) "self", NULL
12682 };
12683
12684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12687 {
12688 PyThreadState* __tstate = wxPyBeginAllowThreads();
12689 result = (int)((wxSlider const *)arg1)->GetPageSize();
12690
12691 wxPyEndAllowThreads(__tstate);
12692 if (PyErr_Occurred()) SWIG_fail;
12693 }
12694 resultobj = SWIG_FromInt((int)result);
12695 return resultobj;
12696 fail:
12697 return NULL;
12698 }
12699
12700
12701 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxSlider *arg1 = (wxSlider *) 0 ;
12704 int arg2 ;
12705 PyObject * obj0 = 0 ;
12706 PyObject * obj1 = 0 ;
12707 char *kwnames[] = {
12708 (char *) "self",(char *) "lenPixels", NULL
12709 };
12710
12711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12714 arg2 = (int) SWIG_AsInt(obj1);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 (arg1)->SetThumbLength(arg2);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 Py_INCREF(Py_None); resultobj = Py_None;
12724 return resultobj;
12725 fail:
12726 return NULL;
12727 }
12728
12729
12730 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12731 PyObject *resultobj;
12732 wxSlider *arg1 = (wxSlider *) 0 ;
12733 int result;
12734 PyObject * obj0 = 0 ;
12735 char *kwnames[] = {
12736 (char *) "self", NULL
12737 };
12738
12739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12742 {
12743 PyThreadState* __tstate = wxPyBeginAllowThreads();
12744 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12745
12746 wxPyEndAllowThreads(__tstate);
12747 if (PyErr_Occurred()) SWIG_fail;
12748 }
12749 resultobj = SWIG_FromInt((int)result);
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12757 PyObject *resultobj;
12758 wxSlider *arg1 = (wxSlider *) 0 ;
12759 int arg2 ;
12760 int arg3 = (int) 1 ;
12761 PyObject * obj0 = 0 ;
12762 PyObject * obj1 = 0 ;
12763 PyObject * obj2 = 0 ;
12764 char *kwnames[] = {
12765 (char *) "self",(char *) "n",(char *) "pos", NULL
12766 };
12767
12768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12771 arg2 = (int) SWIG_AsInt(obj1);
12772 if (PyErr_Occurred()) SWIG_fail;
12773 if (obj2) {
12774 arg3 = (int) SWIG_AsInt(obj2);
12775 if (PyErr_Occurred()) SWIG_fail;
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 (arg1)->SetTickFreq(arg2,arg3);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 Py_INCREF(Py_None); resultobj = Py_None;
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxSlider *arg1 = (wxSlider *) 0 ;
12794 int result;
12795 PyObject * obj0 = 0 ;
12796 char *kwnames[] = {
12797 (char *) "self", NULL
12798 };
12799
12800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12803 {
12804 PyThreadState* __tstate = wxPyBeginAllowThreads();
12805 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12806
12807 wxPyEndAllowThreads(__tstate);
12808 if (PyErr_Occurred()) SWIG_fail;
12809 }
12810 resultobj = SWIG_FromInt((int)result);
12811 return resultobj;
12812 fail:
12813 return NULL;
12814 }
12815
12816
12817 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12818 PyObject *resultobj;
12819 wxSlider *arg1 = (wxSlider *) 0 ;
12820 PyObject * obj0 = 0 ;
12821 char *kwnames[] = {
12822 (char *) "self", NULL
12823 };
12824
12825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 (arg1)->ClearTicks();
12831
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
12835 Py_INCREF(Py_None); resultobj = Py_None;
12836 return resultobj;
12837 fail:
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxSlider *arg1 = (wxSlider *) 0 ;
12845 int arg2 ;
12846 PyObject * obj0 = 0 ;
12847 PyObject * obj1 = 0 ;
12848 char *kwnames[] = {
12849 (char *) "self",(char *) "tickPos", NULL
12850 };
12851
12852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12855 arg2 = (int) SWIG_AsInt(obj1);
12856 if (PyErr_Occurred()) SWIG_fail;
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 (arg1)->SetTick(arg2);
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_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxSlider *arg1 = (wxSlider *) 0 ;
12874 PyObject * obj0 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12882 {
12883 PyThreadState* __tstate = wxPyBeginAllowThreads();
12884 (arg1)->ClearSel();
12885
12886 wxPyEndAllowThreads(__tstate);
12887 if (PyErr_Occurred()) SWIG_fail;
12888 }
12889 Py_INCREF(Py_None); resultobj = Py_None;
12890 return resultobj;
12891 fail:
12892 return NULL;
12893 }
12894
12895
12896 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxSlider *arg1 = (wxSlider *) 0 ;
12899 int result;
12900 PyObject * obj0 = 0 ;
12901 char *kwnames[] = {
12902 (char *) "self", NULL
12903 };
12904
12905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12908 {
12909 PyThreadState* __tstate = wxPyBeginAllowThreads();
12910 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12911
12912 wxPyEndAllowThreads(__tstate);
12913 if (PyErr_Occurred()) SWIG_fail;
12914 }
12915 resultobj = SWIG_FromInt((int)result);
12916 return resultobj;
12917 fail:
12918 return NULL;
12919 }
12920
12921
12922 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12923 PyObject *resultobj;
12924 wxSlider *arg1 = (wxSlider *) 0 ;
12925 int result;
12926 PyObject * obj0 = 0 ;
12927 char *kwnames[] = {
12928 (char *) "self", NULL
12929 };
12930
12931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 result = (int)((wxSlider const *)arg1)->GetSelStart();
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = SWIG_FromInt((int)result);
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj;
12950 wxSlider *arg1 = (wxSlider *) 0 ;
12951 int arg2 ;
12952 int arg3 ;
12953 PyObject * obj0 = 0 ;
12954 PyObject * obj1 = 0 ;
12955 PyObject * obj2 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "self",(char *) "min",(char *) "max", NULL
12958 };
12959
12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12963 arg2 = (int) SWIG_AsInt(obj1);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 arg3 = (int) SWIG_AsInt(obj2);
12966 if (PyErr_Occurred()) SWIG_fail;
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 (arg1)->SetSelection(arg2,arg3);
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 Py_INCREF(Py_None); resultobj = Py_None;
12975 return resultobj;
12976 fail:
12977 return NULL;
12978 }
12979
12980
12981 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12982 PyObject *obj;
12983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12984 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12985 Py_INCREF(obj);
12986 return Py_BuildValue((char *)"");
12987 }
12988 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12989 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12990 return 1;
12991 }
12992
12993
12994 static PyObject *_wrap_ToggleButtonNameStr_get() {
12995 PyObject *pyobj;
12996
12997 {
12998 #if wxUSE_UNICODE
12999 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13000 #else
13001 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13002 #endif
13003 }
13004 return pyobj;
13005 }
13006
13007
13008 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13009 PyObject *resultobj;
13010 wxWindow *arg1 = (wxWindow *) 0 ;
13011 int arg2 ;
13012 wxString *arg3 = 0 ;
13013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13015 wxSize const &arg5_defvalue = wxDefaultSize ;
13016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13017 long arg6 = (long) 0 ;
13018 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13019 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13020 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13021 wxString *arg8 = (wxString *) &arg8_defvalue ;
13022 wxToggleButton *result;
13023 bool temp3 = False ;
13024 wxPoint temp4 ;
13025 wxSize temp5 ;
13026 bool temp8 = False ;
13027 PyObject * obj0 = 0 ;
13028 PyObject * obj1 = 0 ;
13029 PyObject * obj2 = 0 ;
13030 PyObject * obj3 = 0 ;
13031 PyObject * obj4 = 0 ;
13032 PyObject * obj5 = 0 ;
13033 PyObject * obj6 = 0 ;
13034 PyObject * obj7 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13042 arg2 = (int) SWIG_AsInt(obj1);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 {
13045 arg3 = wxString_in_helper(obj2);
13046 if (arg3 == NULL) SWIG_fail;
13047 temp3 = True;
13048 }
13049 if (obj3) {
13050 {
13051 arg4 = &temp4;
13052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13053 }
13054 }
13055 if (obj4) {
13056 {
13057 arg5 = &temp5;
13058 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13059 }
13060 }
13061 if (obj5) {
13062 arg6 = (long) SWIG_AsLong(obj5);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 if (obj6) {
13066 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13067 SWIG_POINTER_EXCEPTION | 0)) == -1)
13068 SWIG_fail;
13069 if (arg7 == NULL) {
13070 PyErr_SetString(PyExc_TypeError,"null reference");
13071 SWIG_fail;
13072 }
13073 }
13074 if (obj7) {
13075 {
13076 arg8 = wxString_in_helper(obj7);
13077 if (arg8 == NULL) SWIG_fail;
13078 temp8 = True;
13079 }
13080 }
13081 {
13082 PyThreadState* __tstate = wxPyBeginAllowThreads();
13083 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13084
13085 wxPyEndAllowThreads(__tstate);
13086 if (PyErr_Occurred()) SWIG_fail;
13087 }
13088 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13089 {
13090 if (temp3)
13091 delete arg3;
13092 }
13093 {
13094 if (temp8)
13095 delete arg8;
13096 }
13097 return resultobj;
13098 fail:
13099 {
13100 if (temp3)
13101 delete arg3;
13102 }
13103 {
13104 if (temp8)
13105 delete arg8;
13106 }
13107 return NULL;
13108 }
13109
13110
13111 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj;
13113 wxToggleButton *result;
13114 char *kwnames[] = {
13115 NULL
13116 };
13117
13118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 result = (wxToggleButton *)new wxToggleButton();
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13136 wxWindow *arg2 = (wxWindow *) 0 ;
13137 int arg3 ;
13138 wxString *arg4 = 0 ;
13139 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13140 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13141 wxSize const &arg6_defvalue = wxDefaultSize ;
13142 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13143 long arg7 = (long) 0 ;
13144 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13145 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13146 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13147 wxString *arg9 = (wxString *) &arg9_defvalue ;
13148 bool result;
13149 bool temp4 = False ;
13150 wxPoint temp5 ;
13151 wxSize temp6 ;
13152 bool temp9 = False ;
13153 PyObject * obj0 = 0 ;
13154 PyObject * obj1 = 0 ;
13155 PyObject * obj2 = 0 ;
13156 PyObject * obj3 = 0 ;
13157 PyObject * obj4 = 0 ;
13158 PyObject * obj5 = 0 ;
13159 PyObject * obj6 = 0 ;
13160 PyObject * obj7 = 0 ;
13161 PyObject * obj8 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13169 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13171 arg3 = (int) SWIG_AsInt(obj2);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 {
13174 arg4 = wxString_in_helper(obj3);
13175 if (arg4 == NULL) SWIG_fail;
13176 temp4 = True;
13177 }
13178 if (obj4) {
13179 {
13180 arg5 = &temp5;
13181 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13182 }
13183 }
13184 if (obj5) {
13185 {
13186 arg6 = &temp6;
13187 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13188 }
13189 }
13190 if (obj6) {
13191 arg7 = (long) SWIG_AsLong(obj6);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 if (obj7) {
13195 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13196 SWIG_POINTER_EXCEPTION | 0)) == -1)
13197 SWIG_fail;
13198 if (arg8 == NULL) {
13199 PyErr_SetString(PyExc_TypeError,"null reference");
13200 SWIG_fail;
13201 }
13202 }
13203 if (obj8) {
13204 {
13205 arg9 = wxString_in_helper(obj8);
13206 if (arg9 == NULL) SWIG_fail;
13207 temp9 = True;
13208 }
13209 }
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 {
13218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13219 }
13220 {
13221 if (temp4)
13222 delete arg4;
13223 }
13224 {
13225 if (temp9)
13226 delete arg9;
13227 }
13228 return resultobj;
13229 fail:
13230 {
13231 if (temp4)
13232 delete arg4;
13233 }
13234 {
13235 if (temp9)
13236 delete arg9;
13237 }
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13245 bool arg2 ;
13246 PyObject * obj0 = 0 ;
13247 PyObject * obj1 = 0 ;
13248 char *kwnames[] = {
13249 (char *) "self",(char *) "value", NULL
13250 };
13251
13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13255 arg2 = (bool) SWIG_AsBool(obj1);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 {
13258 PyThreadState* __tstate = wxPyBeginAllowThreads();
13259 (arg1)->SetValue(arg2);
13260
13261 wxPyEndAllowThreads(__tstate);
13262 if (PyErr_Occurred()) SWIG_fail;
13263 }
13264 Py_INCREF(Py_None); resultobj = Py_None;
13265 return resultobj;
13266 fail:
13267 return NULL;
13268 }
13269
13270
13271 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13272 PyObject *resultobj;
13273 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13274 bool result;
13275 PyObject * obj0 = 0 ;
13276 char *kwnames[] = {
13277 (char *) "self", NULL
13278 };
13279
13280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 {
13291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13292 }
13293 return resultobj;
13294 fail:
13295 return NULL;
13296 }
13297
13298
13299 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13302 wxString *arg2 = 0 ;
13303 bool temp2 = False ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "label", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 {
13314 arg2 = wxString_in_helper(obj1);
13315 if (arg2 == NULL) SWIG_fail;
13316 temp2 = True;
13317 }
13318 {
13319 PyThreadState* __tstate = wxPyBeginAllowThreads();
13320 (arg1)->SetLabel((wxString const &)*arg2);
13321
13322 wxPyEndAllowThreads(__tstate);
13323 if (PyErr_Occurred()) SWIG_fail;
13324 }
13325 Py_INCREF(Py_None); resultobj = Py_None;
13326 {
13327 if (temp2)
13328 delete arg2;
13329 }
13330 return resultobj;
13331 fail:
13332 {
13333 if (temp2)
13334 delete arg2;
13335 }
13336 return NULL;
13337 }
13338
13339
13340 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13341 PyObject *obj;
13342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13343 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13344 Py_INCREF(obj);
13345 return Py_BuildValue((char *)"");
13346 }
13347 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13348 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13349 return 1;
13350 }
13351
13352
13353 static PyObject *_wrap_NOTEBOOK_NAME_get() {
13354 PyObject *pyobj;
13355
13356 {
13357 #if wxUSE_UNICODE
13358 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13359 #else
13360 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13361 #endif
13362 }
13363 return pyobj;
13364 }
13365
13366
13367 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13370 size_t result;
13371 PyObject * obj0 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj;
13395 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13396 size_t arg2 ;
13397 wxWindow *result;
13398 PyObject * obj0 = 0 ;
13399 PyObject * obj1 = 0 ;
13400 char *kwnames[] = {
13401 (char *) "self",(char *) "n", NULL
13402 };
13403
13404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13407 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13408 if (PyErr_Occurred()) SWIG_fail;
13409 {
13410 PyThreadState* __tstate = wxPyBeginAllowThreads();
13411 result = (wxWindow *)(arg1)->GetPage(arg2);
13412
13413 wxPyEndAllowThreads(__tstate);
13414 if (PyErr_Occurred()) SWIG_fail;
13415 }
13416 {
13417 resultobj = wxPyMake_wxObject(result);
13418 }
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13428 int result;
13429 PyObject * obj0 = 0 ;
13430 char *kwnames[] = {
13431 (char *) "self", NULL
13432 };
13433
13434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13437 {
13438 PyThreadState* __tstate = wxPyBeginAllowThreads();
13439 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13440
13441 wxPyEndAllowThreads(__tstate);
13442 if (PyErr_Occurred()) SWIG_fail;
13443 }
13444 resultobj = SWIG_FromInt((int)result);
13445 return resultobj;
13446 fail:
13447 return NULL;
13448 }
13449
13450
13451 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13452 PyObject *resultobj;
13453 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13454 size_t arg2 ;
13455 wxString *arg3 = 0 ;
13456 bool result;
13457 bool temp3 = False ;
13458 PyObject * obj0 = 0 ;
13459 PyObject * obj1 = 0 ;
13460 PyObject * obj2 = 0 ;
13461 char *kwnames[] = {
13462 (char *) "self",(char *) "n",(char *) "strText", NULL
13463 };
13464
13465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13468 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13469 if (PyErr_Occurred()) SWIG_fail;
13470 {
13471 arg3 = wxString_in_helper(obj2);
13472 if (arg3 == NULL) SWIG_fail;
13473 temp3 = True;
13474 }
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 {
13483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13484 }
13485 {
13486 if (temp3)
13487 delete arg3;
13488 }
13489 return resultobj;
13490 fail:
13491 {
13492 if (temp3)
13493 delete arg3;
13494 }
13495 return NULL;
13496 }
13497
13498
13499 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13500 PyObject *resultobj;
13501 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13502 size_t arg2 ;
13503 wxString result;
13504 PyObject * obj0 = 0 ;
13505 PyObject * obj1 = 0 ;
13506 char *kwnames[] = {
13507 (char *) "self",(char *) "n", NULL
13508 };
13509
13510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13513 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 #if wxUSE_UNICODE
13524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13525 #else
13526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13527 #endif
13528 }
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13538 wxImageList *arg2 = (wxImageList *) 0 ;
13539 PyObject * obj0 = 0 ;
13540 PyObject * obj1 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self",(char *) "imageList", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 (arg1)->SetImageList(arg2);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 Py_INCREF(Py_None); resultobj = Py_None;
13558 return resultobj;
13559 fail:
13560 return NULL;
13561 }
13562
13563
13564 static PyObject *_wrap_BookCtrl_AssignImageList(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_AssignImageList",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 | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 (arg1)->AssignImageList(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_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13596 wxImageList *result;
13597 PyObject * obj0 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "self", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 {
13613 resultobj = wxPyMake_wxObject(result);
13614 }
13615 return resultobj;
13616 fail:
13617 return NULL;
13618 }
13619
13620
13621 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13622 PyObject *resultobj;
13623 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13624 size_t arg2 ;
13625 int result;
13626 PyObject * obj0 = 0 ;
13627 PyObject * obj1 = 0 ;
13628 char *kwnames[] = {
13629 (char *) "self",(char *) "n", NULL
13630 };
13631
13632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13635 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13636 if (PyErr_Occurred()) SWIG_fail;
13637 {
13638 PyThreadState* __tstate = wxPyBeginAllowThreads();
13639 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13640
13641 wxPyEndAllowThreads(__tstate);
13642 if (PyErr_Occurred()) SWIG_fail;
13643 }
13644 resultobj = SWIG_FromInt((int)result);
13645 return resultobj;
13646 fail:
13647 return NULL;
13648 }
13649
13650
13651 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13652 PyObject *resultobj;
13653 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13654 size_t arg2 ;
13655 int arg3 ;
13656 bool result;
13657 PyObject * obj0 = 0 ;
13658 PyObject * obj1 = 0 ;
13659 PyObject * obj2 = 0 ;
13660 char *kwnames[] = {
13661 (char *) "self",(char *) "n",(char *) "imageId", NULL
13662 };
13663
13664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13667 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 arg3 = (int) SWIG_AsInt(obj2);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 {
13679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13680 }
13681 return resultobj;
13682 fail:
13683 return NULL;
13684 }
13685
13686
13687 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13690 wxSize *arg2 = 0 ;
13691 wxSize temp2 ;
13692 PyObject * obj0 = 0 ;
13693 PyObject * obj1 = 0 ;
13694 char *kwnames[] = {
13695 (char *) "self",(char *) "size", NULL
13696 };
13697
13698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13701 {
13702 arg2 = &temp2;
13703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13704 }
13705 {
13706 PyThreadState* __tstate = wxPyBeginAllowThreads();
13707 (arg1)->SetPageSize((wxSize const &)*arg2);
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 Py_INCREF(Py_None); resultobj = Py_None;
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13722 wxSize *arg2 = 0 ;
13723 wxSize result;
13724 wxSize temp2 ;
13725 PyObject * obj0 = 0 ;
13726 PyObject * obj1 = 0 ;
13727 char *kwnames[] = {
13728 (char *) "self",(char *) "sizePage", NULL
13729 };
13730
13731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13734 {
13735 arg2 = &temp2;
13736 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13737 }
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 {
13746 wxSize * resultptr;
13747 resultptr = new wxSize((wxSize &) result);
13748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
13749 }
13750 return resultobj;
13751 fail:
13752 return NULL;
13753 }
13754
13755
13756 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13757 PyObject *resultobj;
13758 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13759 size_t arg2 ;
13760 bool result;
13761 PyObject * obj0 = 0 ;
13762 PyObject * obj1 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "self",(char *) "n", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13770 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (bool)(arg1)->DeletePage(arg2);
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 {
13780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13781 }
13782 return resultobj;
13783 fail:
13784 return NULL;
13785 }
13786
13787
13788 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13789 PyObject *resultobj;
13790 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13791 size_t arg2 ;
13792 bool result;
13793 PyObject * obj0 = 0 ;
13794 PyObject * obj1 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self",(char *) "n", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13802 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13803 if (PyErr_Occurred()) SWIG_fail;
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = (bool)(arg1)->RemovePage(arg2);
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
13811 {
13812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13813 }
13814 return resultobj;
13815 fail:
13816 return NULL;
13817 }
13818
13819
13820 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13821 PyObject *resultobj;
13822 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13823 bool result;
13824 PyObject * obj0 = 0 ;
13825 char *kwnames[] = {
13826 (char *) "self", NULL
13827 };
13828
13829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13832 {
13833 PyThreadState* __tstate = wxPyBeginAllowThreads();
13834 result = (bool)(arg1)->DeleteAllPages();
13835
13836 wxPyEndAllowThreads(__tstate);
13837 if (PyErr_Occurred()) SWIG_fail;
13838 }
13839 {
13840 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13841 }
13842 return resultobj;
13843 fail:
13844 return NULL;
13845 }
13846
13847
13848 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13849 PyObject *resultobj;
13850 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13851 wxWindow *arg2 = (wxWindow *) 0 ;
13852 wxString *arg3 = 0 ;
13853 bool arg4 = (bool) False ;
13854 int arg5 = (int) -1 ;
13855 bool result;
13856 bool temp3 = False ;
13857 PyObject * obj0 = 0 ;
13858 PyObject * obj1 = 0 ;
13859 PyObject * obj2 = 0 ;
13860 PyObject * obj3 = 0 ;
13861 PyObject * obj4 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13871 {
13872 arg3 = wxString_in_helper(obj2);
13873 if (arg3 == NULL) SWIG_fail;
13874 temp3 = True;
13875 }
13876 if (obj3) {
13877 arg4 = (bool) SWIG_AsBool(obj3);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 if (obj4) {
13881 arg5 = (int) SWIG_AsInt(obj4);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
13891 {
13892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13893 }
13894 {
13895 if (temp3)
13896 delete arg3;
13897 }
13898 return resultobj;
13899 fail:
13900 {
13901 if (temp3)
13902 delete arg3;
13903 }
13904 return NULL;
13905 }
13906
13907
13908 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13909 PyObject *resultobj;
13910 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13911 size_t arg2 ;
13912 wxWindow *arg3 = (wxWindow *) 0 ;
13913 wxString *arg4 = 0 ;
13914 bool arg5 = (bool) False ;
13915 int arg6 = (int) -1 ;
13916 bool result;
13917 bool temp4 = False ;
13918 PyObject * obj0 = 0 ;
13919 PyObject * obj1 = 0 ;
13920 PyObject * obj2 = 0 ;
13921 PyObject * obj3 = 0 ;
13922 PyObject * obj4 = 0 ;
13923 PyObject * obj5 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13931 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13935 {
13936 arg4 = wxString_in_helper(obj3);
13937 if (arg4 == NULL) SWIG_fail;
13938 temp4 = True;
13939 }
13940 if (obj4) {
13941 arg5 = (bool) SWIG_AsBool(obj4);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 if (obj5) {
13945 arg6 = (int) SWIG_AsInt(obj5);
13946 if (PyErr_Occurred()) SWIG_fail;
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 {
13956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13957 }
13958 {
13959 if (temp4)
13960 delete arg4;
13961 }
13962 return resultobj;
13963 fail:
13964 {
13965 if (temp4)
13966 delete arg4;
13967 }
13968 return NULL;
13969 }
13970
13971
13972 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13975 size_t arg2 ;
13976 int result;
13977 PyObject * obj0 = 0 ;
13978 PyObject * obj1 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self",(char *) "n", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13986 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (int)(arg1)->SetSelection(arg2);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 resultobj = SWIG_FromInt((int)result);
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14005 bool arg2 = (bool) True ;
14006 PyObject * obj0 = 0 ;
14007 PyObject * obj1 = 0 ;
14008 char *kwnames[] = {
14009 (char *) "self",(char *) "forward", NULL
14010 };
14011
14012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14015 if (obj1) {
14016 arg2 = (bool) SWIG_AsBool(obj1);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
14019 {
14020 PyThreadState* __tstate = wxPyBeginAllowThreads();
14021 (arg1)->AdvanceSelection(arg2);
14022
14023 wxPyEndAllowThreads(__tstate);
14024 if (PyErr_Occurred()) SWIG_fail;
14025 }
14026 Py_INCREF(Py_None); resultobj = Py_None;
14027 return resultobj;
14028 fail:
14029 return NULL;
14030 }
14031
14032
14033 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14034 PyObject *obj;
14035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14036 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14037 Py_INCREF(obj);
14038 return Py_BuildValue((char *)"");
14039 }
14040 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14043 int arg2 = (int) 0 ;
14044 int arg3 = (int) -1 ;
14045 int arg4 = (int) -1 ;
14046 wxBookCtrlEvent *result;
14047 PyObject * obj0 = 0 ;
14048 PyObject * obj1 = 0 ;
14049 PyObject * obj2 = 0 ;
14050 PyObject * obj3 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14056 if (obj0) {
14057 arg1 = (wxEventType) SWIG_AsInt(obj0);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 if (obj1) {
14061 arg2 = (int) SWIG_AsInt(obj1);
14062 if (PyErr_Occurred()) SWIG_fail;
14063 }
14064 if (obj2) {
14065 arg3 = (int) SWIG_AsInt(obj2);
14066 if (PyErr_Occurred()) SWIG_fail;
14067 }
14068 if (obj3) {
14069 arg4 = (int) SWIG_AsInt(obj3);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14089 int result;
14090 PyObject * obj0 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14098 {
14099 PyThreadState* __tstate = wxPyBeginAllowThreads();
14100 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14101
14102 wxPyEndAllowThreads(__tstate);
14103 if (PyErr_Occurred()) SWIG_fail;
14104 }
14105 resultobj = SWIG_FromInt((int)result);
14106 return resultobj;
14107 fail:
14108 return NULL;
14109 }
14110
14111
14112 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14113 PyObject *resultobj;
14114 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14115 int arg2 ;
14116 PyObject * obj0 = 0 ;
14117 PyObject * obj1 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self",(char *) "nSel", NULL
14120 };
14121
14122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14125 arg2 = (int) SWIG_AsInt(obj1);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 {
14128 PyThreadState* __tstate = wxPyBeginAllowThreads();
14129 (arg1)->SetSelection(arg2);
14130
14131 wxPyEndAllowThreads(__tstate);
14132 if (PyErr_Occurred()) SWIG_fail;
14133 }
14134 Py_INCREF(Py_None); resultobj = Py_None;
14135 return resultobj;
14136 fail:
14137 return NULL;
14138 }
14139
14140
14141 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14142 PyObject *resultobj;
14143 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14144 int result;
14145 PyObject * obj0 = 0 ;
14146 char *kwnames[] = {
14147 (char *) "self", NULL
14148 };
14149
14150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14153 {
14154 PyThreadState* __tstate = wxPyBeginAllowThreads();
14155 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14156
14157 wxPyEndAllowThreads(__tstate);
14158 if (PyErr_Occurred()) SWIG_fail;
14159 }
14160 resultobj = SWIG_FromInt((int)result);
14161 return resultobj;
14162 fail:
14163 return NULL;
14164 }
14165
14166
14167 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14168 PyObject *resultobj;
14169 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14170 int arg2 ;
14171 PyObject * obj0 = 0 ;
14172 PyObject * obj1 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self",(char *) "nOldSel", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14180 arg2 = (int) SWIG_AsInt(obj1);
14181 if (PyErr_Occurred()) SWIG_fail;
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->SetOldSelection(arg2);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 return resultobj;
14191 fail:
14192 return NULL;
14193 }
14194
14195
14196 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14197 PyObject *obj;
14198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14199 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14200 Py_INCREF(obj);
14201 return Py_BuildValue((char *)"");
14202 }
14203 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14204 PyObject *resultobj;
14205 wxWindow *arg1 = (wxWindow *) 0 ;
14206 int arg2 = (int) -1 ;
14207 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14208 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14209 wxSize const &arg4_defvalue = wxDefaultSize ;
14210 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14211 long arg5 = (long) 0 ;
14212 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14213 wxString *arg6 = (wxString *) &arg6_defvalue ;
14214 wxNotebook *result;
14215 wxPoint temp3 ;
14216 wxSize temp4 ;
14217 bool temp6 = False ;
14218 PyObject * obj0 = 0 ;
14219 PyObject * obj1 = 0 ;
14220 PyObject * obj2 = 0 ;
14221 PyObject * obj3 = 0 ;
14222 PyObject * obj4 = 0 ;
14223 PyObject * obj5 = 0 ;
14224 char *kwnames[] = {
14225 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14226 };
14227
14228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14231 if (obj1) {
14232 arg2 = (int) SWIG_AsInt(obj1);
14233 if (PyErr_Occurred()) SWIG_fail;
14234 }
14235 if (obj2) {
14236 {
14237 arg3 = &temp3;
14238 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14239 }
14240 }
14241 if (obj3) {
14242 {
14243 arg4 = &temp4;
14244 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14245 }
14246 }
14247 if (obj4) {
14248 arg5 = (long) SWIG_AsLong(obj4);
14249 if (PyErr_Occurred()) SWIG_fail;
14250 }
14251 if (obj5) {
14252 {
14253 arg6 = wxString_in_helper(obj5);
14254 if (arg6 == NULL) SWIG_fail;
14255 temp6 = True;
14256 }
14257 }
14258 {
14259 PyThreadState* __tstate = wxPyBeginAllowThreads();
14260 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14261
14262 wxPyEndAllowThreads(__tstate);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 }
14265 {
14266 resultobj = wxPyMake_wxObject(result);
14267 }
14268 {
14269 if (temp6)
14270 delete arg6;
14271 }
14272 return resultobj;
14273 fail:
14274 {
14275 if (temp6)
14276 delete arg6;
14277 }
14278 return NULL;
14279 }
14280
14281
14282 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14283 PyObject *resultobj;
14284 wxNotebook *result;
14285 char *kwnames[] = {
14286 NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (wxNotebook *)new wxNotebook();
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 {
14298 resultobj = wxPyMake_wxObject(result);
14299 }
14300 return resultobj;
14301 fail:
14302 return NULL;
14303 }
14304
14305
14306 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxNotebook *arg1 = (wxNotebook *) 0 ;
14309 wxWindow *arg2 = (wxWindow *) 0 ;
14310 int arg3 ;
14311 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14312 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14313 wxSize const &arg5_defvalue = wxDefaultSize ;
14314 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14315 long arg6 = (long) 0 ;
14316 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14317 wxString *arg7 = (wxString *) &arg7_defvalue ;
14318 bool result;
14319 wxPoint temp4 ;
14320 wxSize temp5 ;
14321 bool temp7 = False ;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 PyObject * obj2 = 0 ;
14325 PyObject * obj3 = 0 ;
14326 PyObject * obj4 = 0 ;
14327 PyObject * obj5 = 0 ;
14328 PyObject * obj6 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14338 arg3 = (int) SWIG_AsInt(obj2);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 if (obj3) {
14341 {
14342 arg4 = &temp4;
14343 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14344 }
14345 }
14346 if (obj4) {
14347 {
14348 arg5 = &temp5;
14349 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14350 }
14351 }
14352 if (obj5) {
14353 arg6 = (long) SWIG_AsLong(obj5);
14354 if (PyErr_Occurred()) SWIG_fail;
14355 }
14356 if (obj6) {
14357 {
14358 arg7 = wxString_in_helper(obj6);
14359 if (arg7 == NULL) SWIG_fail;
14360 temp7 = True;
14361 }
14362 }
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 {
14371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14372 }
14373 {
14374 if (temp7)
14375 delete arg7;
14376 }
14377 return resultobj;
14378 fail:
14379 {
14380 if (temp7)
14381 delete arg7;
14382 }
14383 return NULL;
14384 }
14385
14386
14387 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14388 PyObject *resultobj;
14389 wxNotebook *arg1 = (wxNotebook *) 0 ;
14390 int result;
14391 PyObject * obj0 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14399 {
14400 PyThreadState* __tstate = wxPyBeginAllowThreads();
14401 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14402
14403 wxPyEndAllowThreads(__tstate);
14404 if (PyErr_Occurred()) SWIG_fail;
14405 }
14406 resultobj = SWIG_FromInt((int)result);
14407 return resultobj;
14408 fail:
14409 return NULL;
14410 }
14411
14412
14413 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14414 PyObject *resultobj;
14415 wxNotebook *arg1 = (wxNotebook *) 0 ;
14416 wxSize *arg2 = 0 ;
14417 wxSize temp2 ;
14418 PyObject * obj0 = 0 ;
14419 PyObject * obj1 = 0 ;
14420 char *kwnames[] = {
14421 (char *) "self",(char *) "padding", NULL
14422 };
14423
14424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14427 {
14428 arg2 = &temp2;
14429 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14430 }
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 (arg1)->SetPadding((wxSize const &)*arg2);
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 Py_INCREF(Py_None); resultobj = Py_None;
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj;
14447 wxNotebook *arg1 = (wxNotebook *) 0 ;
14448 wxSize *arg2 = 0 ;
14449 wxSize temp2 ;
14450 PyObject * obj0 = 0 ;
14451 PyObject * obj1 = 0 ;
14452 char *kwnames[] = {
14453 (char *) "self",(char *) "sz", NULL
14454 };
14455
14456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14459 {
14460 arg2 = &temp2;
14461 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14462 }
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 (arg1)->SetTabSize((wxSize const &)*arg2);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 wxNotebook *arg1 = (wxNotebook *) 0 ;
14480 wxPoint *arg2 = 0 ;
14481 long *arg3 = (long *) 0 ;
14482 int result;
14483 wxPoint temp2 ;
14484 long temp3 ;
14485 PyObject * obj0 = 0 ;
14486 PyObject * obj1 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self",(char *) "pt", NULL
14489 };
14490
14491 arg3 = &temp3;
14492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14495 {
14496 arg2 = &temp2;
14497 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14498 }
14499 {
14500 PyThreadState* __tstate = wxPyBeginAllowThreads();
14501 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14502
14503 wxPyEndAllowThreads(__tstate);
14504 if (PyErr_Occurred()) SWIG_fail;
14505 }
14506 resultobj = SWIG_FromInt((int)result);
14507 {
14508 PyObject *o = PyInt_FromLong((long) (*arg3));
14509 resultobj = t_output_helper(resultobj,o);
14510 }
14511 return resultobj;
14512 fail:
14513 return NULL;
14514 }
14515
14516
14517 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxNotebook *arg1 = (wxNotebook *) 0 ;
14520 wxSize *arg2 = 0 ;
14521 wxSize result;
14522 wxSize temp2 ;
14523 PyObject * obj0 = 0 ;
14524 PyObject * obj1 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self",(char *) "sizePage", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 {
14533 arg2 = &temp2;
14534 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14535 }
14536 {
14537 PyThreadState* __tstate = wxPyBeginAllowThreads();
14538 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14539
14540 wxPyEndAllowThreads(__tstate);
14541 if (PyErr_Occurred()) SWIG_fail;
14542 }
14543 {
14544 wxSize * resultptr;
14545 resultptr = new wxSize((wxSize &) result);
14546 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14547 }
14548 return resultobj;
14549 fail:
14550 return NULL;
14551 }
14552
14553
14554 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14555 PyObject *obj;
14556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14557 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14558 Py_INCREF(obj);
14559 return Py_BuildValue((char *)"");
14560 }
14561 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14562 PyObject *resultobj;
14563 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14564 int arg2 = (int) 0 ;
14565 int arg3 = (int) -1 ;
14566 int arg4 = (int) -1 ;
14567 wxNotebookEvent *result;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 PyObject * obj2 = 0 ;
14571 PyObject * obj3 = 0 ;
14572 char *kwnames[] = {
14573 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14574 };
14575
14576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14577 if (obj0) {
14578 arg1 = (wxEventType) SWIG_AsInt(obj0);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 if (obj1) {
14582 arg2 = (int) SWIG_AsInt(obj1);
14583 if (PyErr_Occurred()) SWIG_fail;
14584 }
14585 if (obj2) {
14586 arg3 = (int) SWIG_AsInt(obj2);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 if (obj3) {
14590 arg4 = (int) SWIG_AsInt(obj3);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
14601 return resultobj;
14602 fail:
14603 return NULL;
14604 }
14605
14606
14607 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14608 PyObject *obj;
14609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14610 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14611 Py_INCREF(obj);
14612 return Py_BuildValue((char *)"");
14613 }
14614 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxWindow *arg1 = (wxWindow *) 0 ;
14617 int arg2 = (int) -1 ;
14618 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14619 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14620 wxSize const &arg4_defvalue = wxDefaultSize ;
14621 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14622 long arg5 = (long) 0 ;
14623 wxString const &arg6_defvalue = wxPyEmptyString ;
14624 wxString *arg6 = (wxString *) &arg6_defvalue ;
14625 wxListbook *result;
14626 wxPoint temp3 ;
14627 wxSize temp4 ;
14628 bool temp6 = False ;
14629 PyObject * obj0 = 0 ;
14630 PyObject * obj1 = 0 ;
14631 PyObject * obj2 = 0 ;
14632 PyObject * obj3 = 0 ;
14633 PyObject * obj4 = 0 ;
14634 PyObject * obj5 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14642 if (obj1) {
14643 arg2 = (int) SWIG_AsInt(obj1);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
14646 if (obj2) {
14647 {
14648 arg3 = &temp3;
14649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14650 }
14651 }
14652 if (obj3) {
14653 {
14654 arg4 = &temp4;
14655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14656 }
14657 }
14658 if (obj4) {
14659 arg5 = (long) SWIG_AsLong(obj4);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 if (obj5) {
14663 {
14664 arg6 = wxString_in_helper(obj5);
14665 if (arg6 == NULL) SWIG_fail;
14666 temp6 = True;
14667 }
14668 }
14669 {
14670 PyThreadState* __tstate = wxPyBeginAllowThreads();
14671 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14672
14673 wxPyEndAllowThreads(__tstate);
14674 if (PyErr_Occurred()) SWIG_fail;
14675 }
14676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14677 {
14678 if (temp6)
14679 delete arg6;
14680 }
14681 return resultobj;
14682 fail:
14683 {
14684 if (temp6)
14685 delete arg6;
14686 }
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxListbook *result;
14694 char *kwnames[] = {
14695 NULL
14696 };
14697
14698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (wxListbook *)new wxListbook();
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
14706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
14707 return resultobj;
14708 fail:
14709 return NULL;
14710 }
14711
14712
14713 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14714 PyObject *resultobj;
14715 wxListbook *arg1 = (wxListbook *) 0 ;
14716 wxWindow *arg2 = (wxWindow *) 0 ;
14717 int arg3 ;
14718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14720 wxSize const &arg5_defvalue = wxDefaultSize ;
14721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14722 long arg6 = (long) 0 ;
14723 wxString const &arg7_defvalue = wxPyEmptyString ;
14724 wxString *arg7 = (wxString *) &arg7_defvalue ;
14725 bool result;
14726 wxPoint temp4 ;
14727 wxSize temp5 ;
14728 bool temp7 = False ;
14729 PyObject * obj0 = 0 ;
14730 PyObject * obj1 = 0 ;
14731 PyObject * obj2 = 0 ;
14732 PyObject * obj3 = 0 ;
14733 PyObject * obj4 = 0 ;
14734 PyObject * obj5 = 0 ;
14735 PyObject * obj6 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14743 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14745 arg3 = (int) SWIG_AsInt(obj2);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 if (obj3) {
14748 {
14749 arg4 = &temp4;
14750 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14751 }
14752 }
14753 if (obj4) {
14754 {
14755 arg5 = &temp5;
14756 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14757 }
14758 }
14759 if (obj5) {
14760 arg6 = (long) SWIG_AsLong(obj5);
14761 if (PyErr_Occurred()) SWIG_fail;
14762 }
14763 if (obj6) {
14764 {
14765 arg7 = wxString_in_helper(obj6);
14766 if (arg7 == NULL) SWIG_fail;
14767 temp7 = True;
14768 }
14769 }
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 {
14778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14779 }
14780 {
14781 if (temp7)
14782 delete arg7;
14783 }
14784 return resultobj;
14785 fail:
14786 {
14787 if (temp7)
14788 delete arg7;
14789 }
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxListbook *arg1 = (wxListbook *) 0 ;
14797 bool result;
14798 PyObject * obj0 = 0 ;
14799 char *kwnames[] = {
14800 (char *) "self", NULL
14801 };
14802
14803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 result = (bool)((wxListbook const *)arg1)->IsVertical();
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 {
14814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14815 }
14816 return resultobj;
14817 fail:
14818 return NULL;
14819 }
14820
14821
14822 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14823 PyObject *obj;
14824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14825 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14826 Py_INCREF(obj);
14827 return Py_BuildValue((char *)"");
14828 }
14829 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14830 PyObject *resultobj;
14831 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14832 int arg2 = (int) 0 ;
14833 int arg3 = (int) -1 ;
14834 int arg4 = (int) -1 ;
14835 wxListbookEvent *result;
14836 PyObject * obj0 = 0 ;
14837 PyObject * obj1 = 0 ;
14838 PyObject * obj2 = 0 ;
14839 PyObject * obj3 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14845 if (obj0) {
14846 arg1 = (wxEventType) SWIG_AsInt(obj0);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 if (obj1) {
14850 arg2 = (int) SWIG_AsInt(obj1);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 if (obj2) {
14854 arg3 = (int) SWIG_AsInt(obj2);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 if (obj3) {
14858 arg4 = (int) SWIG_AsInt(obj3);
14859 if (PyErr_Occurred()) SWIG_fail;
14860 }
14861 {
14862 PyThreadState* __tstate = wxPyBeginAllowThreads();
14863 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14864
14865 wxPyEndAllowThreads(__tstate);
14866 if (PyErr_Occurred()) SWIG_fail;
14867 }
14868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
14869 return resultobj;
14870 fail:
14871 return NULL;
14872 }
14873
14874
14875 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14876 PyObject *obj;
14877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14878 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14879 Py_INCREF(obj);
14880 return Py_BuildValue((char *)"");
14881 }
14882 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14883 PyObject *resultobj;
14884 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14885 wxBookCtrlSizer *result;
14886 PyObject * obj0 = 0 ;
14887 char *kwnames[] = {
14888 (char *) "nb", NULL
14889 };
14890
14891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14897
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
14902 return resultobj;
14903 fail:
14904 return NULL;
14905 }
14906
14907
14908 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14911 PyObject * obj0 = 0 ;
14912 char *kwnames[] = {
14913 (char *) "self", NULL
14914 };
14915
14916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 (arg1)->RecalcSizes();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 Py_INCREF(Py_None); resultobj = Py_None;
14927 return resultobj;
14928 fail:
14929 return NULL;
14930 }
14931
14932
14933 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14936 wxSize result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (arg1)->CalcMin();
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 {
14953 wxSize * resultptr;
14954 resultptr = new wxSize((wxSize &) result);
14955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14956 }
14957 return resultobj;
14958 fail:
14959 return NULL;
14960 }
14961
14962
14963 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14964 PyObject *resultobj;
14965 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14966 wxBookCtrl *result;
14967 PyObject * obj0 = 0 ;
14968 char *kwnames[] = {
14969 (char *) "self", NULL
14970 };
14971
14972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14975 {
14976 PyThreadState* __tstate = wxPyBeginAllowThreads();
14977 result = (wxBookCtrl *)(arg1)->GetControl();
14978
14979 wxPyEndAllowThreads(__tstate);
14980 if (PyErr_Occurred()) SWIG_fail;
14981 }
14982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
14983 return resultobj;
14984 fail:
14985 return NULL;
14986 }
14987
14988
14989 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14990 PyObject *obj;
14991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14992 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14993 Py_INCREF(obj);
14994 return Py_BuildValue((char *)"");
14995 }
14996 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14997 PyObject *resultobj;
14998 wxNotebook *arg1 = (wxNotebook *) 0 ;
14999 wxNotebookSizer *result;
15000 PyObject * obj0 = 0 ;
15001 char *kwnames[] = {
15002 (char *) "nb", NULL
15003 };
15004
15005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15008 {
15009 PyThreadState* __tstate = wxPyBeginAllowThreads();
15010 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15011
15012 wxPyEndAllowThreads(__tstate);
15013 if (PyErr_Occurred()) SWIG_fail;
15014 }
15015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15016 return resultobj;
15017 fail:
15018 return NULL;
15019 }
15020
15021
15022 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15025 PyObject * obj0 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15033 {
15034 PyThreadState* __tstate = wxPyBeginAllowThreads();
15035 (arg1)->RecalcSizes();
15036
15037 wxPyEndAllowThreads(__tstate);
15038 if (PyErr_Occurred()) SWIG_fail;
15039 }
15040 Py_INCREF(Py_None); resultobj = Py_None;
15041 return resultobj;
15042 fail:
15043 return NULL;
15044 }
15045
15046
15047 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15048 PyObject *resultobj;
15049 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15050 wxSize result;
15051 PyObject * obj0 = 0 ;
15052 char *kwnames[] = {
15053 (char *) "self", NULL
15054 };
15055
15056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 result = (arg1)->CalcMin();
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 {
15067 wxSize * resultptr;
15068 resultptr = new wxSize((wxSize &) result);
15069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15070 }
15071 return resultobj;
15072 fail:
15073 return NULL;
15074 }
15075
15076
15077 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15080 wxNotebook *result;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 result = (wxNotebook *)(arg1)->GetNotebook();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 {
15097 resultobj = wxPyMake_wxObject(result);
15098 }
15099 return resultobj;
15100 fail:
15101 return NULL;
15102 }
15103
15104
15105 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15106 PyObject *obj;
15107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15108 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15109 Py_INCREF(obj);
15110 return Py_BuildValue((char *)"");
15111 }
15112 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15115 int result;
15116 PyObject * obj0 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15124 {
15125 PyThreadState* __tstate = wxPyBeginAllowThreads();
15126 result = (int)(arg1)->GetId();
15127
15128 wxPyEndAllowThreads(__tstate);
15129 if (PyErr_Occurred()) SWIG_fail;
15130 }
15131 resultobj = SWIG_FromInt((int)result);
15132 return resultobj;
15133 fail:
15134 return NULL;
15135 }
15136
15137
15138 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15139 PyObject *resultobj;
15140 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15141 wxControl *result;
15142 PyObject * obj0 = 0 ;
15143 char *kwnames[] = {
15144 (char *) "self", NULL
15145 };
15146
15147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxControl *)(arg1)->GetControl();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 {
15158 resultobj = wxPyMake_wxObject(result);
15159 }
15160 return resultobj;
15161 fail:
15162 return NULL;
15163 }
15164
15165
15166 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15167 PyObject *resultobj;
15168 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15169 wxToolBarBase *result;
15170 PyObject * obj0 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15178 {
15179 PyThreadState* __tstate = wxPyBeginAllowThreads();
15180 result = (wxToolBarBase *)(arg1)->GetToolBar();
15181
15182 wxPyEndAllowThreads(__tstate);
15183 if (PyErr_Occurred()) SWIG_fail;
15184 }
15185 {
15186 resultobj = wxPyMake_wxObject(result);
15187 }
15188 return resultobj;
15189 fail:
15190 return NULL;
15191 }
15192
15193
15194 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15195 PyObject *resultobj;
15196 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15197 int result;
15198 PyObject * obj0 = 0 ;
15199 char *kwnames[] = {
15200 (char *) "self", NULL
15201 };
15202
15203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = (int)(arg1)->IsButton();
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 resultobj = SWIG_FromInt((int)result);
15214 return resultobj;
15215 fail:
15216 return NULL;
15217 }
15218
15219
15220 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15223 int result;
15224 PyObject * obj0 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15232 {
15233 PyThreadState* __tstate = wxPyBeginAllowThreads();
15234 result = (int)(arg1)->IsControl();
15235
15236 wxPyEndAllowThreads(__tstate);
15237 if (PyErr_Occurred()) SWIG_fail;
15238 }
15239 resultobj = SWIG_FromInt((int)result);
15240 return resultobj;
15241 fail:
15242 return NULL;
15243 }
15244
15245
15246 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15247 PyObject *resultobj;
15248 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15249 int result;
15250 PyObject * obj0 = 0 ;
15251 char *kwnames[] = {
15252 (char *) "self", NULL
15253 };
15254
15255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15258 {
15259 PyThreadState* __tstate = wxPyBeginAllowThreads();
15260 result = (int)(arg1)->IsSeparator();
15261
15262 wxPyEndAllowThreads(__tstate);
15263 if (PyErr_Occurred()) SWIG_fail;
15264 }
15265 resultobj = SWIG_FromInt((int)result);
15266 return resultobj;
15267 fail:
15268 return NULL;
15269 }
15270
15271
15272 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15275 int result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (int)(arg1)->GetStyle();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 resultobj = SWIG_FromInt((int)result);
15292 return resultobj;
15293 fail:
15294 return NULL;
15295 }
15296
15297
15298 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj;
15300 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15301 int result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15310 {
15311 PyThreadState* __tstate = wxPyBeginAllowThreads();
15312 result = (int)(arg1)->GetKind();
15313
15314 wxPyEndAllowThreads(__tstate);
15315 if (PyErr_Occurred()) SWIG_fail;
15316 }
15317 resultobj = SWIG_FromInt((int)result);
15318 return resultobj;
15319 fail:
15320 return NULL;
15321 }
15322
15323
15324 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15325 PyObject *resultobj;
15326 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15327 bool result;
15328 PyObject * obj0 = 0 ;
15329 char *kwnames[] = {
15330 (char *) "self", NULL
15331 };
15332
15333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15336 {
15337 PyThreadState* __tstate = wxPyBeginAllowThreads();
15338 result = (bool)(arg1)->IsEnabled();
15339
15340 wxPyEndAllowThreads(__tstate);
15341 if (PyErr_Occurred()) SWIG_fail;
15342 }
15343 {
15344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15345 }
15346 return resultobj;
15347 fail:
15348 return NULL;
15349 }
15350
15351
15352 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15353 PyObject *resultobj;
15354 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15355 bool result;
15356 PyObject * obj0 = 0 ;
15357 char *kwnames[] = {
15358 (char *) "self", NULL
15359 };
15360
15361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (bool)(arg1)->IsToggled();
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15373 }
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15383 bool result;
15384 PyObject * obj0 = 0 ;
15385 char *kwnames[] = {
15386 (char *) "self", NULL
15387 };
15388
15389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15392 {
15393 PyThreadState* __tstate = wxPyBeginAllowThreads();
15394 result = (bool)(arg1)->CanBeToggled();
15395
15396 wxPyEndAllowThreads(__tstate);
15397 if (PyErr_Occurred()) SWIG_fail;
15398 }
15399 {
15400 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15401 }
15402 return resultobj;
15403 fail:
15404 return NULL;
15405 }
15406
15407
15408 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15411 wxBitmap *result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15420 {
15421 PyThreadState* __tstate = wxPyBeginAllowThreads();
15422 {
15423 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15424 result = (wxBitmap *) &_result_ref;
15425 }
15426
15427 wxPyEndAllowThreads(__tstate);
15428 if (PyErr_Occurred()) SWIG_fail;
15429 }
15430 {
15431 wxBitmap* resultptr = new wxBitmap(*result);
15432 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15433 }
15434 return resultobj;
15435 fail:
15436 return NULL;
15437 }
15438
15439
15440 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15443 wxBitmap *result;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15452 {
15453 PyThreadState* __tstate = wxPyBeginAllowThreads();
15454 {
15455 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15456 result = (wxBitmap *) &_result_ref;
15457 }
15458
15459 wxPyEndAllowThreads(__tstate);
15460 if (PyErr_Occurred()) SWIG_fail;
15461 }
15462 {
15463 wxBitmap* resultptr = new wxBitmap(*result);
15464 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15465 }
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15475 wxBitmap result;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 result = (arg1)->GetBitmap();
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 {
15492 wxBitmap * resultptr;
15493 resultptr = new wxBitmap((wxBitmap &) result);
15494 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15495 }
15496 return resultobj;
15497 fail:
15498 return NULL;
15499 }
15500
15501
15502 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15505 wxString result;
15506 PyObject * obj0 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 result = (arg1)->GetLabel();
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 {
15522 #if wxUSE_UNICODE
15523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15524 #else
15525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15526 #endif
15527 }
15528 return resultobj;
15529 fail:
15530 return NULL;
15531 }
15532
15533
15534 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15535 PyObject *resultobj;
15536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15537 wxString result;
15538 PyObject * obj0 = 0 ;
15539 char *kwnames[] = {
15540 (char *) "self", NULL
15541 };
15542
15543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15546 {
15547 PyThreadState* __tstate = wxPyBeginAllowThreads();
15548 result = (arg1)->GetShortHelp();
15549
15550 wxPyEndAllowThreads(__tstate);
15551 if (PyErr_Occurred()) SWIG_fail;
15552 }
15553 {
15554 #if wxUSE_UNICODE
15555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15556 #else
15557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15558 #endif
15559 }
15560 return resultobj;
15561 fail:
15562 return NULL;
15563 }
15564
15565
15566 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15569 wxString result;
15570 PyObject * obj0 = 0 ;
15571 char *kwnames[] = {
15572 (char *) "self", NULL
15573 };
15574
15575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15578 {
15579 PyThreadState* __tstate = wxPyBeginAllowThreads();
15580 result = (arg1)->GetLongHelp();
15581
15582 wxPyEndAllowThreads(__tstate);
15583 if (PyErr_Occurred()) SWIG_fail;
15584 }
15585 {
15586 #if wxUSE_UNICODE
15587 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15588 #else
15589 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15590 #endif
15591 }
15592 return resultobj;
15593 fail:
15594 return NULL;
15595 }
15596
15597
15598 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15599 PyObject *resultobj;
15600 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15601 bool arg2 ;
15602 bool result;
15603 PyObject * obj0 = 0 ;
15604 PyObject * obj1 = 0 ;
15605 char *kwnames[] = {
15606 (char *) "self",(char *) "enable", NULL
15607 };
15608
15609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15612 arg2 = (bool) SWIG_AsBool(obj1);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 {
15615 PyThreadState* __tstate = wxPyBeginAllowThreads();
15616 result = (bool)(arg1)->Enable(arg2);
15617
15618 wxPyEndAllowThreads(__tstate);
15619 if (PyErr_Occurred()) SWIG_fail;
15620 }
15621 {
15622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15623 }
15624 return resultobj;
15625 fail:
15626 return NULL;
15627 }
15628
15629
15630 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15631 PyObject *resultobj;
15632 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
15643 (arg1)->Toggle();
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
15648 Py_INCREF(Py_None); resultobj = Py_None;
15649 return resultobj;
15650 fail:
15651 return NULL;
15652 }
15653
15654
15655 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15658 bool arg2 ;
15659 bool result;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "toggle", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15669 arg2 = (bool) SWIG_AsBool(obj1);
15670 if (PyErr_Occurred()) SWIG_fail;
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 result = (bool)(arg1)->SetToggle(arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 {
15679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15680 }
15681 return resultobj;
15682 fail:
15683 return NULL;
15684 }
15685
15686
15687 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15690 wxString *arg2 = 0 ;
15691 bool result;
15692 bool temp2 = False ;
15693 PyObject * obj0 = 0 ;
15694 PyObject * obj1 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self",(char *) "help", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15702 {
15703 arg2 = wxString_in_helper(obj1);
15704 if (arg2 == NULL) SWIG_fail;
15705 temp2 = True;
15706 }
15707 {
15708 PyThreadState* __tstate = wxPyBeginAllowThreads();
15709 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15710
15711 wxPyEndAllowThreads(__tstate);
15712 if (PyErr_Occurred()) SWIG_fail;
15713 }
15714 {
15715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15716 }
15717 {
15718 if (temp2)
15719 delete arg2;
15720 }
15721 return resultobj;
15722 fail:
15723 {
15724 if (temp2)
15725 delete arg2;
15726 }
15727 return NULL;
15728 }
15729
15730
15731 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15734 wxString *arg2 = 0 ;
15735 bool result;
15736 bool temp2 = False ;
15737 PyObject * obj0 = 0 ;
15738 PyObject * obj1 = 0 ;
15739 char *kwnames[] = {
15740 (char *) "self",(char *) "help", NULL
15741 };
15742
15743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15746 {
15747 arg2 = wxString_in_helper(obj1);
15748 if (arg2 == NULL) SWIG_fail;
15749 temp2 = True;
15750 }
15751 {
15752 PyThreadState* __tstate = wxPyBeginAllowThreads();
15753 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15754
15755 wxPyEndAllowThreads(__tstate);
15756 if (PyErr_Occurred()) SWIG_fail;
15757 }
15758 {
15759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15760 }
15761 {
15762 if (temp2)
15763 delete arg2;
15764 }
15765 return resultobj;
15766 fail:
15767 {
15768 if (temp2)
15769 delete arg2;
15770 }
15771 return NULL;
15772 }
15773
15774
15775 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15778 wxBitmap *arg2 = 0 ;
15779 PyObject * obj0 = 0 ;
15780 PyObject * obj1 = 0 ;
15781 char *kwnames[] = {
15782 (char *) "self",(char *) "bmp", NULL
15783 };
15784
15785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15788 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15789 SWIG_POINTER_EXCEPTION | 0)) == -1)
15790 SWIG_fail;
15791 if (arg2 == NULL) {
15792 PyErr_SetString(PyExc_TypeError,"null reference");
15793 SWIG_fail;
15794 }
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 return resultobj;
15804 fail:
15805 return NULL;
15806 }
15807
15808
15809 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15812 wxBitmap *arg2 = 0 ;
15813 PyObject * obj0 = 0 ;
15814 PyObject * obj1 = 0 ;
15815 char *kwnames[] = {
15816 (char *) "self",(char *) "bmp", NULL
15817 };
15818
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15822 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1)
15824 SWIG_fail;
15825 if (arg2 == NULL) {
15826 PyErr_SetString(PyExc_TypeError,"null reference");
15827 SWIG_fail;
15828 }
15829 {
15830 PyThreadState* __tstate = wxPyBeginAllowThreads();
15831 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15832
15833 wxPyEndAllowThreads(__tstate);
15834 if (PyErr_Occurred()) SWIG_fail;
15835 }
15836 Py_INCREF(Py_None); resultobj = Py_None;
15837 return resultobj;
15838 fail:
15839 return NULL;
15840 }
15841
15842
15843 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15844 PyObject *resultobj;
15845 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15846 wxString *arg2 = 0 ;
15847 bool temp2 = False ;
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self",(char *) "label", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 {
15858 arg2 = wxString_in_helper(obj1);
15859 if (arg2 == NULL) SWIG_fail;
15860 temp2 = True;
15861 }
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 (arg1)->SetLabel((wxString const &)*arg2);
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 Py_INCREF(Py_None); resultobj = Py_None;
15870 {
15871 if (temp2)
15872 delete arg2;
15873 }
15874 return resultobj;
15875 fail:
15876 {
15877 if (temp2)
15878 delete arg2;
15879 }
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15887 PyObject * obj0 = 0 ;
15888 char *kwnames[] = {
15889 (char *) "self", NULL
15890 };
15891
15892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->Detach();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15912 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15913 PyObject * obj0 = 0 ;
15914 PyObject * obj1 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self",(char *) "tbar", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15922 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->Attach(arg2);
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_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15941 PyObject *result;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15950 {
15951 PyThreadState* __tstate = wxPyBeginAllowThreads();
15952 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15953
15954 wxPyEndAllowThreads(__tstate);
15955 if (PyErr_Occurred()) SWIG_fail;
15956 }
15957 resultobj = result;
15958 return resultobj;
15959 fail:
15960 return NULL;
15961 }
15962
15963
15964 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15965 PyObject *resultobj;
15966 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15967 PyObject *arg2 = (PyObject *) 0 ;
15968 PyObject * obj0 = 0 ;
15969 PyObject * obj1 = 0 ;
15970 char *kwnames[] = {
15971 (char *) "self",(char *) "clientData", NULL
15972 };
15973
15974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15977 arg2 = obj1;
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 wxToolBarToolBase_SetClientData(arg1,arg2);
15981
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
15985 Py_INCREF(Py_None); resultobj = Py_None;
15986 return resultobj;
15987 fail:
15988 return NULL;
15989 }
15990
15991
15992 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15993 PyObject *obj;
15994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15995 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15996 Py_INCREF(obj);
15997 return Py_BuildValue((char *)"");
15998 }
15999 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16002 int arg2 ;
16003 wxString *arg3 = 0 ;
16004 wxBitmap *arg4 = 0 ;
16005 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16006 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16007 int arg6 = (int) wxITEM_NORMAL ;
16008 wxString const &arg7_defvalue = wxPyEmptyString ;
16009 wxString *arg7 = (wxString *) &arg7_defvalue ;
16010 wxString const &arg8_defvalue = wxPyEmptyString ;
16011 wxString *arg8 = (wxString *) &arg8_defvalue ;
16012 PyObject *arg9 = (PyObject *) NULL ;
16013 wxToolBarToolBase *result;
16014 bool temp3 = False ;
16015 bool temp7 = False ;
16016 bool temp8 = False ;
16017 PyObject * obj0 = 0 ;
16018 PyObject * obj1 = 0 ;
16019 PyObject * obj2 = 0 ;
16020 PyObject * obj3 = 0 ;
16021 PyObject * obj4 = 0 ;
16022 PyObject * obj5 = 0 ;
16023 PyObject * obj6 = 0 ;
16024 PyObject * obj7 = 0 ;
16025 PyObject * obj8 = 0 ;
16026 char *kwnames[] = {
16027 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16028 };
16029
16030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16033 arg2 = (int) SWIG_AsInt(obj1);
16034 if (PyErr_Occurred()) SWIG_fail;
16035 {
16036 arg3 = wxString_in_helper(obj2);
16037 if (arg3 == NULL) SWIG_fail;
16038 temp3 = True;
16039 }
16040 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1)
16042 SWIG_fail;
16043 if (arg4 == NULL) {
16044 PyErr_SetString(PyExc_TypeError,"null reference");
16045 SWIG_fail;
16046 }
16047 if (obj4) {
16048 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16049 SWIG_POINTER_EXCEPTION | 0)) == -1)
16050 SWIG_fail;
16051 if (arg5 == NULL) {
16052 PyErr_SetString(PyExc_TypeError,"null reference");
16053 SWIG_fail;
16054 }
16055 }
16056 if (obj5) {
16057 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16058 if (PyErr_Occurred()) SWIG_fail;
16059 }
16060 if (obj6) {
16061 {
16062 arg7 = wxString_in_helper(obj6);
16063 if (arg7 == NULL) SWIG_fail;
16064 temp7 = True;
16065 }
16066 }
16067 if (obj7) {
16068 {
16069 arg8 = wxString_in_helper(obj7);
16070 if (arg8 == NULL) SWIG_fail;
16071 temp8 = True;
16072 }
16073 }
16074 if (obj8) {
16075 arg9 = obj8;
16076 }
16077 {
16078 PyThreadState* __tstate = wxPyBeginAllowThreads();
16079 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16080
16081 wxPyEndAllowThreads(__tstate);
16082 if (PyErr_Occurred()) SWIG_fail;
16083 }
16084 {
16085 resultobj = wxPyMake_wxObject(result);
16086 }
16087 {
16088 if (temp3)
16089 delete arg3;
16090 }
16091 {
16092 if (temp7)
16093 delete arg7;
16094 }
16095 {
16096 if (temp8)
16097 delete arg8;
16098 }
16099 return resultobj;
16100 fail:
16101 {
16102 if (temp3)
16103 delete arg3;
16104 }
16105 {
16106 if (temp7)
16107 delete arg7;
16108 }
16109 {
16110 if (temp8)
16111 delete arg8;
16112 }
16113 return NULL;
16114 }
16115
16116
16117 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16118 PyObject *resultobj;
16119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16120 size_t arg2 ;
16121 int arg3 ;
16122 wxString *arg4 = 0 ;
16123 wxBitmap *arg5 = 0 ;
16124 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16125 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16126 int arg7 = (int) wxITEM_NORMAL ;
16127 wxString const &arg8_defvalue = wxPyEmptyString ;
16128 wxString *arg8 = (wxString *) &arg8_defvalue ;
16129 wxString const &arg9_defvalue = wxPyEmptyString ;
16130 wxString *arg9 = (wxString *) &arg9_defvalue ;
16131 PyObject *arg10 = (PyObject *) NULL ;
16132 wxToolBarToolBase *result;
16133 bool temp4 = False ;
16134 bool temp8 = False ;
16135 bool temp9 = False ;
16136 PyObject * obj0 = 0 ;
16137 PyObject * obj1 = 0 ;
16138 PyObject * obj2 = 0 ;
16139 PyObject * obj3 = 0 ;
16140 PyObject * obj4 = 0 ;
16141 PyObject * obj5 = 0 ;
16142 PyObject * obj6 = 0 ;
16143 PyObject * obj7 = 0 ;
16144 PyObject * obj8 = 0 ;
16145 PyObject * obj9 = 0 ;
16146 char *kwnames[] = {
16147 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16148 };
16149
16150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16153 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 arg3 = (int) SWIG_AsInt(obj2);
16156 if (PyErr_Occurred()) SWIG_fail;
16157 {
16158 arg4 = wxString_in_helper(obj3);
16159 if (arg4 == NULL) SWIG_fail;
16160 temp4 = True;
16161 }
16162 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16163 SWIG_POINTER_EXCEPTION | 0)) == -1)
16164 SWIG_fail;
16165 if (arg5 == NULL) {
16166 PyErr_SetString(PyExc_TypeError,"null reference");
16167 SWIG_fail;
16168 }
16169 if (obj5) {
16170 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16171 SWIG_POINTER_EXCEPTION | 0)) == -1)
16172 SWIG_fail;
16173 if (arg6 == NULL) {
16174 PyErr_SetString(PyExc_TypeError,"null reference");
16175 SWIG_fail;
16176 }
16177 }
16178 if (obj6) {
16179 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16180 if (PyErr_Occurred()) SWIG_fail;
16181 }
16182 if (obj7) {
16183 {
16184 arg8 = wxString_in_helper(obj7);
16185 if (arg8 == NULL) SWIG_fail;
16186 temp8 = True;
16187 }
16188 }
16189 if (obj8) {
16190 {
16191 arg9 = wxString_in_helper(obj8);
16192 if (arg9 == NULL) SWIG_fail;
16193 temp9 = True;
16194 }
16195 }
16196 if (obj9) {
16197 arg10 = obj9;
16198 }
16199 {
16200 PyThreadState* __tstate = wxPyBeginAllowThreads();
16201 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);
16202
16203 wxPyEndAllowThreads(__tstate);
16204 if (PyErr_Occurred()) SWIG_fail;
16205 }
16206 {
16207 resultobj = wxPyMake_wxObject(result);
16208 }
16209 {
16210 if (temp4)
16211 delete arg4;
16212 }
16213 {
16214 if (temp8)
16215 delete arg8;
16216 }
16217 {
16218 if (temp9)
16219 delete arg9;
16220 }
16221 return resultobj;
16222 fail:
16223 {
16224 if (temp4)
16225 delete arg4;
16226 }
16227 {
16228 if (temp8)
16229 delete arg8;
16230 }
16231 {
16232 if (temp9)
16233 delete arg9;
16234 }
16235 return NULL;
16236 }
16237
16238
16239 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16242 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16243 wxToolBarToolBase *result;
16244 PyObject * obj0 = 0 ;
16245 PyObject * obj1 = 0 ;
16246 char *kwnames[] = {
16247 (char *) "self",(char *) "tool", NULL
16248 };
16249
16250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 resultobj = wxPyMake_wxObject(result);
16264 }
16265 return resultobj;
16266 fail:
16267 return NULL;
16268 }
16269
16270
16271 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16272 PyObject *resultobj;
16273 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16274 size_t arg2 ;
16275 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16276 wxToolBarToolBase *result;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj1 = 0 ;
16279 PyObject * obj2 = 0 ;
16280 char *kwnames[] = {
16281 (char *) "self",(char *) "pos",(char *) "tool", NULL
16282 };
16283
16284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
16285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16287 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 {
16299 resultobj = wxPyMake_wxObject(result);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304 }
16305
16306
16307 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16310 wxControl *arg2 = (wxControl *) 0 ;
16311 wxToolBarToolBase *result;
16312 PyObject * obj0 = 0 ;
16313 PyObject * obj1 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self",(char *) "control", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
16319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16323 {
16324 PyThreadState* __tstate = wxPyBeginAllowThreads();
16325 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16326
16327 wxPyEndAllowThreads(__tstate);
16328 if (PyErr_Occurred()) SWIG_fail;
16329 }
16330 {
16331 resultobj = wxPyMake_wxObject(result);
16332 }
16333 return resultobj;
16334 fail:
16335 return NULL;
16336 }
16337
16338
16339 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16342 size_t arg2 ;
16343 wxControl *arg3 = (wxControl *) 0 ;
16344 wxToolBarToolBase *result;
16345 PyObject * obj0 = 0 ;
16346 PyObject * obj1 = 0 ;
16347 PyObject * obj2 = 0 ;
16348 char *kwnames[] = {
16349 (char *) "self",(char *) "pos",(char *) "control", NULL
16350 };
16351
16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16355 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16356 if (PyErr_Occurred()) SWIG_fail;
16357 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16359 {
16360 PyThreadState* __tstate = wxPyBeginAllowThreads();
16361 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16362
16363 wxPyEndAllowThreads(__tstate);
16364 if (PyErr_Occurred()) SWIG_fail;
16365 }
16366 {
16367 resultobj = wxPyMake_wxObject(result);
16368 }
16369 return resultobj;
16370 fail:
16371 return NULL;
16372 }
16373
16374
16375 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16376 PyObject *resultobj;
16377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16378 int arg2 ;
16379 wxControl *result;
16380 PyObject * obj0 = 0 ;
16381 PyObject * obj1 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self",(char *) "id", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16389 arg2 = (int) SWIG_AsInt(obj1);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 result = (wxControl *)(arg1)->FindControl(arg2);
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 {
16399 resultobj = wxPyMake_wxObject(result);
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16410 wxToolBarToolBase *result;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 {
16427 resultobj = wxPyMake_wxObject(result);
16428 }
16429 return resultobj;
16430 fail:
16431 return NULL;
16432 }
16433
16434
16435 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj;
16437 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16438 size_t arg2 ;
16439 wxToolBarToolBase *result;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "pos", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16449 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16450 if (PyErr_Occurred()) SWIG_fail;
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
16458 {
16459 resultobj = wxPyMake_wxObject(result);
16460 }
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16470 int arg2 ;
16471 wxToolBarToolBase *result;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self",(char *) "id", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 arg2 = (int) SWIG_AsInt(obj1);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 {
16484 PyThreadState* __tstate = wxPyBeginAllowThreads();
16485 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16486
16487 wxPyEndAllowThreads(__tstate);
16488 if (PyErr_Occurred()) SWIG_fail;
16489 }
16490 {
16491 resultobj = wxPyMake_wxObject(result);
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496 }
16497
16498
16499 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16502 size_t arg2 ;
16503 bool result;
16504 PyObject * obj0 = 0 ;
16505 PyObject * obj1 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self",(char *) "pos", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16513 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (bool)(arg1)->DeleteToolByPos(arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 {
16523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16524 }
16525 return resultobj;
16526 fail:
16527 return NULL;
16528 }
16529
16530
16531 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16534 int arg2 ;
16535 bool result;
16536 PyObject * obj0 = 0 ;
16537 PyObject * obj1 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self",(char *) "id", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16545 arg2 = (int) SWIG_AsInt(obj1);
16546 if (PyErr_Occurred()) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 result = (bool)(arg1)->DeleteTool(arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 {
16555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16556 }
16557 return resultobj;
16558 fail:
16559 return NULL;
16560 }
16561
16562
16563 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16566 PyObject * obj0 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 (arg1)->ClearTools();
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 Py_INCREF(Py_None); resultobj = Py_None;
16582 return resultobj;
16583 fail:
16584 return NULL;
16585 }
16586
16587
16588 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16591 bool result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (bool)(arg1)->Realize();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16609 }
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16619 int arg2 ;
16620 bool arg3 ;
16621 PyObject * obj0 = 0 ;
16622 PyObject * obj1 = 0 ;
16623 PyObject * obj2 = 0 ;
16624 char *kwnames[] = {
16625 (char *) "self",(char *) "id",(char *) "enable", NULL
16626 };
16627
16628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16631 arg2 = (int) SWIG_AsInt(obj1);
16632 if (PyErr_Occurred()) SWIG_fail;
16633 arg3 = (bool) SWIG_AsBool(obj2);
16634 if (PyErr_Occurred()) SWIG_fail;
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->EnableTool(arg2,arg3);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 return resultobj;
16644 fail:
16645 return NULL;
16646 }
16647
16648
16649 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16650 PyObject *resultobj;
16651 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16652 int arg2 ;
16653 bool arg3 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 PyObject * obj2 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self",(char *) "id",(char *) "toggle", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16664 arg2 = (int) SWIG_AsInt(obj1);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 arg3 = (bool) SWIG_AsBool(obj2);
16667 if (PyErr_Occurred()) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 (arg1)->ToggleTool(arg2,arg3);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 Py_INCREF(Py_None); resultobj = Py_None;
16676 return resultobj;
16677 fail:
16678 return NULL;
16679 }
16680
16681
16682 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16685 int arg2 ;
16686 bool arg3 ;
16687 PyObject * obj0 = 0 ;
16688 PyObject * obj1 = 0 ;
16689 PyObject * obj2 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self",(char *) "id",(char *) "toggle", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16697 arg2 = (int) SWIG_AsInt(obj1);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 arg3 = (bool) SWIG_AsBool(obj2);
16700 if (PyErr_Occurred()) SWIG_fail;
16701 {
16702 PyThreadState* __tstate = wxPyBeginAllowThreads();
16703 (arg1)->SetToggle(arg2,arg3);
16704
16705 wxPyEndAllowThreads(__tstate);
16706 if (PyErr_Occurred()) SWIG_fail;
16707 }
16708 Py_INCREF(Py_None); resultobj = Py_None;
16709 return resultobj;
16710 fail:
16711 return NULL;
16712 }
16713
16714
16715 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16716 PyObject *resultobj;
16717 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16718 int arg2 ;
16719 PyObject *result;
16720 PyObject * obj0 = 0 ;
16721 PyObject * obj1 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "id", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16729 arg2 = (int) SWIG_AsInt(obj1);
16730 if (PyErr_Occurred()) SWIG_fail;
16731 {
16732 PyThreadState* __tstate = wxPyBeginAllowThreads();
16733 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16734
16735 wxPyEndAllowThreads(__tstate);
16736 if (PyErr_Occurred()) SWIG_fail;
16737 }
16738 resultobj = result;
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16748 int arg2 ;
16749 PyObject *arg3 = (PyObject *) 0 ;
16750 PyObject * obj0 = 0 ;
16751 PyObject * obj1 = 0 ;
16752 PyObject * obj2 = 0 ;
16753 char *kwnames[] = {
16754 (char *) "self",(char *) "id",(char *) "clientData", NULL
16755 };
16756
16757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16760 arg2 = (int) SWIG_AsInt(obj1);
16761 if (PyErr_Occurred()) SWIG_fail;
16762 arg3 = obj2;
16763 {
16764 PyThreadState* __tstate = wxPyBeginAllowThreads();
16765 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16766
16767 wxPyEndAllowThreads(__tstate);
16768 if (PyErr_Occurred()) SWIG_fail;
16769 }
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16780 int arg2 ;
16781 int result;
16782 PyObject * obj0 = 0 ;
16783 PyObject * obj1 = 0 ;
16784 char *kwnames[] = {
16785 (char *) "self",(char *) "id", NULL
16786 };
16787
16788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16791 arg2 = (int) SWIG_AsInt(obj1);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 resultobj = SWIG_FromInt((int)result);
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16810 int arg2 ;
16811 bool result;
16812 PyObject * obj0 = 0 ;
16813 PyObject * obj1 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self",(char *) "id", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16821 arg2 = (int) SWIG_AsInt(obj1);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (bool)(arg1)->GetToolState(arg2);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16832 }
16833 return resultobj;
16834 fail:
16835 return NULL;
16836 }
16837
16838
16839 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16840 PyObject *resultobj;
16841 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16842 int arg2 ;
16843 bool result;
16844 PyObject * obj0 = 0 ;
16845 PyObject * obj1 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "self",(char *) "id", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16853 arg2 = (int) SWIG_AsInt(obj1);
16854 if (PyErr_Occurred()) SWIG_fail;
16855 {
16856 PyThreadState* __tstate = wxPyBeginAllowThreads();
16857 result = (bool)(arg1)->GetToolEnabled(arg2);
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 {
16863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16864 }
16865 return resultobj;
16866 fail:
16867 return NULL;
16868 }
16869
16870
16871 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16872 PyObject *resultobj;
16873 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16874 int arg2 ;
16875 wxString *arg3 = 0 ;
16876 bool temp3 = False ;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 PyObject * obj2 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self",(char *) "id",(char *) "helpString", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 arg2 = (int) SWIG_AsInt(obj1);
16888 if (PyErr_Occurred()) SWIG_fail;
16889 {
16890 arg3 = wxString_in_helper(obj2);
16891 if (arg3 == NULL) SWIG_fail;
16892 temp3 = True;
16893 }
16894 {
16895 PyThreadState* __tstate = wxPyBeginAllowThreads();
16896 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16897
16898 wxPyEndAllowThreads(__tstate);
16899 if (PyErr_Occurred()) SWIG_fail;
16900 }
16901 Py_INCREF(Py_None); resultobj = Py_None;
16902 {
16903 if (temp3)
16904 delete arg3;
16905 }
16906 return resultobj;
16907 fail:
16908 {
16909 if (temp3)
16910 delete arg3;
16911 }
16912 return NULL;
16913 }
16914
16915
16916 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16917 PyObject *resultobj;
16918 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16919 int arg2 ;
16920 wxString result;
16921 PyObject * obj0 = 0 ;
16922 PyObject * obj1 = 0 ;
16923 char *kwnames[] = {
16924 (char *) "self",(char *) "id", NULL
16925 };
16926
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16930 arg2 = (int) SWIG_AsInt(obj1);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 {
16933 PyThreadState* __tstate = wxPyBeginAllowThreads();
16934 result = (arg1)->GetToolShortHelp(arg2);
16935
16936 wxPyEndAllowThreads(__tstate);
16937 if (PyErr_Occurred()) SWIG_fail;
16938 }
16939 {
16940 #if wxUSE_UNICODE
16941 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16942 #else
16943 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16944 #endif
16945 }
16946 return resultobj;
16947 fail:
16948 return NULL;
16949 }
16950
16951
16952 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16953 PyObject *resultobj;
16954 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16955 int arg2 ;
16956 wxString *arg3 = 0 ;
16957 bool temp3 = False ;
16958 PyObject * obj0 = 0 ;
16959 PyObject * obj1 = 0 ;
16960 PyObject * obj2 = 0 ;
16961 char *kwnames[] = {
16962 (char *) "self",(char *) "id",(char *) "helpString", NULL
16963 };
16964
16965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16968 arg2 = (int) SWIG_AsInt(obj1);
16969 if (PyErr_Occurred()) SWIG_fail;
16970 {
16971 arg3 = wxString_in_helper(obj2);
16972 if (arg3 == NULL) SWIG_fail;
16973 temp3 = True;
16974 }
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 Py_INCREF(Py_None); resultobj = Py_None;
16983 {
16984 if (temp3)
16985 delete arg3;
16986 }
16987 return resultobj;
16988 fail:
16989 {
16990 if (temp3)
16991 delete arg3;
16992 }
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17000 int arg2 ;
17001 wxString result;
17002 PyObject * obj0 = 0 ;
17003 PyObject * obj1 = 0 ;
17004 char *kwnames[] = {
17005 (char *) "self",(char *) "id", NULL
17006 };
17007
17008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17011 arg2 = (int) SWIG_AsInt(obj1);
17012 if (PyErr_Occurred()) SWIG_fail;
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 result = (arg1)->GetToolLongHelp(arg2);
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 {
17021 #if wxUSE_UNICODE
17022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17023 #else
17024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17025 #endif
17026 }
17027 return resultobj;
17028 fail:
17029 return NULL;
17030 }
17031
17032
17033 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17034 PyObject *resultobj;
17035 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17036 int arg2 ;
17037 int arg3 ;
17038 PyObject * obj0 = 0 ;
17039 PyObject * obj1 = 0 ;
17040 PyObject * obj2 = 0 ;
17041 char *kwnames[] = {
17042 (char *) "self",(char *) "x",(char *) "y", NULL
17043 };
17044
17045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17048 arg2 = (int) SWIG_AsInt(obj1);
17049 if (PyErr_Occurred()) SWIG_fail;
17050 arg3 = (int) SWIG_AsInt(obj2);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 (arg1)->SetMargins(arg2,arg3);
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17069 wxSize *arg2 = 0 ;
17070 wxSize temp2 ;
17071 PyObject * obj0 = 0 ;
17072 PyObject * obj1 = 0 ;
17073 char *kwnames[] = {
17074 (char *) "self",(char *) "size", NULL
17075 };
17076
17077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17080 {
17081 arg2 = &temp2;
17082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17083 }
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->SetMargins((wxSize const &)*arg2);
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 Py_INCREF(Py_None); resultobj = Py_None;
17092 return resultobj;
17093 fail:
17094 return NULL;
17095 }
17096
17097
17098 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17101 int arg2 ;
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self",(char *) "packing", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17111 arg2 = (int) SWIG_AsInt(obj1);
17112 if (PyErr_Occurred()) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 (arg1)->SetToolPacking(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_SetToolSeparation(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 *) "separation", NULL
17135 };
17136
17137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",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)->SetToolSeparation(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_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17157 PyObject *resultobj;
17158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17159 wxSize result;
17160 PyObject * obj0 = 0 ;
17161 char *kwnames[] = {
17162 (char *) "self", NULL
17163 };
17164
17165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17168 {
17169 PyThreadState* __tstate = wxPyBeginAllowThreads();
17170 result = (arg1)->GetToolMargins();
17171
17172 wxPyEndAllowThreads(__tstate);
17173 if (PyErr_Occurred()) SWIG_fail;
17174 }
17175 {
17176 wxSize * resultptr;
17177 resultptr = new wxSize((wxSize &) result);
17178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17179 }
17180 return resultobj;
17181 fail:
17182 return NULL;
17183 }
17184
17185
17186 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17187 PyObject *resultobj;
17188 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17189 wxSize result;
17190 PyObject * obj0 = 0 ;
17191 char *kwnames[] = {
17192 (char *) "self", NULL
17193 };
17194
17195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17198 {
17199 PyThreadState* __tstate = wxPyBeginAllowThreads();
17200 result = (arg1)->GetMargins();
17201
17202 wxPyEndAllowThreads(__tstate);
17203 if (PyErr_Occurred()) SWIG_fail;
17204 }
17205 {
17206 wxSize * resultptr;
17207 resultptr = new wxSize((wxSize &) result);
17208 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17209 }
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17219 int result;
17220 PyObject * obj0 = 0 ;
17221 char *kwnames[] = {
17222 (char *) "self", NULL
17223 };
17224
17225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (int)(arg1)->GetToolPacking();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = SWIG_FromInt((int)result);
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17245 int result;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17254 {
17255 PyThreadState* __tstate = wxPyBeginAllowThreads();
17256 result = (int)(arg1)->GetToolSeparation();
17257
17258 wxPyEndAllowThreads(__tstate);
17259 if (PyErr_Occurred()) SWIG_fail;
17260 }
17261 resultobj = SWIG_FromInt((int)result);
17262 return resultobj;
17263 fail:
17264 return NULL;
17265 }
17266
17267
17268 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17269 PyObject *resultobj;
17270 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17271 int arg2 ;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj1 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "nRows", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17281 arg2 = (int) SWIG_AsInt(obj1);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 {
17284 PyThreadState* __tstate = wxPyBeginAllowThreads();
17285 (arg1)->SetRows(arg2);
17286
17287 wxPyEndAllowThreads(__tstate);
17288 if (PyErr_Occurred()) SWIG_fail;
17289 }
17290 Py_INCREF(Py_None); resultobj = Py_None;
17291 return resultobj;
17292 fail:
17293 return NULL;
17294 }
17295
17296
17297 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17298 PyObject *resultobj;
17299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17300 int arg2 ;
17301 int arg3 ;
17302 PyObject * obj0 = 0 ;
17303 PyObject * obj1 = 0 ;
17304 PyObject * obj2 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self",(char *) "rows",(char *) "cols", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
17310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17312 arg2 = (int) SWIG_AsInt(obj1);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 arg3 = (int) SWIG_AsInt(obj2);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 {
17317 PyThreadState* __tstate = wxPyBeginAllowThreads();
17318 (arg1)->SetMaxRowsCols(arg2,arg3);
17319
17320 wxPyEndAllowThreads(__tstate);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 }
17323 Py_INCREF(Py_None); resultobj = Py_None;
17324 return resultobj;
17325 fail:
17326 return NULL;
17327 }
17328
17329
17330 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17333 int result;
17334 PyObject * obj0 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17342 {
17343 PyThreadState* __tstate = wxPyBeginAllowThreads();
17344 result = (int)(arg1)->GetMaxRows();
17345
17346 wxPyEndAllowThreads(__tstate);
17347 if (PyErr_Occurred()) SWIG_fail;
17348 }
17349 resultobj = SWIG_FromInt((int)result);
17350 return resultobj;
17351 fail:
17352 return NULL;
17353 }
17354
17355
17356 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17357 PyObject *resultobj;
17358 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17359 int result;
17360 PyObject * obj0 = 0 ;
17361 char *kwnames[] = {
17362 (char *) "self", NULL
17363 };
17364
17365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (int)(arg1)->GetMaxCols();
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_FromInt((int)result);
17376 return resultobj;
17377 fail:
17378 return NULL;
17379 }
17380
17381
17382 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17383 PyObject *resultobj;
17384 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17385 wxSize *arg2 = 0 ;
17386 wxSize temp2 ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self",(char *) "size", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17396 {
17397 arg2 = &temp2;
17398 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17399 }
17400 {
17401 PyThreadState* __tstate = wxPyBeginAllowThreads();
17402 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17403
17404 wxPyEndAllowThreads(__tstate);
17405 if (PyErr_Occurred()) SWIG_fail;
17406 }
17407 Py_INCREF(Py_None); resultobj = Py_None;
17408 return resultobj;
17409 fail:
17410 return NULL;
17411 }
17412
17413
17414 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17415 PyObject *resultobj;
17416 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17417 wxSize result;
17418 PyObject * obj0 = 0 ;
17419 char *kwnames[] = {
17420 (char *) "self", NULL
17421 };
17422
17423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (arg1)->GetToolBitmapSize();
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 {
17434 wxSize * resultptr;
17435 resultptr = new wxSize((wxSize &) result);
17436 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17437 }
17438 return resultobj;
17439 fail:
17440 return NULL;
17441 }
17442
17443
17444 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17445 PyObject *resultobj;
17446 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17447 wxSize result;
17448 PyObject * obj0 = 0 ;
17449 char *kwnames[] = {
17450 (char *) "self", NULL
17451 };
17452
17453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 result = (arg1)->GetToolSize();
17459
17460 wxPyEndAllowThreads(__tstate);
17461 if (PyErr_Occurred()) SWIG_fail;
17462 }
17463 {
17464 wxSize * resultptr;
17465 resultptr = new wxSize((wxSize &) result);
17466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17467 }
17468 return resultobj;
17469 fail:
17470 return NULL;
17471 }
17472
17473
17474 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17475 PyObject *resultobj;
17476 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17477 int arg2 ;
17478 int arg3 ;
17479 wxToolBarToolBase *result;
17480 PyObject * obj0 = 0 ;
17481 PyObject * obj1 = 0 ;
17482 PyObject * obj2 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self",(char *) "x",(char *) "y", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17490 arg2 = (int) SWIG_AsInt(obj1);
17491 if (PyErr_Occurred()) SWIG_fail;
17492 arg3 = (int) SWIG_AsInt(obj2);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 {
17495 PyThreadState* __tstate = wxPyBeginAllowThreads();
17496 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 {
17502 resultobj = wxPyMake_wxObject(result);
17503 }
17504 return resultobj;
17505 fail:
17506 return NULL;
17507 }
17508
17509
17510 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17513 int arg2 ;
17514 wxToolBarToolBase *result;
17515 PyObject * obj0 = 0 ;
17516 PyObject * obj1 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self",(char *) "toolid", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17524 arg2 = (int) SWIG_AsInt(obj1);
17525 if (PyErr_Occurred()) SWIG_fail;
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 {
17534 resultobj = wxPyMake_wxObject(result);
17535 }
17536 return resultobj;
17537 fail:
17538 return NULL;
17539 }
17540
17541
17542 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17545 bool result;
17546 PyObject * obj0 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (bool)(arg1)->IsVertical();
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 {
17562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17563 }
17564 return resultobj;
17565 fail:
17566 return NULL;
17567 }
17568
17569
17570 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17571 PyObject *obj;
17572 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17573 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17574 Py_INCREF(obj);
17575 return Py_BuildValue((char *)"");
17576 }
17577 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17578 PyObject *resultobj;
17579 wxWindow *arg1 = (wxWindow *) 0 ;
17580 int arg2 ;
17581 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17582 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17583 wxSize const &arg4_defvalue = wxDefaultSize ;
17584 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17585 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17586 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17587 wxString *arg6 = (wxString *) &arg6_defvalue ;
17588 wxToolBar *result;
17589 wxPoint temp3 ;
17590 wxSize temp4 ;
17591 bool temp6 = False ;
17592 PyObject * obj0 = 0 ;
17593 PyObject * obj1 = 0 ;
17594 PyObject * obj2 = 0 ;
17595 PyObject * obj3 = 0 ;
17596 PyObject * obj4 = 0 ;
17597 PyObject * obj5 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17605 arg2 = (int) SWIG_AsInt(obj1);
17606 if (PyErr_Occurred()) SWIG_fail;
17607 if (obj2) {
17608 {
17609 arg3 = &temp3;
17610 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17611 }
17612 }
17613 if (obj3) {
17614 {
17615 arg4 = &temp4;
17616 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17617 }
17618 }
17619 if (obj4) {
17620 arg5 = (long) SWIG_AsLong(obj4);
17621 if (PyErr_Occurred()) SWIG_fail;
17622 }
17623 if (obj5) {
17624 {
17625 arg6 = wxString_in_helper(obj5);
17626 if (arg6 == NULL) SWIG_fail;
17627 temp6 = True;
17628 }
17629 }
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 {
17638 resultobj = wxPyMake_wxObject(result);
17639 }
17640 {
17641 if (temp6)
17642 delete arg6;
17643 }
17644 return resultobj;
17645 fail:
17646 {
17647 if (temp6)
17648 delete arg6;
17649 }
17650 return NULL;
17651 }
17652
17653
17654 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17655 PyObject *resultobj;
17656 wxToolBar *result;
17657 char *kwnames[] = {
17658 NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17662 {
17663 PyThreadState* __tstate = wxPyBeginAllowThreads();
17664 result = (wxToolBar *)new wxToolBar();
17665
17666 wxPyEndAllowThreads(__tstate);
17667 if (PyErr_Occurred()) SWIG_fail;
17668 }
17669 {
17670 resultobj = wxPyMake_wxObject(result);
17671 }
17672 return resultobj;
17673 fail:
17674 return NULL;
17675 }
17676
17677
17678 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxToolBar *arg1 = (wxToolBar *) 0 ;
17681 wxWindow *arg2 = (wxWindow *) 0 ;
17682 int arg3 ;
17683 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17684 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17685 wxSize const &arg5_defvalue = wxDefaultSize ;
17686 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17687 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17688 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17689 wxString *arg7 = (wxString *) &arg7_defvalue ;
17690 bool result;
17691 wxPoint temp4 ;
17692 wxSize temp5 ;
17693 bool temp7 = False ;
17694 PyObject * obj0 = 0 ;
17695 PyObject * obj1 = 0 ;
17696 PyObject * obj2 = 0 ;
17697 PyObject * obj3 = 0 ;
17698 PyObject * obj4 = 0 ;
17699 PyObject * obj5 = 0 ;
17700 PyObject * obj6 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17710 arg3 = (int) SWIG_AsInt(obj2);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 if (obj3) {
17713 {
17714 arg4 = &temp4;
17715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17716 }
17717 }
17718 if (obj4) {
17719 {
17720 arg5 = &temp5;
17721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17722 }
17723 }
17724 if (obj5) {
17725 arg6 = (long) SWIG_AsLong(obj5);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 }
17728 if (obj6) {
17729 {
17730 arg7 = wxString_in_helper(obj6);
17731 if (arg7 == NULL) SWIG_fail;
17732 temp7 = True;
17733 }
17734 }
17735 {
17736 PyThreadState* __tstate = wxPyBeginAllowThreads();
17737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17738
17739 wxPyEndAllowThreads(__tstate);
17740 if (PyErr_Occurred()) SWIG_fail;
17741 }
17742 {
17743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17744 }
17745 {
17746 if (temp7)
17747 delete arg7;
17748 }
17749 return resultobj;
17750 fail:
17751 {
17752 if (temp7)
17753 delete arg7;
17754 }
17755 return NULL;
17756 }
17757
17758
17759 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxToolBar *arg1 = (wxToolBar *) 0 ;
17762 int arg2 ;
17763 int arg3 ;
17764 wxToolBarToolBase *result;
17765 PyObject * obj0 = 0 ;
17766 PyObject * obj1 = 0 ;
17767 PyObject * obj2 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "x",(char *) "y", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17775 arg2 = (int) SWIG_AsInt(obj1);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 arg3 = (int) SWIG_AsInt(obj2);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 {
17780 PyThreadState* __tstate = wxPyBeginAllowThreads();
17781 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17782
17783 wxPyEndAllowThreads(__tstate);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 }
17786 {
17787 resultobj = wxPyMake_wxObject(result);
17788 }
17789 return resultobj;
17790 fail:
17791 return NULL;
17792 }
17793
17794
17795 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17796 PyObject *obj;
17797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17798 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17799 Py_INCREF(obj);
17800 return Py_BuildValue((char *)"");
17801 }
17802 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17803 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17804 return 1;
17805 }
17806
17807
17808 static PyObject *_wrap_ListCtrlNameStr_get() {
17809 PyObject *pyobj;
17810
17811 {
17812 #if wxUSE_UNICODE
17813 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17814 #else
17815 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17816 #endif
17817 }
17818 return pyobj;
17819 }
17820
17821
17822 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17823 PyObject *resultobj;
17824 wxColour const &arg1_defvalue = wxNullColour ;
17825 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17826 wxColour const &arg2_defvalue = wxNullColour ;
17827 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17828 wxFont const &arg3_defvalue = wxNullFont ;
17829 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17830 wxListItemAttr *result;
17831 wxColour temp1 ;
17832 wxColour temp2 ;
17833 PyObject * obj0 = 0 ;
17834 PyObject * obj1 = 0 ;
17835 PyObject * obj2 = 0 ;
17836 char *kwnames[] = {
17837 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17838 };
17839
17840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17841 if (obj0) {
17842 {
17843 arg1 = &temp1;
17844 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17845 }
17846 }
17847 if (obj1) {
17848 {
17849 arg2 = &temp2;
17850 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17851 }
17852 }
17853 if (obj2) {
17854 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1)
17856 SWIG_fail;
17857 if (arg3 == NULL) {
17858 PyErr_SetString(PyExc_TypeError,"null reference");
17859 SWIG_fail;
17860 }
17861 }
17862 {
17863 PyThreadState* __tstate = wxPyBeginAllowThreads();
17864 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17865
17866 wxPyEndAllowThreads(__tstate);
17867 if (PyErr_Occurred()) SWIG_fail;
17868 }
17869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
17870 return resultobj;
17871 fail:
17872 return NULL;
17873 }
17874
17875
17876 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17879 wxColour *arg2 = 0 ;
17880 wxColour temp2 ;
17881 PyObject * obj0 = 0 ;
17882 PyObject * obj1 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self",(char *) "colText", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17890 {
17891 arg2 = &temp2;
17892 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17893 }
17894 {
17895 PyThreadState* __tstate = wxPyBeginAllowThreads();
17896 (arg1)->SetTextColour((wxColour const &)*arg2);
17897
17898 wxPyEndAllowThreads(__tstate);
17899 if (PyErr_Occurred()) SWIG_fail;
17900 }
17901 Py_INCREF(Py_None); resultobj = Py_None;
17902 return resultobj;
17903 fail:
17904 return NULL;
17905 }
17906
17907
17908 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17909 PyObject *resultobj;
17910 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17911 wxColour *arg2 = 0 ;
17912 wxColour temp2 ;
17913 PyObject * obj0 = 0 ;
17914 PyObject * obj1 = 0 ;
17915 char *kwnames[] = {
17916 (char *) "self",(char *) "colBack", NULL
17917 };
17918
17919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17922 {
17923 arg2 = &temp2;
17924 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17925 }
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 Py_INCREF(Py_None); resultobj = Py_None;
17934 return resultobj;
17935 fail:
17936 return NULL;
17937 }
17938
17939
17940 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17943 wxFont *arg2 = 0 ;
17944 PyObject * obj0 = 0 ;
17945 PyObject * obj1 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "font", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17954 SWIG_POINTER_EXCEPTION | 0)) == -1)
17955 SWIG_fail;
17956 if (arg2 == NULL) {
17957 PyErr_SetString(PyExc_TypeError,"null reference");
17958 SWIG_fail;
17959 }
17960 {
17961 PyThreadState* __tstate = wxPyBeginAllowThreads();
17962 (arg1)->SetFont((wxFont const &)*arg2);
17963
17964 wxPyEndAllowThreads(__tstate);
17965 if (PyErr_Occurred()) SWIG_fail;
17966 }
17967 Py_INCREF(Py_None); resultobj = Py_None;
17968 return resultobj;
17969 fail:
17970 return NULL;
17971 }
17972
17973
17974 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17975 PyObject *resultobj;
17976 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17977 bool result;
17978 PyObject * obj0 = 0 ;
17979 char *kwnames[] = {
17980 (char *) "self", NULL
17981 };
17982
17983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17986 {
17987 PyThreadState* __tstate = wxPyBeginAllowThreads();
17988 result = (bool)(arg1)->HasTextColour();
17989
17990 wxPyEndAllowThreads(__tstate);
17991 if (PyErr_Occurred()) SWIG_fail;
17992 }
17993 {
17994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17995 }
17996 return resultobj;
17997 fail:
17998 return NULL;
17999 }
18000
18001
18002 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18003 PyObject *resultobj;
18004 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18005 bool result;
18006 PyObject * obj0 = 0 ;
18007 char *kwnames[] = {
18008 (char *) "self", NULL
18009 };
18010
18011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (bool)(arg1)->HasBackgroundColour();
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 {
18022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18023 }
18024 return resultobj;
18025 fail:
18026 return NULL;
18027 }
18028
18029
18030 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18033 bool result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18042 {
18043 PyThreadState* __tstate = wxPyBeginAllowThreads();
18044 result = (bool)(arg1)->HasFont();
18045
18046 wxPyEndAllowThreads(__tstate);
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18051 }
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18061 wxColour result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (arg1)->GetTextColour();
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 {
18078 wxColour * resultptr;
18079 resultptr = new wxColour((wxColour &) result);
18080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18081 }
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18091 wxColour result;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (arg1)->GetBackgroundColour();
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 {
18108 wxColour * resultptr;
18109 resultptr = new wxColour((wxColour &) result);
18110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18111 }
18112 return resultobj;
18113 fail:
18114 return NULL;
18115 }
18116
18117
18118 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18121 wxFont result;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 result = (arg1)->GetFont();
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 {
18138 wxFont * resultptr;
18139 resultptr = new wxFont((wxFont &) result);
18140 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18141 }
18142 return resultobj;
18143 fail:
18144 return NULL;
18145 }
18146
18147
18148 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18149 PyObject *resultobj;
18150 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18151 PyObject * obj0 = 0 ;
18152 char *kwnames[] = {
18153 (char *) "self", NULL
18154 };
18155
18156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",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 wxListItemAttr_Destroy(arg1);
18162
18163 wxPyEndAllowThreads(__tstate);
18164 if (PyErr_Occurred()) SWIG_fail;
18165 }
18166 Py_INCREF(Py_None); resultobj = Py_None;
18167 return resultobj;
18168 fail:
18169 return NULL;
18170 }
18171
18172
18173 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18174 PyObject *obj;
18175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18176 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18177 Py_INCREF(obj);
18178 return Py_BuildValue((char *)"");
18179 }
18180 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18181 PyObject *resultobj;
18182 wxListItem *result;
18183 char *kwnames[] = {
18184 NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18188 {
18189 PyThreadState* __tstate = wxPyBeginAllowThreads();
18190 result = (wxListItem *)new wxListItem();
18191
18192 wxPyEndAllowThreads(__tstate);
18193 if (PyErr_Occurred()) SWIG_fail;
18194 }
18195 {
18196 resultobj = wxPyMake_wxObject(result);
18197 }
18198 return resultobj;
18199 fail:
18200 return NULL;
18201 }
18202
18203
18204 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18205 PyObject *resultobj;
18206 wxListItem *arg1 = (wxListItem *) 0 ;
18207 PyObject * obj0 = 0 ;
18208 char *kwnames[] = {
18209 (char *) "self", NULL
18210 };
18211
18212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18215 {
18216 PyThreadState* __tstate = wxPyBeginAllowThreads();
18217 delete arg1;
18218
18219 wxPyEndAllowThreads(__tstate);
18220 if (PyErr_Occurred()) SWIG_fail;
18221 }
18222 Py_INCREF(Py_None); resultobj = Py_None;
18223 return resultobj;
18224 fail:
18225 return NULL;
18226 }
18227
18228
18229 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18230 PyObject *resultobj;
18231 wxListItem *arg1 = (wxListItem *) 0 ;
18232 PyObject * obj0 = 0 ;
18233 char *kwnames[] = {
18234 (char *) "self", NULL
18235 };
18236
18237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
18238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 (arg1)->Clear();
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
18247 Py_INCREF(Py_None); resultobj = Py_None;
18248 return resultobj;
18249 fail:
18250 return NULL;
18251 }
18252
18253
18254 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18255 PyObject *resultobj;
18256 wxListItem *arg1 = (wxListItem *) 0 ;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
18263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->ClearAttributes();
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxListItem *arg1 = (wxListItem *) 0 ;
18282 long arg2 ;
18283 PyObject * obj0 = 0 ;
18284 PyObject * obj1 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self",(char *) "mask", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
18290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18292 arg2 = (long) SWIG_AsLong(obj1);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->SetMask(arg2);
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_SetId(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 *) "id", NULL
18316 };
18317
18318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",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)->SetId(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_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18338 PyObject *resultobj;
18339 wxListItem *arg1 = (wxListItem *) 0 ;
18340 int arg2 ;
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj1 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "col", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",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 = (int) SWIG_AsInt(obj1);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 {
18353 PyThreadState* __tstate = wxPyBeginAllowThreads();
18354 (arg1)->SetColumn(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_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18367 PyObject *resultobj;
18368 wxListItem *arg1 = (wxListItem *) 0 ;
18369 long arg2 ;
18370 PyObject * obj0 = 0 ;
18371 PyObject * obj1 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self",(char *) "state", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",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 = (long) SWIG_AsLong(obj1);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 {
18382 PyThreadState* __tstate = wxPyBeginAllowThreads();
18383 (arg1)->SetState(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_SetStateMask(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 *) "stateMask", NULL
18403 };
18404
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",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)->SetStateMask(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_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxListItem *arg1 = (wxListItem *) 0 ;
18427 wxString *arg2 = 0 ;
18428 bool temp2 = False ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "text", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 {
18439 arg2 = wxString_in_helper(obj1);
18440 if (arg2 == NULL) SWIG_fail;
18441 temp2 = True;
18442 }
18443 {
18444 PyThreadState* __tstate = wxPyBeginAllowThreads();
18445 (arg1)->SetText((wxString const &)*arg2);
18446
18447 wxPyEndAllowThreads(__tstate);
18448 if (PyErr_Occurred()) SWIG_fail;
18449 }
18450 Py_INCREF(Py_None); resultobj = Py_None;
18451 {
18452 if (temp2)
18453 delete arg2;
18454 }
18455 return resultobj;
18456 fail:
18457 {
18458 if (temp2)
18459 delete arg2;
18460 }
18461 return NULL;
18462 }
18463
18464
18465 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18466 PyObject *resultobj;
18467 wxListItem *arg1 = (wxListItem *) 0 ;
18468 int arg2 ;
18469 PyObject * obj0 = 0 ;
18470 PyObject * obj1 = 0 ;
18471 char *kwnames[] = {
18472 (char *) "self",(char *) "image", NULL
18473 };
18474
18475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18478 arg2 = (int) SWIG_AsInt(obj1);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 {
18481 PyThreadState* __tstate = wxPyBeginAllowThreads();
18482 (arg1)->SetImage(arg2);
18483
18484 wxPyEndAllowThreads(__tstate);
18485 if (PyErr_Occurred()) SWIG_fail;
18486 }
18487 Py_INCREF(Py_None); resultobj = Py_None;
18488 return resultobj;
18489 fail:
18490 return NULL;
18491 }
18492
18493
18494 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxListItem *arg1 = (wxListItem *) 0 ;
18497 long arg2 ;
18498 PyObject * obj0 = 0 ;
18499 PyObject * obj1 = 0 ;
18500 char *kwnames[] = {
18501 (char *) "self",(char *) "data", NULL
18502 };
18503
18504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",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 = (long) SWIG_AsLong(obj1);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 {
18510 PyThreadState* __tstate = wxPyBeginAllowThreads();
18511 (arg1)->SetData(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_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18524 PyObject *resultobj;
18525 wxListItem *arg1 = (wxListItem *) 0 ;
18526 int arg2 ;
18527 PyObject * obj0 = 0 ;
18528 PyObject * obj1 = 0 ;
18529 char *kwnames[] = {
18530 (char *) "self",(char *) "width", NULL
18531 };
18532
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",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 = (int) SWIG_AsInt(obj1);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 {
18539 PyThreadState* __tstate = wxPyBeginAllowThreads();
18540 (arg1)->SetWidth(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_SetAlign(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 *) "align", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",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 = (wxListColumnFormat) SWIG_AsInt(obj1);
18566 if (PyErr_Occurred()) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->SetAlign((wxListColumnFormat )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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18582 PyObject *resultobj;
18583 wxListItem *arg1 = (wxListItem *) 0 ;
18584 wxColour *arg2 = 0 ;
18585 wxColour temp2 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "colText", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18595 {
18596 arg2 = &temp2;
18597 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18598 }
18599 {
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 (arg1)->SetTextColour((wxColour const &)*arg2);
18602
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 Py_INCREF(Py_None); resultobj = Py_None;
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxListItem *arg1 = (wxListItem *) 0 ;
18616 wxColour *arg2 = 0 ;
18617 wxColour temp2 ;
18618 PyObject * obj0 = 0 ;
18619 PyObject * obj1 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self",(char *) "colBack", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18627 {
18628 arg2 = &temp2;
18629 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18630 }
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 Py_INCREF(Py_None); resultobj = Py_None;
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxListItem *arg1 = (wxListItem *) 0 ;
18648 wxFont *arg2 = 0 ;
18649 PyObject * obj0 = 0 ;
18650 PyObject * obj1 = 0 ;
18651 char *kwnames[] = {
18652 (char *) "self",(char *) "font", NULL
18653 };
18654
18655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18658 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18659 SWIG_POINTER_EXCEPTION | 0)) == -1)
18660 SWIG_fail;
18661 if (arg2 == NULL) {
18662 PyErr_SetString(PyExc_TypeError,"null reference");
18663 SWIG_fail;
18664 }
18665 {
18666 PyThreadState* __tstate = wxPyBeginAllowThreads();
18667 (arg1)->SetFont((wxFont const &)*arg2);
18668
18669 wxPyEndAllowThreads(__tstate);
18670 if (PyErr_Occurred()) SWIG_fail;
18671 }
18672 Py_INCREF(Py_None); resultobj = Py_None;
18673 return resultobj;
18674 fail:
18675 return NULL;
18676 }
18677
18678
18679 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18680 PyObject *resultobj;
18681 wxListItem *arg1 = (wxListItem *) 0 ;
18682 long result;
18683 PyObject * obj0 = 0 ;
18684 char *kwnames[] = {
18685 (char *) "self", NULL
18686 };
18687
18688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 result = (long)(arg1)->GetMask();
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = SWIG_FromLong((long)result);
18699 return resultobj;
18700 fail:
18701 return NULL;
18702 }
18703
18704
18705 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18706 PyObject *resultobj;
18707 wxListItem *arg1 = (wxListItem *) 0 ;
18708 long result;
18709 PyObject * obj0 = 0 ;
18710 char *kwnames[] = {
18711 (char *) "self", NULL
18712 };
18713
18714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18717 {
18718 PyThreadState* __tstate = wxPyBeginAllowThreads();
18719 result = (long)(arg1)->GetId();
18720
18721 wxPyEndAllowThreads(__tstate);
18722 if (PyErr_Occurred()) SWIG_fail;
18723 }
18724 resultobj = SWIG_FromLong((long)result);
18725 return resultobj;
18726 fail:
18727 return NULL;
18728 }
18729
18730
18731 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18732 PyObject *resultobj;
18733 wxListItem *arg1 = (wxListItem *) 0 ;
18734 int result;
18735 PyObject * obj0 = 0 ;
18736 char *kwnames[] = {
18737 (char *) "self", NULL
18738 };
18739
18740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (int)(arg1)->GetColumn();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 resultobj = SWIG_FromInt((int)result);
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxListItem *arg1 = (wxListItem *) 0 ;
18760 long result;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (long)(arg1)->GetState();
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 resultobj = SWIG_FromLong((long)result);
18777 return resultobj;
18778 fail:
18779 return NULL;
18780 }
18781
18782
18783 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxListItem *arg1 = (wxListItem *) 0 ;
18786 wxString *result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 {
18798 wxString const &_result_ref = (arg1)->GetText();
18799 result = (wxString *) &_result_ref;
18800 }
18801
18802 wxPyEndAllowThreads(__tstate);
18803 if (PyErr_Occurred()) SWIG_fail;
18804 }
18805 {
18806 #if wxUSE_UNICODE
18807 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18808 #else
18809 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18810 #endif
18811 }
18812 return resultobj;
18813 fail:
18814 return NULL;
18815 }
18816
18817
18818 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxListItem *arg1 = (wxListItem *) 0 ;
18821 int result;
18822 PyObject * obj0 = 0 ;
18823 char *kwnames[] = {
18824 (char *) "self", NULL
18825 };
18826
18827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 result = (int)(arg1)->GetImage();
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 resultobj = SWIG_FromInt((int)result);
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxListItem *arg1 = (wxListItem *) 0 ;
18847 long result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "self", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18856 {
18857 PyThreadState* __tstate = wxPyBeginAllowThreads();
18858 result = (long)(arg1)->GetData();
18859
18860 wxPyEndAllowThreads(__tstate);
18861 if (PyErr_Occurred()) SWIG_fail;
18862 }
18863 resultobj = SWIG_FromLong((long)result);
18864 return resultobj;
18865 fail:
18866 return NULL;
18867 }
18868
18869
18870 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18871 PyObject *resultobj;
18872 wxListItem *arg1 = (wxListItem *) 0 ;
18873 int result;
18874 PyObject * obj0 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18882 {
18883 PyThreadState* __tstate = wxPyBeginAllowThreads();
18884 result = (int)(arg1)->GetWidth();
18885
18886 wxPyEndAllowThreads(__tstate);
18887 if (PyErr_Occurred()) SWIG_fail;
18888 }
18889 resultobj = SWIG_FromInt((int)result);
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxListItem *arg1 = (wxListItem *) 0 ;
18899 int result;
18900 PyObject * obj0 = 0 ;
18901 char *kwnames[] = {
18902 (char *) "self", NULL
18903 };
18904
18905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (int)(arg1)->GetAlign();
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 resultobj = SWIG_FromInt((int)result);
18916 return resultobj;
18917 fail:
18918 return NULL;
18919 }
18920
18921
18922 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18923 PyObject *resultobj;
18924 wxListItem *arg1 = (wxListItem *) 0 ;
18925 wxListItemAttr *result;
18926 PyObject * obj0 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (wxListItemAttr *)(arg1)->GetAttributes();
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
18942 return resultobj;
18943 fail:
18944 return NULL;
18945 }
18946
18947
18948 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxListItem *arg1 = (wxListItem *) 0 ;
18951 bool result;
18952 PyObject * obj0 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (bool)(arg1)->HasAttributes();
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 {
18968 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18969 }
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxListItem *arg1 = (wxListItem *) 0 ;
18979 wxColour result;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = ((wxListItem const *)arg1)->GetTextColour();
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 {
18996 wxColour * resultptr;
18997 resultptr = new wxColour((wxColour &) result);
18998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18999 }
19000 return resultobj;
19001 fail:
19002 return NULL;
19003 }
19004
19005
19006 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 wxListItem *arg1 = (wxListItem *) 0 ;
19009 wxColour result;
19010 PyObject * obj0 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19021
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 {
19026 wxColour * resultptr;
19027 resultptr = new wxColour((wxColour &) result);
19028 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19029 }
19030 return resultobj;
19031 fail:
19032 return NULL;
19033 }
19034
19035
19036 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19037 PyObject *resultobj;
19038 wxListItem *arg1 = (wxListItem *) 0 ;
19039 wxFont result;
19040 PyObject * obj0 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19048 {
19049 PyThreadState* __tstate = wxPyBeginAllowThreads();
19050 result = ((wxListItem const *)arg1)->GetFont();
19051
19052 wxPyEndAllowThreads(__tstate);
19053 if (PyErr_Occurred()) SWIG_fail;
19054 }
19055 {
19056 wxFont * resultptr;
19057 resultptr = new wxFont((wxFont &) result);
19058 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19059 }
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxListItem *arg1 = (wxListItem *) 0 ;
19069 long arg2 ;
19070 PyObject * obj0 = 0 ;
19071 PyObject * obj1 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "m_mask", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19079 arg2 = (long) SWIG_AsLong(obj1);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 if (arg1) (arg1)->m_mask = arg2;
19082
19083 Py_INCREF(Py_None); resultobj = Py_None;
19084 return resultobj;
19085 fail:
19086 return NULL;
19087 }
19088
19089
19090 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19091 PyObject *resultobj;
19092 wxListItem *arg1 = (wxListItem *) 0 ;
19093 long result;
19094 PyObject * obj0 = 0 ;
19095 char *kwnames[] = {
19096 (char *) "self", NULL
19097 };
19098
19099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19102 result = (long) ((arg1)->m_mask);
19103
19104 resultobj = SWIG_FromLong((long)result);
19105 return resultobj;
19106 fail:
19107 return NULL;
19108 }
19109
19110
19111 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19112 PyObject *resultobj;
19113 wxListItem *arg1 = (wxListItem *) 0 ;
19114 long arg2 ;
19115 PyObject * obj0 = 0 ;
19116 PyObject * obj1 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "m_itemId", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19124 arg2 = (long) SWIG_AsLong(obj1);
19125 if (PyErr_Occurred()) SWIG_fail;
19126 if (arg1) (arg1)->m_itemId = arg2;
19127
19128 Py_INCREF(Py_None); resultobj = Py_None;
19129 return resultobj;
19130 fail:
19131 return NULL;
19132 }
19133
19134
19135 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19136 PyObject *resultobj;
19137 wxListItem *arg1 = (wxListItem *) 0 ;
19138 long result;
19139 PyObject * obj0 = 0 ;
19140 char *kwnames[] = {
19141 (char *) "self", NULL
19142 };
19143
19144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19147 result = (long) ((arg1)->m_itemId);
19148
19149 resultobj = SWIG_FromLong((long)result);
19150 return resultobj;
19151 fail:
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxListItem *arg1 = (wxListItem *) 0 ;
19159 int arg2 ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj1 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "m_col", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19169 arg2 = (int) SWIG_AsInt(obj1);
19170 if (PyErr_Occurred()) SWIG_fail;
19171 if (arg1) (arg1)->m_col = arg2;
19172
19173 Py_INCREF(Py_None); resultobj = Py_None;
19174 return resultobj;
19175 fail:
19176 return NULL;
19177 }
19178
19179
19180 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxListItem *arg1 = (wxListItem *) 0 ;
19183 int result;
19184 PyObject * obj0 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19192 result = (int) ((arg1)->m_col);
19193
19194 resultobj = SWIG_FromInt((int)result);
19195 return resultobj;
19196 fail:
19197 return NULL;
19198 }
19199
19200
19201 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxListItem *arg1 = (wxListItem *) 0 ;
19204 long arg2 ;
19205 PyObject * obj0 = 0 ;
19206 PyObject * obj1 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self",(char *) "m_state", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19214 arg2 = (long) SWIG_AsLong(obj1);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 if (arg1) (arg1)->m_state = arg2;
19217
19218 Py_INCREF(Py_None); resultobj = Py_None;
19219 return resultobj;
19220 fail:
19221 return NULL;
19222 }
19223
19224
19225 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxListItem *arg1 = (wxListItem *) 0 ;
19228 long result;
19229 PyObject * obj0 = 0 ;
19230 char *kwnames[] = {
19231 (char *) "self", NULL
19232 };
19233
19234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
19235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19237 result = (long) ((arg1)->m_state);
19238
19239 resultobj = SWIG_FromLong((long)result);
19240 return resultobj;
19241 fail:
19242 return NULL;
19243 }
19244
19245
19246 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19247 PyObject *resultobj;
19248 wxListItem *arg1 = (wxListItem *) 0 ;
19249 long arg2 ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj1 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "m_stateMask", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19259 arg2 = (long) SWIG_AsLong(obj1);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 if (arg1) (arg1)->m_stateMask = arg2;
19262
19263 Py_INCREF(Py_None); resultobj = Py_None;
19264 return resultobj;
19265 fail:
19266 return NULL;
19267 }
19268
19269
19270 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxListItem *arg1 = (wxListItem *) 0 ;
19273 long result;
19274 PyObject * obj0 = 0 ;
19275 char *kwnames[] = {
19276 (char *) "self", NULL
19277 };
19278
19279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
19280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19282 result = (long) ((arg1)->m_stateMask);
19283
19284 resultobj = SWIG_FromLong((long)result);
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxListItem *arg1 = (wxListItem *) 0 ;
19294 wxString *arg2 = (wxString *) 0 ;
19295 bool temp2 = False ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 char *kwnames[] = {
19299 (char *) "self",(char *) "m_text", NULL
19300 };
19301
19302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
19303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19305 {
19306 arg2 = wxString_in_helper(obj1);
19307 if (arg2 == NULL) SWIG_fail;
19308 temp2 = True;
19309 }
19310 if (arg1) (arg1)->m_text = *arg2;
19311
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 {
19314 if (temp2)
19315 delete arg2;
19316 }
19317 return resultobj;
19318 fail:
19319 {
19320 if (temp2)
19321 delete arg2;
19322 }
19323 return NULL;
19324 }
19325
19326
19327 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19328 PyObject *resultobj;
19329 wxListItem *arg1 = (wxListItem *) 0 ;
19330 wxString *result;
19331 PyObject * obj0 = 0 ;
19332 char *kwnames[] = {
19333 (char *) "self", NULL
19334 };
19335
19336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
19337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19339 result = (wxString *)& ((arg1)->m_text);
19340
19341 {
19342 #if wxUSE_UNICODE
19343 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19344 #else
19345 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19346 #endif
19347 }
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxListItem *arg1 = (wxListItem *) 0 ;
19357 int arg2 ;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "m_image", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19367 arg2 = (int) SWIG_AsInt(obj1);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 if (arg1) (arg1)->m_image = arg2;
19370
19371 Py_INCREF(Py_None); resultobj = Py_None;
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxListItem *arg1 = (wxListItem *) 0 ;
19381 int result;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19390 result = (int) ((arg1)->m_image);
19391
19392 resultobj = SWIG_FromInt((int)result);
19393 return resultobj;
19394 fail:
19395 return NULL;
19396 }
19397
19398
19399 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj;
19401 wxListItem *arg1 = (wxListItem *) 0 ;
19402 long arg2 ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self",(char *) "m_data", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19412 arg2 = (long) SWIG_AsLong(obj1);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 if (arg1) (arg1)->m_data = arg2;
19415
19416 Py_INCREF(Py_None); resultobj = Py_None;
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxListItem *arg1 = (wxListItem *) 0 ;
19426 long result;
19427 PyObject * obj0 = 0 ;
19428 char *kwnames[] = {
19429 (char *) "self", NULL
19430 };
19431
19432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19435 result = (long) ((arg1)->m_data);
19436
19437 resultobj = SWIG_FromLong((long)result);
19438 return resultobj;
19439 fail:
19440 return NULL;
19441 }
19442
19443
19444 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19445 PyObject *resultobj;
19446 wxListItem *arg1 = (wxListItem *) 0 ;
19447 int arg2 ;
19448 PyObject * obj0 = 0 ;
19449 PyObject * obj1 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self",(char *) "m_format", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19457 arg2 = (int) SWIG_AsInt(obj1);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 if (arg1) (arg1)->m_format = arg2;
19460
19461 Py_INCREF(Py_None); resultobj = Py_None;
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxListItem *arg1 = (wxListItem *) 0 ;
19471 int result;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19480 result = (int) ((arg1)->m_format);
19481
19482 resultobj = SWIG_FromInt((int)result);
19483 return resultobj;
19484 fail:
19485 return NULL;
19486 }
19487
19488
19489 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19490 PyObject *resultobj;
19491 wxListItem *arg1 = (wxListItem *) 0 ;
19492 int arg2 ;
19493 PyObject * obj0 = 0 ;
19494 PyObject * obj1 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self",(char *) "m_width", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19502 arg2 = (int) SWIG_AsInt(obj1);
19503 if (PyErr_Occurred()) SWIG_fail;
19504 if (arg1) (arg1)->m_width = arg2;
19505
19506 Py_INCREF(Py_None); resultobj = Py_None;
19507 return resultobj;
19508 fail:
19509 return NULL;
19510 }
19511
19512
19513 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19514 PyObject *resultobj;
19515 wxListItem *arg1 = (wxListItem *) 0 ;
19516 int result;
19517 PyObject * obj0 = 0 ;
19518 char *kwnames[] = {
19519 (char *) "self", NULL
19520 };
19521
19522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19525 result = (int) ((arg1)->m_width);
19526
19527 resultobj = SWIG_FromInt((int)result);
19528 return resultobj;
19529 fail:
19530 return NULL;
19531 }
19532
19533
19534 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19535 PyObject *obj;
19536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19537 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19538 Py_INCREF(obj);
19539 return Py_BuildValue((char *)"");
19540 }
19541 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19542 PyObject *resultobj;
19543 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19544 int arg2 = (int) 0 ;
19545 wxListEvent *result;
19546 PyObject * obj0 = 0 ;
19547 PyObject * obj1 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "commandType",(char *) "id", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19553 if (obj0) {
19554 arg1 = (wxEventType) SWIG_AsInt(obj0);
19555 if (PyErr_Occurred()) SWIG_fail;
19556 }
19557 if (obj1) {
19558 arg2 = (int) SWIG_AsInt(obj1);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
19568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxListEvent *arg1 = (wxListEvent *) 0 ;
19578 int arg2 ;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self",(char *) "m_code", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19588 arg2 = (int) SWIG_AsInt(obj1);
19589 if (PyErr_Occurred()) SWIG_fail;
19590 if (arg1) (arg1)->m_code = arg2;
19591
19592 Py_INCREF(Py_None); resultobj = Py_None;
19593 return resultobj;
19594 fail:
19595 return NULL;
19596 }
19597
19598
19599 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxListEvent *arg1 = (wxListEvent *) 0 ;
19602 int result;
19603 PyObject * obj0 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19611 result = (int) ((arg1)->m_code);
19612
19613 resultobj = SWIG_FromInt((int)result);
19614 return resultobj;
19615 fail:
19616 return NULL;
19617 }
19618
19619
19620 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19621 PyObject *resultobj;
19622 wxListEvent *arg1 = (wxListEvent *) 0 ;
19623 long arg2 ;
19624 PyObject * obj0 = 0 ;
19625 PyObject * obj1 = 0 ;
19626 char *kwnames[] = {
19627 (char *) "self",(char *) "m_oldItemIndex", NULL
19628 };
19629
19630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19633 arg2 = (long) SWIG_AsLong(obj1);
19634 if (PyErr_Occurred()) SWIG_fail;
19635 if (arg1) (arg1)->m_oldItemIndex = arg2;
19636
19637 Py_INCREF(Py_None); resultobj = Py_None;
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj;
19646 wxListEvent *arg1 = (wxListEvent *) 0 ;
19647 long result;
19648 PyObject * obj0 = 0 ;
19649 char *kwnames[] = {
19650 (char *) "self", NULL
19651 };
19652
19653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19656 result = (long) ((arg1)->m_oldItemIndex);
19657
19658 resultobj = SWIG_FromLong((long)result);
19659 return resultobj;
19660 fail:
19661 return NULL;
19662 }
19663
19664
19665 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19666 PyObject *resultobj;
19667 wxListEvent *arg1 = (wxListEvent *) 0 ;
19668 long arg2 ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj1 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "m_itemIndex", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19678 arg2 = (long) SWIG_AsLong(obj1);
19679 if (PyErr_Occurred()) SWIG_fail;
19680 if (arg1) (arg1)->m_itemIndex = arg2;
19681
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxListEvent *arg1 = (wxListEvent *) 0 ;
19692 long result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 result = (long) ((arg1)->m_itemIndex);
19702
19703 resultobj = SWIG_FromLong((long)result);
19704 return resultobj;
19705 fail:
19706 return NULL;
19707 }
19708
19709
19710 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19711 PyObject *resultobj;
19712 wxListEvent *arg1 = (wxListEvent *) 0 ;
19713 int arg2 ;
19714 PyObject * obj0 = 0 ;
19715 PyObject * obj1 = 0 ;
19716 char *kwnames[] = {
19717 (char *) "self",(char *) "m_col", NULL
19718 };
19719
19720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19723 arg2 = (int) SWIG_AsInt(obj1);
19724 if (PyErr_Occurred()) SWIG_fail;
19725 if (arg1) (arg1)->m_col = arg2;
19726
19727 Py_INCREF(Py_None); resultobj = Py_None;
19728 return resultobj;
19729 fail:
19730 return NULL;
19731 }
19732
19733
19734 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxListEvent *arg1 = (wxListEvent *) 0 ;
19737 int result;
19738 PyObject * obj0 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19746 result = (int) ((arg1)->m_col);
19747
19748 resultobj = SWIG_FromInt((int)result);
19749 return resultobj;
19750 fail:
19751 return NULL;
19752 }
19753
19754
19755 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19756 PyObject *resultobj;
19757 wxListEvent *arg1 = (wxListEvent *) 0 ;
19758 wxPoint *arg2 = (wxPoint *) 0 ;
19759 PyObject * obj0 = 0 ;
19760 PyObject * obj1 = 0 ;
19761 char *kwnames[] = {
19762 (char *) "self",(char *) "m_pointDrag", NULL
19763 };
19764
19765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19770 if (arg1) (arg1)->m_pointDrag = *arg2;
19771
19772 Py_INCREF(Py_None); resultobj = Py_None;
19773 return resultobj;
19774 fail:
19775 return NULL;
19776 }
19777
19778
19779 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxListEvent *arg1 = (wxListEvent *) 0 ;
19782 wxPoint *result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19791 result = (wxPoint *)& ((arg1)->m_pointDrag);
19792
19793 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
19794 return resultobj;
19795 fail:
19796 return NULL;
19797 }
19798
19799
19800 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19801 PyObject *resultobj;
19802 wxListEvent *arg1 = (wxListEvent *) 0 ;
19803 wxListItem *result;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19812 result = (wxListItem *)& ((arg1)->m_item);
19813
19814 {
19815 resultobj = wxPyMake_wxObject(result);
19816 }
19817 return resultobj;
19818 fail:
19819 return NULL;
19820 }
19821
19822
19823 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19824 PyObject *resultobj;
19825 wxListEvent *arg1 = (wxListEvent *) 0 ;
19826 int result;
19827 PyObject * obj0 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (int)(arg1)->GetKeyCode();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = SWIG_FromInt((int)result);
19843 return resultobj;
19844 fail:
19845 return NULL;
19846 }
19847
19848
19849 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxListEvent *arg1 = (wxListEvent *) 0 ;
19852 long result;
19853 PyObject * obj0 = 0 ;
19854 char *kwnames[] = {
19855 (char *) "self", NULL
19856 };
19857
19858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19861 {
19862 PyThreadState* __tstate = wxPyBeginAllowThreads();
19863 result = (long)(arg1)->GetIndex();
19864
19865 wxPyEndAllowThreads(__tstate);
19866 if (PyErr_Occurred()) SWIG_fail;
19867 }
19868 resultobj = SWIG_FromLong((long)result);
19869 return resultobj;
19870 fail:
19871 return NULL;
19872 }
19873
19874
19875 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19876 PyObject *resultobj;
19877 wxListEvent *arg1 = (wxListEvent *) 0 ;
19878 int result;
19879 PyObject * obj0 = 0 ;
19880 char *kwnames[] = {
19881 (char *) "self", NULL
19882 };
19883
19884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19887 {
19888 PyThreadState* __tstate = wxPyBeginAllowThreads();
19889 result = (int)(arg1)->GetColumn();
19890
19891 wxPyEndAllowThreads(__tstate);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 }
19894 resultobj = SWIG_FromInt((int)result);
19895 return resultobj;
19896 fail:
19897 return NULL;
19898 }
19899
19900
19901 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19902 PyObject *resultobj;
19903 wxListEvent *arg1 = (wxListEvent *) 0 ;
19904 wxPoint result;
19905 PyObject * obj0 = 0 ;
19906 char *kwnames[] = {
19907 (char *) "self", NULL
19908 };
19909
19910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = (arg1)->GetPoint();
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 {
19921 wxPoint * resultptr;
19922 resultptr = new wxPoint((wxPoint &) result);
19923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
19924 }
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxListEvent *arg1 = (wxListEvent *) 0 ;
19934 wxString *result;
19935 PyObject * obj0 = 0 ;
19936 char *kwnames[] = {
19937 (char *) "self", NULL
19938 };
19939
19940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 {
19946 wxString const &_result_ref = (arg1)->GetLabel();
19947 result = (wxString *) &_result_ref;
19948 }
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 {
19954 #if wxUSE_UNICODE
19955 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19956 #else
19957 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19958 #endif
19959 }
19960 return resultobj;
19961 fail:
19962 return NULL;
19963 }
19964
19965
19966 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19967 PyObject *resultobj;
19968 wxListEvent *arg1 = (wxListEvent *) 0 ;
19969 wxString *result;
19970 PyObject * obj0 = 0 ;
19971 char *kwnames[] = {
19972 (char *) "self", NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 {
19981 wxString const &_result_ref = (arg1)->GetText();
19982 result = (wxString *) &_result_ref;
19983 }
19984
19985 wxPyEndAllowThreads(__tstate);
19986 if (PyErr_Occurred()) SWIG_fail;
19987 }
19988 {
19989 #if wxUSE_UNICODE
19990 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19991 #else
19992 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19993 #endif
19994 }
19995 return resultobj;
19996 fail:
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxListEvent *arg1 = (wxListEvent *) 0 ;
20004 int result;
20005 PyObject * obj0 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = (int)(arg1)->GetImage();
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 resultobj = SWIG_FromInt((int)result);
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj;
20029 wxListEvent *arg1 = (wxListEvent *) 0 ;
20030 long result;
20031 PyObject * obj0 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 result = (long)(arg1)->GetData();
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
20046 resultobj = SWIG_FromLong((long)result);
20047 return resultobj;
20048 fail:
20049 return NULL;
20050 }
20051
20052
20053 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20054 PyObject *resultobj;
20055 wxListEvent *arg1 = (wxListEvent *) 0 ;
20056 long result;
20057 PyObject * obj0 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 result = (long)(arg1)->GetMask();
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 resultobj = SWIG_FromLong((long)result);
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxListEvent *arg1 = (wxListEvent *) 0 ;
20082 wxListItem *result;
20083 PyObject * obj0 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 {
20094 wxListItem const &_result_ref = (arg1)->GetItem();
20095 result = (wxListItem *) &_result_ref;
20096 }
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxListEvent *arg1 = (wxListEvent *) 0 ;
20111 long result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",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 result = (long)(arg1)->GetCacheFrom();
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = SWIG_FromLong((long)result);
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxListEvent *arg1 = (wxListEvent *) 0 ;
20137 long result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 result = (long)(arg1)->GetCacheTo();
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 resultobj = SWIG_FromLong((long)result);
20154 return resultobj;
20155 fail:
20156 return NULL;
20157 }
20158
20159
20160 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxListEvent *arg1 = (wxListEvent *) 0 ;
20163 bool result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 {
20180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20181 }
20182 return resultobj;
20183 fail:
20184 return NULL;
20185 }
20186
20187
20188 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20189 PyObject *resultobj;
20190 wxListEvent *arg1 = (wxListEvent *) 0 ;
20191 bool arg2 ;
20192 PyObject * obj0 = 0 ;
20193 PyObject * obj1 = 0 ;
20194 char *kwnames[] = {
20195 (char *) "self",(char *) "editCancelled", NULL
20196 };
20197
20198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20201 arg2 = (bool) SWIG_AsBool(obj1);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 (arg1)->SetEditCanceled(arg2);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 Py_INCREF(Py_None); resultobj = Py_None;
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20218 PyObject *obj;
20219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20220 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20221 Py_INCREF(obj);
20222 return Py_BuildValue((char *)"");
20223 }
20224 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxWindow *arg1 = (wxWindow *) 0 ;
20227 int arg2 = (int) -1 ;
20228 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20229 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20230 wxSize const &arg4_defvalue = wxDefaultSize ;
20231 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20232 long arg5 = (long) wxLC_ICON ;
20233 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20234 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20235 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20236 wxString *arg7 = (wxString *) &arg7_defvalue ;
20237 wxPyListCtrl *result;
20238 wxPoint temp3 ;
20239 wxSize temp4 ;
20240 bool temp7 = False ;
20241 PyObject * obj0 = 0 ;
20242 PyObject * obj1 = 0 ;
20243 PyObject * obj2 = 0 ;
20244 PyObject * obj3 = 0 ;
20245 PyObject * obj4 = 0 ;
20246 PyObject * obj5 = 0 ;
20247 PyObject * obj6 = 0 ;
20248 char *kwnames[] = {
20249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20255 if (obj1) {
20256 arg2 = (int) SWIG_AsInt(obj1);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 if (obj2) {
20260 {
20261 arg3 = &temp3;
20262 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20263 }
20264 }
20265 if (obj3) {
20266 {
20267 arg4 = &temp4;
20268 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20269 }
20270 }
20271 if (obj4) {
20272 arg5 = (long) SWIG_AsLong(obj4);
20273 if (PyErr_Occurred()) SWIG_fail;
20274 }
20275 if (obj5) {
20276 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20277 SWIG_POINTER_EXCEPTION | 0)) == -1)
20278 SWIG_fail;
20279 if (arg6 == NULL) {
20280 PyErr_SetString(PyExc_TypeError,"null reference");
20281 SWIG_fail;
20282 }
20283 }
20284 if (obj6) {
20285 {
20286 arg7 = wxString_in_helper(obj6);
20287 if (arg7 == NULL) SWIG_fail;
20288 temp7 = True;
20289 }
20290 }
20291 {
20292 PyThreadState* __tstate = wxPyBeginAllowThreads();
20293 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20294
20295 wxPyEndAllowThreads(__tstate);
20296 if (PyErr_Occurred()) SWIG_fail;
20297 }
20298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20299 {
20300 if (temp7)
20301 delete arg7;
20302 }
20303 return resultobj;
20304 fail:
20305 {
20306 if (temp7)
20307 delete arg7;
20308 }
20309 return NULL;
20310 }
20311
20312
20313 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20314 PyObject *resultobj;
20315 wxPyListCtrl *result;
20316 char *kwnames[] = {
20317 NULL
20318 };
20319
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = (wxPyListCtrl *)new wxPyListCtrl();
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20338 wxWindow *arg2 = (wxWindow *) 0 ;
20339 int arg3 = (int) -1 ;
20340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20342 wxSize const &arg5_defvalue = wxDefaultSize ;
20343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20344 long arg6 = (long) wxLC_ICON ;
20345 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20346 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20347 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20348 wxString *arg8 = (wxString *) &arg8_defvalue ;
20349 bool result;
20350 wxPoint temp4 ;
20351 wxSize temp5 ;
20352 bool temp8 = False ;
20353 PyObject * obj0 = 0 ;
20354 PyObject * obj1 = 0 ;
20355 PyObject * obj2 = 0 ;
20356 PyObject * obj3 = 0 ;
20357 PyObject * obj4 = 0 ;
20358 PyObject * obj5 = 0 ;
20359 PyObject * obj6 = 0 ;
20360 PyObject * obj7 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20370 if (obj2) {
20371 arg3 = (int) SWIG_AsInt(obj2);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 if (obj3) {
20375 {
20376 arg4 = &temp4;
20377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20378 }
20379 }
20380 if (obj4) {
20381 {
20382 arg5 = &temp5;
20383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20384 }
20385 }
20386 if (obj5) {
20387 arg6 = (long) SWIG_AsLong(obj5);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 if (obj6) {
20391 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20392 SWIG_POINTER_EXCEPTION | 0)) == -1)
20393 SWIG_fail;
20394 if (arg7 == NULL) {
20395 PyErr_SetString(PyExc_TypeError,"null reference");
20396 SWIG_fail;
20397 }
20398 }
20399 if (obj7) {
20400 {
20401 arg8 = wxString_in_helper(obj7);
20402 if (arg8 == NULL) SWIG_fail;
20403 temp8 = True;
20404 }
20405 }
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
20413 {
20414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20415 }
20416 {
20417 if (temp8)
20418 delete arg8;
20419 }
20420 return resultobj;
20421 fail:
20422 {
20423 if (temp8)
20424 delete arg8;
20425 }
20426 return NULL;
20427 }
20428
20429
20430 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20431 PyObject *resultobj;
20432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20433 PyObject *arg2 = (PyObject *) 0 ;
20434 PyObject *arg3 = (PyObject *) 0 ;
20435 PyObject * obj0 = 0 ;
20436 PyObject * obj1 = 0 ;
20437 PyObject * obj2 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self",(char *) "self",(char *) "_class", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20445 arg2 = obj1;
20446 arg3 = obj2;
20447 {
20448 PyThreadState* __tstate = wxPyBeginAllowThreads();
20449 (arg1)->_setCallbackInfo(arg2,arg3);
20450
20451 wxPyEndAllowThreads(__tstate);
20452 if (PyErr_Occurred()) SWIG_fail;
20453 }
20454 Py_INCREF(Py_None); resultobj = Py_None;
20455 return resultobj;
20456 fail:
20457 return NULL;
20458 }
20459
20460
20461 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20462 PyObject *resultobj;
20463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20464 wxColour *arg2 = 0 ;
20465 bool result;
20466 wxColour temp2 ;
20467 PyObject * obj0 = 0 ;
20468 PyObject * obj1 = 0 ;
20469 char *kwnames[] = {
20470 (char *) "self",(char *) "col", NULL
20471 };
20472
20473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20476 {
20477 arg2 = &temp2;
20478 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20479 }
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 {
20488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20489 }
20490 return resultobj;
20491 fail:
20492 return NULL;
20493 }
20494
20495
20496 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20497 PyObject *resultobj;
20498 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20499 wxColour *arg2 = 0 ;
20500 bool result;
20501 wxColour temp2 ;
20502 PyObject * obj0 = 0 ;
20503 PyObject * obj1 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "col", NULL
20506 };
20507
20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20511 {
20512 arg2 = &temp2;
20513 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20514 }
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 {
20523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20524 }
20525 return resultobj;
20526 fail:
20527 return NULL;
20528 }
20529
20530
20531 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20532 PyObject *resultobj;
20533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20534 int arg2 ;
20535 wxListItem *result;
20536 PyObject * obj0 = 0 ;
20537 PyObject * obj1 = 0 ;
20538 char *kwnames[] = {
20539 (char *) "self",(char *) "col", NULL
20540 };
20541
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20545 arg2 = (int) SWIG_AsInt(obj1);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 {
20555 resultobj = wxPyMake_wxObject(result);
20556 }
20557 return resultobj;
20558 fail:
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20566 int arg2 ;
20567 wxListItem *arg3 = 0 ;
20568 bool result;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571 PyObject * obj2 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self",(char *) "col",(char *) "item", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 arg2 = (int) SWIG_AsInt(obj1);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20582 SWIG_POINTER_EXCEPTION | 0)) == -1)
20583 SWIG_fail;
20584 if (arg3 == NULL) {
20585 PyErr_SetString(PyExc_TypeError,"null reference");
20586 SWIG_fail;
20587 }
20588 {
20589 PyThreadState* __tstate = wxPyBeginAllowThreads();
20590 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20591
20592 wxPyEndAllowThreads(__tstate);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 }
20595 {
20596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20597 }
20598 return resultobj;
20599 fail:
20600 return NULL;
20601 }
20602
20603
20604 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20605 PyObject *resultobj;
20606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20607 int arg2 ;
20608 int result;
20609 PyObject * obj0 = 0 ;
20610 PyObject * obj1 = 0 ;
20611 char *kwnames[] = {
20612 (char *) "self",(char *) "col", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20618 arg2 = (int) SWIG_AsInt(obj1);
20619 if (PyErr_Occurred()) SWIG_fail;
20620 {
20621 PyThreadState* __tstate = wxPyBeginAllowThreads();
20622 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20623
20624 wxPyEndAllowThreads(__tstate);
20625 if (PyErr_Occurred()) SWIG_fail;
20626 }
20627 resultobj = SWIG_FromInt((int)result);
20628 return resultobj;
20629 fail:
20630 return NULL;
20631 }
20632
20633
20634 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20635 PyObject *resultobj;
20636 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20637 int arg2 ;
20638 int arg3 ;
20639 bool result;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj1 = 0 ;
20642 PyObject * obj2 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self",(char *) "col",(char *) "width", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20650 arg2 = (int) SWIG_AsInt(obj1);
20651 if (PyErr_Occurred()) SWIG_fail;
20652 arg3 = (int) SWIG_AsInt(obj2);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 {
20662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20663 }
20664 return resultobj;
20665 fail:
20666 return NULL;
20667 }
20668
20669
20670 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20673 int result;
20674 PyObject * obj0 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 resultobj = SWIG_FromInt((int)result);
20690 return resultobj;
20691 fail:
20692 return NULL;
20693 }
20694
20695
20696 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20697 PyObject *resultobj;
20698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20699 wxRect result;
20700 PyObject * obj0 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 {
20716 wxRect * resultptr;
20717 resultptr = new wxRect((wxRect &) result);
20718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
20719 }
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20729 long arg2 ;
20730 int arg3 = (int) 0 ;
20731 wxListItem *result;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734 PyObject * obj2 = 0 ;
20735 char *kwnames[] = {
20736 (char *) "self",(char *) "itemId",(char *) "col", NULL
20737 };
20738
20739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20742 arg2 = (long) SWIG_AsLong(obj1);
20743 if (PyErr_Occurred()) SWIG_fail;
20744 if (obj2) {
20745 arg3 = (int) SWIG_AsInt(obj2);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 {
20756 resultobj = wxPyMake_wxObject(result);
20757 }
20758 return resultobj;
20759 fail:
20760 return NULL;
20761 }
20762
20763
20764 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20765 PyObject *resultobj;
20766 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20767 wxListItem *arg2 = 0 ;
20768 bool result;
20769 PyObject * obj0 = 0 ;
20770 PyObject * obj1 = 0 ;
20771 char *kwnames[] = {
20772 (char *) "self",(char *) "info", NULL
20773 };
20774
20775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20779 SWIG_POINTER_EXCEPTION | 0)) == -1)
20780 SWIG_fail;
20781 if (arg2 == NULL) {
20782 PyErr_SetString(PyExc_TypeError,"null reference");
20783 SWIG_fail;
20784 }
20785 {
20786 PyThreadState* __tstate = wxPyBeginAllowThreads();
20787 result = (bool)(arg1)->SetItem(*arg2);
20788
20789 wxPyEndAllowThreads(__tstate);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 {
20793 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20794 }
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20804 long arg2 ;
20805 int arg3 ;
20806 wxString *arg4 = 0 ;
20807 int arg5 = (int) -1 ;
20808 long result;
20809 bool temp4 = False ;
20810 PyObject * obj0 = 0 ;
20811 PyObject * obj1 = 0 ;
20812 PyObject * obj2 = 0 ;
20813 PyObject * obj3 = 0 ;
20814 PyObject * obj4 = 0 ;
20815 char *kwnames[] = {
20816 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20822 arg2 = (long) SWIG_AsLong(obj1);
20823 if (PyErr_Occurred()) SWIG_fail;
20824 arg3 = (int) SWIG_AsInt(obj2);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 {
20827 arg4 = wxString_in_helper(obj3);
20828 if (arg4 == NULL) SWIG_fail;
20829 temp4 = True;
20830 }
20831 if (obj4) {
20832 arg5 = (int) SWIG_AsInt(obj4);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836 PyThreadState* __tstate = wxPyBeginAllowThreads();
20837 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20838
20839 wxPyEndAllowThreads(__tstate);
20840 if (PyErr_Occurred()) SWIG_fail;
20841 }
20842 resultobj = SWIG_FromLong((long)result);
20843 {
20844 if (temp4)
20845 delete arg4;
20846 }
20847 return resultobj;
20848 fail:
20849 {
20850 if (temp4)
20851 delete arg4;
20852 }
20853 return NULL;
20854 }
20855
20856
20857 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20858 PyObject *resultobj;
20859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20860 long arg2 ;
20861 long arg3 ;
20862 int result;
20863 PyObject * obj0 = 0 ;
20864 PyObject * obj1 = 0 ;
20865 PyObject * obj2 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 arg2 = (long) SWIG_AsLong(obj1);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 arg3 = (long) SWIG_AsLong(obj2);
20876 if (PyErr_Occurred()) SWIG_fail;
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 resultobj = SWIG_FromInt((int)result);
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20894 long arg2 ;
20895 long arg3 ;
20896 long arg4 ;
20897 bool result;
20898 PyObject * obj0 = 0 ;
20899 PyObject * obj1 = 0 ;
20900 PyObject * obj2 = 0 ;
20901 PyObject * obj3 = 0 ;
20902 char *kwnames[] = {
20903 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20904 };
20905
20906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20909 arg2 = (long) SWIG_AsLong(obj1);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 arg3 = (long) SWIG_AsLong(obj2);
20912 if (PyErr_Occurred()) SWIG_fail;
20913 arg4 = (long) SWIG_AsLong(obj3);
20914 if (PyErr_Occurred()) SWIG_fail;
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 {
20923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20924 }
20925 return resultobj;
20926 fail:
20927 return NULL;
20928 }
20929
20930
20931 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20932 PyObject *resultobj;
20933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20934 long arg2 ;
20935 int arg3 ;
20936 int arg4 ;
20937 bool result;
20938 PyObject * obj0 = 0 ;
20939 PyObject * obj1 = 0 ;
20940 PyObject * obj2 = 0 ;
20941 PyObject * obj3 = 0 ;
20942 char *kwnames[] = {
20943 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20944 };
20945
20946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20949 arg2 = (long) SWIG_AsLong(obj1);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 arg3 = (int) SWIG_AsInt(obj2);
20952 if (PyErr_Occurred()) SWIG_fail;
20953 arg4 = (int) SWIG_AsInt(obj3);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 {
20956 PyThreadState* __tstate = wxPyBeginAllowThreads();
20957 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20958
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 {
20963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20964 }
20965 return resultobj;
20966 fail:
20967 return NULL;
20968 }
20969
20970
20971 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20974 long arg2 ;
20975 wxString result;
20976 PyObject * obj0 = 0 ;
20977 PyObject * obj1 = 0 ;
20978 char *kwnames[] = {
20979 (char *) "self",(char *) "item", NULL
20980 };
20981
20982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20985 arg2 = (long) SWIG_AsLong(obj1);
20986 if (PyErr_Occurred()) SWIG_fail;
20987 {
20988 PyThreadState* __tstate = wxPyBeginAllowThreads();
20989 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20990
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 {
20995 #if wxUSE_UNICODE
20996 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20997 #else
20998 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20999 #endif
21000 }
21001 return resultobj;
21002 fail:
21003 return NULL;
21004 }
21005
21006
21007 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21008 PyObject *resultobj;
21009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21010 long arg2 ;
21011 wxString *arg3 = 0 ;
21012 bool temp3 = False ;
21013 PyObject * obj0 = 0 ;
21014 PyObject * obj1 = 0 ;
21015 PyObject * obj2 = 0 ;
21016 char *kwnames[] = {
21017 (char *) "self",(char *) "item",(char *) "str", NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21023 arg2 = (long) SWIG_AsLong(obj1);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 {
21026 arg3 = wxString_in_helper(obj2);
21027 if (arg3 == NULL) SWIG_fail;
21028 temp3 = True;
21029 }
21030 {
21031 PyThreadState* __tstate = wxPyBeginAllowThreads();
21032 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21033
21034 wxPyEndAllowThreads(__tstate);
21035 if (PyErr_Occurred()) SWIG_fail;
21036 }
21037 Py_INCREF(Py_None); resultobj = Py_None;
21038 {
21039 if (temp3)
21040 delete arg3;
21041 }
21042 return resultobj;
21043 fail:
21044 {
21045 if (temp3)
21046 delete arg3;
21047 }
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21055 long arg2 ;
21056 long result;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "item", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21066 arg2 = (long) SWIG_AsLong(obj1);
21067 if (PyErr_Occurred()) SWIG_fail;
21068 {
21069 PyThreadState* __tstate = wxPyBeginAllowThreads();
21070 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21071
21072 wxPyEndAllowThreads(__tstate);
21073 if (PyErr_Occurred()) SWIG_fail;
21074 }
21075 resultobj = SWIG_FromLong((long)result);
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21085 long arg2 ;
21086 long arg3 ;
21087 bool result;
21088 PyObject * obj0 = 0 ;
21089 PyObject * obj1 = 0 ;
21090 PyObject * obj2 = 0 ;
21091 char *kwnames[] = {
21092 (char *) "self",(char *) "item",(char *) "data", NULL
21093 };
21094
21095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21098 arg2 = (long) SWIG_AsLong(obj1);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 arg3 = (long) SWIG_AsLong(obj2);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 {
21103 PyThreadState* __tstate = wxPyBeginAllowThreads();
21104 result = (bool)(arg1)->SetItemData(arg2,arg3);
21105
21106 wxPyEndAllowThreads(__tstate);
21107 if (PyErr_Occurred()) SWIG_fail;
21108 }
21109 {
21110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21111 }
21112 return resultobj;
21113 fail:
21114 return NULL;
21115 }
21116
21117
21118 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21121 long arg2 ;
21122 wxPoint result;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "item", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21132 arg2 = (long) SWIG_AsLong(obj1);
21133 if (PyErr_Occurred()) SWIG_fail;
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 {
21142 wxPoint * resultptr;
21143 resultptr = new wxPoint((wxPoint &) result);
21144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21145 }
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21155 long arg2 ;
21156 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21157 wxRect result;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 PyObject * obj2 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "item",(char *) "code", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21168 arg2 = (long) SWIG_AsLong(obj1);
21169 if (PyErr_Occurred()) SWIG_fail;
21170 if (obj2) {
21171 arg3 = (int) SWIG_AsInt(obj2);
21172 if (PyErr_Occurred()) SWIG_fail;
21173 }
21174 {
21175 PyThreadState* __tstate = wxPyBeginAllowThreads();
21176 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21177
21178 wxPyEndAllowThreads(__tstate);
21179 if (PyErr_Occurred()) SWIG_fail;
21180 }
21181 {
21182 wxRect * resultptr;
21183 resultptr = new wxRect((wxRect &) result);
21184 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21185 }
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21195 long arg2 ;
21196 wxPoint *arg3 = 0 ;
21197 bool result;
21198 wxPoint temp3 ;
21199 PyObject * obj0 = 0 ;
21200 PyObject * obj1 = 0 ;
21201 PyObject * obj2 = 0 ;
21202 char *kwnames[] = {
21203 (char *) "self",(char *) "item",(char *) "pos", NULL
21204 };
21205
21206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
21207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21209 arg2 = (long) SWIG_AsLong(obj1);
21210 if (PyErr_Occurred()) SWIG_fail;
21211 {
21212 arg3 = &temp3;
21213 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21214 }
21215 {
21216 PyThreadState* __tstate = wxPyBeginAllowThreads();
21217 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21218
21219 wxPyEndAllowThreads(__tstate);
21220 if (PyErr_Occurred()) SWIG_fail;
21221 }
21222 {
21223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21224 }
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21234 int result;
21235 PyObject * obj0 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 resultobj = SWIG_FromInt((int)result);
21251 return resultobj;
21252 fail:
21253 return NULL;
21254 }
21255
21256
21257 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21258 PyObject *resultobj;
21259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21260 int result;
21261 PyObject * obj0 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 resultobj = SWIG_FromInt((int)result);
21277 return resultobj;
21278 fail:
21279 return NULL;
21280 }
21281
21282
21283 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21286 wxSize result;
21287 PyObject * obj0 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
21293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21295 {
21296 PyThreadState* __tstate = wxPyBeginAllowThreads();
21297 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303 wxSize * resultptr;
21304 resultptr = new wxSize((wxSize &) result);
21305 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
21306 }
21307 return resultobj;
21308 fail:
21309 return NULL;
21310 }
21311
21312
21313 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21314 PyObject *resultobj;
21315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21316 int arg2 ;
21317 bool arg3 = (bool) False ;
21318 PyObject * obj0 = 0 ;
21319 PyObject * obj1 = 0 ;
21320 PyObject * obj2 = 0 ;
21321 char *kwnames[] = {
21322 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21323 };
21324
21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
21326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21328 arg2 = (int) SWIG_AsInt(obj1);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 if (obj2) {
21331 arg3 = (bool) SWIG_AsBool(obj2);
21332 if (PyErr_Occurred()) SWIG_fail;
21333 }
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 (arg1)->SetItemSpacing(arg2,arg3);
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 Py_INCREF(Py_None); resultobj = Py_None;
21342 return resultobj;
21343 fail:
21344 return NULL;
21345 }
21346
21347
21348 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21349 PyObject *resultobj;
21350 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21351 int result;
21352 PyObject * obj0 = 0 ;
21353 char *kwnames[] = {
21354 (char *) "self", NULL
21355 };
21356
21357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
21358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21360 {
21361 PyThreadState* __tstate = wxPyBeginAllowThreads();
21362 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21363
21364 wxPyEndAllowThreads(__tstate);
21365 if (PyErr_Occurred()) SWIG_fail;
21366 }
21367 resultobj = SWIG_FromInt((int)result);
21368 return resultobj;
21369 fail:
21370 return NULL;
21371 }
21372
21373
21374 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21377 wxColour result;
21378 PyObject * obj0 = 0 ;
21379 char *kwnames[] = {
21380 (char *) "self", NULL
21381 };
21382
21383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 {
21394 wxColour * resultptr;
21395 resultptr = new wxColour((wxColour &) result);
21396 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
21397 }
21398 return resultobj;
21399 fail:
21400 return NULL;
21401 }
21402
21403
21404 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21407 wxColour *arg2 = 0 ;
21408 wxColour temp2 ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "col", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21418 {
21419 arg2 = &temp2;
21420 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21421 }
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->SetTextColour((wxColour const &)*arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 Py_INCREF(Py_None); resultobj = Py_None;
21430 return resultobj;
21431 fail:
21432 return NULL;
21433 }
21434
21435
21436 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21439 long result;
21440 PyObject * obj0 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 resultobj = SWIG_FromLong((long)result);
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21465 long arg2 ;
21466 bool arg3 = (bool) True ;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 PyObject * obj2 = 0 ;
21470 char *kwnames[] = {
21471 (char *) "self",(char *) "style",(char *) "add", NULL
21472 };
21473
21474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21477 arg2 = (long) SWIG_AsLong(obj1);
21478 if (PyErr_Occurred()) SWIG_fail;
21479 if (obj2) {
21480 arg3 = (bool) SWIG_AsBool(obj2);
21481 if (PyErr_Occurred()) SWIG_fail;
21482 }
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 (arg1)->SetSingleStyle(arg2,arg3);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
21490 Py_INCREF(Py_None); resultobj = Py_None;
21491 return resultobj;
21492 fail:
21493 return NULL;
21494 }
21495
21496
21497 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21500 long arg2 ;
21501 PyObject * obj0 = 0 ;
21502 PyObject * obj1 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self",(char *) "style", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21510 arg2 = (long) SWIG_AsLong(obj1);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 {
21513 PyThreadState* __tstate = wxPyBeginAllowThreads();
21514 (arg1)->SetWindowStyleFlag(arg2);
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_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21527 PyObject *resultobj;
21528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21529 long arg2 ;
21530 int arg3 = (int) wxLIST_NEXT_ALL ;
21531 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21532 long result;
21533 PyObject * obj0 = 0 ;
21534 PyObject * obj1 = 0 ;
21535 PyObject * obj2 = 0 ;
21536 PyObject * obj3 = 0 ;
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21544 arg2 = (long) SWIG_AsLong(obj1);
21545 if (PyErr_Occurred()) SWIG_fail;
21546 if (obj2) {
21547 arg3 = (int) SWIG_AsInt(obj2);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 if (obj3) {
21551 arg4 = (int) SWIG_AsInt(obj3);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 }
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 resultobj = SWIG_FromLong((long)result);
21562 return resultobj;
21563 fail:
21564 return NULL;
21565 }
21566
21567
21568 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj;
21570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21571 int arg2 ;
21572 wxImageList *result;
21573 PyObject * obj0 = 0 ;
21574 PyObject * obj1 = 0 ;
21575 char *kwnames[] = {
21576 (char *) "self",(char *) "which", NULL
21577 };
21578
21579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21582 arg2 = (int) SWIG_AsInt(obj1);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 {
21585 PyThreadState* __tstate = wxPyBeginAllowThreads();
21586 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21587
21588 wxPyEndAllowThreads(__tstate);
21589 if (PyErr_Occurred()) SWIG_fail;
21590 }
21591 {
21592 resultobj = wxPyMake_wxObject(result);
21593 }
21594 return resultobj;
21595 fail:
21596 return NULL;
21597 }
21598
21599
21600 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21601 PyObject *resultobj;
21602 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21603 wxImageList *arg2 = (wxImageList *) 0 ;
21604 int arg3 ;
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 PyObject * obj2 = 0 ;
21608 char *kwnames[] = {
21609 (char *) "self",(char *) "imageList",(char *) "which", NULL
21610 };
21611
21612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21615 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 arg3 = (int) SWIG_AsInt(obj2);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetImageList(arg2,arg3);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21636 wxImageList *arg2 = (wxImageList *) 0 ;
21637 int arg3 ;
21638 PyObject * obj0 = 0 ;
21639 PyObject * obj1 = 0 ;
21640 PyObject * obj2 = 0 ;
21641 char *kwnames[] = {
21642 (char *) "self",(char *) "imageList",(char *) "which", NULL
21643 };
21644
21645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21649 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21650 arg3 = (int) SWIG_AsInt(obj2);
21651 if (PyErr_Occurred()) SWIG_fail;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->AssignImageList(arg2,arg3);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21669 bool result;
21670 PyObject * obj0 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21678 {
21679 PyThreadState* __tstate = wxPyBeginAllowThreads();
21680 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21681
21682 wxPyEndAllowThreads(__tstate);
21683 if (PyErr_Occurred()) SWIG_fail;
21684 }
21685 {
21686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21687 }
21688 return resultobj;
21689 fail:
21690 return NULL;
21691 }
21692
21693
21694 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21695 PyObject *resultobj;
21696 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21697 bool result;
21698 PyObject * obj0 = 0 ;
21699 char *kwnames[] = {
21700 (char *) "self", NULL
21701 };
21702
21703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21706 {
21707 PyThreadState* __tstate = wxPyBeginAllowThreads();
21708 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21709
21710 wxPyEndAllowThreads(__tstate);
21711 if (PyErr_Occurred()) SWIG_fail;
21712 }
21713 {
21714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21715 }
21716 return resultobj;
21717 fail:
21718 return NULL;
21719 }
21720
21721
21722 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21723 PyObject *resultobj;
21724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21725 long arg2 ;
21726 PyObject * obj0 = 0 ;
21727 PyObject * obj1 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "item", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21735 arg2 = (long) SWIG_AsLong(obj1);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 {
21738 PyThreadState* __tstate = wxPyBeginAllowThreads();
21739 (arg1)->RefreshItem(arg2);
21740
21741 wxPyEndAllowThreads(__tstate);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 }
21744 Py_INCREF(Py_None); resultobj = Py_None;
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21754 long arg2 ;
21755 long arg3 ;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 PyObject * obj2 = 0 ;
21759 char *kwnames[] = {
21760 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21761 };
21762
21763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21766 arg2 = (long) SWIG_AsLong(obj1);
21767 if (PyErr_Occurred()) SWIG_fail;
21768 arg3 = (long) SWIG_AsLong(obj2);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 (arg1)->RefreshItems(arg2,arg3);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 Py_INCREF(Py_None); resultobj = Py_None;
21778 return resultobj;
21779 fail:
21780 return NULL;
21781 }
21782
21783
21784 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21787 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21788 bool result;
21789 PyObject * obj0 = 0 ;
21790 PyObject * obj1 = 0 ;
21791 char *kwnames[] = {
21792 (char *) "self",(char *) "flag", NULL
21793 };
21794
21795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21798 if (obj1) {
21799 arg2 = (int) SWIG_AsInt(obj1);
21800 if (PyErr_Occurred()) SWIG_fail;
21801 }
21802 {
21803 PyThreadState* __tstate = wxPyBeginAllowThreads();
21804 result = (bool)(arg1)->Arrange(arg2);
21805
21806 wxPyEndAllowThreads(__tstate);
21807 if (PyErr_Occurred()) SWIG_fail;
21808 }
21809 {
21810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21811 }
21812 return resultobj;
21813 fail:
21814 return NULL;
21815 }
21816
21817
21818 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21819 PyObject *resultobj;
21820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21821 long arg2 ;
21822 bool result;
21823 PyObject * obj0 = 0 ;
21824 PyObject * obj1 = 0 ;
21825 char *kwnames[] = {
21826 (char *) "self",(char *) "item", NULL
21827 };
21828
21829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21832 arg2 = (long) SWIG_AsLong(obj1);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 result = (bool)(arg1)->DeleteItem(arg2);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 {
21842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21843 }
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj;
21852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21853 bool result;
21854 PyObject * obj0 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21862 {
21863 PyThreadState* __tstate = wxPyBeginAllowThreads();
21864 result = (bool)(arg1)->DeleteAllItems();
21865
21866 wxPyEndAllowThreads(__tstate);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 {
21870 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21871 }
21872 return resultobj;
21873 fail:
21874 return NULL;
21875 }
21876
21877
21878 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21881 int arg2 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "col", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21892 arg2 = (int) SWIG_AsInt(obj1);
21893 if (PyErr_Occurred()) SWIG_fail;
21894 {
21895 PyThreadState* __tstate = wxPyBeginAllowThreads();
21896 result = (bool)(arg1)->DeleteColumn(arg2);
21897
21898 wxPyEndAllowThreads(__tstate);
21899 if (PyErr_Occurred()) SWIG_fail;
21900 }
21901 {
21902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21903 }
21904 return resultobj;
21905 fail:
21906 return NULL;
21907 }
21908
21909
21910 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21913 bool result;
21914 PyObject * obj0 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = (bool)(arg1)->DeleteAllColumns();
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21931 }
21932 return resultobj;
21933 fail:
21934 return NULL;
21935 }
21936
21937
21938 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21939 PyObject *resultobj;
21940 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21941 PyObject * obj0 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 (arg1)->ClearAll();
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 Py_INCREF(Py_None); resultobj = Py_None;
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21966 long arg2 ;
21967 PyObject * obj0 = 0 ;
21968 PyObject * obj1 = 0 ;
21969 char *kwnames[] = {
21970 (char *) "self",(char *) "item", NULL
21971 };
21972
21973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21976 arg2 = (long) SWIG_AsLong(obj1);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->EditLabel(arg2);
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_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21995 long arg2 ;
21996 bool result;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "item", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22006 arg2 = (long) SWIG_AsLong(obj1);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = (bool)(arg1)->EnsureVisible(arg2);
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 {
22016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22017 }
22018 return resultobj;
22019 fail:
22020 return NULL;
22021 }
22022
22023
22024 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22025 PyObject *resultobj;
22026 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22027 long arg2 ;
22028 wxString *arg3 = 0 ;
22029 bool arg4 = (bool) False ;
22030 long result;
22031 bool temp3 = False ;
22032 PyObject * obj0 = 0 ;
22033 PyObject * obj1 = 0 ;
22034 PyObject * obj2 = 0 ;
22035 PyObject * obj3 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22043 arg2 = (long) SWIG_AsLong(obj1);
22044 if (PyErr_Occurred()) SWIG_fail;
22045 {
22046 arg3 = wxString_in_helper(obj2);
22047 if (arg3 == NULL) SWIG_fail;
22048 temp3 = True;
22049 }
22050 if (obj3) {
22051 arg4 = (bool) SWIG_AsBool(obj3);
22052 if (PyErr_Occurred()) SWIG_fail;
22053 }
22054 {
22055 PyThreadState* __tstate = wxPyBeginAllowThreads();
22056 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22057
22058 wxPyEndAllowThreads(__tstate);
22059 if (PyErr_Occurred()) SWIG_fail;
22060 }
22061 resultobj = SWIG_FromLong((long)result);
22062 {
22063 if (temp3)
22064 delete arg3;
22065 }
22066 return resultobj;
22067 fail:
22068 {
22069 if (temp3)
22070 delete arg3;
22071 }
22072 return NULL;
22073 }
22074
22075
22076 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22077 PyObject *resultobj;
22078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22079 long arg2 ;
22080 long arg3 ;
22081 long result;
22082 PyObject * obj0 = 0 ;
22083 PyObject * obj1 = 0 ;
22084 PyObject * obj2 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self",(char *) "start",(char *) "data", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22092 arg2 = (long) SWIG_AsLong(obj1);
22093 if (PyErr_Occurred()) SWIG_fail;
22094 arg3 = (long) SWIG_AsLong(obj2);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 {
22097 PyThreadState* __tstate = wxPyBeginAllowThreads();
22098 result = (long)(arg1)->FindItem(arg2,arg3);
22099
22100 wxPyEndAllowThreads(__tstate);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 }
22103 resultobj = SWIG_FromLong((long)result);
22104 return resultobj;
22105 fail:
22106 return NULL;
22107 }
22108
22109
22110 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22111 PyObject *resultobj;
22112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22113 long arg2 ;
22114 wxPoint *arg3 = 0 ;
22115 int arg4 ;
22116 long result;
22117 wxPoint temp3 ;
22118 PyObject * obj0 = 0 ;
22119 PyObject * obj1 = 0 ;
22120 PyObject * obj2 = 0 ;
22121 PyObject * obj3 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22129 arg2 = (long) SWIG_AsLong(obj1);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 {
22132 arg3 = &temp3;
22133 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22134 }
22135 arg4 = (int) SWIG_AsInt(obj3);
22136 if (PyErr_Occurred()) SWIG_fail;
22137 {
22138 PyThreadState* __tstate = wxPyBeginAllowThreads();
22139 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22140
22141 wxPyEndAllowThreads(__tstate);
22142 if (PyErr_Occurred()) SWIG_fail;
22143 }
22144 resultobj = SWIG_FromLong((long)result);
22145 return resultobj;
22146 fail:
22147 return NULL;
22148 }
22149
22150
22151 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22152 PyObject *resultobj;
22153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22154 wxPoint *arg2 = 0 ;
22155 int *arg3 = 0 ;
22156 long result;
22157 wxPoint temp2 ;
22158 int temp3 ;
22159 PyObject * obj0 = 0 ;
22160 PyObject * obj1 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self",(char *) "point", NULL
22163 };
22164
22165 arg3 = &temp3;
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22169 {
22170 arg2 = &temp2;
22171 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22172 }
22173 {
22174 PyThreadState* __tstate = wxPyBeginAllowThreads();
22175 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22176
22177 wxPyEndAllowThreads(__tstate);
22178 if (PyErr_Occurred()) SWIG_fail;
22179 }
22180 resultobj = SWIG_FromLong((long)result);
22181 {
22182 PyObject *o = PyInt_FromLong((long) (*arg3));
22183 resultobj = t_output_helper(resultobj,o);
22184 }
22185 return resultobj;
22186 fail:
22187 return NULL;
22188 }
22189
22190
22191 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22192 PyObject *resultobj;
22193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22194 wxListItem *arg2 = 0 ;
22195 long result;
22196 PyObject * obj0 = 0 ;
22197 PyObject * obj1 = 0 ;
22198 char *kwnames[] = {
22199 (char *) "self",(char *) "info", NULL
22200 };
22201
22202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22206 SWIG_POINTER_EXCEPTION | 0)) == -1)
22207 SWIG_fail;
22208 if (arg2 == NULL) {
22209 PyErr_SetString(PyExc_TypeError,"null reference");
22210 SWIG_fail;
22211 }
22212 {
22213 PyThreadState* __tstate = wxPyBeginAllowThreads();
22214 result = (long)(arg1)->InsertItem(*arg2);
22215
22216 wxPyEndAllowThreads(__tstate);
22217 if (PyErr_Occurred()) SWIG_fail;
22218 }
22219 resultobj = SWIG_FromLong((long)result);
22220 return resultobj;
22221 fail:
22222 return NULL;
22223 }
22224
22225
22226 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22229 long arg2 ;
22230 wxString *arg3 = 0 ;
22231 long result;
22232 bool temp3 = False ;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 PyObject * obj2 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "index",(char *) "label", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 arg2 = (long) SWIG_AsLong(obj1);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 {
22246 arg3 = wxString_in_helper(obj2);
22247 if (arg3 == NULL) SWIG_fail;
22248 temp3 = True;
22249 }
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 resultobj = SWIG_FromLong((long)result);
22258 {
22259 if (temp3)
22260 delete arg3;
22261 }
22262 return resultobj;
22263 fail:
22264 {
22265 if (temp3)
22266 delete arg3;
22267 }
22268 return NULL;
22269 }
22270
22271
22272 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22275 long arg2 ;
22276 int arg3 ;
22277 long result;
22278 PyObject * obj0 = 0 ;
22279 PyObject * obj1 = 0 ;
22280 PyObject * obj2 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22288 arg2 = (long) SWIG_AsLong(obj1);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 arg3 = (int) SWIG_AsInt(obj2);
22291 if (PyErr_Occurred()) SWIG_fail;
22292 {
22293 PyThreadState* __tstate = wxPyBeginAllowThreads();
22294 result = (long)(arg1)->InsertItem(arg2,arg3);
22295
22296 wxPyEndAllowThreads(__tstate);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 }
22299 resultobj = SWIG_FromLong((long)result);
22300 return resultobj;
22301 fail:
22302 return NULL;
22303 }
22304
22305
22306 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22309 long arg2 ;
22310 wxString *arg3 = 0 ;
22311 int arg4 ;
22312 long result;
22313 bool temp3 = False ;
22314 PyObject * obj0 = 0 ;
22315 PyObject * obj1 = 0 ;
22316 PyObject * obj2 = 0 ;
22317 PyObject * obj3 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22325 arg2 = (long) SWIG_AsLong(obj1);
22326 if (PyErr_Occurred()) SWIG_fail;
22327 {
22328 arg3 = wxString_in_helper(obj2);
22329 if (arg3 == NULL) SWIG_fail;
22330 temp3 = True;
22331 }
22332 arg4 = (int) SWIG_AsInt(obj3);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 {
22335 PyThreadState* __tstate = wxPyBeginAllowThreads();
22336 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22337
22338 wxPyEndAllowThreads(__tstate);
22339 if (PyErr_Occurred()) SWIG_fail;
22340 }
22341 resultobj = SWIG_FromLong((long)result);
22342 {
22343 if (temp3)
22344 delete arg3;
22345 }
22346 return resultobj;
22347 fail:
22348 {
22349 if (temp3)
22350 delete arg3;
22351 }
22352 return NULL;
22353 }
22354
22355
22356 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22357 PyObject *resultobj;
22358 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22359 long arg2 ;
22360 wxListItem *arg3 = 0 ;
22361 long result;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 PyObject * obj2 = 0 ;
22365 char *kwnames[] = {
22366 (char *) "self",(char *) "col",(char *) "info", NULL
22367 };
22368
22369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22372 arg2 = (long) SWIG_AsLong(obj1);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22375 SWIG_POINTER_EXCEPTION | 0)) == -1)
22376 SWIG_fail;
22377 if (arg3 == NULL) {
22378 PyErr_SetString(PyExc_TypeError,"null reference");
22379 SWIG_fail;
22380 }
22381 {
22382 PyThreadState* __tstate = wxPyBeginAllowThreads();
22383 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22384
22385 wxPyEndAllowThreads(__tstate);
22386 if (PyErr_Occurred()) SWIG_fail;
22387 }
22388 resultobj = SWIG_FromLong((long)result);
22389 return resultobj;
22390 fail:
22391 return NULL;
22392 }
22393
22394
22395 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22396 PyObject *resultobj;
22397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22398 long arg2 ;
22399 wxString *arg3 = 0 ;
22400 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22401 int arg5 = (int) -1 ;
22402 long result;
22403 bool temp3 = False ;
22404 PyObject * obj0 = 0 ;
22405 PyObject * obj1 = 0 ;
22406 PyObject * obj2 = 0 ;
22407 PyObject * obj3 = 0 ;
22408 PyObject * obj4 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22416 arg2 = (long) SWIG_AsLong(obj1);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 {
22419 arg3 = wxString_in_helper(obj2);
22420 if (arg3 == NULL) SWIG_fail;
22421 temp3 = True;
22422 }
22423 if (obj3) {
22424 arg4 = (int) SWIG_AsInt(obj3);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 if (obj4) {
22428 arg5 = (int) SWIG_AsInt(obj4);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
22438 resultobj = SWIG_FromLong((long)result);
22439 {
22440 if (temp3)
22441 delete arg3;
22442 }
22443 return resultobj;
22444 fail:
22445 {
22446 if (temp3)
22447 delete arg3;
22448 }
22449 return NULL;
22450 }
22451
22452
22453 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22454 PyObject *resultobj;
22455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22456 long arg2 ;
22457 PyObject * obj0 = 0 ;
22458 PyObject * obj1 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self",(char *) "count", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22466 arg2 = (long) SWIG_AsLong(obj1);
22467 if (PyErr_Occurred()) SWIG_fail;
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 (arg1)->SetItemCount(arg2);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 Py_INCREF(Py_None); resultobj = Py_None;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22485 int arg2 ;
22486 int arg3 ;
22487 bool result;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "dx",(char *) "dy", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22498 arg2 = (int) SWIG_AsInt(obj1);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 arg3 = (int) SWIG_AsInt(obj2);
22501 if (PyErr_Occurred()) SWIG_fail;
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (bool)(arg1)->ScrollList(arg2,arg3);
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 {
22510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22511 }
22512 return resultobj;
22513 fail:
22514 return NULL;
22515 }
22516
22517
22518 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22521 long arg2 ;
22522 wxColour *arg3 = 0 ;
22523 wxColour temp3 ;
22524 PyObject * obj0 = 0 ;
22525 PyObject * obj1 = 0 ;
22526 PyObject * obj2 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self",(char *) "item",(char *) "col", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22534 arg2 = (long) SWIG_AsLong(obj1);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 {
22537 arg3 = &temp3;
22538 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22539 }
22540 {
22541 PyThreadState* __tstate = wxPyBeginAllowThreads();
22542 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22543
22544 wxPyEndAllowThreads(__tstate);
22545 if (PyErr_Occurred()) SWIG_fail;
22546 }
22547 Py_INCREF(Py_None); resultobj = Py_None;
22548 return resultobj;
22549 fail:
22550 return NULL;
22551 }
22552
22553
22554 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22555 PyObject *resultobj;
22556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22557 long arg2 ;
22558 wxColour result;
22559 PyObject * obj0 = 0 ;
22560 PyObject * obj1 = 0 ;
22561 char *kwnames[] = {
22562 (char *) "self",(char *) "item", NULL
22563 };
22564
22565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22568 arg2 = (long) SWIG_AsLong(obj1);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 {
22571 PyThreadState* __tstate = wxPyBeginAllowThreads();
22572 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22573
22574 wxPyEndAllowThreads(__tstate);
22575 if (PyErr_Occurred()) SWIG_fail;
22576 }
22577 {
22578 wxColour * resultptr;
22579 resultptr = new wxColour((wxColour &) result);
22580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22581 }
22582 return resultobj;
22583 fail:
22584 return NULL;
22585 }
22586
22587
22588 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22589 PyObject *resultobj;
22590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22591 long arg2 ;
22592 wxColour *arg3 = 0 ;
22593 wxColour temp3 ;
22594 PyObject * obj0 = 0 ;
22595 PyObject * obj1 = 0 ;
22596 PyObject * obj2 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self",(char *) "item",(char *) "col", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22604 arg2 = (long) SWIG_AsLong(obj1);
22605 if (PyErr_Occurred()) SWIG_fail;
22606 {
22607 arg3 = &temp3;
22608 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22609 }
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 Py_INCREF(Py_None); resultobj = Py_None;
22618 return resultobj;
22619 fail:
22620 return NULL;
22621 }
22622
22623
22624 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22625 PyObject *resultobj;
22626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22627 long arg2 ;
22628 wxColour result;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self",(char *) "item", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22638 arg2 = (long) SWIG_AsLong(obj1);
22639 if (PyErr_Occurred()) SWIG_fail;
22640 {
22641 PyThreadState* __tstate = wxPyBeginAllowThreads();
22642 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22643
22644 wxPyEndAllowThreads(__tstate);
22645 if (PyErr_Occurred()) SWIG_fail;
22646 }
22647 {
22648 wxColour * resultptr;
22649 resultptr = new wxColour((wxColour &) result);
22650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22651 }
22652 return resultobj;
22653 fail:
22654 return NULL;
22655 }
22656
22657
22658 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22659 PyObject *resultobj;
22660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22661 PyObject *arg2 = (PyObject *) 0 ;
22662 bool result;
22663 PyObject * obj0 = 0 ;
22664 PyObject * obj1 = 0 ;
22665 char *kwnames[] = {
22666 (char *) "self",(char *) "func", NULL
22667 };
22668
22669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22672 arg2 = obj1;
22673 {
22674 PyThreadState* __tstate = wxPyBeginAllowThreads();
22675 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22676
22677 wxPyEndAllowThreads(__tstate);
22678 if (PyErr_Occurred()) SWIG_fail;
22679 }
22680 {
22681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22682 }
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22692 wxWindow *result;
22693 PyObject * obj0 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22701 {
22702 PyThreadState* __tstate = wxPyBeginAllowThreads();
22703 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22704
22705 wxPyEndAllowThreads(__tstate);
22706 if (PyErr_Occurred()) SWIG_fail;
22707 }
22708 {
22709 resultobj = wxPyMake_wxObject(result);
22710 }
22711 return resultobj;
22712 fail:
22713 return NULL;
22714 }
22715
22716
22717 static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22720 wxVisualAttributes result;
22721 PyObject * obj0 = 0 ;
22722 char *kwnames[] = {
22723 (char *) "variant", NULL
22724 };
22725
22726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22727 if (obj0) {
22728 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 {
22732 PyThreadState* __tstate = wxPyBeginAllowThreads();
22733 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22734
22735 wxPyEndAllowThreads(__tstate);
22736 if (PyErr_Occurred()) SWIG_fail;
22737 }
22738 {
22739 wxVisualAttributes * resultptr;
22740 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22741 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22742 }
22743 return resultobj;
22744 fail:
22745 return NULL;
22746 }
22747
22748
22749 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22750 PyObject *obj;
22751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22752 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22753 Py_INCREF(obj);
22754 return Py_BuildValue((char *)"");
22755 }
22756 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22757 PyObject *resultobj;
22758 wxWindow *arg1 = (wxWindow *) 0 ;
22759 int arg2 = (int) -1 ;
22760 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22761 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22762 wxSize const &arg4_defvalue = wxDefaultSize ;
22763 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22764 long arg5 = (long) wxLC_REPORT ;
22765 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22766 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22767 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22768 wxString *arg7 = (wxString *) &arg7_defvalue ;
22769 wxListView *result;
22770 wxPoint temp3 ;
22771 wxSize temp4 ;
22772 bool temp7 = False ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 PyObject * obj2 = 0 ;
22776 PyObject * obj3 = 0 ;
22777 PyObject * obj4 = 0 ;
22778 PyObject * obj5 = 0 ;
22779 PyObject * obj6 = 0 ;
22780 char *kwnames[] = {
22781 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22782 };
22783
22784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22787 if (obj1) {
22788 arg2 = (int) SWIG_AsInt(obj1);
22789 if (PyErr_Occurred()) SWIG_fail;
22790 }
22791 if (obj2) {
22792 {
22793 arg3 = &temp3;
22794 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22795 }
22796 }
22797 if (obj3) {
22798 {
22799 arg4 = &temp4;
22800 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22801 }
22802 }
22803 if (obj4) {
22804 arg5 = (long) SWIG_AsLong(obj4);
22805 if (PyErr_Occurred()) SWIG_fail;
22806 }
22807 if (obj5) {
22808 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22809 SWIG_POINTER_EXCEPTION | 0)) == -1)
22810 SWIG_fail;
22811 if (arg6 == NULL) {
22812 PyErr_SetString(PyExc_TypeError,"null reference");
22813 SWIG_fail;
22814 }
22815 }
22816 if (obj6) {
22817 {
22818 arg7 = wxString_in_helper(obj6);
22819 if (arg7 == NULL) SWIG_fail;
22820 temp7 = True;
22821 }
22822 }
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22831 {
22832 if (temp7)
22833 delete arg7;
22834 }
22835 return resultobj;
22836 fail:
22837 {
22838 if (temp7)
22839 delete arg7;
22840 }
22841 return NULL;
22842 }
22843
22844
22845 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxListView *result;
22848 char *kwnames[] = {
22849 NULL
22850 };
22851
22852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22853 {
22854 PyThreadState* __tstate = wxPyBeginAllowThreads();
22855 result = (wxListView *)new wxListView();
22856
22857 wxPyEndAllowThreads(__tstate);
22858 if (PyErr_Occurred()) SWIG_fail;
22859 }
22860 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
22861 return resultobj;
22862 fail:
22863 return NULL;
22864 }
22865
22866
22867 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22868 PyObject *resultobj;
22869 wxListView *arg1 = (wxListView *) 0 ;
22870 wxWindow *arg2 = (wxWindow *) 0 ;
22871 int arg3 = (int) -1 ;
22872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22874 wxSize const &arg5_defvalue = wxDefaultSize ;
22875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22876 long arg6 = (long) wxLC_REPORT ;
22877 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22878 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22879 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22880 wxString *arg8 = (wxString *) &arg8_defvalue ;
22881 bool result;
22882 wxPoint temp4 ;
22883 wxSize temp5 ;
22884 bool temp8 = False ;
22885 PyObject * obj0 = 0 ;
22886 PyObject * obj1 = 0 ;
22887 PyObject * obj2 = 0 ;
22888 PyObject * obj3 = 0 ;
22889 PyObject * obj4 = 0 ;
22890 PyObject * obj5 = 0 ;
22891 PyObject * obj6 = 0 ;
22892 PyObject * obj7 = 0 ;
22893 char *kwnames[] = {
22894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22895 };
22896
22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22902 if (obj2) {
22903 arg3 = (int) SWIG_AsInt(obj2);
22904 if (PyErr_Occurred()) SWIG_fail;
22905 }
22906 if (obj3) {
22907 {
22908 arg4 = &temp4;
22909 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22910 }
22911 }
22912 if (obj4) {
22913 {
22914 arg5 = &temp5;
22915 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22916 }
22917 }
22918 if (obj5) {
22919 arg6 = (long) SWIG_AsLong(obj5);
22920 if (PyErr_Occurred()) SWIG_fail;
22921 }
22922 if (obj6) {
22923 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22924 SWIG_POINTER_EXCEPTION | 0)) == -1)
22925 SWIG_fail;
22926 if (arg7 == NULL) {
22927 PyErr_SetString(PyExc_TypeError,"null reference");
22928 SWIG_fail;
22929 }
22930 }
22931 if (obj7) {
22932 {
22933 arg8 = wxString_in_helper(obj7);
22934 if (arg8 == NULL) SWIG_fail;
22935 temp8 = True;
22936 }
22937 }
22938 {
22939 PyThreadState* __tstate = wxPyBeginAllowThreads();
22940 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22941
22942 wxPyEndAllowThreads(__tstate);
22943 if (PyErr_Occurred()) SWIG_fail;
22944 }
22945 {
22946 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22947 }
22948 {
22949 if (temp8)
22950 delete arg8;
22951 }
22952 return resultobj;
22953 fail:
22954 {
22955 if (temp8)
22956 delete arg8;
22957 }
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxListView *arg1 = (wxListView *) 0 ;
22965 long arg2 ;
22966 bool arg3 = (bool) True ;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 PyObject * obj2 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self",(char *) "n",(char *) "on", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22977 arg2 = (long) SWIG_AsLong(obj1);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 if (obj2) {
22980 arg3 = (bool) SWIG_AsBool(obj2);
22981 if (PyErr_Occurred()) SWIG_fail;
22982 }
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 (arg1)->Select(arg2,arg3);
22986
22987 wxPyEndAllowThreads(__tstate);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 Py_INCREF(Py_None); resultobj = Py_None;
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxListView *arg1 = (wxListView *) 0 ;
23000 long arg2 ;
23001 PyObject * obj0 = 0 ;
23002 PyObject * obj1 = 0 ;
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "index", NULL
23005 };
23006
23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23010 arg2 = (long) SWIG_AsLong(obj1);
23011 if (PyErr_Occurred()) SWIG_fail;
23012 {
23013 PyThreadState* __tstate = wxPyBeginAllowThreads();
23014 (arg1)->Focus(arg2);
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_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxListView *arg1 = (wxListView *) 0 ;
23029 long result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23038 {
23039 PyThreadState* __tstate = wxPyBeginAllowThreads();
23040 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23041
23042 wxPyEndAllowThreads(__tstate);
23043 if (PyErr_Occurred()) SWIG_fail;
23044 }
23045 resultobj = SWIG_FromLong((long)result);
23046 return resultobj;
23047 fail:
23048 return NULL;
23049 }
23050
23051
23052 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23053 PyObject *resultobj;
23054 wxListView *arg1 = (wxListView *) 0 ;
23055 long arg2 ;
23056 long result;
23057 PyObject * obj0 = 0 ;
23058 PyObject * obj1 = 0 ;
23059 char *kwnames[] = {
23060 (char *) "self",(char *) "item", NULL
23061 };
23062
23063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23066 arg2 = (long) SWIG_AsLong(obj1);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 {
23069 PyThreadState* __tstate = wxPyBeginAllowThreads();
23070 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23071
23072 wxPyEndAllowThreads(__tstate);
23073 if (PyErr_Occurred()) SWIG_fail;
23074 }
23075 resultobj = SWIG_FromLong((long)result);
23076 return resultobj;
23077 fail:
23078 return NULL;
23079 }
23080
23081
23082 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23083 PyObject *resultobj;
23084 wxListView *arg1 = (wxListView *) 0 ;
23085 long result;
23086 PyObject * obj0 = 0 ;
23087 char *kwnames[] = {
23088 (char *) "self", NULL
23089 };
23090
23091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23094 {
23095 PyThreadState* __tstate = wxPyBeginAllowThreads();
23096 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23097
23098 wxPyEndAllowThreads(__tstate);
23099 if (PyErr_Occurred()) SWIG_fail;
23100 }
23101 resultobj = SWIG_FromLong((long)result);
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxListView *arg1 = (wxListView *) 0 ;
23111 long arg2 ;
23112 bool result;
23113 PyObject * obj0 = 0 ;
23114 PyObject * obj1 = 0 ;
23115 char *kwnames[] = {
23116 (char *) "self",(char *) "index", NULL
23117 };
23118
23119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23122 arg2 = (long) SWIG_AsLong(obj1);
23123 if (PyErr_Occurred()) SWIG_fail;
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (bool)(arg1)->IsSelected(arg2);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 {
23132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23133 }
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23141 PyObject *resultobj;
23142 wxListView *arg1 = (wxListView *) 0 ;
23143 int arg2 ;
23144 int arg3 ;
23145 PyObject * obj0 = 0 ;
23146 PyObject * obj1 = 0 ;
23147 PyObject * obj2 = 0 ;
23148 char *kwnames[] = {
23149 (char *) "self",(char *) "col",(char *) "image", NULL
23150 };
23151
23152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23155 arg2 = (int) SWIG_AsInt(obj1);
23156 if (PyErr_Occurred()) SWIG_fail;
23157 arg3 = (int) SWIG_AsInt(obj2);
23158 if (PyErr_Occurred()) SWIG_fail;
23159 {
23160 PyThreadState* __tstate = wxPyBeginAllowThreads();
23161 (arg1)->SetColumnImage(arg2,arg3);
23162
23163 wxPyEndAllowThreads(__tstate);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 }
23166 Py_INCREF(Py_None); resultobj = Py_None;
23167 return resultobj;
23168 fail:
23169 return NULL;
23170 }
23171
23172
23173 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23174 PyObject *resultobj;
23175 wxListView *arg1 = (wxListView *) 0 ;
23176 int arg2 ;
23177 PyObject * obj0 = 0 ;
23178 PyObject * obj1 = 0 ;
23179 char *kwnames[] = {
23180 (char *) "self",(char *) "col", NULL
23181 };
23182
23183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23186 arg2 = (int) SWIG_AsInt(obj1);
23187 if (PyErr_Occurred()) SWIG_fail;
23188 {
23189 PyThreadState* __tstate = wxPyBeginAllowThreads();
23190 (arg1)->ClearColumnImage(arg2);
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 * ListView_swigregister(PyObject *self, PyObject *args) {
23203 PyObject *obj;
23204 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23205 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23206 Py_INCREF(obj);
23207 return Py_BuildValue((char *)"");
23208 }
23209 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23210 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23211 return 1;
23212 }
23213
23214
23215 static PyObject *_wrap_TreeCtrlNameStr_get() {
23216 PyObject *pyobj;
23217
23218 {
23219 #if wxUSE_UNICODE
23220 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23221 #else
23222 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23223 #endif
23224 }
23225 return pyobj;
23226 }
23227
23228
23229 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23230 PyObject *resultobj;
23231 wxTreeItemId *result;
23232 char *kwnames[] = {
23233 NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23237 {
23238 PyThreadState* __tstate = wxPyBeginAllowThreads();
23239 result = (wxTreeItemId *)new wxTreeItemId();
23240
23241 wxPyEndAllowThreads(__tstate);
23242 if (PyErr_Occurred()) SWIG_fail;
23243 }
23244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
23245 return resultobj;
23246 fail:
23247 return NULL;
23248 }
23249
23250
23251 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23252 PyObject *resultobj;
23253 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23254 PyObject * obj0 = 0 ;
23255 char *kwnames[] = {
23256 (char *) "self", NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
23260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23262 {
23263 PyThreadState* __tstate = wxPyBeginAllowThreads();
23264 delete arg1;
23265
23266 wxPyEndAllowThreads(__tstate);
23267 if (PyErr_Occurred()) SWIG_fail;
23268 }
23269 Py_INCREF(Py_None); resultobj = Py_None;
23270 return resultobj;
23271 fail:
23272 return NULL;
23273 }
23274
23275
23276 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23277 PyObject *resultobj;
23278 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23279 bool result;
23280 PyObject * obj0 = 0 ;
23281 char *kwnames[] = {
23282 (char *) "self", NULL
23283 };
23284
23285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
23286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 {
23296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23297 }
23298 return resultobj;
23299 fail:
23300 return NULL;
23301 }
23302
23303
23304 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23305 PyObject *resultobj;
23306 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23307 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23308 bool result;
23309 PyObject * obj0 = 0 ;
23310 PyObject * obj1 = 0 ;
23311 char *kwnames[] = {
23312 (char *) "self",(char *) "other", NULL
23313 };
23314
23315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
23316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23320 {
23321 PyThreadState* __tstate = wxPyBeginAllowThreads();
23322 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
23323
23324 wxPyEndAllowThreads(__tstate);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 }
23327 {
23328 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23329 }
23330 return resultobj;
23331 fail:
23332 return NULL;
23333 }
23334
23335
23336 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23337 PyObject *resultobj;
23338 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23339 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23340 bool result;
23341 PyObject * obj0 = 0 ;
23342 PyObject * obj1 = 0 ;
23343 char *kwnames[] = {
23344 (char *) "self",(char *) "other", NULL
23345 };
23346
23347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
23348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23350 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23352 {
23353 PyThreadState* __tstate = wxPyBeginAllowThreads();
23354 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
23355
23356 wxPyEndAllowThreads(__tstate);
23357 if (PyErr_Occurred()) SWIG_fail;
23358 }
23359 {
23360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23361 }
23362 return resultobj;
23363 fail:
23364 return NULL;
23365 }
23366
23367
23368 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23369 PyObject *resultobj;
23370 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23371 void *arg2 = (void *) 0 ;
23372 PyObject * obj0 = 0 ;
23373 PyObject * obj1 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self",(char *) "m_pItem", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23381 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
23382 if (arg1) (arg1)->m_pItem = arg2;
23383
23384 Py_INCREF(Py_None); resultobj = Py_None;
23385 return resultobj;
23386 fail:
23387 return NULL;
23388 }
23389
23390
23391 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23392 PyObject *resultobj;
23393 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23394 void *result;
23395 PyObject * obj0 = 0 ;
23396 char *kwnames[] = {
23397 (char *) "self", NULL
23398 };
23399
23400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23403 result = (void *) ((arg1)->m_pItem);
23404
23405 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23413 PyObject *obj;
23414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23415 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23416 Py_INCREF(obj);
23417 return Py_BuildValue((char *)"");
23418 }
23419 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 PyObject *arg1 = (PyObject *) NULL ;
23422 wxPyTreeItemData *result;
23423 PyObject * obj0 = 0 ;
23424 char *kwnames[] = {
23425 (char *) "obj", NULL
23426 };
23427
23428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23429 if (obj0) {
23430 arg1 = obj0;
23431 }
23432 {
23433 PyThreadState* __tstate = wxPyBeginAllowThreads();
23434 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23435
23436 wxPyEndAllowThreads(__tstate);
23437 if (PyErr_Occurred()) SWIG_fail;
23438 }
23439 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
23440 return resultobj;
23441 fail:
23442 return NULL;
23443 }
23444
23445
23446 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23447 PyObject *resultobj;
23448 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23449 PyObject *result;
23450 PyObject * obj0 = 0 ;
23451 char *kwnames[] = {
23452 (char *) "self", NULL
23453 };
23454
23455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23458 {
23459 PyThreadState* __tstate = wxPyBeginAllowThreads();
23460 result = (PyObject *)(arg1)->GetData();
23461
23462 wxPyEndAllowThreads(__tstate);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 resultobj = result;
23466 return resultobj;
23467 fail:
23468 return NULL;
23469 }
23470
23471
23472 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23473 PyObject *resultobj;
23474 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23475 PyObject *arg2 = (PyObject *) 0 ;
23476 PyObject * obj0 = 0 ;
23477 PyObject * obj1 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self",(char *) "obj", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23485 arg2 = obj1;
23486 {
23487 PyThreadState* __tstate = wxPyBeginAllowThreads();
23488 (arg1)->SetData(arg2);
23489
23490 wxPyEndAllowThreads(__tstate);
23491 if (PyErr_Occurred()) SWIG_fail;
23492 }
23493 Py_INCREF(Py_None); resultobj = Py_None;
23494 return resultobj;
23495 fail:
23496 return NULL;
23497 }
23498
23499
23500 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23501 PyObject *resultobj;
23502 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23503 wxTreeItemId *result;
23504 PyObject * obj0 = 0 ;
23505 char *kwnames[] = {
23506 (char *) "self", NULL
23507 };
23508
23509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23512 {
23513 PyThreadState* __tstate = wxPyBeginAllowThreads();
23514 {
23515 wxTreeItemId const &_result_ref = (arg1)->GetId();
23516 result = (wxTreeItemId *) &_result_ref;
23517 }
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23532 wxTreeItemId *arg2 = 0 ;
23533 PyObject * obj0 = 0 ;
23534 PyObject * obj1 = 0 ;
23535 char *kwnames[] = {
23536 (char *) "self",(char *) "id", NULL
23537 };
23538
23539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23542 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23543 SWIG_POINTER_EXCEPTION | 0)) == -1)
23544 SWIG_fail;
23545 if (arg2 == NULL) {
23546 PyErr_SetString(PyExc_TypeError,"null reference");
23547 SWIG_fail;
23548 }
23549 {
23550 PyThreadState* __tstate = wxPyBeginAllowThreads();
23551 (arg1)->SetId((wxTreeItemId const &)*arg2);
23552
23553 wxPyEndAllowThreads(__tstate);
23554 if (PyErr_Occurred()) SWIG_fail;
23555 }
23556 Py_INCREF(Py_None); resultobj = Py_None;
23557 return resultobj;
23558 fail:
23559 return NULL;
23560 }
23561
23562
23563 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23564 PyObject *resultobj;
23565 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23566 PyObject * obj0 = 0 ;
23567 char *kwnames[] = {
23568 (char *) "self", NULL
23569 };
23570
23571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 wxPyTreeItemData_Destroy(arg1);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23589 PyObject *obj;
23590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23591 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23592 Py_INCREF(obj);
23593 return Py_BuildValue((char *)"");
23594 }
23595 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23596 PyObject *resultobj;
23597 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23598 int arg2 = (int) 0 ;
23599 wxTreeEvent *result;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "commandType",(char *) "id", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23607 if (obj0) {
23608 arg1 = (wxEventType) SWIG_AsInt(obj0);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 if (obj1) {
23612 arg2 = (int) SWIG_AsInt(obj1);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
23623 return resultobj;
23624 fail:
23625 return NULL;
23626 }
23627
23628
23629 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23632 wxTreeItemId result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = ((wxTreeEvent const *)arg1)->GetItem();
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 {
23649 wxTreeItemId * resultptr;
23650 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23651 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23652 }
23653 return resultobj;
23654 fail:
23655 return NULL;
23656 }
23657
23658
23659 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23662 wxTreeItemId *arg2 = 0 ;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "item", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23673 SWIG_POINTER_EXCEPTION | 0)) == -1)
23674 SWIG_fail;
23675 if (arg2 == NULL) {
23676 PyErr_SetString(PyExc_TypeError,"null reference");
23677 SWIG_fail;
23678 }
23679 {
23680 PyThreadState* __tstate = wxPyBeginAllowThreads();
23681 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23682
23683 wxPyEndAllowThreads(__tstate);
23684 if (PyErr_Occurred()) SWIG_fail;
23685 }
23686 Py_INCREF(Py_None); resultobj = Py_None;
23687 return resultobj;
23688 fail:
23689 return NULL;
23690 }
23691
23692
23693 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23694 PyObject *resultobj;
23695 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23696 wxTreeItemId result;
23697 PyObject * obj0 = 0 ;
23698 char *kwnames[] = {
23699 (char *) "self", NULL
23700 };
23701
23702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 {
23713 wxTreeItemId * resultptr;
23714 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23715 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720 }
23721
23722
23723 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23726 wxTreeItemId *arg2 = 0 ;
23727 PyObject * obj0 = 0 ;
23728 PyObject * obj1 = 0 ;
23729 char *kwnames[] = {
23730 (char *) "self",(char *) "item", NULL
23731 };
23732
23733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23737 SWIG_POINTER_EXCEPTION | 0)) == -1)
23738 SWIG_fail;
23739 if (arg2 == NULL) {
23740 PyErr_SetString(PyExc_TypeError,"null reference");
23741 SWIG_fail;
23742 }
23743 {
23744 PyThreadState* __tstate = wxPyBeginAllowThreads();
23745 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23746
23747 wxPyEndAllowThreads(__tstate);
23748 if (PyErr_Occurred()) SWIG_fail;
23749 }
23750 Py_INCREF(Py_None); resultobj = Py_None;
23751 return resultobj;
23752 fail:
23753 return NULL;
23754 }
23755
23756
23757 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj;
23759 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23760 wxPoint result;
23761 PyObject * obj0 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23769 {
23770 PyThreadState* __tstate = wxPyBeginAllowThreads();
23771 result = ((wxTreeEvent const *)arg1)->GetPoint();
23772
23773 wxPyEndAllowThreads(__tstate);
23774 if (PyErr_Occurred()) SWIG_fail;
23775 }
23776 {
23777 wxPoint * resultptr;
23778 resultptr = new wxPoint((wxPoint &) result);
23779 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
23780 }
23781 return resultobj;
23782 fail:
23783 return NULL;
23784 }
23785
23786
23787 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23788 PyObject *resultobj;
23789 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23790 wxPoint *arg2 = 0 ;
23791 wxPoint temp2 ;
23792 PyObject * obj0 = 0 ;
23793 PyObject * obj1 = 0 ;
23794 char *kwnames[] = {
23795 (char *) "self",(char *) "pt", NULL
23796 };
23797
23798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23801 {
23802 arg2 = &temp2;
23803 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23804 }
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 (arg1)->SetPoint((wxPoint const &)*arg2);
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 Py_INCREF(Py_None); resultobj = Py_None;
23813 return resultobj;
23814 fail:
23815 return NULL;
23816 }
23817
23818
23819 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj;
23821 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23822 wxKeyEvent *result;
23823 PyObject * obj0 = 0 ;
23824 char *kwnames[] = {
23825 (char *) "self", NULL
23826 };
23827
23828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23831 {
23832 PyThreadState* __tstate = wxPyBeginAllowThreads();
23833 {
23834 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23835 result = (wxKeyEvent *) &_result_ref;
23836 }
23837
23838 wxPyEndAllowThreads(__tstate);
23839 if (PyErr_Occurred()) SWIG_fail;
23840 }
23841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
23842 return resultobj;
23843 fail:
23844 return NULL;
23845 }
23846
23847
23848 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23849 PyObject *resultobj;
23850 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23851 int result;
23852 PyObject * obj0 = 0 ;
23853 char *kwnames[] = {
23854 (char *) "self", NULL
23855 };
23856
23857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",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 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 resultobj = SWIG_FromInt((int)result);
23868 return resultobj;
23869 fail:
23870 return NULL;
23871 }
23872
23873
23874 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23875 PyObject *resultobj;
23876 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23877 wxKeyEvent *arg2 = 0 ;
23878 PyObject * obj0 = 0 ;
23879 PyObject * obj1 = 0 ;
23880 char *kwnames[] = {
23881 (char *) "self",(char *) "evt", NULL
23882 };
23883
23884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1)
23889 SWIG_fail;
23890 if (arg2 == NULL) {
23891 PyErr_SetString(PyExc_TypeError,"null reference");
23892 SWIG_fail;
23893 }
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
23901 Py_INCREF(Py_None); resultobj = Py_None;
23902 return resultobj;
23903 fail:
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23911 wxString *result;
23912 PyObject * obj0 = 0 ;
23913 char *kwnames[] = {
23914 (char *) "self", NULL
23915 };
23916
23917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23920 {
23921 PyThreadState* __tstate = wxPyBeginAllowThreads();
23922 {
23923 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23924 result = (wxString *) &_result_ref;
23925 }
23926
23927 wxPyEndAllowThreads(__tstate);
23928 if (PyErr_Occurred()) SWIG_fail;
23929 }
23930 {
23931 #if wxUSE_UNICODE
23932 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23933 #else
23934 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23935 #endif
23936 }
23937 return resultobj;
23938 fail:
23939 return NULL;
23940 }
23941
23942
23943 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23944 PyObject *resultobj;
23945 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23946 wxString *arg2 = 0 ;
23947 bool temp2 = False ;
23948 PyObject * obj0 = 0 ;
23949 PyObject * obj1 = 0 ;
23950 char *kwnames[] = {
23951 (char *) "self",(char *) "label", NULL
23952 };
23953
23954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23957 {
23958 arg2 = wxString_in_helper(obj1);
23959 if (arg2 == NULL) SWIG_fail;
23960 temp2 = True;
23961 }
23962 {
23963 PyThreadState* __tstate = wxPyBeginAllowThreads();
23964 (arg1)->SetLabel((wxString const &)*arg2);
23965
23966 wxPyEndAllowThreads(__tstate);
23967 if (PyErr_Occurred()) SWIG_fail;
23968 }
23969 Py_INCREF(Py_None); resultobj = Py_None;
23970 {
23971 if (temp2)
23972 delete arg2;
23973 }
23974 return resultobj;
23975 fail:
23976 {
23977 if (temp2)
23978 delete arg2;
23979 }
23980 return NULL;
23981 }
23982
23983
23984 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23985 PyObject *resultobj;
23986 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23987 bool result;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 {
24004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24005 }
24006 return resultobj;
24007 fail:
24008 return NULL;
24009 }
24010
24011
24012 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24013 PyObject *resultobj;
24014 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24015 bool arg2 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj1 = 0 ;
24018 char *kwnames[] = {
24019 (char *) "self",(char *) "editCancelled", NULL
24020 };
24021
24022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24025 arg2 = (bool) SWIG_AsBool(obj1);
24026 if (PyErr_Occurred()) SWIG_fail;
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 (arg1)->SetEditCanceled(arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 Py_INCREF(Py_None); resultobj = Py_None;
24035 return resultobj;
24036 fail:
24037 return NULL;
24038 }
24039
24040
24041 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24044 wxString *arg2 = 0 ;
24045 bool temp2 = False ;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj1 = 0 ;
24048 char *kwnames[] = {
24049 (char *) "self",(char *) "toolTip", NULL
24050 };
24051
24052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24055 {
24056 arg2 = wxString_in_helper(obj1);
24057 if (arg2 == NULL) SWIG_fail;
24058 temp2 = True;
24059 }
24060 {
24061 PyThreadState* __tstate = wxPyBeginAllowThreads();
24062 (arg1)->SetToolTip((wxString const &)*arg2);
24063
24064 wxPyEndAllowThreads(__tstate);
24065 if (PyErr_Occurred()) SWIG_fail;
24066 }
24067 Py_INCREF(Py_None); resultobj = Py_None;
24068 {
24069 if (temp2)
24070 delete arg2;
24071 }
24072 return resultobj;
24073 fail:
24074 {
24075 if (temp2)
24076 delete arg2;
24077 }
24078 return NULL;
24079 }
24080
24081
24082 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24083 PyObject *obj;
24084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24085 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24086 Py_INCREF(obj);
24087 return Py_BuildValue((char *)"");
24088 }
24089 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxWindow *arg1 = (wxWindow *) 0 ;
24092 int arg2 = (int) -1 ;
24093 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24094 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24095 wxSize const &arg4_defvalue = wxDefaultSize ;
24096 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24097 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24098 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24099 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24100 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24101 wxString *arg7 = (wxString *) &arg7_defvalue ;
24102 wxPyTreeCtrl *result;
24103 wxPoint temp3 ;
24104 wxSize temp4 ;
24105 bool temp7 = False ;
24106 PyObject * obj0 = 0 ;
24107 PyObject * obj1 = 0 ;
24108 PyObject * obj2 = 0 ;
24109 PyObject * obj3 = 0 ;
24110 PyObject * obj4 = 0 ;
24111 PyObject * obj5 = 0 ;
24112 PyObject * obj6 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24120 if (obj1) {
24121 arg2 = (int) SWIG_AsInt(obj1);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 if (obj2) {
24125 {
24126 arg3 = &temp3;
24127 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24128 }
24129 }
24130 if (obj3) {
24131 {
24132 arg4 = &temp4;
24133 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24134 }
24135 }
24136 if (obj4) {
24137 arg5 = (long) SWIG_AsLong(obj4);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 if (obj5) {
24141 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24142 SWIG_POINTER_EXCEPTION | 0)) == -1)
24143 SWIG_fail;
24144 if (arg6 == NULL) {
24145 PyErr_SetString(PyExc_TypeError,"null reference");
24146 SWIG_fail;
24147 }
24148 }
24149 if (obj6) {
24150 {
24151 arg7 = wxString_in_helper(obj6);
24152 if (arg7 == NULL) SWIG_fail;
24153 temp7 = True;
24154 }
24155 }
24156 {
24157 PyThreadState* __tstate = wxPyBeginAllowThreads();
24158 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24159
24160 wxPyEndAllowThreads(__tstate);
24161 if (PyErr_Occurred()) SWIG_fail;
24162 }
24163 {
24164 resultobj = wxPyMake_wxObject(result);
24165 }
24166 {
24167 if (temp7)
24168 delete arg7;
24169 }
24170 return resultobj;
24171 fail:
24172 {
24173 if (temp7)
24174 delete arg7;
24175 }
24176 return NULL;
24177 }
24178
24179
24180 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24181 PyObject *resultobj;
24182 wxPyTreeCtrl *result;
24183 char *kwnames[] = {
24184 NULL
24185 };
24186
24187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24188 {
24189 PyThreadState* __tstate = wxPyBeginAllowThreads();
24190 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24191
24192 wxPyEndAllowThreads(__tstate);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 }
24195 {
24196 resultobj = wxPyMake_wxObject(result);
24197 }
24198 return resultobj;
24199 fail:
24200 return NULL;
24201 }
24202
24203
24204 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24205 PyObject *resultobj;
24206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24207 wxWindow *arg2 = (wxWindow *) 0 ;
24208 int arg3 = (int) -1 ;
24209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24211 wxSize const &arg5_defvalue = wxDefaultSize ;
24212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24213 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24214 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24215 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
24216 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
24217 wxString *arg8 = (wxString *) &arg8_defvalue ;
24218 bool result;
24219 wxPoint temp4 ;
24220 wxSize temp5 ;
24221 bool temp8 = False ;
24222 PyObject * obj0 = 0 ;
24223 PyObject * obj1 = 0 ;
24224 PyObject * obj2 = 0 ;
24225 PyObject * obj3 = 0 ;
24226 PyObject * obj4 = 0 ;
24227 PyObject * obj5 = 0 ;
24228 PyObject * obj6 = 0 ;
24229 PyObject * obj7 = 0 ;
24230 char *kwnames[] = {
24231 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24232 };
24233
24234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
24235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24239 if (obj2) {
24240 arg3 = (int) SWIG_AsInt(obj2);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 if (obj3) {
24244 {
24245 arg4 = &temp4;
24246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24247 }
24248 }
24249 if (obj4) {
24250 {
24251 arg5 = &temp5;
24252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24253 }
24254 }
24255 if (obj5) {
24256 arg6 = (long) SWIG_AsLong(obj5);
24257 if (PyErr_Occurred()) SWIG_fail;
24258 }
24259 if (obj6) {
24260 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24261 SWIG_POINTER_EXCEPTION | 0)) == -1)
24262 SWIG_fail;
24263 if (arg7 == NULL) {
24264 PyErr_SetString(PyExc_TypeError,"null reference");
24265 SWIG_fail;
24266 }
24267 }
24268 if (obj7) {
24269 {
24270 arg8 = wxString_in_helper(obj7);
24271 if (arg8 == NULL) SWIG_fail;
24272 temp8 = True;
24273 }
24274 }
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 {
24283 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24284 }
24285 {
24286 if (temp8)
24287 delete arg8;
24288 }
24289 return resultobj;
24290 fail:
24291 {
24292 if (temp8)
24293 delete arg8;
24294 }
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24302 PyObject *arg2 = (PyObject *) 0 ;
24303 PyObject *arg3 = (PyObject *) 0 ;
24304 PyObject * obj0 = 0 ;
24305 PyObject * obj1 = 0 ;
24306 PyObject * obj2 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self",(char *) "self",(char *) "_class", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24314 arg2 = obj1;
24315 arg3 = obj2;
24316 {
24317 PyThreadState* __tstate = wxPyBeginAllowThreads();
24318 (arg1)->_setCallbackInfo(arg2,arg3);
24319
24320 wxPyEndAllowThreads(__tstate);
24321 if (PyErr_Occurred()) SWIG_fail;
24322 }
24323 Py_INCREF(Py_None); resultobj = Py_None;
24324 return resultobj;
24325 fail:
24326 return NULL;
24327 }
24328
24329
24330 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24331 PyObject *resultobj;
24332 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24333 size_t result;
24334 PyObject * obj0 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self", NULL
24337 };
24338
24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24342 {
24343 PyThreadState* __tstate = wxPyBeginAllowThreads();
24344 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24345
24346 wxPyEndAllowThreads(__tstate);
24347 if (PyErr_Occurred()) SWIG_fail;
24348 }
24349 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
24350 return resultobj;
24351 fail:
24352 return NULL;
24353 }
24354
24355
24356 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24357 PyObject *resultobj;
24358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24359 unsigned int result;
24360 PyObject * obj0 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
24366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24385 unsigned int arg2 ;
24386 PyObject * obj0 = 0 ;
24387 PyObject * obj1 = 0 ;
24388 char *kwnames[] = {
24389 (char *) "self",(char *) "indent", NULL
24390 };
24391
24392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
24393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24395 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24396 if (PyErr_Occurred()) SWIG_fail;
24397 {
24398 PyThreadState* __tstate = wxPyBeginAllowThreads();
24399 (arg1)->SetIndent(arg2);
24400
24401 wxPyEndAllowThreads(__tstate);
24402 if (PyErr_Occurred()) SWIG_fail;
24403 }
24404 Py_INCREF(Py_None); resultobj = Py_None;
24405 return resultobj;
24406 fail:
24407 return NULL;
24408 }
24409
24410
24411 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24414 unsigned int result;
24415 PyObject * obj0 = 0 ;
24416 char *kwnames[] = {
24417 (char *) "self", NULL
24418 };
24419
24420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
24421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24423 {
24424 PyThreadState* __tstate = wxPyBeginAllowThreads();
24425 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24426
24427 wxPyEndAllowThreads(__tstate);
24428 if (PyErr_Occurred()) SWIG_fail;
24429 }
24430 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
24431 return resultobj;
24432 fail:
24433 return NULL;
24434 }
24435
24436
24437 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24438 PyObject *resultobj;
24439 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24440 unsigned int arg2 ;
24441 PyObject * obj0 = 0 ;
24442 PyObject * obj1 = 0 ;
24443 char *kwnames[] = {
24444 (char *) "self",(char *) "spacing", NULL
24445 };
24446
24447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24450 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24451 if (PyErr_Occurred()) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 (arg1)->SetSpacing(arg2);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 Py_INCREF(Py_None); resultobj = Py_None;
24460 return resultobj;
24461 fail:
24462 return NULL;
24463 }
24464
24465
24466 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24467 PyObject *resultobj;
24468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24469 wxImageList *result;
24470 PyObject * obj0 = 0 ;
24471 char *kwnames[] = {
24472 (char *) "self", NULL
24473 };
24474
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24478 {
24479 PyThreadState* __tstate = wxPyBeginAllowThreads();
24480 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24481
24482 wxPyEndAllowThreads(__tstate);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 resultobj = wxPyMake_wxObject(result);
24487 }
24488 return resultobj;
24489 fail:
24490 return NULL;
24491 }
24492
24493
24494 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24495 PyObject *resultobj;
24496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24497 wxImageList *result;
24498 PyObject * obj0 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 {
24514 resultobj = wxPyMake_wxObject(result);
24515 }
24516 return resultobj;
24517 fail:
24518 return NULL;
24519 }
24520
24521
24522 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24523 PyObject *resultobj;
24524 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24525 wxImageList *arg2 = (wxImageList *) 0 ;
24526 PyObject * obj0 = 0 ;
24527 PyObject * obj1 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self",(char *) "imageList", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24537 {
24538 PyThreadState* __tstate = wxPyBeginAllowThreads();
24539 (arg1)->SetImageList(arg2);
24540
24541 wxPyEndAllowThreads(__tstate);
24542 if (PyErr_Occurred()) SWIG_fail;
24543 }
24544 Py_INCREF(Py_None); resultobj = Py_None;
24545 return resultobj;
24546 fail:
24547 return NULL;
24548 }
24549
24550
24551 static PyObject *_wrap_TreeCtrl_SetStateImageList(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_SetStateImageList",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)->SetStateImageList(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_AssignImageList(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_AssignImageList",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 | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24595 {
24596 PyThreadState* __tstate = wxPyBeginAllowThreads();
24597 (arg1)->AssignImageList(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_AssignStateImageList(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_AssignStateImageList",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)->AssignStateImageList(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_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24639 PyObject *resultobj;
24640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24641 wxTreeItemId *arg2 = 0 ;
24642 wxString result;
24643 PyObject * obj0 = 0 ;
24644 PyObject * obj1 = 0 ;
24645 char *kwnames[] = {
24646 (char *) "self",(char *) "item", NULL
24647 };
24648
24649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24652 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24653 SWIG_POINTER_EXCEPTION | 0)) == -1)
24654 SWIG_fail;
24655 if (arg2 == NULL) {
24656 PyErr_SetString(PyExc_TypeError,"null reference");
24657 SWIG_fail;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 {
24667 #if wxUSE_UNICODE
24668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24669 #else
24670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24671 #endif
24672 }
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj;
24681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24682 wxTreeItemId *arg2 = 0 ;
24683 int arg3 = (int) wxTreeItemIcon_Normal ;
24684 int result;
24685 PyObject * obj0 = 0 ;
24686 PyObject * obj1 = 0 ;
24687 PyObject * obj2 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self",(char *) "item",(char *) "which", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24696 SWIG_POINTER_EXCEPTION | 0)) == -1)
24697 SWIG_fail;
24698 if (arg2 == NULL) {
24699 PyErr_SetString(PyExc_TypeError,"null reference");
24700 SWIG_fail;
24701 }
24702 if (obj2) {
24703 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24704 if (PyErr_Occurred()) SWIG_fail;
24705 }
24706 {
24707 PyThreadState* __tstate = wxPyBeginAllowThreads();
24708 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24709
24710 wxPyEndAllowThreads(__tstate);
24711 if (PyErr_Occurred()) SWIG_fail;
24712 }
24713 resultobj = SWIG_FromInt((int)result);
24714 return resultobj;
24715 fail:
24716 return NULL;
24717 }
24718
24719
24720 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24721 PyObject *resultobj;
24722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24723 wxTreeItemId *arg2 = 0 ;
24724 wxPyTreeItemData *result;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self",(char *) "item", NULL
24729 };
24730
24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24735 SWIG_POINTER_EXCEPTION | 0)) == -1)
24736 SWIG_fail;
24737 if (arg2 == NULL) {
24738 PyErr_SetString(PyExc_TypeError,"null reference");
24739 SWIG_fail;
24740 }
24741 {
24742 PyThreadState* __tstate = wxPyBeginAllowThreads();
24743 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24744
24745 wxPyEndAllowThreads(__tstate);
24746 if (PyErr_Occurred()) SWIG_fail;
24747 }
24748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
24749 return resultobj;
24750 fail:
24751 return NULL;
24752 }
24753
24754
24755 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj;
24757 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24758 wxTreeItemId *arg2 = 0 ;
24759 PyObject *result;
24760 PyObject * obj0 = 0 ;
24761 PyObject * obj1 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "item", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24770 SWIG_POINTER_EXCEPTION | 0)) == -1)
24771 SWIG_fail;
24772 if (arg2 == NULL) {
24773 PyErr_SetString(PyExc_TypeError,"null reference");
24774 SWIG_fail;
24775 }
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 resultobj = result;
24784 return resultobj;
24785 fail:
24786 return NULL;
24787 }
24788
24789
24790 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24791 PyObject *resultobj;
24792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24793 wxTreeItemId *arg2 = 0 ;
24794 wxColour result;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "item", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1)
24806 SWIG_fail;
24807 if (arg2 == NULL) {
24808 PyErr_SetString(PyExc_TypeError,"null reference");
24809 SWIG_fail;
24810 }
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 {
24819 wxColour * resultptr;
24820 resultptr = new wxColour((wxColour &) result);
24821 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24822 }
24823 return resultobj;
24824 fail:
24825 return NULL;
24826 }
24827
24828
24829 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24830 PyObject *resultobj;
24831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24832 wxTreeItemId *arg2 = 0 ;
24833 wxColour result;
24834 PyObject * obj0 = 0 ;
24835 PyObject * obj1 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self",(char *) "item", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24844 SWIG_POINTER_EXCEPTION | 0)) == -1)
24845 SWIG_fail;
24846 if (arg2 == NULL) {
24847 PyErr_SetString(PyExc_TypeError,"null reference");
24848 SWIG_fail;
24849 }
24850 {
24851 PyThreadState* __tstate = wxPyBeginAllowThreads();
24852 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24853
24854 wxPyEndAllowThreads(__tstate);
24855 if (PyErr_Occurred()) SWIG_fail;
24856 }
24857 {
24858 wxColour * resultptr;
24859 resultptr = new wxColour((wxColour &) result);
24860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
24861 }
24862 return resultobj;
24863 fail:
24864 return NULL;
24865 }
24866
24867
24868 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24869 PyObject *resultobj;
24870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24871 wxTreeItemId *arg2 = 0 ;
24872 wxFont result;
24873 PyObject * obj0 = 0 ;
24874 PyObject * obj1 = 0 ;
24875 char *kwnames[] = {
24876 (char *) "self",(char *) "item", NULL
24877 };
24878
24879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24883 SWIG_POINTER_EXCEPTION | 0)) == -1)
24884 SWIG_fail;
24885 if (arg2 == NULL) {
24886 PyErr_SetString(PyExc_TypeError,"null reference");
24887 SWIG_fail;
24888 }
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 {
24897 wxFont * resultptr;
24898 resultptr = new wxFont((wxFont &) result);
24899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
24900 }
24901 return resultobj;
24902 fail:
24903 return NULL;
24904 }
24905
24906
24907 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24908 PyObject *resultobj;
24909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24910 wxTreeItemId *arg2 = 0 ;
24911 wxString *arg3 = 0 ;
24912 bool temp3 = False ;
24913 PyObject * obj0 = 0 ;
24914 PyObject * obj1 = 0 ;
24915 PyObject * obj2 = 0 ;
24916 char *kwnames[] = {
24917 (char *) "self",(char *) "item",(char *) "text", NULL
24918 };
24919
24920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24924 SWIG_POINTER_EXCEPTION | 0)) == -1)
24925 SWIG_fail;
24926 if (arg2 == NULL) {
24927 PyErr_SetString(PyExc_TypeError,"null reference");
24928 SWIG_fail;
24929 }
24930 {
24931 arg3 = wxString_in_helper(obj2);
24932 if (arg3 == NULL) SWIG_fail;
24933 temp3 = True;
24934 }
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 Py_INCREF(Py_None); resultobj = Py_None;
24943 {
24944 if (temp3)
24945 delete arg3;
24946 }
24947 return resultobj;
24948 fail:
24949 {
24950 if (temp3)
24951 delete arg3;
24952 }
24953 return NULL;
24954 }
24955
24956
24957 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj;
24959 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24960 wxTreeItemId *arg2 = 0 ;
24961 int arg3 ;
24962 int arg4 = (int) wxTreeItemIcon_Normal ;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 PyObject * obj2 = 0 ;
24966 PyObject * obj3 = 0 ;
24967 char *kwnames[] = {
24968 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24969 };
24970
24971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24975 SWIG_POINTER_EXCEPTION | 0)) == -1)
24976 SWIG_fail;
24977 if (arg2 == NULL) {
24978 PyErr_SetString(PyExc_TypeError,"null reference");
24979 SWIG_fail;
24980 }
24981 arg3 = (int) SWIG_AsInt(obj2);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 if (obj3) {
24984 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24985 if (PyErr_Occurred()) SWIG_fail;
24986 }
24987 {
24988 PyThreadState* __tstate = wxPyBeginAllowThreads();
24989 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24990
24991 wxPyEndAllowThreads(__tstate);
24992 if (PyErr_Occurred()) SWIG_fail;
24993 }
24994 Py_INCREF(Py_None); resultobj = Py_None;
24995 return resultobj;
24996 fail:
24997 return NULL;
24998 }
24999
25000
25001 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25002 PyObject *resultobj;
25003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25004 wxTreeItemId *arg2 = 0 ;
25005 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25006 PyObject * obj0 = 0 ;
25007 PyObject * obj1 = 0 ;
25008 PyObject * obj2 = 0 ;
25009 char *kwnames[] = {
25010 (char *) "self",(char *) "item",(char *) "data", NULL
25011 };
25012
25013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25017 SWIG_POINTER_EXCEPTION | 0)) == -1)
25018 SWIG_fail;
25019 if (arg2 == NULL) {
25020 PyErr_SetString(PyExc_TypeError,"null reference");
25021 SWIG_fail;
25022 }
25023 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25025 {
25026 PyThreadState* __tstate = wxPyBeginAllowThreads();
25027 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25028
25029 wxPyEndAllowThreads(__tstate);
25030 if (PyErr_Occurred()) SWIG_fail;
25031 }
25032 Py_INCREF(Py_None); resultobj = Py_None;
25033 return resultobj;
25034 fail:
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25042 wxTreeItemId *arg2 = 0 ;
25043 PyObject *arg3 = (PyObject *) 0 ;
25044 PyObject * obj0 = 0 ;
25045 PyObject * obj1 = 0 ;
25046 PyObject * obj2 = 0 ;
25047 char *kwnames[] = {
25048 (char *) "self",(char *) "item",(char *) "obj", NULL
25049 };
25050
25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25054 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25055 SWIG_POINTER_EXCEPTION | 0)) == -1)
25056 SWIG_fail;
25057 if (arg2 == NULL) {
25058 PyErr_SetString(PyExc_TypeError,"null reference");
25059 SWIG_fail;
25060 }
25061 arg3 = obj2;
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 Py_INCREF(Py_None); resultobj = Py_None;
25070 return resultobj;
25071 fail:
25072 return NULL;
25073 }
25074
25075
25076 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25077 PyObject *resultobj;
25078 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25079 wxTreeItemId *arg2 = 0 ;
25080 bool arg3 = (bool) True ;
25081 PyObject * obj0 = 0 ;
25082 PyObject * obj1 = 0 ;
25083 PyObject * obj2 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "item",(char *) "has", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25092 SWIG_POINTER_EXCEPTION | 0)) == -1)
25093 SWIG_fail;
25094 if (arg2 == NULL) {
25095 PyErr_SetString(PyExc_TypeError,"null reference");
25096 SWIG_fail;
25097 }
25098 if (obj2) {
25099 arg3 = (bool) SWIG_AsBool(obj2);
25100 if (PyErr_Occurred()) SWIG_fail;
25101 }
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 return resultobj;
25111 fail:
25112 return NULL;
25113 }
25114
25115
25116 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25117 PyObject *resultobj;
25118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25119 wxTreeItemId *arg2 = 0 ;
25120 bool arg3 = (bool) True ;
25121 PyObject * obj0 = 0 ;
25122 PyObject * obj1 = 0 ;
25123 PyObject * obj2 = 0 ;
25124 char *kwnames[] = {
25125 (char *) "self",(char *) "item",(char *) "bold", NULL
25126 };
25127
25128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25132 SWIG_POINTER_EXCEPTION | 0)) == -1)
25133 SWIG_fail;
25134 if (arg2 == NULL) {
25135 PyErr_SetString(PyExc_TypeError,"null reference");
25136 SWIG_fail;
25137 }
25138 if (obj2) {
25139 arg3 = (bool) SWIG_AsBool(obj2);
25140 if (PyErr_Occurred()) SWIG_fail;
25141 }
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 Py_INCREF(Py_None); resultobj = Py_None;
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25157 PyObject *resultobj;
25158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25159 wxTreeItemId *arg2 = 0 ;
25160 wxColour *arg3 = 0 ;
25161 wxColour temp3 ;
25162 PyObject * obj0 = 0 ;
25163 PyObject * obj1 = 0 ;
25164 PyObject * obj2 = 0 ;
25165 char *kwnames[] = {
25166 (char *) "self",(char *) "item",(char *) "col", NULL
25167 };
25168
25169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25172 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25173 SWIG_POINTER_EXCEPTION | 0)) == -1)
25174 SWIG_fail;
25175 if (arg2 == NULL) {
25176 PyErr_SetString(PyExc_TypeError,"null reference");
25177 SWIG_fail;
25178 }
25179 {
25180 arg3 = &temp3;
25181 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25182 }
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 Py_INCREF(Py_None); resultobj = Py_None;
25191 return resultobj;
25192 fail:
25193 return NULL;
25194 }
25195
25196
25197 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25198 PyObject *resultobj;
25199 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25200 wxTreeItemId *arg2 = 0 ;
25201 wxColour *arg3 = 0 ;
25202 wxColour temp3 ;
25203 PyObject * obj0 = 0 ;
25204 PyObject * obj1 = 0 ;
25205 PyObject * obj2 = 0 ;
25206 char *kwnames[] = {
25207 (char *) "self",(char *) "item",(char *) "col", NULL
25208 };
25209
25210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
25211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1)
25215 SWIG_fail;
25216 if (arg2 == NULL) {
25217 PyErr_SetString(PyExc_TypeError,"null reference");
25218 SWIG_fail;
25219 }
25220 {
25221 arg3 = &temp3;
25222 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25223 }
25224 {
25225 PyThreadState* __tstate = wxPyBeginAllowThreads();
25226 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25227
25228 wxPyEndAllowThreads(__tstate);
25229 if (PyErr_Occurred()) SWIG_fail;
25230 }
25231 Py_INCREF(Py_None); resultobj = Py_None;
25232 return resultobj;
25233 fail:
25234 return NULL;
25235 }
25236
25237
25238 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj;
25240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25241 wxTreeItemId *arg2 = 0 ;
25242 wxFont *arg3 = 0 ;
25243 PyObject * obj0 = 0 ;
25244 PyObject * obj1 = 0 ;
25245 PyObject * obj2 = 0 ;
25246 char *kwnames[] = {
25247 (char *) "self",(char *) "item",(char *) "font", NULL
25248 };
25249
25250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
25251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25254 SWIG_POINTER_EXCEPTION | 0)) == -1)
25255 SWIG_fail;
25256 if (arg2 == NULL) {
25257 PyErr_SetString(PyExc_TypeError,"null reference");
25258 SWIG_fail;
25259 }
25260 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25261 SWIG_POINTER_EXCEPTION | 0)) == -1)
25262 SWIG_fail;
25263 if (arg3 == NULL) {
25264 PyErr_SetString(PyExc_TypeError,"null reference");
25265 SWIG_fail;
25266 }
25267 {
25268 PyThreadState* __tstate = wxPyBeginAllowThreads();
25269 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25270
25271 wxPyEndAllowThreads(__tstate);
25272 if (PyErr_Occurred()) SWIG_fail;
25273 }
25274 Py_INCREF(Py_None); resultobj = Py_None;
25275 return resultobj;
25276 fail:
25277 return NULL;
25278 }
25279
25280
25281 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25282 PyObject *resultobj;
25283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25284 wxTreeItemId *arg2 = 0 ;
25285 bool result;
25286 PyObject * obj0 = 0 ;
25287 PyObject * obj1 = 0 ;
25288 char *kwnames[] = {
25289 (char *) "self",(char *) "item", NULL
25290 };
25291
25292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
25293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25295 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25296 SWIG_POINTER_EXCEPTION | 0)) == -1)
25297 SWIG_fail;
25298 if (arg2 == NULL) {
25299 PyErr_SetString(PyExc_TypeError,"null reference");
25300 SWIG_fail;
25301 }
25302 {
25303 PyThreadState* __tstate = wxPyBeginAllowThreads();
25304 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25305
25306 wxPyEndAllowThreads(__tstate);
25307 if (PyErr_Occurred()) SWIG_fail;
25308 }
25309 {
25310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25311 }
25312 return resultobj;
25313 fail:
25314 return NULL;
25315 }
25316
25317
25318 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25319 PyObject *resultobj;
25320 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25321 wxTreeItemId *arg2 = 0 ;
25322 bool result;
25323 PyObject * obj0 = 0 ;
25324 PyObject * obj1 = 0 ;
25325 char *kwnames[] = {
25326 (char *) "self",(char *) "item", NULL
25327 };
25328
25329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
25330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25333 SWIG_POINTER_EXCEPTION | 0)) == -1)
25334 SWIG_fail;
25335 if (arg2 == NULL) {
25336 PyErr_SetString(PyExc_TypeError,"null reference");
25337 SWIG_fail;
25338 }
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 {
25347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25348 }
25349 return resultobj;
25350 fail:
25351 return NULL;
25352 }
25353
25354
25355 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25356 PyObject *resultobj;
25357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25358 wxTreeItemId *arg2 = 0 ;
25359 bool result;
25360 PyObject * obj0 = 0 ;
25361 PyObject * obj1 = 0 ;
25362 char *kwnames[] = {
25363 (char *) "self",(char *) "item", NULL
25364 };
25365
25366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
25367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25370 SWIG_POINTER_EXCEPTION | 0)) == -1)
25371 SWIG_fail;
25372 if (arg2 == NULL) {
25373 PyErr_SetString(PyExc_TypeError,"null reference");
25374 SWIG_fail;
25375 }
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 {
25384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25385 }
25386 return resultobj;
25387 fail:
25388 return NULL;
25389 }
25390
25391
25392 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25393 PyObject *resultobj;
25394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25395 wxTreeItemId *arg2 = 0 ;
25396 bool result;
25397 PyObject * obj0 = 0 ;
25398 PyObject * obj1 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "self",(char *) "item", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
25404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25406 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25407 SWIG_POINTER_EXCEPTION | 0)) == -1)
25408 SWIG_fail;
25409 if (arg2 == NULL) {
25410 PyErr_SetString(PyExc_TypeError,"null reference");
25411 SWIG_fail;
25412 }
25413 {
25414 PyThreadState* __tstate = wxPyBeginAllowThreads();
25415 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25416
25417 wxPyEndAllowThreads(__tstate);
25418 if (PyErr_Occurred()) SWIG_fail;
25419 }
25420 {
25421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25422 }
25423 return resultobj;
25424 fail:
25425 return NULL;
25426 }
25427
25428
25429 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25430 PyObject *resultobj;
25431 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25432 wxTreeItemId *arg2 = 0 ;
25433 bool result;
25434 PyObject * obj0 = 0 ;
25435 PyObject * obj1 = 0 ;
25436 char *kwnames[] = {
25437 (char *) "self",(char *) "item", NULL
25438 };
25439
25440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
25441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25444 SWIG_POINTER_EXCEPTION | 0)) == -1)
25445 SWIG_fail;
25446 if (arg2 == NULL) {
25447 PyErr_SetString(PyExc_TypeError,"null reference");
25448 SWIG_fail;
25449 }
25450 {
25451 PyThreadState* __tstate = wxPyBeginAllowThreads();
25452 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25453
25454 wxPyEndAllowThreads(__tstate);
25455 if (PyErr_Occurred()) SWIG_fail;
25456 }
25457 {
25458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25459 }
25460 return resultobj;
25461 fail:
25462 return NULL;
25463 }
25464
25465
25466 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25467 PyObject *resultobj;
25468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25469 wxTreeItemId *arg2 = 0 ;
25470 bool arg3 = (bool) True ;
25471 size_t result;
25472 PyObject * obj0 = 0 ;
25473 PyObject * obj1 = 0 ;
25474 PyObject * obj2 = 0 ;
25475 char *kwnames[] = {
25476 (char *) "self",(char *) "item",(char *) "recursively", NULL
25477 };
25478
25479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
25480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25483 SWIG_POINTER_EXCEPTION | 0)) == -1)
25484 SWIG_fail;
25485 if (arg2 == NULL) {
25486 PyErr_SetString(PyExc_TypeError,"null reference");
25487 SWIG_fail;
25488 }
25489 if (obj2) {
25490 arg3 = (bool) SWIG_AsBool(obj2);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25510 wxTreeItemId result;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 {
25527 wxTreeItemId * resultptr;
25528 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25529 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25530 }
25531 return resultobj;
25532 fail:
25533 return NULL;
25534 }
25535
25536
25537 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25538 PyObject *resultobj;
25539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25540 wxTreeItemId result;
25541 PyObject * obj0 = 0 ;
25542 char *kwnames[] = {
25543 (char *) "self", NULL
25544 };
25545
25546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 {
25557 wxTreeItemId * resultptr;
25558 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25559 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25560 }
25561 return resultobj;
25562 fail:
25563 return NULL;
25564 }
25565
25566
25567 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25568 PyObject *resultobj;
25569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25570 PyObject *result;
25571 PyObject * obj0 = 0 ;
25572 char *kwnames[] = {
25573 (char *) "self", NULL
25574 };
25575
25576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25579 {
25580 PyThreadState* __tstate = wxPyBeginAllowThreads();
25581 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25582
25583 wxPyEndAllowThreads(__tstate);
25584 if (PyErr_Occurred()) SWIG_fail;
25585 }
25586 resultobj = result;
25587 return resultobj;
25588 fail:
25589 return NULL;
25590 }
25591
25592
25593 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25594 PyObject *resultobj;
25595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25596 wxTreeItemId *arg2 = 0 ;
25597 wxTreeItemId result;
25598 PyObject * obj0 = 0 ;
25599 PyObject * obj1 = 0 ;
25600 char *kwnames[] = {
25601 (char *) "self",(char *) "item", NULL
25602 };
25603
25604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25608 SWIG_POINTER_EXCEPTION | 0)) == -1)
25609 SWIG_fail;
25610 if (arg2 == NULL) {
25611 PyErr_SetString(PyExc_TypeError,"null reference");
25612 SWIG_fail;
25613 }
25614 {
25615 PyThreadState* __tstate = wxPyBeginAllowThreads();
25616 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25617
25618 wxPyEndAllowThreads(__tstate);
25619 if (PyErr_Occurred()) SWIG_fail;
25620 }
25621 {
25622 wxTreeItemId * resultptr;
25623 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25624 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25625 }
25626 return resultobj;
25627 fail:
25628 return NULL;
25629 }
25630
25631
25632 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25633 PyObject *resultobj;
25634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25635 wxTreeItemId *arg2 = 0 ;
25636 PyObject *result;
25637 PyObject * obj0 = 0 ;
25638 PyObject * obj1 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "self",(char *) "item", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1)
25648 SWIG_fail;
25649 if (arg2 == NULL) {
25650 PyErr_SetString(PyExc_TypeError,"null reference");
25651 SWIG_fail;
25652 }
25653 {
25654 PyThreadState* __tstate = wxPyBeginAllowThreads();
25655 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25656
25657 wxPyEndAllowThreads(__tstate);
25658 if (PyErr_Occurred()) SWIG_fail;
25659 }
25660 resultobj = result;
25661 return resultobj;
25662 fail:
25663 return NULL;
25664 }
25665
25666
25667 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25668 PyObject *resultobj;
25669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25670 wxTreeItemId *arg2 = 0 ;
25671 void *arg3 = (void *) 0 ;
25672 PyObject *result;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 PyObject * obj2 = 0 ;
25676 char *kwnames[] = {
25677 (char *) "self",(char *) "item",(char *) "cookie", NULL
25678 };
25679
25680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25684 SWIG_POINTER_EXCEPTION | 0)) == -1)
25685 SWIG_fail;
25686 if (arg2 == NULL) {
25687 PyErr_SetString(PyExc_TypeError,"null reference");
25688 SWIG_fail;
25689 }
25690 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25694
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 resultobj = result;
25699 return resultobj;
25700 fail:
25701 return NULL;
25702 }
25703
25704
25705 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj;
25707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25708 wxTreeItemId *arg2 = 0 ;
25709 wxTreeItemId result;
25710 PyObject * obj0 = 0 ;
25711 PyObject * obj1 = 0 ;
25712 char *kwnames[] = {
25713 (char *) "self",(char *) "item", NULL
25714 };
25715
25716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25719 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25720 SWIG_POINTER_EXCEPTION | 0)) == -1)
25721 SWIG_fail;
25722 if (arg2 == NULL) {
25723 PyErr_SetString(PyExc_TypeError,"null reference");
25724 SWIG_fail;
25725 }
25726 {
25727 PyThreadState* __tstate = wxPyBeginAllowThreads();
25728 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25729
25730 wxPyEndAllowThreads(__tstate);
25731 if (PyErr_Occurred()) SWIG_fail;
25732 }
25733 {
25734 wxTreeItemId * resultptr;
25735 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25736 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25737 }
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25747 wxTreeItemId *arg2 = 0 ;
25748 wxTreeItemId result;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj1 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self",(char *) "item", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25759 SWIG_POINTER_EXCEPTION | 0)) == -1)
25760 SWIG_fail;
25761 if (arg2 == NULL) {
25762 PyErr_SetString(PyExc_TypeError,"null reference");
25763 SWIG_fail;
25764 }
25765 {
25766 PyThreadState* __tstate = wxPyBeginAllowThreads();
25767 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25768
25769 wxPyEndAllowThreads(__tstate);
25770 if (PyErr_Occurred()) SWIG_fail;
25771 }
25772 {
25773 wxTreeItemId * resultptr;
25774 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25775 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25776 }
25777 return resultobj;
25778 fail:
25779 return NULL;
25780 }
25781
25782
25783 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25784 PyObject *resultobj;
25785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25786 wxTreeItemId *arg2 = 0 ;
25787 wxTreeItemId result;
25788 PyObject * obj0 = 0 ;
25789 PyObject * obj1 = 0 ;
25790 char *kwnames[] = {
25791 (char *) "self",(char *) "item", NULL
25792 };
25793
25794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25798 SWIG_POINTER_EXCEPTION | 0)) == -1)
25799 SWIG_fail;
25800 if (arg2 == NULL) {
25801 PyErr_SetString(PyExc_TypeError,"null reference");
25802 SWIG_fail;
25803 }
25804 {
25805 PyThreadState* __tstate = wxPyBeginAllowThreads();
25806 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25807
25808 wxPyEndAllowThreads(__tstate);
25809 if (PyErr_Occurred()) SWIG_fail;
25810 }
25811 {
25812 wxTreeItemId * resultptr;
25813 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25814 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25815 }
25816 return resultobj;
25817 fail:
25818 return NULL;
25819 }
25820
25821
25822 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25823 PyObject *resultobj;
25824 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25825 wxTreeItemId result;
25826 PyObject * obj0 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25834 {
25835 PyThreadState* __tstate = wxPyBeginAllowThreads();
25836 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25837
25838 wxPyEndAllowThreads(__tstate);
25839 if (PyErr_Occurred()) SWIG_fail;
25840 }
25841 {
25842 wxTreeItemId * resultptr;
25843 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25844 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25845 }
25846 return resultobj;
25847 fail:
25848 return NULL;
25849 }
25850
25851
25852 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25853 PyObject *resultobj;
25854 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25855 wxTreeItemId *arg2 = 0 ;
25856 wxTreeItemId result;
25857 PyObject * obj0 = 0 ;
25858 PyObject * obj1 = 0 ;
25859 char *kwnames[] = {
25860 (char *) "self",(char *) "item", NULL
25861 };
25862
25863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25867 SWIG_POINTER_EXCEPTION | 0)) == -1)
25868 SWIG_fail;
25869 if (arg2 == NULL) {
25870 PyErr_SetString(PyExc_TypeError,"null reference");
25871 SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 wxTreeItemId * resultptr;
25882 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25883 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25884 }
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25894 wxTreeItemId *arg2 = 0 ;
25895 wxTreeItemId result;
25896 PyObject * obj0 = 0 ;
25897 PyObject * obj1 = 0 ;
25898 char *kwnames[] = {
25899 (char *) "self",(char *) "item", NULL
25900 };
25901
25902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25905 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25906 SWIG_POINTER_EXCEPTION | 0)) == -1)
25907 SWIG_fail;
25908 if (arg2 == NULL) {
25909 PyErr_SetString(PyExc_TypeError,"null reference");
25910 SWIG_fail;
25911 }
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 {
25920 wxTreeItemId * resultptr;
25921 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927 }
25928
25929
25930 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj;
25932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25933 wxString *arg2 = 0 ;
25934 int arg3 = (int) -1 ;
25935 int arg4 = (int) -1 ;
25936 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25937 wxTreeItemId result;
25938 bool temp2 = False ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 PyObject * obj2 = 0 ;
25942 PyObject * obj3 = 0 ;
25943 PyObject * obj4 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25946 };
25947
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25951 {
25952 arg2 = wxString_in_helper(obj1);
25953 if (arg2 == NULL) SWIG_fail;
25954 temp2 = True;
25955 }
25956 if (obj2) {
25957 arg3 = (int) SWIG_AsInt(obj2);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 if (obj3) {
25961 arg4 = (int) SWIG_AsInt(obj3);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
25964 if (obj4) {
25965 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25967 }
25968 {
25969 PyThreadState* __tstate = wxPyBeginAllowThreads();
25970 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25971
25972 wxPyEndAllowThreads(__tstate);
25973 if (PyErr_Occurred()) SWIG_fail;
25974 }
25975 {
25976 wxTreeItemId * resultptr;
25977 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25978 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
25979 }
25980 {
25981 if (temp2)
25982 delete arg2;
25983 }
25984 return resultobj;
25985 fail:
25986 {
25987 if (temp2)
25988 delete arg2;
25989 }
25990 return NULL;
25991 }
25992
25993
25994 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25995 PyObject *resultobj;
25996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25997 wxTreeItemId *arg2 = 0 ;
25998 wxString *arg3 = 0 ;
25999 int arg4 = (int) -1 ;
26000 int arg5 = (int) -1 ;
26001 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26002 wxTreeItemId result;
26003 bool temp3 = False ;
26004 PyObject * obj0 = 0 ;
26005 PyObject * obj1 = 0 ;
26006 PyObject * obj2 = 0 ;
26007 PyObject * obj3 = 0 ;
26008 PyObject * obj4 = 0 ;
26009 PyObject * obj5 = 0 ;
26010 char *kwnames[] = {
26011 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26012 };
26013
26014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26017 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26018 SWIG_POINTER_EXCEPTION | 0)) == -1)
26019 SWIG_fail;
26020 if (arg2 == NULL) {
26021 PyErr_SetString(PyExc_TypeError,"null reference");
26022 SWIG_fail;
26023 }
26024 {
26025 arg3 = wxString_in_helper(obj2);
26026 if (arg3 == NULL) SWIG_fail;
26027 temp3 = True;
26028 }
26029 if (obj3) {
26030 arg4 = (int) SWIG_AsInt(obj3);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 if (obj4) {
26034 arg5 = (int) SWIG_AsInt(obj4);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
26037 if (obj5) {
26038 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26040 }
26041 {
26042 PyThreadState* __tstate = wxPyBeginAllowThreads();
26043 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26044
26045 wxPyEndAllowThreads(__tstate);
26046 if (PyErr_Occurred()) SWIG_fail;
26047 }
26048 {
26049 wxTreeItemId * resultptr;
26050 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26051 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26052 }
26053 {
26054 if (temp3)
26055 delete arg3;
26056 }
26057 return resultobj;
26058 fail:
26059 {
26060 if (temp3)
26061 delete arg3;
26062 }
26063 return NULL;
26064 }
26065
26066
26067 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26068 PyObject *resultobj;
26069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26070 wxTreeItemId *arg2 = 0 ;
26071 wxTreeItemId *arg3 = 0 ;
26072 wxString *arg4 = 0 ;
26073 int arg5 = (int) -1 ;
26074 int arg6 = (int) -1 ;
26075 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26076 wxTreeItemId result;
26077 bool temp4 = False ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 PyObject * obj3 = 0 ;
26082 PyObject * obj4 = 0 ;
26083 PyObject * obj5 = 0 ;
26084 PyObject * obj6 = 0 ;
26085 char *kwnames[] = {
26086 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26087 };
26088
26089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26092 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26093 SWIG_POINTER_EXCEPTION | 0)) == -1)
26094 SWIG_fail;
26095 if (arg2 == NULL) {
26096 PyErr_SetString(PyExc_TypeError,"null reference");
26097 SWIG_fail;
26098 }
26099 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26100 SWIG_POINTER_EXCEPTION | 0)) == -1)
26101 SWIG_fail;
26102 if (arg3 == NULL) {
26103 PyErr_SetString(PyExc_TypeError,"null reference");
26104 SWIG_fail;
26105 }
26106 {
26107 arg4 = wxString_in_helper(obj3);
26108 if (arg4 == NULL) SWIG_fail;
26109 temp4 = True;
26110 }
26111 if (obj4) {
26112 arg5 = (int) SWIG_AsInt(obj4);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 if (obj5) {
26116 arg6 = (int) SWIG_AsInt(obj5);
26117 if (PyErr_Occurred()) SWIG_fail;
26118 }
26119 if (obj6) {
26120 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26122 }
26123 {
26124 PyThreadState* __tstate = wxPyBeginAllowThreads();
26125 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26126
26127 wxPyEndAllowThreads(__tstate);
26128 if (PyErr_Occurred()) SWIG_fail;
26129 }
26130 {
26131 wxTreeItemId * resultptr;
26132 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26133 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26134 }
26135 {
26136 if (temp4)
26137 delete arg4;
26138 }
26139 return resultobj;
26140 fail:
26141 {
26142 if (temp4)
26143 delete arg4;
26144 }
26145 return NULL;
26146 }
26147
26148
26149 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26150 PyObject *resultobj;
26151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26152 wxTreeItemId *arg2 = 0 ;
26153 size_t arg3 ;
26154 wxString *arg4 = 0 ;
26155 int arg5 = (int) -1 ;
26156 int arg6 = (int) -1 ;
26157 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26158 wxTreeItemId result;
26159 bool temp4 = False ;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 PyObject * obj2 = 0 ;
26163 PyObject * obj3 = 0 ;
26164 PyObject * obj4 = 0 ;
26165 PyObject * obj5 = 0 ;
26166 PyObject * obj6 = 0 ;
26167 char *kwnames[] = {
26168 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26169 };
26170
26171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26174 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26175 SWIG_POINTER_EXCEPTION | 0)) == -1)
26176 SWIG_fail;
26177 if (arg2 == NULL) {
26178 PyErr_SetString(PyExc_TypeError,"null reference");
26179 SWIG_fail;
26180 }
26181 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 {
26184 arg4 = wxString_in_helper(obj3);
26185 if (arg4 == NULL) SWIG_fail;
26186 temp4 = True;
26187 }
26188 if (obj4) {
26189 arg5 = (int) SWIG_AsInt(obj4);
26190 if (PyErr_Occurred()) SWIG_fail;
26191 }
26192 if (obj5) {
26193 arg6 = (int) SWIG_AsInt(obj5);
26194 if (PyErr_Occurred()) SWIG_fail;
26195 }
26196 if (obj6) {
26197 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26199 }
26200 {
26201 PyThreadState* __tstate = wxPyBeginAllowThreads();
26202 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26203
26204 wxPyEndAllowThreads(__tstate);
26205 if (PyErr_Occurred()) SWIG_fail;
26206 }
26207 {
26208 wxTreeItemId * resultptr;
26209 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26210 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26211 }
26212 {
26213 if (temp4)
26214 delete arg4;
26215 }
26216 return resultobj;
26217 fail:
26218 {
26219 if (temp4)
26220 delete arg4;
26221 }
26222 return NULL;
26223 }
26224
26225
26226 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26227 PyObject *resultobj;
26228 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26229 wxTreeItemId *arg2 = 0 ;
26230 wxString *arg3 = 0 ;
26231 int arg4 = (int) -1 ;
26232 int arg5 = (int) -1 ;
26233 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26234 wxTreeItemId result;
26235 bool temp3 = False ;
26236 PyObject * obj0 = 0 ;
26237 PyObject * obj1 = 0 ;
26238 PyObject * obj2 = 0 ;
26239 PyObject * obj3 = 0 ;
26240 PyObject * obj4 = 0 ;
26241 PyObject * obj5 = 0 ;
26242 char *kwnames[] = {
26243 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26244 };
26245
26246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26249 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1)
26251 SWIG_fail;
26252 if (arg2 == NULL) {
26253 PyErr_SetString(PyExc_TypeError,"null reference");
26254 SWIG_fail;
26255 }
26256 {
26257 arg3 = wxString_in_helper(obj2);
26258 if (arg3 == NULL) SWIG_fail;
26259 temp3 = True;
26260 }
26261 if (obj3) {
26262 arg4 = (int) SWIG_AsInt(obj3);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 if (obj4) {
26266 arg5 = (int) SWIG_AsInt(obj4);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 if (obj5) {
26270 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26272 }
26273 {
26274 PyThreadState* __tstate = wxPyBeginAllowThreads();
26275 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26276
26277 wxPyEndAllowThreads(__tstate);
26278 if (PyErr_Occurred()) SWIG_fail;
26279 }
26280 {
26281 wxTreeItemId * resultptr;
26282 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26283 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26284 }
26285 {
26286 if (temp3)
26287 delete arg3;
26288 }
26289 return resultobj;
26290 fail:
26291 {
26292 if (temp3)
26293 delete arg3;
26294 }
26295 return NULL;
26296 }
26297
26298
26299 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26300 PyObject *resultobj;
26301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26302 wxTreeItemId *arg2 = 0 ;
26303 PyObject * obj0 = 0 ;
26304 PyObject * obj1 = 0 ;
26305 char *kwnames[] = {
26306 (char *) "self",(char *) "item", NULL
26307 };
26308
26309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
26310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26313 SWIG_POINTER_EXCEPTION | 0)) == -1)
26314 SWIG_fail;
26315 if (arg2 == NULL) {
26316 PyErr_SetString(PyExc_TypeError,"null reference");
26317 SWIG_fail;
26318 }
26319 {
26320 PyThreadState* __tstate = wxPyBeginAllowThreads();
26321 (arg1)->Delete((wxTreeItemId const &)*arg2);
26322
26323 wxPyEndAllowThreads(__tstate);
26324 if (PyErr_Occurred()) SWIG_fail;
26325 }
26326 Py_INCREF(Py_None); resultobj = Py_None;
26327 return resultobj;
26328 fail:
26329 return NULL;
26330 }
26331
26332
26333 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26334 PyObject *resultobj;
26335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26336 wxTreeItemId *arg2 = 0 ;
26337 PyObject * obj0 = 0 ;
26338 PyObject * obj1 = 0 ;
26339 char *kwnames[] = {
26340 (char *) "self",(char *) "item", NULL
26341 };
26342
26343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
26344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26347 SWIG_POINTER_EXCEPTION | 0)) == -1)
26348 SWIG_fail;
26349 if (arg2 == NULL) {
26350 PyErr_SetString(PyExc_TypeError,"null reference");
26351 SWIG_fail;
26352 }
26353 {
26354 PyThreadState* __tstate = wxPyBeginAllowThreads();
26355 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26356
26357 wxPyEndAllowThreads(__tstate);
26358 if (PyErr_Occurred()) SWIG_fail;
26359 }
26360 Py_INCREF(Py_None); resultobj = Py_None;
26361 return resultobj;
26362 fail:
26363 return NULL;
26364 }
26365
26366
26367 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26368 PyObject *resultobj;
26369 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26370 PyObject * obj0 = 0 ;
26371 char *kwnames[] = {
26372 (char *) "self", NULL
26373 };
26374
26375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
26376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26378 {
26379 PyThreadState* __tstate = wxPyBeginAllowThreads();
26380 (arg1)->DeleteAllItems();
26381
26382 wxPyEndAllowThreads(__tstate);
26383 if (PyErr_Occurred()) SWIG_fail;
26384 }
26385 Py_INCREF(Py_None); resultobj = Py_None;
26386 return resultobj;
26387 fail:
26388 return NULL;
26389 }
26390
26391
26392 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26393 PyObject *resultobj;
26394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26395 wxTreeItemId *arg2 = 0 ;
26396 PyObject * obj0 = 0 ;
26397 PyObject * obj1 = 0 ;
26398 char *kwnames[] = {
26399 (char *) "self",(char *) "item", NULL
26400 };
26401
26402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
26403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1)
26407 SWIG_fail;
26408 if (arg2 == NULL) {
26409 PyErr_SetString(PyExc_TypeError,"null reference");
26410 SWIG_fail;
26411 }
26412 {
26413 PyThreadState* __tstate = wxPyBeginAllowThreads();
26414 (arg1)->Expand((wxTreeItemId const &)*arg2);
26415
26416 wxPyEndAllowThreads(__tstate);
26417 if (PyErr_Occurred()) SWIG_fail;
26418 }
26419 Py_INCREF(Py_None); resultobj = Py_None;
26420 return resultobj;
26421 fail:
26422 return NULL;
26423 }
26424
26425
26426 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26427 PyObject *resultobj;
26428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26429 wxTreeItemId *arg2 = 0 ;
26430 PyObject * obj0 = 0 ;
26431 PyObject * obj1 = 0 ;
26432 char *kwnames[] = {
26433 (char *) "self",(char *) "item", NULL
26434 };
26435
26436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
26437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26440 SWIG_POINTER_EXCEPTION | 0)) == -1)
26441 SWIG_fail;
26442 if (arg2 == NULL) {
26443 PyErr_SetString(PyExc_TypeError,"null reference");
26444 SWIG_fail;
26445 }
26446 {
26447 PyThreadState* __tstate = wxPyBeginAllowThreads();
26448 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26449
26450 wxPyEndAllowThreads(__tstate);
26451 if (PyErr_Occurred()) SWIG_fail;
26452 }
26453 Py_INCREF(Py_None); resultobj = Py_None;
26454 return resultobj;
26455 fail:
26456 return NULL;
26457 }
26458
26459
26460 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26461 PyObject *resultobj;
26462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26463 wxTreeItemId *arg2 = 0 ;
26464 PyObject * obj0 = 0 ;
26465 PyObject * obj1 = 0 ;
26466 char *kwnames[] = {
26467 (char *) "self",(char *) "item", NULL
26468 };
26469
26470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
26471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26473 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26474 SWIG_POINTER_EXCEPTION | 0)) == -1)
26475 SWIG_fail;
26476 if (arg2 == NULL) {
26477 PyErr_SetString(PyExc_TypeError,"null reference");
26478 SWIG_fail;
26479 }
26480 {
26481 PyThreadState* __tstate = wxPyBeginAllowThreads();
26482 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26483
26484 wxPyEndAllowThreads(__tstate);
26485 if (PyErr_Occurred()) SWIG_fail;
26486 }
26487 Py_INCREF(Py_None); resultobj = Py_None;
26488 return resultobj;
26489 fail:
26490 return NULL;
26491 }
26492
26493
26494 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26495 PyObject *resultobj;
26496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26497 wxTreeItemId *arg2 = 0 ;
26498 PyObject * obj0 = 0 ;
26499 PyObject * obj1 = 0 ;
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "item", NULL
26502 };
26503
26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
26505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26508 SWIG_POINTER_EXCEPTION | 0)) == -1)
26509 SWIG_fail;
26510 if (arg2 == NULL) {
26511 PyErr_SetString(PyExc_TypeError,"null reference");
26512 SWIG_fail;
26513 }
26514 {
26515 PyThreadState* __tstate = wxPyBeginAllowThreads();
26516 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26517
26518 wxPyEndAllowThreads(__tstate);
26519 if (PyErr_Occurred()) SWIG_fail;
26520 }
26521 Py_INCREF(Py_None); resultobj = Py_None;
26522 return resultobj;
26523 fail:
26524 return NULL;
26525 }
26526
26527
26528 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26529 PyObject *resultobj;
26530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26531 PyObject * obj0 = 0 ;
26532 char *kwnames[] = {
26533 (char *) "self", NULL
26534 };
26535
26536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
26537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->Unselect();
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550 }
26551
26552
26553 static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26554 PyObject *resultobj;
26555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26556 wxTreeItemId *arg2 = 0 ;
26557 PyObject * obj0 = 0 ;
26558 PyObject * obj1 = 0 ;
26559 char *kwnames[] = {
26560 (char *) "self",(char *) "item", NULL
26561 };
26562
26563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26566 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26567 SWIG_POINTER_EXCEPTION | 0)) == -1)
26568 SWIG_fail;
26569 if (arg2 == NULL) {
26570 PyErr_SetString(PyExc_TypeError,"null reference");
26571 SWIG_fail;
26572 }
26573 {
26574 PyThreadState* __tstate = wxPyBeginAllowThreads();
26575 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26576
26577 wxPyEndAllowThreads(__tstate);
26578 if (PyErr_Occurred()) SWIG_fail;
26579 }
26580 Py_INCREF(Py_None); resultobj = Py_None;
26581 return resultobj;
26582 fail:
26583 return NULL;
26584 }
26585
26586
26587 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26588 PyObject *resultobj;
26589 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26590 PyObject * obj0 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "self", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 (arg1)->UnselectAll();
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 Py_INCREF(Py_None); resultobj = Py_None;
26606 return resultobj;
26607 fail:
26608 return NULL;
26609 }
26610
26611
26612 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26613 PyObject *resultobj;
26614 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26615 wxTreeItemId *arg2 = 0 ;
26616 bool arg3 = (bool) True ;
26617 PyObject * obj0 = 0 ;
26618 PyObject * obj1 = 0 ;
26619 PyObject * obj2 = 0 ;
26620 char *kwnames[] = {
26621 (char *) "self",(char *) "item",(char *) "select", NULL
26622 };
26623
26624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26627 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26628 SWIG_POINTER_EXCEPTION | 0)) == -1)
26629 SWIG_fail;
26630 if (arg2 == NULL) {
26631 PyErr_SetString(PyExc_TypeError,"null reference");
26632 SWIG_fail;
26633 }
26634 if (obj2) {
26635 arg3 = (bool) SWIG_AsBool(obj2);
26636 if (PyErr_Occurred()) SWIG_fail;
26637 }
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 Py_INCREF(Py_None); resultobj = Py_None;
26646 return resultobj;
26647 fail:
26648 return NULL;
26649 }
26650
26651
26652 static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26653 PyObject *resultobj;
26654 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26655 wxTreeItemId *arg2 = 0 ;
26656 PyObject * obj0 = 0 ;
26657 PyObject * obj1 = 0 ;
26658 char *kwnames[] = {
26659 (char *) "self",(char *) "item", NULL
26660 };
26661
26662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26666 SWIG_POINTER_EXCEPTION | 0)) == -1)
26667 SWIG_fail;
26668 if (arg2 == NULL) {
26669 PyErr_SetString(PyExc_TypeError,"null reference");
26670 SWIG_fail;
26671 }
26672 {
26673 PyThreadState* __tstate = wxPyBeginAllowThreads();
26674 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26675
26676 wxPyEndAllowThreads(__tstate);
26677 if (PyErr_Occurred()) SWIG_fail;
26678 }
26679 Py_INCREF(Py_None); resultobj = Py_None;
26680 return resultobj;
26681 fail:
26682 return NULL;
26683 }
26684
26685
26686 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26687 PyObject *resultobj;
26688 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26689 wxTreeItemId *arg2 = 0 ;
26690 PyObject * obj0 = 0 ;
26691 PyObject * obj1 = 0 ;
26692 char *kwnames[] = {
26693 (char *) "self",(char *) "item", NULL
26694 };
26695
26696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26700 SWIG_POINTER_EXCEPTION | 0)) == -1)
26701 SWIG_fail;
26702 if (arg2 == NULL) {
26703 PyErr_SetString(PyExc_TypeError,"null reference");
26704 SWIG_fail;
26705 }
26706 {
26707 PyThreadState* __tstate = wxPyBeginAllowThreads();
26708 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26709
26710 wxPyEndAllowThreads(__tstate);
26711 if (PyErr_Occurred()) SWIG_fail;
26712 }
26713 Py_INCREF(Py_None); resultobj = Py_None;
26714 return resultobj;
26715 fail:
26716 return NULL;
26717 }
26718
26719
26720 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26721 PyObject *resultobj;
26722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26723 wxTreeItemId *arg2 = 0 ;
26724 PyObject * obj0 = 0 ;
26725 PyObject * obj1 = 0 ;
26726 char *kwnames[] = {
26727 (char *) "self",(char *) "item", NULL
26728 };
26729
26730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26734 SWIG_POINTER_EXCEPTION | 0)) == -1)
26735 SWIG_fail;
26736 if (arg2 == NULL) {
26737 PyErr_SetString(PyExc_TypeError,"null reference");
26738 SWIG_fail;
26739 }
26740 {
26741 PyThreadState* __tstate = wxPyBeginAllowThreads();
26742 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26743
26744 wxPyEndAllowThreads(__tstate);
26745 if (PyErr_Occurred()) SWIG_fail;
26746 }
26747 Py_INCREF(Py_None); resultobj = Py_None;
26748 return resultobj;
26749 fail:
26750 return NULL;
26751 }
26752
26753
26754 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26755 PyObject *resultobj;
26756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26757 wxTreeItemId *arg2 = 0 ;
26758 PyObject * obj0 = 0 ;
26759 PyObject * obj1 = 0 ;
26760 char *kwnames[] = {
26761 (char *) "self",(char *) "item", NULL
26762 };
26763
26764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26768 SWIG_POINTER_EXCEPTION | 0)) == -1)
26769 SWIG_fail;
26770 if (arg2 == NULL) {
26771 PyErr_SetString(PyExc_TypeError,"null reference");
26772 SWIG_fail;
26773 }
26774 {
26775 PyThreadState* __tstate = wxPyBeginAllowThreads();
26776 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26777
26778 wxPyEndAllowThreads(__tstate);
26779 if (PyErr_Occurred()) SWIG_fail;
26780 }
26781 Py_INCREF(Py_None); resultobj = Py_None;
26782 return resultobj;
26783 fail:
26784 return NULL;
26785 }
26786
26787
26788 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26789 PyObject *resultobj;
26790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26791 wxTextCtrl *result;
26792 PyObject * obj0 = 0 ;
26793 char *kwnames[] = {
26794 (char *) "self", NULL
26795 };
26796
26797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26800 {
26801 PyThreadState* __tstate = wxPyBeginAllowThreads();
26802 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26803
26804 wxPyEndAllowThreads(__tstate);
26805 if (PyErr_Occurred()) SWIG_fail;
26806 }
26807 {
26808 resultobj = wxPyMake_wxObject(result);
26809 }
26810 return resultobj;
26811 fail:
26812 return NULL;
26813 }
26814
26815
26816 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26817 PyObject *resultobj;
26818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26819 wxTreeItemId *arg2 = 0 ;
26820 PyObject * obj0 = 0 ;
26821 PyObject * obj1 = 0 ;
26822 char *kwnames[] = {
26823 (char *) "self",(char *) "item", NULL
26824 };
26825
26826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26830 SWIG_POINTER_EXCEPTION | 0)) == -1)
26831 SWIG_fail;
26832 if (arg2 == NULL) {
26833 PyErr_SetString(PyExc_TypeError,"null reference");
26834 SWIG_fail;
26835 }
26836 {
26837 PyThreadState* __tstate = wxPyBeginAllowThreads();
26838 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26839
26840 wxPyEndAllowThreads(__tstate);
26841 if (PyErr_Occurred()) SWIG_fail;
26842 }
26843 Py_INCREF(Py_None); resultobj = Py_None;
26844 return resultobj;
26845 fail:
26846 return NULL;
26847 }
26848
26849
26850 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26851 PyObject *resultobj;
26852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26853 wxPoint *arg2 = 0 ;
26854 int *arg3 = 0 ;
26855 wxTreeItemId result;
26856 wxPoint temp2 ;
26857 int temp3 ;
26858 PyObject * obj0 = 0 ;
26859 PyObject * obj1 = 0 ;
26860 char *kwnames[] = {
26861 (char *) "self",(char *) "point", NULL
26862 };
26863
26864 arg3 = &temp3;
26865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26868 {
26869 arg2 = &temp2;
26870 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26871 }
26872 {
26873 PyThreadState* __tstate = wxPyBeginAllowThreads();
26874 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26875
26876 wxPyEndAllowThreads(__tstate);
26877 if (PyErr_Occurred()) SWIG_fail;
26878 }
26879 {
26880 wxTreeItemId * resultptr;
26881 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26882 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26883 }
26884 {
26885 PyObject *o = PyInt_FromLong((long) (*arg3));
26886 resultobj = t_output_helper(resultobj,o);
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891 }
26892
26893
26894 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26895 PyObject *resultobj;
26896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26897 wxTreeItemId *arg2 = 0 ;
26898 bool arg3 = (bool) False ;
26899 PyObject *result;
26900 PyObject * obj0 = 0 ;
26901 PyObject * obj1 = 0 ;
26902 PyObject * obj2 = 0 ;
26903 char *kwnames[] = {
26904 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26905 };
26906
26907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26911 SWIG_POINTER_EXCEPTION | 0)) == -1)
26912 SWIG_fail;
26913 if (arg2 == NULL) {
26914 PyErr_SetString(PyExc_TypeError,"null reference");
26915 SWIG_fail;
26916 }
26917 if (obj2) {
26918 arg3 = (bool) SWIG_AsBool(obj2);
26919 if (PyErr_Occurred()) SWIG_fail;
26920 }
26921 {
26922 PyThreadState* __tstate = wxPyBeginAllowThreads();
26923 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26924
26925 wxPyEndAllowThreads(__tstate);
26926 if (PyErr_Occurred()) SWIG_fail;
26927 }
26928 resultobj = result;
26929 return resultobj;
26930 fail:
26931 return NULL;
26932 }
26933
26934
26935 static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26936 PyObject *resultobj;
26937 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26938 wxVisualAttributes result;
26939 PyObject * obj0 = 0 ;
26940 char *kwnames[] = {
26941 (char *) "variant", NULL
26942 };
26943
26944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26945 if (obj0) {
26946 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26947 if (PyErr_Occurred()) SWIG_fail;
26948 }
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 {
26957 wxVisualAttributes * resultptr;
26958 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26960 }
26961 return resultobj;
26962 fail:
26963 return NULL;
26964 }
26965
26966
26967 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26968 PyObject *obj;
26969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26970 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26971 Py_INCREF(obj);
26972 return Py_BuildValue((char *)"");
26973 }
26974 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26975 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26976 return 1;
26977 }
26978
26979
26980 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26981 PyObject *pyobj;
26982
26983 {
26984 #if wxUSE_UNICODE
26985 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26986 #else
26987 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26988 #endif
26989 }
26990 return pyobj;
26991 }
26992
26993
26994 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj;
26996 wxWindow *arg1 = (wxWindow *) 0 ;
26997 int arg2 = (int) (int)-1 ;
26998 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26999 wxString *arg3 = (wxString *) &arg3_defvalue ;
27000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27002 wxSize const &arg5_defvalue = wxDefaultSize ;
27003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27004 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27005 wxString const &arg7_defvalue = wxPyEmptyString ;
27006 wxString *arg7 = (wxString *) &arg7_defvalue ;
27007 int arg8 = (int) 0 ;
27008 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27009 wxString *arg9 = (wxString *) &arg9_defvalue ;
27010 wxGenericDirCtrl *result;
27011 bool temp3 = False ;
27012 wxPoint temp4 ;
27013 wxSize temp5 ;
27014 bool temp7 = False ;
27015 bool temp9 = False ;
27016 PyObject * obj0 = 0 ;
27017 PyObject * obj1 = 0 ;
27018 PyObject * obj2 = 0 ;
27019 PyObject * obj3 = 0 ;
27020 PyObject * obj4 = 0 ;
27021 PyObject * obj5 = 0 ;
27022 PyObject * obj6 = 0 ;
27023 PyObject * obj7 = 0 ;
27024 PyObject * obj8 = 0 ;
27025 char *kwnames[] = {
27026 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27027 };
27028
27029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27032 if (obj1) {
27033 arg2 = (int const) SWIG_AsInt(obj1);
27034 if (PyErr_Occurred()) SWIG_fail;
27035 }
27036 if (obj2) {
27037 {
27038 arg3 = wxString_in_helper(obj2);
27039 if (arg3 == NULL) SWIG_fail;
27040 temp3 = True;
27041 }
27042 }
27043 if (obj3) {
27044 {
27045 arg4 = &temp4;
27046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27047 }
27048 }
27049 if (obj4) {
27050 {
27051 arg5 = &temp5;
27052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27053 }
27054 }
27055 if (obj5) {
27056 arg6 = (long) SWIG_AsLong(obj5);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
27059 if (obj6) {
27060 {
27061 arg7 = wxString_in_helper(obj6);
27062 if (arg7 == NULL) SWIG_fail;
27063 temp7 = True;
27064 }
27065 }
27066 if (obj7) {
27067 arg8 = (int) SWIG_AsInt(obj7);
27068 if (PyErr_Occurred()) SWIG_fail;
27069 }
27070 if (obj8) {
27071 {
27072 arg9 = wxString_in_helper(obj8);
27073 if (arg9 == NULL) SWIG_fail;
27074 temp9 = True;
27075 }
27076 }
27077 {
27078 PyThreadState* __tstate = wxPyBeginAllowThreads();
27079 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27080
27081 wxPyEndAllowThreads(__tstate);
27082 if (PyErr_Occurred()) SWIG_fail;
27083 }
27084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27085 {
27086 if (temp3)
27087 delete arg3;
27088 }
27089 {
27090 if (temp7)
27091 delete arg7;
27092 }
27093 {
27094 if (temp9)
27095 delete arg9;
27096 }
27097 return resultobj;
27098 fail:
27099 {
27100 if (temp3)
27101 delete arg3;
27102 }
27103 {
27104 if (temp7)
27105 delete arg7;
27106 }
27107 {
27108 if (temp9)
27109 delete arg9;
27110 }
27111 return NULL;
27112 }
27113
27114
27115 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27116 PyObject *resultobj;
27117 wxGenericDirCtrl *result;
27118 char *kwnames[] = {
27119 NULL
27120 };
27121
27122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27123 {
27124 PyThreadState* __tstate = wxPyBeginAllowThreads();
27125 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27126
27127 wxPyEndAllowThreads(__tstate);
27128 if (PyErr_Occurred()) SWIG_fail;
27129 }
27130 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27131 return resultobj;
27132 fail:
27133 return NULL;
27134 }
27135
27136
27137 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27138 PyObject *resultobj;
27139 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27140 wxWindow *arg2 = (wxWindow *) 0 ;
27141 int arg3 = (int) (int)-1 ;
27142 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27143 wxString *arg4 = (wxString *) &arg4_defvalue ;
27144 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27145 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27146 wxSize const &arg6_defvalue = wxDefaultSize ;
27147 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27148 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27149 wxString const &arg8_defvalue = wxPyEmptyString ;
27150 wxString *arg8 = (wxString *) &arg8_defvalue ;
27151 int arg9 = (int) 0 ;
27152 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
27153 wxString *arg10 = (wxString *) &arg10_defvalue ;
27154 bool result;
27155 bool temp4 = False ;
27156 wxPoint temp5 ;
27157 wxSize temp6 ;
27158 bool temp8 = False ;
27159 bool temp10 = False ;
27160 PyObject * obj0 = 0 ;
27161 PyObject * obj1 = 0 ;
27162 PyObject * obj2 = 0 ;
27163 PyObject * obj3 = 0 ;
27164 PyObject * obj4 = 0 ;
27165 PyObject * obj5 = 0 ;
27166 PyObject * obj6 = 0 ;
27167 PyObject * obj7 = 0 ;
27168 PyObject * obj8 = 0 ;
27169 PyObject * obj9 = 0 ;
27170 char *kwnames[] = {
27171 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27172 };
27173
27174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
27175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27177 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27179 if (obj2) {
27180 arg3 = (int const) SWIG_AsInt(obj2);
27181 if (PyErr_Occurred()) SWIG_fail;
27182 }
27183 if (obj3) {
27184 {
27185 arg4 = wxString_in_helper(obj3);
27186 if (arg4 == NULL) SWIG_fail;
27187 temp4 = True;
27188 }
27189 }
27190 if (obj4) {
27191 {
27192 arg5 = &temp5;
27193 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27194 }
27195 }
27196 if (obj5) {
27197 {
27198 arg6 = &temp6;
27199 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27200 }
27201 }
27202 if (obj6) {
27203 arg7 = (long) SWIG_AsLong(obj6);
27204 if (PyErr_Occurred()) SWIG_fail;
27205 }
27206 if (obj7) {
27207 {
27208 arg8 = wxString_in_helper(obj7);
27209 if (arg8 == NULL) SWIG_fail;
27210 temp8 = True;
27211 }
27212 }
27213 if (obj8) {
27214 arg9 = (int) SWIG_AsInt(obj8);
27215 if (PyErr_Occurred()) SWIG_fail;
27216 }
27217 if (obj9) {
27218 {
27219 arg10 = wxString_in_helper(obj9);
27220 if (arg10 == NULL) SWIG_fail;
27221 temp10 = True;
27222 }
27223 }
27224 {
27225 PyThreadState* __tstate = wxPyBeginAllowThreads();
27226 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27227
27228 wxPyEndAllowThreads(__tstate);
27229 if (PyErr_Occurred()) SWIG_fail;
27230 }
27231 {
27232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27233 }
27234 {
27235 if (temp4)
27236 delete arg4;
27237 }
27238 {
27239 if (temp8)
27240 delete arg8;
27241 }
27242 {
27243 if (temp10)
27244 delete arg10;
27245 }
27246 return resultobj;
27247 fail:
27248 {
27249 if (temp4)
27250 delete arg4;
27251 }
27252 {
27253 if (temp8)
27254 delete arg8;
27255 }
27256 {
27257 if (temp10)
27258 delete arg10;
27259 }
27260 return NULL;
27261 }
27262
27263
27264 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27265 PyObject *resultobj;
27266 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27267 wxString *arg2 = 0 ;
27268 bool result;
27269 bool temp2 = False ;
27270 PyObject * obj0 = 0 ;
27271 PyObject * obj1 = 0 ;
27272 char *kwnames[] = {
27273 (char *) "self",(char *) "path", NULL
27274 };
27275
27276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
27277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27279 {
27280 arg2 = wxString_in_helper(obj1);
27281 if (arg2 == NULL) SWIG_fail;
27282 temp2 = True;
27283 }
27284 {
27285 PyThreadState* __tstate = wxPyBeginAllowThreads();
27286 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27287
27288 wxPyEndAllowThreads(__tstate);
27289 if (PyErr_Occurred()) SWIG_fail;
27290 }
27291 {
27292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27293 }
27294 {
27295 if (temp2)
27296 delete arg2;
27297 }
27298 return resultobj;
27299 fail:
27300 {
27301 if (temp2)
27302 delete arg2;
27303 }
27304 return NULL;
27305 }
27306
27307
27308 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27309 PyObject *resultobj;
27310 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27311 wxString result;
27312 PyObject * obj0 = 0 ;
27313 char *kwnames[] = {
27314 (char *) "self", NULL
27315 };
27316
27317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
27318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27320 {
27321 PyThreadState* __tstate = wxPyBeginAllowThreads();
27322 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27323
27324 wxPyEndAllowThreads(__tstate);
27325 if (PyErr_Occurred()) SWIG_fail;
27326 }
27327 {
27328 #if wxUSE_UNICODE
27329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27330 #else
27331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27332 #endif
27333 }
27334 return resultobj;
27335 fail:
27336 return NULL;
27337 }
27338
27339
27340 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27341 PyObject *resultobj;
27342 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27343 wxString *arg2 = 0 ;
27344 bool temp2 = False ;
27345 PyObject * obj0 = 0 ;
27346 PyObject * obj1 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "self",(char *) "path", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
27352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27354 {
27355 arg2 = wxString_in_helper(obj1);
27356 if (arg2 == NULL) SWIG_fail;
27357 temp2 = True;
27358 }
27359 {
27360 PyThreadState* __tstate = wxPyBeginAllowThreads();
27361 (arg1)->SetDefaultPath((wxString const &)*arg2);
27362
27363 wxPyEndAllowThreads(__tstate);
27364 if (PyErr_Occurred()) SWIG_fail;
27365 }
27366 Py_INCREF(Py_None); resultobj = Py_None;
27367 {
27368 if (temp2)
27369 delete arg2;
27370 }
27371 return resultobj;
27372 fail:
27373 {
27374 if (temp2)
27375 delete arg2;
27376 }
27377 return NULL;
27378 }
27379
27380
27381 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27382 PyObject *resultobj;
27383 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27384 wxString result;
27385 PyObject * obj0 = 0 ;
27386 char *kwnames[] = {
27387 (char *) "self", NULL
27388 };
27389
27390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
27391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 {
27401 #if wxUSE_UNICODE
27402 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27403 #else
27404 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27405 #endif
27406 }
27407 return resultobj;
27408 fail:
27409 return NULL;
27410 }
27411
27412
27413 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27414 PyObject *resultobj;
27415 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27416 wxString result;
27417 PyObject * obj0 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
27423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27425 {
27426 PyThreadState* __tstate = wxPyBeginAllowThreads();
27427 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27428
27429 wxPyEndAllowThreads(__tstate);
27430 if (PyErr_Occurred()) SWIG_fail;
27431 }
27432 {
27433 #if wxUSE_UNICODE
27434 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27435 #else
27436 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27437 #endif
27438 }
27439 return resultobj;
27440 fail:
27441 return NULL;
27442 }
27443
27444
27445 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27446 PyObject *resultobj;
27447 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27448 wxString *arg2 = 0 ;
27449 bool temp2 = False ;
27450 PyObject * obj0 = 0 ;
27451 PyObject * obj1 = 0 ;
27452 char *kwnames[] = {
27453 (char *) "self",(char *) "path", NULL
27454 };
27455
27456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
27457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27459 {
27460 arg2 = wxString_in_helper(obj1);
27461 if (arg2 == NULL) SWIG_fail;
27462 temp2 = True;
27463 }
27464 {
27465 PyThreadState* __tstate = wxPyBeginAllowThreads();
27466 (arg1)->SetPath((wxString const &)*arg2);
27467
27468 wxPyEndAllowThreads(__tstate);
27469 if (PyErr_Occurred()) SWIG_fail;
27470 }
27471 Py_INCREF(Py_None); resultobj = Py_None;
27472 {
27473 if (temp2)
27474 delete arg2;
27475 }
27476 return resultobj;
27477 fail:
27478 {
27479 if (temp2)
27480 delete arg2;
27481 }
27482 return NULL;
27483 }
27484
27485
27486 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27487 PyObject *resultobj;
27488 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27489 bool arg2 ;
27490 PyObject * obj0 = 0 ;
27491 PyObject * obj1 = 0 ;
27492 char *kwnames[] = {
27493 (char *) "self",(char *) "show", NULL
27494 };
27495
27496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
27497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27499 arg2 = (bool) SWIG_AsBool(obj1);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 {
27502 PyThreadState* __tstate = wxPyBeginAllowThreads();
27503 (arg1)->ShowHidden(arg2);
27504
27505 wxPyEndAllowThreads(__tstate);
27506 if (PyErr_Occurred()) SWIG_fail;
27507 }
27508 Py_INCREF(Py_None); resultobj = Py_None;
27509 return resultobj;
27510 fail:
27511 return NULL;
27512 }
27513
27514
27515 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27516 PyObject *resultobj;
27517 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27518 bool result;
27519 PyObject * obj0 = 0 ;
27520 char *kwnames[] = {
27521 (char *) "self", NULL
27522 };
27523
27524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
27525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27527 {
27528 PyThreadState* __tstate = wxPyBeginAllowThreads();
27529 result = (bool)(arg1)->GetShowHidden();
27530
27531 wxPyEndAllowThreads(__tstate);
27532 if (PyErr_Occurred()) SWIG_fail;
27533 }
27534 {
27535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27536 }
27537 return resultobj;
27538 fail:
27539 return NULL;
27540 }
27541
27542
27543 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27544 PyObject *resultobj;
27545 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27546 wxString result;
27547 PyObject * obj0 = 0 ;
27548 char *kwnames[] = {
27549 (char *) "self", NULL
27550 };
27551
27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
27553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 {
27563 #if wxUSE_UNICODE
27564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27565 #else
27566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27567 #endif
27568 }
27569 return resultobj;
27570 fail:
27571 return NULL;
27572 }
27573
27574
27575 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27576 PyObject *resultobj;
27577 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27578 wxString *arg2 = 0 ;
27579 bool temp2 = False ;
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "filter", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27589 {
27590 arg2 = wxString_in_helper(obj1);
27591 if (arg2 == NULL) SWIG_fail;
27592 temp2 = True;
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 (arg1)->SetFilter((wxString const &)*arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 Py_INCREF(Py_None); resultobj = Py_None;
27602 {
27603 if (temp2)
27604 delete arg2;
27605 }
27606 return resultobj;
27607 fail:
27608 {
27609 if (temp2)
27610 delete arg2;
27611 }
27612 return NULL;
27613 }
27614
27615
27616 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27617 PyObject *resultobj;
27618 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27619 int result;
27620 PyObject * obj0 = 0 ;
27621 char *kwnames[] = {
27622 (char *) "self", NULL
27623 };
27624
27625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27628 {
27629 PyThreadState* __tstate = wxPyBeginAllowThreads();
27630 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27631
27632 wxPyEndAllowThreads(__tstate);
27633 if (PyErr_Occurred()) SWIG_fail;
27634 }
27635 resultobj = SWIG_FromInt((int)result);
27636 return resultobj;
27637 fail:
27638 return NULL;
27639 }
27640
27641
27642 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27643 PyObject *resultobj;
27644 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27645 int arg2 ;
27646 PyObject * obj0 = 0 ;
27647 PyObject * obj1 = 0 ;
27648 char *kwnames[] = {
27649 (char *) "self",(char *) "n", NULL
27650 };
27651
27652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27655 arg2 = (int) SWIG_AsInt(obj1);
27656 if (PyErr_Occurred()) SWIG_fail;
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 (arg1)->SetFilterIndex(arg2);
27660
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 Py_INCREF(Py_None); resultobj = Py_None;
27665 return resultobj;
27666 fail:
27667 return NULL;
27668 }
27669
27670
27671 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27672 PyObject *resultobj;
27673 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27674 wxTreeItemId result;
27675 PyObject * obj0 = 0 ;
27676 char *kwnames[] = {
27677 (char *) "self", NULL
27678 };
27679
27680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27683 {
27684 PyThreadState* __tstate = wxPyBeginAllowThreads();
27685 result = (arg1)->GetRootId();
27686
27687 wxPyEndAllowThreads(__tstate);
27688 if (PyErr_Occurred()) SWIG_fail;
27689 }
27690 {
27691 wxTreeItemId * resultptr;
27692 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27693 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27694 }
27695 return resultobj;
27696 fail:
27697 return NULL;
27698 }
27699
27700
27701 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27702 PyObject *resultobj;
27703 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27704 wxPyTreeCtrl *result;
27705 PyObject * obj0 = 0 ;
27706 char *kwnames[] = {
27707 (char *) "self", NULL
27708 };
27709
27710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 {
27721 resultobj = wxPyMake_wxObject(result);
27722 }
27723 return resultobj;
27724 fail:
27725 return NULL;
27726 }
27727
27728
27729 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27730 PyObject *resultobj;
27731 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27732 wxDirFilterListCtrl *result;
27733 PyObject * obj0 = 0 ;
27734 char *kwnames[] = {
27735 (char *) "self", NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27741 {
27742 PyThreadState* __tstate = wxPyBeginAllowThreads();
27743 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27744
27745 wxPyEndAllowThreads(__tstate);
27746 if (PyErr_Occurred()) SWIG_fail;
27747 }
27748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
27749 return resultobj;
27750 fail:
27751 return NULL;
27752 }
27753
27754
27755 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27756 PyObject *resultobj;
27757 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27758 wxTreeItemId arg2 ;
27759 wxString *arg3 = 0 ;
27760 bool *arg4 = 0 ;
27761 wxTreeItemId result;
27762 wxTreeItemId *argp2 ;
27763 bool temp3 = False ;
27764 bool temp4 ;
27765 PyObject * obj0 = 0 ;
27766 PyObject * obj1 = 0 ;
27767 PyObject * obj2 = 0 ;
27768 char *kwnames[] = {
27769 (char *) "self",(char *) "parentId",(char *) "path", NULL
27770 };
27771
27772 arg4 = &temp4;
27773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27776 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27777 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27778 arg2 = *argp2;
27779 {
27780 arg3 = wxString_in_helper(obj2);
27781 if (arg3 == NULL) SWIG_fail;
27782 temp3 = True;
27783 }
27784 {
27785 PyThreadState* __tstate = wxPyBeginAllowThreads();
27786 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27787
27788 wxPyEndAllowThreads(__tstate);
27789 if (PyErr_Occurred()) SWIG_fail;
27790 }
27791 {
27792 wxTreeItemId * resultptr;
27793 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27794 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27795 }
27796 {
27797 PyObject *o = PyInt_FromLong((long) (*arg4));
27798 resultobj = t_output_helper(resultobj,o);
27799 }
27800 {
27801 if (temp3)
27802 delete arg3;
27803 }
27804 return resultobj;
27805 fail:
27806 {
27807 if (temp3)
27808 delete arg3;
27809 }
27810 return NULL;
27811 }
27812
27813
27814 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27815 PyObject *resultobj;
27816 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27817 PyObject * obj0 = 0 ;
27818 char *kwnames[] = {
27819 (char *) "self", NULL
27820 };
27821
27822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27825 {
27826 PyThreadState* __tstate = wxPyBeginAllowThreads();
27827 (arg1)->DoResize();
27828
27829 wxPyEndAllowThreads(__tstate);
27830 if (PyErr_Occurred()) SWIG_fail;
27831 }
27832 Py_INCREF(Py_None); resultobj = Py_None;
27833 return resultobj;
27834 fail:
27835 return NULL;
27836 }
27837
27838
27839 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27840 PyObject *resultobj;
27841 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27842 PyObject * obj0 = 0 ;
27843 char *kwnames[] = {
27844 (char *) "self", NULL
27845 };
27846
27847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27850 {
27851 PyThreadState* __tstate = wxPyBeginAllowThreads();
27852 (arg1)->ReCreateTree();
27853
27854 wxPyEndAllowThreads(__tstate);
27855 if (PyErr_Occurred()) SWIG_fail;
27856 }
27857 Py_INCREF(Py_None); resultobj = Py_None;
27858 return resultobj;
27859 fail:
27860 return NULL;
27861 }
27862
27863
27864 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27865 PyObject *obj;
27866 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27867 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27868 Py_INCREF(obj);
27869 return Py_BuildValue((char *)"");
27870 }
27871 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27872 PyObject *resultobj;
27873 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27874 int arg2 = (int) (int)-1 ;
27875 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27876 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27877 wxSize const &arg4_defvalue = wxDefaultSize ;
27878 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27879 long arg5 = (long) 0 ;
27880 wxDirFilterListCtrl *result;
27881 wxPoint temp3 ;
27882 wxSize temp4 ;
27883 PyObject * obj0 = 0 ;
27884 PyObject * obj1 = 0 ;
27885 PyObject * obj2 = 0 ;
27886 PyObject * obj3 = 0 ;
27887 PyObject * obj4 = 0 ;
27888 char *kwnames[] = {
27889 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27890 };
27891
27892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27895 if (obj1) {
27896 arg2 = (int const) SWIG_AsInt(obj1);
27897 if (PyErr_Occurred()) SWIG_fail;
27898 }
27899 if (obj2) {
27900 {
27901 arg3 = &temp3;
27902 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27903 }
27904 }
27905 if (obj3) {
27906 {
27907 arg4 = &temp4;
27908 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27909 }
27910 }
27911 if (obj4) {
27912 arg5 = (long) SWIG_AsLong(obj4);
27913 if (PyErr_Occurred()) SWIG_fail;
27914 }
27915 {
27916 PyThreadState* __tstate = wxPyBeginAllowThreads();
27917 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27918
27919 wxPyEndAllowThreads(__tstate);
27920 if (PyErr_Occurred()) SWIG_fail;
27921 }
27922 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27923 return resultobj;
27924 fail:
27925 return NULL;
27926 }
27927
27928
27929 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27930 PyObject *resultobj;
27931 wxDirFilterListCtrl *result;
27932 char *kwnames[] = {
27933 NULL
27934 };
27935
27936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27937 {
27938 PyThreadState* __tstate = wxPyBeginAllowThreads();
27939 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27940
27941 wxPyEndAllowThreads(__tstate);
27942 if (PyErr_Occurred()) SWIG_fail;
27943 }
27944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
27945 return resultobj;
27946 fail:
27947 return NULL;
27948 }
27949
27950
27951 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj;
27953 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27954 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27955 int arg3 = (int) (int)-1 ;
27956 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27957 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27958 wxSize const &arg5_defvalue = wxDefaultSize ;
27959 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27960 long arg6 = (long) 0 ;
27961 bool result;
27962 wxPoint temp4 ;
27963 wxSize temp5 ;
27964 PyObject * obj0 = 0 ;
27965 PyObject * obj1 = 0 ;
27966 PyObject * obj2 = 0 ;
27967 PyObject * obj3 = 0 ;
27968 PyObject * obj4 = 0 ;
27969 PyObject * obj5 = 0 ;
27970 char *kwnames[] = {
27971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27972 };
27973
27974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27977 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27979 if (obj2) {
27980 arg3 = (int const) SWIG_AsInt(obj2);
27981 if (PyErr_Occurred()) SWIG_fail;
27982 }
27983 if (obj3) {
27984 {
27985 arg4 = &temp4;
27986 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27987 }
27988 }
27989 if (obj4) {
27990 {
27991 arg5 = &temp5;
27992 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27993 }
27994 }
27995 if (obj5) {
27996 arg6 = (long) SWIG_AsLong(obj5);
27997 if (PyErr_Occurred()) SWIG_fail;
27998 }
27999 {
28000 PyThreadState* __tstate = wxPyBeginAllowThreads();
28001 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28002
28003 wxPyEndAllowThreads(__tstate);
28004 if (PyErr_Occurred()) SWIG_fail;
28005 }
28006 {
28007 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28008 }
28009 return resultobj;
28010 fail:
28011 return NULL;
28012 }
28013
28014
28015 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28016 PyObject *resultobj;
28017 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28018 wxString *arg2 = 0 ;
28019 int arg3 ;
28020 bool temp2 = False ;
28021 PyObject * obj0 = 0 ;
28022 PyObject * obj1 = 0 ;
28023 PyObject * obj2 = 0 ;
28024 char *kwnames[] = {
28025 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28026 };
28027
28028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28031 {
28032 arg2 = wxString_in_helper(obj1);
28033 if (arg2 == NULL) SWIG_fail;
28034 temp2 = True;
28035 }
28036 arg3 = (int) SWIG_AsInt(obj2);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 {
28039 PyThreadState* __tstate = wxPyBeginAllowThreads();
28040 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28041
28042 wxPyEndAllowThreads(__tstate);
28043 if (PyErr_Occurred()) SWIG_fail;
28044 }
28045 Py_INCREF(Py_None); resultobj = Py_None;
28046 {
28047 if (temp2)
28048 delete arg2;
28049 }
28050 return resultobj;
28051 fail:
28052 {
28053 if (temp2)
28054 delete arg2;
28055 }
28056 return NULL;
28057 }
28058
28059
28060 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28061 PyObject *obj;
28062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28063 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28064 Py_INCREF(obj);
28065 return Py_BuildValue((char *)"");
28066 }
28067 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28068 PyObject *resultobj;
28069 wxWindow *arg1 = (wxWindow *) 0 ;
28070 int arg2 ;
28071 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28072 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28073 wxSize const &arg4_defvalue = wxDefaultSize ;
28074 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28075 long arg5 = (long) 0 ;
28076 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28077 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28078 wxString const &arg7_defvalue = wxPyControlNameStr ;
28079 wxString *arg7 = (wxString *) &arg7_defvalue ;
28080 wxPyControl *result;
28081 wxPoint temp3 ;
28082 wxSize temp4 ;
28083 bool temp7 = False ;
28084 PyObject * obj0 = 0 ;
28085 PyObject * obj1 = 0 ;
28086 PyObject * obj2 = 0 ;
28087 PyObject * obj3 = 0 ;
28088 PyObject * obj4 = 0 ;
28089 PyObject * obj5 = 0 ;
28090 PyObject * obj6 = 0 ;
28091 char *kwnames[] = {
28092 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28093 };
28094
28095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28098 arg2 = (int const) SWIG_AsInt(obj1);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 if (obj2) {
28101 {
28102 arg3 = &temp3;
28103 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28104 }
28105 }
28106 if (obj3) {
28107 {
28108 arg4 = &temp4;
28109 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28110 }
28111 }
28112 if (obj4) {
28113 arg5 = (long) SWIG_AsLong(obj4);
28114 if (PyErr_Occurred()) SWIG_fail;
28115 }
28116 if (obj5) {
28117 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28118 SWIG_POINTER_EXCEPTION | 0)) == -1)
28119 SWIG_fail;
28120 if (arg6 == NULL) {
28121 PyErr_SetString(PyExc_TypeError,"null reference");
28122 SWIG_fail;
28123 }
28124 }
28125 if (obj6) {
28126 {
28127 arg7 = wxString_in_helper(obj6);
28128 if (arg7 == NULL) SWIG_fail;
28129 temp7 = True;
28130 }
28131 }
28132 {
28133 PyThreadState* __tstate = wxPyBeginAllowThreads();
28134 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28135
28136 wxPyEndAllowThreads(__tstate);
28137 if (PyErr_Occurred()) SWIG_fail;
28138 }
28139 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28140 {
28141 if (temp7)
28142 delete arg7;
28143 }
28144 return resultobj;
28145 fail:
28146 {
28147 if (temp7)
28148 delete arg7;
28149 }
28150 return NULL;
28151 }
28152
28153
28154 static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28155 PyObject *resultobj;
28156 wxPyControl *result;
28157 char *kwnames[] = {
28158 NULL
28159 };
28160
28161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28162 {
28163 PyThreadState* __tstate = wxPyBeginAllowThreads();
28164 result = (wxPyControl *)new wxPyControl();
28165
28166 wxPyEndAllowThreads(__tstate);
28167 if (PyErr_Occurred()) SWIG_fail;
28168 }
28169 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28170 return resultobj;
28171 fail:
28172 return NULL;
28173 }
28174
28175
28176 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28177 PyObject *resultobj;
28178 wxPyControl *arg1 = (wxPyControl *) 0 ;
28179 PyObject *arg2 = (PyObject *) 0 ;
28180 PyObject *arg3 = (PyObject *) 0 ;
28181 PyObject * obj0 = 0 ;
28182 PyObject * obj1 = 0 ;
28183 PyObject * obj2 = 0 ;
28184 char *kwnames[] = {
28185 (char *) "self",(char *) "self",(char *) "_class", NULL
28186 };
28187
28188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
28189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28191 arg2 = obj1;
28192 arg3 = obj2;
28193 {
28194 PyThreadState* __tstate = wxPyBeginAllowThreads();
28195 (arg1)->_setCallbackInfo(arg2,arg3);
28196
28197 wxPyEndAllowThreads(__tstate);
28198 if (PyErr_Occurred()) SWIG_fail;
28199 }
28200 Py_INCREF(Py_None); resultobj = Py_None;
28201 return resultobj;
28202 fail:
28203 return NULL;
28204 }
28205
28206
28207 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28208 PyObject *resultobj;
28209 wxPyControl *arg1 = (wxPyControl *) 0 ;
28210 int arg2 ;
28211 int arg3 ;
28212 int arg4 ;
28213 int arg5 ;
28214 PyObject * obj0 = 0 ;
28215 PyObject * obj1 = 0 ;
28216 PyObject * obj2 = 0 ;
28217 PyObject * obj3 = 0 ;
28218 PyObject * obj4 = 0 ;
28219 char *kwnames[] = {
28220 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28221 };
28222
28223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28226 arg2 = (int) SWIG_AsInt(obj1);
28227 if (PyErr_Occurred()) SWIG_fail;
28228 arg3 = (int) SWIG_AsInt(obj2);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 arg4 = (int) SWIG_AsInt(obj3);
28231 if (PyErr_Occurred()) SWIG_fail;
28232 arg5 = (int) SWIG_AsInt(obj4);
28233 if (PyErr_Occurred()) SWIG_fail;
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 return resultobj;
28243 fail:
28244 return NULL;
28245 }
28246
28247
28248 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28249 PyObject *resultobj;
28250 wxPyControl *arg1 = (wxPyControl *) 0 ;
28251 int arg2 ;
28252 int arg3 ;
28253 int arg4 ;
28254 int arg5 ;
28255 int arg6 = (int) wxSIZE_AUTO ;
28256 PyObject * obj0 = 0 ;
28257 PyObject * obj1 = 0 ;
28258 PyObject * obj2 = 0 ;
28259 PyObject * obj3 = 0 ;
28260 PyObject * obj4 = 0 ;
28261 PyObject * obj5 = 0 ;
28262 char *kwnames[] = {
28263 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28264 };
28265
28266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28269 arg2 = (int) SWIG_AsInt(obj1);
28270 if (PyErr_Occurred()) SWIG_fail;
28271 arg3 = (int) SWIG_AsInt(obj2);
28272 if (PyErr_Occurred()) SWIG_fail;
28273 arg4 = (int) SWIG_AsInt(obj3);
28274 if (PyErr_Occurred()) SWIG_fail;
28275 arg5 = (int) SWIG_AsInt(obj4);
28276 if (PyErr_Occurred()) SWIG_fail;
28277 if (obj5) {
28278 arg6 = (int) SWIG_AsInt(obj5);
28279 if (PyErr_Occurred()) SWIG_fail;
28280 }
28281 {
28282 PyThreadState* __tstate = wxPyBeginAllowThreads();
28283 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28284
28285 wxPyEndAllowThreads(__tstate);
28286 if (PyErr_Occurred()) SWIG_fail;
28287 }
28288 Py_INCREF(Py_None); resultobj = Py_None;
28289 return resultobj;
28290 fail:
28291 return NULL;
28292 }
28293
28294
28295 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28296 PyObject *resultobj;
28297 wxPyControl *arg1 = (wxPyControl *) 0 ;
28298 int arg2 ;
28299 int arg3 ;
28300 PyObject * obj0 = 0 ;
28301 PyObject * obj1 = 0 ;
28302 PyObject * obj2 = 0 ;
28303 char *kwnames[] = {
28304 (char *) "self",(char *) "width",(char *) "height", NULL
28305 };
28306
28307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28310 arg2 = (int) SWIG_AsInt(obj1);
28311 if (PyErr_Occurred()) SWIG_fail;
28312 arg3 = (int) SWIG_AsInt(obj2);
28313 if (PyErr_Occurred()) SWIG_fail;
28314 {
28315 PyThreadState* __tstate = wxPyBeginAllowThreads();
28316 (arg1)->base_DoSetClientSize(arg2,arg3);
28317
28318 wxPyEndAllowThreads(__tstate);
28319 if (PyErr_Occurred()) SWIG_fail;
28320 }
28321 Py_INCREF(Py_None); resultobj = Py_None;
28322 return resultobj;
28323 fail:
28324 return NULL;
28325 }
28326
28327
28328 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28329 PyObject *resultobj;
28330 wxPyControl *arg1 = (wxPyControl *) 0 ;
28331 int arg2 ;
28332 int arg3 ;
28333 PyObject * obj0 = 0 ;
28334 PyObject * obj1 = 0 ;
28335 PyObject * obj2 = 0 ;
28336 char *kwnames[] = {
28337 (char *) "self",(char *) "x",(char *) "y", NULL
28338 };
28339
28340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
28341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28343 arg2 = (int) SWIG_AsInt(obj1);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 arg3 = (int) SWIG_AsInt(obj2);
28346 if (PyErr_Occurred()) SWIG_fail;
28347 {
28348 PyThreadState* __tstate = wxPyBeginAllowThreads();
28349 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28350
28351 wxPyEndAllowThreads(__tstate);
28352 if (PyErr_Occurred()) SWIG_fail;
28353 }
28354 Py_INCREF(Py_None); resultobj = Py_None;
28355 return resultobj;
28356 fail:
28357 return NULL;
28358 }
28359
28360
28361 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxPyControl *arg1 = (wxPyControl *) 0 ;
28364 int *arg2 = (int *) 0 ;
28365 int *arg3 = (int *) 0 ;
28366 int temp2 ;
28367 int temp3 ;
28368 PyObject * obj0 = 0 ;
28369 char *kwnames[] = {
28370 (char *) "self", NULL
28371 };
28372
28373 arg2 = &temp2;
28374 arg3 = &temp3;
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
28376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28378 {
28379 PyThreadState* __tstate = wxPyBeginAllowThreads();
28380 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28381
28382 wxPyEndAllowThreads(__tstate);
28383 if (PyErr_Occurred()) SWIG_fail;
28384 }
28385 Py_INCREF(Py_None); resultobj = Py_None;
28386 {
28387 PyObject *o = PyInt_FromLong((long) (*arg2));
28388 resultobj = t_output_helper(resultobj,o);
28389 }
28390 {
28391 PyObject *o = PyInt_FromLong((long) (*arg3));
28392 resultobj = t_output_helper(resultobj,o);
28393 }
28394 return resultobj;
28395 fail:
28396 return NULL;
28397 }
28398
28399
28400 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28401 PyObject *resultobj;
28402 wxPyControl *arg1 = (wxPyControl *) 0 ;
28403 int *arg2 = (int *) 0 ;
28404 int *arg3 = (int *) 0 ;
28405 int temp2 ;
28406 int temp3 ;
28407 PyObject * obj0 = 0 ;
28408 char *kwnames[] = {
28409 (char *) "self", NULL
28410 };
28411
28412 arg2 = &temp2;
28413 arg3 = &temp3;
28414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
28415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 Py_INCREF(Py_None); resultobj = Py_None;
28425 {
28426 PyObject *o = PyInt_FromLong((long) (*arg2));
28427 resultobj = t_output_helper(resultobj,o);
28428 }
28429 {
28430 PyObject *o = PyInt_FromLong((long) (*arg3));
28431 resultobj = t_output_helper(resultobj,o);
28432 }
28433 return resultobj;
28434 fail:
28435 return NULL;
28436 }
28437
28438
28439 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28440 PyObject *resultobj;
28441 wxPyControl *arg1 = (wxPyControl *) 0 ;
28442 int *arg2 = (int *) 0 ;
28443 int *arg3 = (int *) 0 ;
28444 int temp2 ;
28445 int temp3 ;
28446 PyObject * obj0 = 0 ;
28447 char *kwnames[] = {
28448 (char *) "self", NULL
28449 };
28450
28451 arg2 = &temp2;
28452 arg3 = &temp3;
28453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
28454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28456 {
28457 PyThreadState* __tstate = wxPyBeginAllowThreads();
28458 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28459
28460 wxPyEndAllowThreads(__tstate);
28461 if (PyErr_Occurred()) SWIG_fail;
28462 }
28463 Py_INCREF(Py_None); resultobj = Py_None;
28464 {
28465 PyObject *o = PyInt_FromLong((long) (*arg2));
28466 resultobj = t_output_helper(resultobj,o);
28467 }
28468 {
28469 PyObject *o = PyInt_FromLong((long) (*arg3));
28470 resultobj = t_output_helper(resultobj,o);
28471 }
28472 return resultobj;
28473 fail:
28474 return NULL;
28475 }
28476
28477
28478 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28479 PyObject *resultobj;
28480 wxPyControl *arg1 = (wxPyControl *) 0 ;
28481 wxSize result;
28482 PyObject * obj0 = 0 ;
28483 char *kwnames[] = {
28484 (char *) "self", NULL
28485 };
28486
28487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
28488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28490 {
28491 PyThreadState* __tstate = wxPyBeginAllowThreads();
28492 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28493
28494 wxPyEndAllowThreads(__tstate);
28495 if (PyErr_Occurred()) SWIG_fail;
28496 }
28497 {
28498 wxSize * resultptr;
28499 resultptr = new wxSize((wxSize &) result);
28500 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28501 }
28502 return resultobj;
28503 fail:
28504 return NULL;
28505 }
28506
28507
28508 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28509 PyObject *resultobj;
28510 wxPyControl *arg1 = (wxPyControl *) 0 ;
28511 wxSize result;
28512 PyObject * obj0 = 0 ;
28513 char *kwnames[] = {
28514 (char *) "self", NULL
28515 };
28516
28517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
28518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28520 {
28521 PyThreadState* __tstate = wxPyBeginAllowThreads();
28522 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28523
28524 wxPyEndAllowThreads(__tstate);
28525 if (PyErr_Occurred()) SWIG_fail;
28526 }
28527 {
28528 wxSize * resultptr;
28529 resultptr = new wxSize((wxSize &) result);
28530 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28531 }
28532 return resultobj;
28533 fail:
28534 return NULL;
28535 }
28536
28537
28538 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28539 PyObject *resultobj;
28540 wxPyControl *arg1 = (wxPyControl *) 0 ;
28541 PyObject * obj0 = 0 ;
28542 char *kwnames[] = {
28543 (char *) "self", NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",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 (arg1)->base_InitDialog();
28552
28553 wxPyEndAllowThreads(__tstate);
28554 if (PyErr_Occurred()) SWIG_fail;
28555 }
28556 Py_INCREF(Py_None); resultobj = Py_None;
28557 return resultobj;
28558 fail:
28559 return NULL;
28560 }
28561
28562
28563 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28564 PyObject *resultobj;
28565 wxPyControl *arg1 = (wxPyControl *) 0 ;
28566 bool result;
28567 PyObject * obj0 = 0 ;
28568 char *kwnames[] = {
28569 (char *) "self", NULL
28570 };
28571
28572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
28573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28575 {
28576 PyThreadState* __tstate = wxPyBeginAllowThreads();
28577 result = (bool)(arg1)->base_TransferDataToWindow();
28578
28579 wxPyEndAllowThreads(__tstate);
28580 if (PyErr_Occurred()) SWIG_fail;
28581 }
28582 {
28583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28584 }
28585 return resultobj;
28586 fail:
28587 return NULL;
28588 }
28589
28590
28591 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28592 PyObject *resultobj;
28593 wxPyControl *arg1 = (wxPyControl *) 0 ;
28594 bool result;
28595 PyObject * obj0 = 0 ;
28596 char *kwnames[] = {
28597 (char *) "self", NULL
28598 };
28599
28600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28603 {
28604 PyThreadState* __tstate = wxPyBeginAllowThreads();
28605 result = (bool)(arg1)->base_TransferDataFromWindow();
28606
28607 wxPyEndAllowThreads(__tstate);
28608 if (PyErr_Occurred()) SWIG_fail;
28609 }
28610 {
28611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28612 }
28613 return resultobj;
28614 fail:
28615 return NULL;
28616 }
28617
28618
28619 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28620 PyObject *resultobj;
28621 wxPyControl *arg1 = (wxPyControl *) 0 ;
28622 bool result;
28623 PyObject * obj0 = 0 ;
28624 char *kwnames[] = {
28625 (char *) "self", NULL
28626 };
28627
28628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28631 {
28632 PyThreadState* __tstate = wxPyBeginAllowThreads();
28633 result = (bool)(arg1)->base_Validate();
28634
28635 wxPyEndAllowThreads(__tstate);
28636 if (PyErr_Occurred()) SWIG_fail;
28637 }
28638 {
28639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28640 }
28641 return resultobj;
28642 fail:
28643 return NULL;
28644 }
28645
28646
28647 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28648 PyObject *resultobj;
28649 wxPyControl *arg1 = (wxPyControl *) 0 ;
28650 bool result;
28651 PyObject * obj0 = 0 ;
28652 char *kwnames[] = {
28653 (char *) "self", NULL
28654 };
28655
28656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28662
28663 wxPyEndAllowThreads(__tstate);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 {
28667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28668 }
28669 return resultobj;
28670 fail:
28671 return NULL;
28672 }
28673
28674
28675 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28676 PyObject *resultobj;
28677 wxPyControl *arg1 = (wxPyControl *) 0 ;
28678 bool result;
28679 PyObject * obj0 = 0 ;
28680 char *kwnames[] = {
28681 (char *) "self", NULL
28682 };
28683
28684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28687 {
28688 PyThreadState* __tstate = wxPyBeginAllowThreads();
28689 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28690
28691 wxPyEndAllowThreads(__tstate);
28692 if (PyErr_Occurred()) SWIG_fail;
28693 }
28694 {
28695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28696 }
28697 return resultobj;
28698 fail:
28699 return NULL;
28700 }
28701
28702
28703 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28704 PyObject *resultobj;
28705 wxPyControl *arg1 = (wxPyControl *) 0 ;
28706 wxSize result;
28707 PyObject * obj0 = 0 ;
28708 char *kwnames[] = {
28709 (char *) "self", NULL
28710 };
28711
28712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 {
28723 wxSize * resultptr;
28724 resultptr = new wxSize((wxSize &) result);
28725 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
28726 }
28727 return resultobj;
28728 fail:
28729 return NULL;
28730 }
28731
28732
28733 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28734 PyObject *resultobj;
28735 wxPyControl *arg1 = (wxPyControl *) 0 ;
28736 wxWindow *arg2 = (wxWindow *) 0 ;
28737 PyObject * obj0 = 0 ;
28738 PyObject * obj1 = 0 ;
28739 char *kwnames[] = {
28740 (char *) "self",(char *) "child", NULL
28741 };
28742
28743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28748 {
28749 PyThreadState* __tstate = wxPyBeginAllowThreads();
28750 (arg1)->base_AddChild(arg2);
28751
28752 wxPyEndAllowThreads(__tstate);
28753 if (PyErr_Occurred()) SWIG_fail;
28754 }
28755 Py_INCREF(Py_None); resultobj = Py_None;
28756 return resultobj;
28757 fail:
28758 return NULL;
28759 }
28760
28761
28762 static PyObject *_wrap_PyControl_base_RemoveChild(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_RemoveChild",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_RemoveChild(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_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28792 PyObject *resultobj;
28793 wxPyControl *arg1 = (wxPyControl *) 0 ;
28794 bool result;
28795 PyObject * obj0 = 0 ;
28796 char *kwnames[] = {
28797 (char *) "self", NULL
28798 };
28799
28800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28803 {
28804 PyThreadState* __tstate = wxPyBeginAllowThreads();
28805 result = (bool)(arg1)->base_ShouldInheritColours();
28806
28807 wxPyEndAllowThreads(__tstate);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 }
28810 {
28811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28812 }
28813 return resultobj;
28814 fail:
28815 return NULL;
28816 }
28817
28818
28819 static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28820 PyObject *resultobj;
28821 wxPyControl *arg1 = (wxPyControl *) 0 ;
28822 wxColour *arg2 = 0 ;
28823 wxColour temp2 ;
28824 PyObject * obj0 = 0 ;
28825 PyObject * obj1 = 0 ;
28826 char *kwnames[] = {
28827 (char *) "self",(char *) "c", NULL
28828 };
28829
28830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28833 {
28834 arg2 = &temp2;
28835 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28836 }
28837 {
28838 PyThreadState* __tstate = wxPyBeginAllowThreads();
28839 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28840
28841 wxPyEndAllowThreads(__tstate);
28842 if (PyErr_Occurred()) SWIG_fail;
28843 }
28844 Py_INCREF(Py_None); resultobj = Py_None;
28845 return resultobj;
28846 fail:
28847 return NULL;
28848 }
28849
28850
28851 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28852 PyObject *obj;
28853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28854 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28855 Py_INCREF(obj);
28856 return Py_BuildValue((char *)"");
28857 }
28858 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28859 PyObject *resultobj;
28860 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28861 int arg2 = (int) 0 ;
28862 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28863 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28864 wxHelpEvent *result;
28865 wxPoint temp3 ;
28866 PyObject * obj0 = 0 ;
28867 PyObject * obj1 = 0 ;
28868 PyObject * obj2 = 0 ;
28869 char *kwnames[] = {
28870 (char *) "type",(char *) "winid",(char *) "pt", NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28874 if (obj0) {
28875 arg1 = (wxEventType) SWIG_AsInt(obj0);
28876 if (PyErr_Occurred()) SWIG_fail;
28877 }
28878 if (obj1) {
28879 arg2 = (int) SWIG_AsInt(obj1);
28880 if (PyErr_Occurred()) SWIG_fail;
28881 }
28882 if (obj2) {
28883 {
28884 arg3 = &temp3;
28885 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28886 }
28887 }
28888 {
28889 PyThreadState* __tstate = wxPyBeginAllowThreads();
28890 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28891
28892 wxPyEndAllowThreads(__tstate);
28893 if (PyErr_Occurred()) SWIG_fail;
28894 }
28895 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
28896 return resultobj;
28897 fail:
28898 return NULL;
28899 }
28900
28901
28902 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28903 PyObject *resultobj;
28904 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28905 wxPoint result;
28906 PyObject * obj0 = 0 ;
28907 char *kwnames[] = {
28908 (char *) "self", NULL
28909 };
28910
28911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28914 {
28915 PyThreadState* __tstate = wxPyBeginAllowThreads();
28916 result = ((wxHelpEvent const *)arg1)->GetPosition();
28917
28918 wxPyEndAllowThreads(__tstate);
28919 if (PyErr_Occurred()) SWIG_fail;
28920 }
28921 {
28922 wxPoint * resultptr;
28923 resultptr = new wxPoint((wxPoint &) result);
28924 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28925 }
28926 return resultobj;
28927 fail:
28928 return NULL;
28929 }
28930
28931
28932 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28933 PyObject *resultobj;
28934 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28935 wxPoint *arg2 = 0 ;
28936 wxPoint temp2 ;
28937 PyObject * obj0 = 0 ;
28938 PyObject * obj1 = 0 ;
28939 char *kwnames[] = {
28940 (char *) "self",(char *) "pos", NULL
28941 };
28942
28943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28946 {
28947 arg2 = &temp2;
28948 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28949 }
28950 {
28951 PyThreadState* __tstate = wxPyBeginAllowThreads();
28952 (arg1)->SetPosition((wxPoint const &)*arg2);
28953
28954 wxPyEndAllowThreads(__tstate);
28955 if (PyErr_Occurred()) SWIG_fail;
28956 }
28957 Py_INCREF(Py_None); resultobj = Py_None;
28958 return resultobj;
28959 fail:
28960 return NULL;
28961 }
28962
28963
28964 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28965 PyObject *resultobj;
28966 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28967 wxString *result;
28968 PyObject * obj0 = 0 ;
28969 char *kwnames[] = {
28970 (char *) "self", NULL
28971 };
28972
28973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28976 {
28977 PyThreadState* __tstate = wxPyBeginAllowThreads();
28978 {
28979 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28980 result = (wxString *) &_result_ref;
28981 }
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 {
28987 #if wxUSE_UNICODE
28988 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28989 #else
28990 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28991 #endif
28992 }
28993 return resultobj;
28994 fail:
28995 return NULL;
28996 }
28997
28998
28999 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29000 PyObject *resultobj;
29001 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29002 wxString *arg2 = 0 ;
29003 bool temp2 = False ;
29004 PyObject * obj0 = 0 ;
29005 PyObject * obj1 = 0 ;
29006 char *kwnames[] = {
29007 (char *) "self",(char *) "link", NULL
29008 };
29009
29010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29013 {
29014 arg2 = wxString_in_helper(obj1);
29015 if (arg2 == NULL) SWIG_fail;
29016 temp2 = True;
29017 }
29018 {
29019 PyThreadState* __tstate = wxPyBeginAllowThreads();
29020 (arg1)->SetLink((wxString const &)*arg2);
29021
29022 wxPyEndAllowThreads(__tstate);
29023 if (PyErr_Occurred()) SWIG_fail;
29024 }
29025 Py_INCREF(Py_None); resultobj = Py_None;
29026 {
29027 if (temp2)
29028 delete arg2;
29029 }
29030 return resultobj;
29031 fail:
29032 {
29033 if (temp2)
29034 delete arg2;
29035 }
29036 return NULL;
29037 }
29038
29039
29040 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29041 PyObject *resultobj;
29042 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29043 wxString *result;
29044 PyObject * obj0 = 0 ;
29045 char *kwnames[] = {
29046 (char *) "self", NULL
29047 };
29048
29049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29052 {
29053 PyThreadState* __tstate = wxPyBeginAllowThreads();
29054 {
29055 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29056 result = (wxString *) &_result_ref;
29057 }
29058
29059 wxPyEndAllowThreads(__tstate);
29060 if (PyErr_Occurred()) SWIG_fail;
29061 }
29062 {
29063 #if wxUSE_UNICODE
29064 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29065 #else
29066 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29067 #endif
29068 }
29069 return resultobj;
29070 fail:
29071 return NULL;
29072 }
29073
29074
29075 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29076 PyObject *resultobj;
29077 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29078 wxString *arg2 = 0 ;
29079 bool temp2 = False ;
29080 PyObject * obj0 = 0 ;
29081 PyObject * obj1 = 0 ;
29082 char *kwnames[] = {
29083 (char *) "self",(char *) "target", NULL
29084 };
29085
29086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
29087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29089 {
29090 arg2 = wxString_in_helper(obj1);
29091 if (arg2 == NULL) SWIG_fail;
29092 temp2 = True;
29093 }
29094 {
29095 PyThreadState* __tstate = wxPyBeginAllowThreads();
29096 (arg1)->SetTarget((wxString const &)*arg2);
29097
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 Py_INCREF(Py_None); resultobj = Py_None;
29102 {
29103 if (temp2)
29104 delete arg2;
29105 }
29106 return resultobj;
29107 fail:
29108 {
29109 if (temp2)
29110 delete arg2;
29111 }
29112 return NULL;
29113 }
29114
29115
29116 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29117 PyObject *obj;
29118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29119 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29120 Py_INCREF(obj);
29121 return Py_BuildValue((char *)"");
29122 }
29123 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29124 PyObject *resultobj;
29125 wxWindow *arg1 = (wxWindow *) NULL ;
29126 bool arg2 = (bool) True ;
29127 wxContextHelp *result;
29128 PyObject * obj0 = 0 ;
29129 PyObject * obj1 = 0 ;
29130 char *kwnames[] = {
29131 (char *) "window",(char *) "doNow", NULL
29132 };
29133
29134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29135 if (obj0) {
29136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29138 }
29139 if (obj1) {
29140 arg2 = (bool) SWIG_AsBool(obj1);
29141 if (PyErr_Occurred()) SWIG_fail;
29142 }
29143 {
29144 PyThreadState* __tstate = wxPyBeginAllowThreads();
29145 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29146
29147 wxPyEndAllowThreads(__tstate);
29148 if (PyErr_Occurred()) SWIG_fail;
29149 }
29150 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
29151 return resultobj;
29152 fail:
29153 return NULL;
29154 }
29155
29156
29157 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29158 PyObject *resultobj;
29159 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29160 PyObject * obj0 = 0 ;
29161 char *kwnames[] = {
29162 (char *) "self", NULL
29163 };
29164
29165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
29166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29168 {
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 delete arg1;
29171
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 Py_INCREF(Py_None); resultobj = Py_None;
29176 return resultobj;
29177 fail:
29178 return NULL;
29179 }
29180
29181
29182 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29183 PyObject *resultobj;
29184 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29185 wxWindow *arg2 = (wxWindow *) NULL ;
29186 bool result;
29187 PyObject * obj0 = 0 ;
29188 PyObject * obj1 = 0 ;
29189 char *kwnames[] = {
29190 (char *) "self",(char *) "window", NULL
29191 };
29192
29193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
29194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29196 if (obj1) {
29197 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29199 }
29200 {
29201 PyThreadState* __tstate = wxPyBeginAllowThreads();
29202 result = (bool)(arg1)->BeginContextHelp(arg2);
29203
29204 wxPyEndAllowThreads(__tstate);
29205 if (PyErr_Occurred()) SWIG_fail;
29206 }
29207 {
29208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29209 }
29210 return resultobj;
29211 fail:
29212 return NULL;
29213 }
29214
29215
29216 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29217 PyObject *resultobj;
29218 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29219 bool result;
29220 PyObject * obj0 = 0 ;
29221 char *kwnames[] = {
29222 (char *) "self", NULL
29223 };
29224
29225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
29226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29228 {
29229 PyThreadState* __tstate = wxPyBeginAllowThreads();
29230 result = (bool)(arg1)->EndContextHelp();
29231
29232 wxPyEndAllowThreads(__tstate);
29233 if (PyErr_Occurred()) SWIG_fail;
29234 }
29235 {
29236 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29237 }
29238 return resultobj;
29239 fail:
29240 return NULL;
29241 }
29242
29243
29244 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29245 PyObject *obj;
29246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29247 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29248 Py_INCREF(obj);
29249 return Py_BuildValue((char *)"");
29250 }
29251 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29252 PyObject *resultobj;
29253 wxWindow *arg1 = (wxWindow *) 0 ;
29254 int arg2 = (int) wxID_CONTEXT_HELP ;
29255 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29256 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29257 wxSize const &arg4_defvalue = wxDefaultSize ;
29258 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29259 long arg5 = (long) wxBU_AUTODRAW ;
29260 wxContextHelpButton *result;
29261 wxPoint temp3 ;
29262 wxSize temp4 ;
29263 PyObject * obj0 = 0 ;
29264 PyObject * obj1 = 0 ;
29265 PyObject * obj2 = 0 ;
29266 PyObject * obj3 = 0 ;
29267 PyObject * obj4 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29275 if (obj1) {
29276 arg2 = (int) SWIG_AsInt(obj1);
29277 if (PyErr_Occurred()) SWIG_fail;
29278 }
29279 if (obj2) {
29280 {
29281 arg3 = &temp3;
29282 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29283 }
29284 }
29285 if (obj3) {
29286 {
29287 arg4 = &temp4;
29288 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29289 }
29290 }
29291 if (obj4) {
29292 arg5 = (long) SWIG_AsLong(obj4);
29293 if (PyErr_Occurred()) SWIG_fail;
29294 }
29295 {
29296 PyThreadState* __tstate = wxPyBeginAllowThreads();
29297 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29298
29299 wxPyEndAllowThreads(__tstate);
29300 if (PyErr_Occurred()) SWIG_fail;
29301 }
29302 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
29303 return resultobj;
29304 fail:
29305 return NULL;
29306 }
29307
29308
29309 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29310 PyObject *obj;
29311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29312 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29313 Py_INCREF(obj);
29314 return Py_BuildValue((char *)"");
29315 }
29316 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29317 PyObject *resultobj;
29318 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29319 wxHelpProvider *result;
29320 PyObject * obj0 = 0 ;
29321 char *kwnames[] = {
29322 (char *) "helpProvider", NULL
29323 };
29324
29325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
29326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29331
29332 wxPyEndAllowThreads(__tstate);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
29335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29336 return resultobj;
29337 fail:
29338 return NULL;
29339 }
29340
29341
29342 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29343 PyObject *resultobj;
29344 wxHelpProvider *result;
29345 char *kwnames[] = {
29346 NULL
29347 };
29348
29349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29350 {
29351 PyThreadState* __tstate = wxPyBeginAllowThreads();
29352 result = (wxHelpProvider *)wxHelpProvider::Get();
29353
29354 wxPyEndAllowThreads(__tstate);
29355 if (PyErr_Occurred()) SWIG_fail;
29356 }
29357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
29358 return resultobj;
29359 fail:
29360 return NULL;
29361 }
29362
29363
29364 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj;
29366 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29367 wxWindow *arg2 = (wxWindow *) 0 ;
29368 wxString result;
29369 PyObject * obj0 = 0 ;
29370 PyObject * obj1 = 0 ;
29371 char *kwnames[] = {
29372 (char *) "self",(char *) "window", NULL
29373 };
29374
29375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
29376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29378 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29380 {
29381 PyThreadState* __tstate = wxPyBeginAllowThreads();
29382 result = (arg1)->GetHelp((wxWindow const *)arg2);
29383
29384 wxPyEndAllowThreads(__tstate);
29385 if (PyErr_Occurred()) SWIG_fail;
29386 }
29387 {
29388 #if wxUSE_UNICODE
29389 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29390 #else
29391 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29392 #endif
29393 }
29394 return resultobj;
29395 fail:
29396 return NULL;
29397 }
29398
29399
29400 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29401 PyObject *resultobj;
29402 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29403 wxWindow *arg2 = (wxWindow *) 0 ;
29404 bool result;
29405 PyObject * obj0 = 0 ;
29406 PyObject * obj1 = 0 ;
29407 char *kwnames[] = {
29408 (char *) "self",(char *) "window", NULL
29409 };
29410
29411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
29412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29416 {
29417 PyThreadState* __tstate = wxPyBeginAllowThreads();
29418 result = (bool)(arg1)->ShowHelp(arg2);
29419
29420 wxPyEndAllowThreads(__tstate);
29421 if (PyErr_Occurred()) SWIG_fail;
29422 }
29423 {
29424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29425 }
29426 return resultobj;
29427 fail:
29428 return NULL;
29429 }
29430
29431
29432 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29433 PyObject *resultobj;
29434 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29435 wxWindow *arg2 = (wxWindow *) 0 ;
29436 wxString *arg3 = 0 ;
29437 bool temp3 = False ;
29438 PyObject * obj0 = 0 ;
29439 PyObject * obj1 = 0 ;
29440 PyObject * obj2 = 0 ;
29441 char *kwnames[] = {
29442 (char *) "self",(char *) "window",(char *) "text", NULL
29443 };
29444
29445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
29446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29450 {
29451 arg3 = wxString_in_helper(obj2);
29452 if (arg3 == NULL) SWIG_fail;
29453 temp3 = True;
29454 }
29455 {
29456 PyThreadState* __tstate = wxPyBeginAllowThreads();
29457 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29458
29459 wxPyEndAllowThreads(__tstate);
29460 if (PyErr_Occurred()) SWIG_fail;
29461 }
29462 Py_INCREF(Py_None); resultobj = Py_None;
29463 {
29464 if (temp3)
29465 delete arg3;
29466 }
29467 return resultobj;
29468 fail:
29469 {
29470 if (temp3)
29471 delete arg3;
29472 }
29473 return NULL;
29474 }
29475
29476
29477 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29478 PyObject *resultobj;
29479 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29480 int arg2 ;
29481 wxString *arg3 = 0 ;
29482 bool temp3 = False ;
29483 PyObject * obj0 = 0 ;
29484 PyObject * obj1 = 0 ;
29485 PyObject * obj2 = 0 ;
29486 char *kwnames[] = {
29487 (char *) "self",(char *) "id",(char *) "text", NULL
29488 };
29489
29490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
29491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29493 arg2 = (int) SWIG_AsInt(obj1);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 {
29496 arg3 = wxString_in_helper(obj2);
29497 if (arg3 == NULL) SWIG_fail;
29498 temp3 = True;
29499 }
29500 {
29501 PyThreadState* __tstate = wxPyBeginAllowThreads();
29502 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29503
29504 wxPyEndAllowThreads(__tstate);
29505 if (PyErr_Occurred()) SWIG_fail;
29506 }
29507 Py_INCREF(Py_None); resultobj = Py_None;
29508 {
29509 if (temp3)
29510 delete arg3;
29511 }
29512 return resultobj;
29513 fail:
29514 {
29515 if (temp3)
29516 delete arg3;
29517 }
29518 return NULL;
29519 }
29520
29521
29522 static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29523 PyObject *resultobj;
29524 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29525 wxWindow *arg2 = (wxWindow *) 0 ;
29526 PyObject * obj0 = 0 ;
29527 PyObject * obj1 = 0 ;
29528 char *kwnames[] = {
29529 (char *) "self",(char *) "window", NULL
29530 };
29531
29532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29537 {
29538 PyThreadState* __tstate = wxPyBeginAllowThreads();
29539 (arg1)->RemoveHelp(arg2);
29540
29541 wxPyEndAllowThreads(__tstate);
29542 if (PyErr_Occurred()) SWIG_fail;
29543 }
29544 Py_INCREF(Py_None); resultobj = Py_None;
29545 return resultobj;
29546 fail:
29547 return NULL;
29548 }
29549
29550
29551 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29552 PyObject *resultobj;
29553 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29554 PyObject * obj0 = 0 ;
29555 char *kwnames[] = {
29556 (char *) "self", NULL
29557 };
29558
29559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
29560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29562 {
29563 PyThreadState* __tstate = wxPyBeginAllowThreads();
29564 wxHelpProvider_Destroy(arg1);
29565
29566 wxPyEndAllowThreads(__tstate);
29567 if (PyErr_Occurred()) SWIG_fail;
29568 }
29569 Py_INCREF(Py_None); resultobj = Py_None;
29570 return resultobj;
29571 fail:
29572 return NULL;
29573 }
29574
29575
29576 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29577 PyObject *obj;
29578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29579 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29580 Py_INCREF(obj);
29581 return Py_BuildValue((char *)"");
29582 }
29583 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29584 PyObject *resultobj;
29585 wxSimpleHelpProvider *result;
29586 char *kwnames[] = {
29587 NULL
29588 };
29589
29590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29591 {
29592 PyThreadState* __tstate = wxPyBeginAllowThreads();
29593 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29594
29595 wxPyEndAllowThreads(__tstate);
29596 if (PyErr_Occurred()) SWIG_fail;
29597 }
29598 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
29599 return resultobj;
29600 fail:
29601 return NULL;
29602 }
29603
29604
29605 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29606 PyObject *obj;
29607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29608 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29609 Py_INCREF(obj);
29610 return Py_BuildValue((char *)"");
29611 }
29612 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29613 PyObject *resultobj;
29614 wxBitmap *arg1 = 0 ;
29615 wxCursor const &arg2_defvalue = wxNullCursor ;
29616 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29617 wxGenericDragImage *result;
29618 PyObject * obj0 = 0 ;
29619 PyObject * obj1 = 0 ;
29620 char *kwnames[] = {
29621 (char *) "image",(char *) "cursor", NULL
29622 };
29623
29624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
29625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29626 SWIG_POINTER_EXCEPTION | 0)) == -1)
29627 SWIG_fail;
29628 if (arg1 == NULL) {
29629 PyErr_SetString(PyExc_TypeError,"null reference");
29630 SWIG_fail;
29631 }
29632 if (obj1) {
29633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29634 SWIG_POINTER_EXCEPTION | 0)) == -1)
29635 SWIG_fail;
29636 if (arg2 == NULL) {
29637 PyErr_SetString(PyExc_TypeError,"null reference");
29638 SWIG_fail;
29639 }
29640 }
29641 {
29642 PyThreadState* __tstate = wxPyBeginAllowThreads();
29643 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29644
29645 wxPyEndAllowThreads(__tstate);
29646 if (PyErr_Occurred()) SWIG_fail;
29647 }
29648 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29649 return resultobj;
29650 fail:
29651 return NULL;
29652 }
29653
29654
29655 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29656 PyObject *resultobj;
29657 wxIcon *arg1 = 0 ;
29658 wxCursor const &arg2_defvalue = wxNullCursor ;
29659 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29660 wxGenericDragImage *result;
29661 PyObject * obj0 = 0 ;
29662 PyObject * obj1 = 0 ;
29663 char *kwnames[] = {
29664 (char *) "image",(char *) "cursor", NULL
29665 };
29666
29667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
29668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29669 SWIG_POINTER_EXCEPTION | 0)) == -1)
29670 SWIG_fail;
29671 if (arg1 == NULL) {
29672 PyErr_SetString(PyExc_TypeError,"null reference");
29673 SWIG_fail;
29674 }
29675 if (obj1) {
29676 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29677 SWIG_POINTER_EXCEPTION | 0)) == -1)
29678 SWIG_fail;
29679 if (arg2 == NULL) {
29680 PyErr_SetString(PyExc_TypeError,"null reference");
29681 SWIG_fail;
29682 }
29683 }
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29687
29688 wxPyEndAllowThreads(__tstate);
29689 if (PyErr_Occurred()) SWIG_fail;
29690 }
29691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29692 return resultobj;
29693 fail:
29694 return NULL;
29695 }
29696
29697
29698 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxString *arg1 = 0 ;
29701 wxCursor const &arg2_defvalue = wxNullCursor ;
29702 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29703 wxGenericDragImage *result;
29704 bool temp1 = False ;
29705 PyObject * obj0 = 0 ;
29706 PyObject * obj1 = 0 ;
29707 char *kwnames[] = {
29708 (char *) "str",(char *) "cursor", NULL
29709 };
29710
29711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29712 {
29713 arg1 = wxString_in_helper(obj0);
29714 if (arg1 == NULL) SWIG_fail;
29715 temp1 = True;
29716 }
29717 if (obj1) {
29718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29719 SWIG_POINTER_EXCEPTION | 0)) == -1)
29720 SWIG_fail;
29721 if (arg2 == NULL) {
29722 PyErr_SetString(PyExc_TypeError,"null reference");
29723 SWIG_fail;
29724 }
29725 }
29726 {
29727 PyThreadState* __tstate = wxPyBeginAllowThreads();
29728 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29729
29730 wxPyEndAllowThreads(__tstate);
29731 if (PyErr_Occurred()) SWIG_fail;
29732 }
29733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29734 {
29735 if (temp1)
29736 delete arg1;
29737 }
29738 return resultobj;
29739 fail:
29740 {
29741 if (temp1)
29742 delete arg1;
29743 }
29744 return NULL;
29745 }
29746
29747
29748 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29749 PyObject *resultobj;
29750 wxPyTreeCtrl *arg1 = 0 ;
29751 wxTreeItemId *arg2 = 0 ;
29752 wxGenericDragImage *result;
29753 PyObject * obj0 = 0 ;
29754 PyObject * obj1 = 0 ;
29755 char *kwnames[] = {
29756 (char *) "treeCtrl",(char *) "id", NULL
29757 };
29758
29759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29761 SWIG_POINTER_EXCEPTION | 0)) == -1)
29762 SWIG_fail;
29763 if (arg1 == NULL) {
29764 PyErr_SetString(PyExc_TypeError,"null reference");
29765 SWIG_fail;
29766 }
29767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29768 SWIG_POINTER_EXCEPTION | 0)) == -1)
29769 SWIG_fail;
29770 if (arg2 == NULL) {
29771 PyErr_SetString(PyExc_TypeError,"null reference");
29772 SWIG_fail;
29773 }
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
29776 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29777
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
29781 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29782 return resultobj;
29783 fail:
29784 return NULL;
29785 }
29786
29787
29788 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29789 PyObject *resultobj;
29790 wxPyListCtrl *arg1 = 0 ;
29791 long arg2 ;
29792 wxGenericDragImage *result;
29793 PyObject * obj0 = 0 ;
29794 PyObject * obj1 = 0 ;
29795 char *kwnames[] = {
29796 (char *) "listCtrl",(char *) "id", NULL
29797 };
29798
29799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29801 SWIG_POINTER_EXCEPTION | 0)) == -1)
29802 SWIG_fail;
29803 if (arg1 == NULL) {
29804 PyErr_SetString(PyExc_TypeError,"null reference");
29805 SWIG_fail;
29806 }
29807 arg2 = (long) SWIG_AsLong(obj1);
29808 if (PyErr_Occurred()) SWIG_fail;
29809 {
29810 PyThreadState* __tstate = wxPyBeginAllowThreads();
29811 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29812
29813 wxPyEndAllowThreads(__tstate);
29814 if (PyErr_Occurred()) SWIG_fail;
29815 }
29816 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
29817 return resultobj;
29818 fail:
29819 return NULL;
29820 }
29821
29822
29823 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29824 PyObject *resultobj;
29825 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29826 PyObject * obj0 = 0 ;
29827 char *kwnames[] = {
29828 (char *) "self", NULL
29829 };
29830
29831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29834 {
29835 PyThreadState* __tstate = wxPyBeginAllowThreads();
29836 delete arg1;
29837
29838 wxPyEndAllowThreads(__tstate);
29839 if (PyErr_Occurred()) SWIG_fail;
29840 }
29841 Py_INCREF(Py_None); resultobj = Py_None;
29842 return resultobj;
29843 fail:
29844 return NULL;
29845 }
29846
29847
29848 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29849 PyObject *resultobj;
29850 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29851 wxBitmap *arg2 = (wxBitmap *) 0 ;
29852 PyObject * obj0 = 0 ;
29853 PyObject * obj1 = 0 ;
29854 char *kwnames[] = {
29855 (char *) "self",(char *) "bitmap", NULL
29856 };
29857
29858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29863 {
29864 PyThreadState* __tstate = wxPyBeginAllowThreads();
29865 (arg1)->SetBackingBitmap(arg2);
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_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29878 PyObject *resultobj;
29879 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29880 wxPoint *arg2 = 0 ;
29881 wxWindow *arg3 = (wxWindow *) 0 ;
29882 bool arg4 = (bool) False ;
29883 wxRect *arg5 = (wxRect *) NULL ;
29884 bool result;
29885 wxPoint temp2 ;
29886 PyObject * obj0 = 0 ;
29887 PyObject * obj1 = 0 ;
29888 PyObject * obj2 = 0 ;
29889 PyObject * obj3 = 0 ;
29890 PyObject * obj4 = 0 ;
29891 char *kwnames[] = {
29892 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29893 };
29894
29895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29898 {
29899 arg2 = &temp2;
29900 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29901 }
29902 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29904 if (obj3) {
29905 arg4 = (bool) SWIG_AsBool(obj3);
29906 if (PyErr_Occurred()) SWIG_fail;
29907 }
29908 if (obj4) {
29909 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29911 }
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
29919 {
29920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29921 }
29922 return resultobj;
29923 fail:
29924 return NULL;
29925 }
29926
29927
29928 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29929 PyObject *resultobj;
29930 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29931 wxPoint *arg2 = 0 ;
29932 wxWindow *arg3 = (wxWindow *) 0 ;
29933 wxWindow *arg4 = (wxWindow *) 0 ;
29934 bool result;
29935 wxPoint temp2 ;
29936 PyObject * obj0 = 0 ;
29937 PyObject * obj1 = 0 ;
29938 PyObject * obj2 = 0 ;
29939 PyObject * obj3 = 0 ;
29940 char *kwnames[] = {
29941 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29942 };
29943
29944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29947 {
29948 arg2 = &temp2;
29949 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29950 }
29951 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29953 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29955 {
29956 PyThreadState* __tstate = wxPyBeginAllowThreads();
29957 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29958
29959 wxPyEndAllowThreads(__tstate);
29960 if (PyErr_Occurred()) SWIG_fail;
29961 }
29962 {
29963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29964 }
29965 return resultobj;
29966 fail:
29967 return NULL;
29968 }
29969
29970
29971 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29972 PyObject *resultobj;
29973 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29974 bool result;
29975 PyObject * obj0 = 0 ;
29976 char *kwnames[] = {
29977 (char *) "self", NULL
29978 };
29979
29980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29983 {
29984 PyThreadState* __tstate = wxPyBeginAllowThreads();
29985 result = (bool)(arg1)->EndDrag();
29986
29987 wxPyEndAllowThreads(__tstate);
29988 if (PyErr_Occurred()) SWIG_fail;
29989 }
29990 {
29991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29992 }
29993 return resultobj;
29994 fail:
29995 return NULL;
29996 }
29997
29998
29999 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30000 PyObject *resultobj;
30001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30002 wxPoint *arg2 = 0 ;
30003 bool result;
30004 wxPoint temp2 ;
30005 PyObject * obj0 = 0 ;
30006 PyObject * obj1 = 0 ;
30007 char *kwnames[] = {
30008 (char *) "self",(char *) "pt", NULL
30009 };
30010
30011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30014 {
30015 arg2 = &temp2;
30016 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30017 }
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30021
30022 wxPyEndAllowThreads(__tstate);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 }
30025 {
30026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30027 }
30028 return resultobj;
30029 fail:
30030 return NULL;
30031 }
30032
30033
30034 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30035 PyObject *resultobj;
30036 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30037 bool result;
30038 PyObject * obj0 = 0 ;
30039 char *kwnames[] = {
30040 (char *) "self", NULL
30041 };
30042
30043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30046 {
30047 PyThreadState* __tstate = wxPyBeginAllowThreads();
30048 result = (bool)(arg1)->Show();
30049
30050 wxPyEndAllowThreads(__tstate);
30051 if (PyErr_Occurred()) SWIG_fail;
30052 }
30053 {
30054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30055 }
30056 return resultobj;
30057 fail:
30058 return NULL;
30059 }
30060
30061
30062 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
30063 PyObject *resultobj;
30064 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30065 bool result;
30066 PyObject * obj0 = 0 ;
30067 char *kwnames[] = {
30068 (char *) "self", NULL
30069 };
30070
30071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
30072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30074 {
30075 PyThreadState* __tstate = wxPyBeginAllowThreads();
30076 result = (bool)(arg1)->Hide();
30077
30078 wxPyEndAllowThreads(__tstate);
30079 if (PyErr_Occurred()) SWIG_fail;
30080 }
30081 {
30082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30083 }
30084 return resultobj;
30085 fail:
30086 return NULL;
30087 }
30088
30089
30090 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30091 PyObject *resultobj;
30092 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30093 wxPoint *arg2 = 0 ;
30094 wxRect result;
30095 wxPoint temp2 ;
30096 PyObject * obj0 = 0 ;
30097 PyObject * obj1 = 0 ;
30098 char *kwnames[] = {
30099 (char *) "self",(char *) "pos", NULL
30100 };
30101
30102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
30103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30105 {
30106 arg2 = &temp2;
30107 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30108 }
30109 {
30110 PyThreadState* __tstate = wxPyBeginAllowThreads();
30111 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30112
30113 wxPyEndAllowThreads(__tstate);
30114 if (PyErr_Occurred()) SWIG_fail;
30115 }
30116 {
30117 wxRect * resultptr;
30118 resultptr = new wxRect((wxRect &) result);
30119 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
30120 }
30121 return resultobj;
30122 fail:
30123 return NULL;
30124 }
30125
30126
30127 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30128 PyObject *resultobj;
30129 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30130 wxDC *arg2 = 0 ;
30131 wxPoint *arg3 = 0 ;
30132 bool result;
30133 wxPoint temp3 ;
30134 PyObject * obj0 = 0 ;
30135 PyObject * obj1 = 0 ;
30136 PyObject * obj2 = 0 ;
30137 char *kwnames[] = {
30138 (char *) "self",(char *) "dc",(char *) "pos", NULL
30139 };
30140
30141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
30142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30144 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30145 SWIG_POINTER_EXCEPTION | 0)) == -1)
30146 SWIG_fail;
30147 if (arg2 == NULL) {
30148 PyErr_SetString(PyExc_TypeError,"null reference");
30149 SWIG_fail;
30150 }
30151 {
30152 arg3 = &temp3;
30153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30154 }
30155 {
30156 PyThreadState* __tstate = wxPyBeginAllowThreads();
30157 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30158
30159 wxPyEndAllowThreads(__tstate);
30160 if (PyErr_Occurred()) SWIG_fail;
30161 }
30162 {
30163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30164 }
30165 return resultobj;
30166 fail:
30167 return NULL;
30168 }
30169
30170
30171 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30172 PyObject *resultobj;
30173 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30174 wxDC *arg2 = 0 ;
30175 wxMemoryDC *arg3 = 0 ;
30176 wxRect *arg4 = 0 ;
30177 wxRect *arg5 = 0 ;
30178 bool result;
30179 wxRect temp4 ;
30180 wxRect temp5 ;
30181 PyObject * obj0 = 0 ;
30182 PyObject * obj1 = 0 ;
30183 PyObject * obj2 = 0 ;
30184 PyObject * obj3 = 0 ;
30185 PyObject * obj4 = 0 ;
30186 char *kwnames[] = {
30187 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30188 };
30189
30190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30193 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30194 SWIG_POINTER_EXCEPTION | 0)) == -1)
30195 SWIG_fail;
30196 if (arg2 == NULL) {
30197 PyErr_SetString(PyExc_TypeError,"null reference");
30198 SWIG_fail;
30199 }
30200 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30201 SWIG_POINTER_EXCEPTION | 0)) == -1)
30202 SWIG_fail;
30203 if (arg3 == NULL) {
30204 PyErr_SetString(PyExc_TypeError,"null reference");
30205 SWIG_fail;
30206 }
30207 {
30208 arg4 = &temp4;
30209 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30210 }
30211 {
30212 arg5 = &temp5;
30213 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30214 }
30215 {
30216 PyThreadState* __tstate = wxPyBeginAllowThreads();
30217 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30218
30219 wxPyEndAllowThreads(__tstate);
30220 if (PyErr_Occurred()) SWIG_fail;
30221 }
30222 {
30223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30224 }
30225 return resultobj;
30226 fail:
30227 return NULL;
30228 }
30229
30230
30231 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30232 PyObject *resultobj;
30233 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30234 wxPoint *arg2 = 0 ;
30235 wxPoint *arg3 = 0 ;
30236 bool arg4 ;
30237 bool arg5 ;
30238 bool result;
30239 wxPoint temp2 ;
30240 wxPoint temp3 ;
30241 PyObject * obj0 = 0 ;
30242 PyObject * obj1 = 0 ;
30243 PyObject * obj2 = 0 ;
30244 PyObject * obj3 = 0 ;
30245 PyObject * obj4 = 0 ;
30246 char *kwnames[] = {
30247 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30248 };
30249
30250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30253 {
30254 arg2 = &temp2;
30255 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30256 }
30257 {
30258 arg3 = &temp3;
30259 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30260 }
30261 arg4 = (bool) SWIG_AsBool(obj3);
30262 if (PyErr_Occurred()) SWIG_fail;
30263 arg5 = (bool) SWIG_AsBool(obj4);
30264 if (PyErr_Occurred()) SWIG_fail;
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30268
30269 wxPyEndAllowThreads(__tstate);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 {
30273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30274 }
30275 return resultobj;
30276 fail:
30277 return NULL;
30278 }
30279
30280
30281 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30282 PyObject *obj;
30283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30284 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30285 Py_INCREF(obj);
30286 return Py_BuildValue((char *)"");
30287 }
30288 static PyMethodDef SwigMethods[] = {
30289 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30295 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30310 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30321 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30327 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30328 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30330 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30331 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30332 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30341 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30342 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30343 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30348 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30361 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30365 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30371 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30375 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30382 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30404 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30405 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30412 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30413 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
30414 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30425 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30430 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30441 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30443 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30453 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30464 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30468 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30485 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30491 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30497 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30502 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30513 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30516 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30523 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30525 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
30536 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
30540 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30543 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30549 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30557 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30558 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30560 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30563 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30565 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30567 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30572 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30577 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30588 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30595 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30607 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30609 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30611 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30615 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30621 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30630 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30632 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30637 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30639 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30644 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30649 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30650 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30652 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30657 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30669 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30679 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30721 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30724 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30729 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30741 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30748 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30787 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30788 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30793 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30805 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30809 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30817 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30818 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30819 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30820 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30827 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30831 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30836 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30839 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30844 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30845 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30846 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30847 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30850 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30854 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
30860 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30861 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30862 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30865 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30867 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30868 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30870 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30876 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30881 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30883 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30889 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
30890 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30891 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30892 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30894 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30903 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30907 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30911 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30912 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30913 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30914 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30915 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30916 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30917 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30918 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30919 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30920 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30921 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30922 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30923 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30924 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30925 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30926 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30927 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30928 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30929 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30930 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30931 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30932 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30933 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30934 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30935 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30936 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30937 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30938 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30939 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30940 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30941 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30942 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30943 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30944 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30945 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30946 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30947 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30948 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30949 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30950 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30951 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30952 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30953 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30954 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30955 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30956 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30957 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30958 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30959 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30960 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30961 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30962 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30963 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30964 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30965 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30966 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30967 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30968 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30969 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30970 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30971 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30972 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30973 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30974 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30975 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30976 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30977 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30978 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30979 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30980 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30981 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30982 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30983 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30984 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30985 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30986 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30987 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30988 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30989 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30990 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30991 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30992 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30993 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30994 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30995 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30996 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30997 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30998 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30999 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31000 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31001 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31002 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31003 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31004 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31005 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31006 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31007 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31008 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31009 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31010 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31011 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31012 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31013 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31014 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31015 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31016 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31017 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31018 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31019 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31020 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31021 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31022 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31023 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31024 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31025 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31026 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31027 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31028 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31029 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31030 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31031 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31032 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31033 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31034 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31035 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
31036 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
31037 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
31038 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31039 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
31040 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
31041 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
31042 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31043 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
31044 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
31045 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
31046 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
31047 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
31048 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
31049 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
31050 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
31051 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
31052 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
31053 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
31054 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
31055 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
31056 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
31057 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
31058 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
31059 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
31060 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
31061 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31062 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31063 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
31064 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
31065 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
31066 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
31067 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
31068 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31069 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
31070 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
31071 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31072 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31073 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31074 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31075 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31076 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31077 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31078 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31079 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31080 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
31081 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
31082 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31083 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31084 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31085 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
31086 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31087 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31088 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31089 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31090 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31091 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31092 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31093 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31094 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31095 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31096 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31097 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31098 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31099 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31100 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31101 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31102 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31103 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
31104 { NULL, NULL }
31105 };
31106
31107
31108 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31109
31110 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31111 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31112 }
31113 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31114 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31115 }
31116 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31117 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31118 }
31119 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31120 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31121 }
31122 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31123 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31124 }
31125 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31126 return (void *)((wxSizer *) ((wxGridSizer *) x));
31127 }
31128 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31129 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31130 }
31131 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31132 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31133 }
31134 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31135 return (void *)((wxSizer *) ((wxPySizer *) x));
31136 }
31137 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31138 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31139 }
31140 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31142 }
31143 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31144 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31145 }
31146 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31147 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31148 }
31149 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31150 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31151 }
31152 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31153 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31154 }
31155 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31156 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31157 }
31158 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31159 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31160 }
31161 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31162 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31163 }
31164 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31166 }
31167 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31169 }
31170 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31172 }
31173 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31174 return (void *)((wxEvent *) ((wxPyEvent *) x));
31175 }
31176 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31177 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31178 }
31179 static void *_p_wxListEventTo_p_wxEvent(void *x) {
31180 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31181 }
31182 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31183 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31184 }
31185 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31186 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31187 }
31188 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31190 }
31191 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31192 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31193 }
31194 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31195 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31196 }
31197 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31198 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31199 }
31200 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31201 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31202 }
31203 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31204 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31205 }
31206 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31207 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31208 }
31209 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31210 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31211 }
31212 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31213 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31214 }
31215 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31216 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31217 }
31218 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31219 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31220 }
31221 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31223 }
31224 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31225 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31226 }
31227 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31228 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31229 }
31230 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31231 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31232 }
31233 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31234 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31235 }
31236 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31237 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31238 }
31239 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31240 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31241 }
31242 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31243 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31244 }
31245 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31246 return (void *)((wxEvent *) ((wxShowEvent *) x));
31247 }
31248 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31249 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31250 }
31251 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31252 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31253 }
31254 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31255 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31256 }
31257 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31258 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31259 }
31260 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31261 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31262 }
31263 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31264 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31265 }
31266 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31267 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31268 }
31269 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31270 return (void *)((wxItemContainer *) ((wxComboBox *) x));
31271 }
31272 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31273 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31274 }
31275 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31276 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31277 }
31278 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31279 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31280 }
31281 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31282 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31283 }
31284 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31285 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31286 }
31287 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31288 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31289 }
31290 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31291 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31292 }
31293 static void *_p_wxListBoxTo_p_wxControl(void *x) {
31294 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31295 }
31296 static void *_p_wxChoiceTo_p_wxControl(void *x) {
31297 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31298 }
31299 static void *_p_wxToolBarTo_p_wxControl(void *x) {
31300 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31301 }
31302 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31303 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31304 }
31305 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31306 return (void *)((wxControl *) ((wxComboBox *) x));
31307 }
31308 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31309 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31310 }
31311 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31312 return (void *)((wxControl *) ((wxStaticBox *) x));
31313 }
31314 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31315 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31316 }
31317 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31318 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31319 }
31320 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31321 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31322 }
31323 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31324 return (void *)((wxControl *) ((wxScrollBar *) x));
31325 }
31326 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31327 return (void *)((wxControl *) ((wxBookCtrl *) x));
31328 }
31329 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31330 return (void *)((wxControl *) ((wxRadioButton *) x));
31331 }
31332 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31333 return (void *)((wxControl *) ((wxToggleButton *) x));
31334 }
31335 static void *_p_wxGaugeTo_p_wxControl(void *x) {
31336 return (void *)((wxControl *) ((wxGauge *) x));
31337 }
31338 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31339 return (void *)((wxControl *) ((wxToolBarBase *) x));
31340 }
31341 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31342 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31343 }
31344 static void *_p_wxButtonTo_p_wxControl(void *x) {
31345 return (void *)((wxControl *) ((wxButton *) x));
31346 }
31347 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31348 return (void *)((wxControl *) ((wxSpinButton *) x));
31349 }
31350 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31351 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31352 }
31353 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31354 return (void *)((wxControl *) ((wxControlWithItems *) x));
31355 }
31356 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31357 return (void *)((wxControl *) ((wxRadioBox *) x));
31358 }
31359 static void *_p_wxNotebookTo_p_wxControl(void *x) {
31360 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31361 }
31362 static void *_p_wxListbookTo_p_wxControl(void *x) {
31363 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31364 }
31365 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31366 return (void *)((wxControl *) ((wxCheckBox *) x));
31367 }
31368 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31369 return (void *)((wxControl *) ((wxTextCtrl *) x));
31370 }
31371 static void *_p_wxListViewTo_p_wxControl(void *x) {
31372 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31373 }
31374 static void *_p_wxSliderTo_p_wxControl(void *x) {
31375 return (void *)((wxControl *) ((wxSlider *) x));
31376 }
31377 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31378 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31379 }
31380 static void *_p_wxPyControlTo_p_wxControl(void *x) {
31381 return (void *)((wxControl *) ((wxPyControl *) x));
31382 }
31383 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31384 return (void *)((wxControl *) ((wxStaticLine *) x));
31385 }
31386 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31387 return (void *)((wxControl *) ((wxStaticText *) x));
31388 }
31389 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31390 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31391 }
31392 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31393 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31394 }
31395 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31396 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31397 }
31398 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31399 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31400 }
31401 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31402 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31403 }
31404 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31405 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31406 }
31407 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31408 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31409 }
31410 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31411 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31412 }
31413 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31415 }
31416 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31418 }
31419 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31420 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31421 }
31422 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31423 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31424 }
31425 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31426 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31427 }
31428 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31429 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31430 }
31431 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31432 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31433 }
31434 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31435 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31436 }
31437 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31438 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31439 }
31440 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31441 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31442 }
31443 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31445 }
31446 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31448 }
31449 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31451 }
31452 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31454 }
31455 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31457 }
31458 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31460 }
31461 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31463 }
31464 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31466 }
31467 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31468 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31469 }
31470 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31471 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31472 }
31473 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31474 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31475 }
31476 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31477 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31478 }
31479 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31481 }
31482 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31484 }
31485 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31487 }
31488 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31489 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31490 }
31491 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31493 }
31494 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31496 }
31497 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31499 }
31500 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31502 }
31503 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31505 }
31506 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31508 }
31509 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31511 }
31512 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31513 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31514 }
31515 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31516 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31517 }
31518 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31520 }
31521 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31522 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31523 }
31524 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31525 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31526 }
31527 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31528 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31529 }
31530 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31531 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31532 }
31533 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31534 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31535 }
31536 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31537 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31538 }
31539 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31540 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31541 }
31542 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31543 return (void *)((wxButton *) ((wxBitmapButton *) x));
31544 }
31545 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31546 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31547 }
31548 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31549 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31550 }
31551 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31552 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31553 }
31554 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31556 }
31557 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31559 }
31560 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) ((wxSizerItem *) x));
31562 }
31563 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31565 }
31566 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31568 }
31569 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31571 }
31572 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31574 }
31575 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31577 }
31578 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31580 }
31581 static void *_p_wxSizerTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) ((wxSizer *) x));
31583 }
31584 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31586 }
31587 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31589 }
31590 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31592 }
31593 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31595 }
31596 static void *_p_wxEventTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) ((wxEvent *) x));
31598 }
31599 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31601 }
31602 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31604 }
31605 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31607 }
31608 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31610 }
31611 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31613 }
31614 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31616 }
31617 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31619 }
31620 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31622 }
31623 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31625 }
31626 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31628 }
31629 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31631 }
31632 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31634 }
31635 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31637 }
31638 static void *_p_wxControlTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31640 }
31641 static void *_p_wxPyControlTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31643 }
31644 static void *_p_wxGaugeTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31646 }
31647 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31649 }
31650 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31652 }
31653 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31655 }
31656 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31658 }
31659 static void *_p_wxChoiceTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31661 }
31662 static void *_p_wxFSFileTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) ((wxFSFile *) x));
31664 }
31665 static void *_p_wxPySizerTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31667 }
31668 static void *_p_wxListViewTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31670 }
31671 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31673 }
31674 static void *_p_wxNotebookTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31676 }
31677 static void *_p_wxPyEventTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31679 }
31680 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31682 }
31683 static void *_p_wxListbookTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31685 }
31686 static void *_p_wxShowEventTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31688 }
31689 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31691 }
31692 static void *_p_wxSliderTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31694 }
31695 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) ((wxMenuItem *) x));
31697 }
31698 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31700 }
31701 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31703 }
31704 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31706 }
31707 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31709 }
31710 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31712 }
31713 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31715 }
31716 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31718 }
31719 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31721 }
31722 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31724 }
31725 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) ((wxContextHelp *) x));
31727 }
31728 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31730 }
31731 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31733 }
31734 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31736 }
31737 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31739 }
31740 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31742 }
31743 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31745 }
31746 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31748 }
31749 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31751 }
31752 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31754 }
31755 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31757 }
31758 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) ((wxImageHandler *) x));
31760 }
31761 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31763 }
31764 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) ((wxEvtHandler *) x));
31766 }
31767 static void *_p_wxListEventTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31769 }
31770 static void *_p_wxListBoxTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31772 }
31773 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31775 }
31776 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31778 }
31779 static void *_p_wxButtonTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31781 }
31782 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31784 }
31785 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31787 }
31788 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31790 }
31791 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31793 }
31794 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31796 }
31797 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31799 }
31800 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31802 }
31803 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31805 }
31806 static void *_p_wxListItemTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) ((wxListItem *) x));
31808 }
31809 static void *_p_wxImageTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) ((wxImage *) x));
31811 }
31812 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31814 }
31815 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31817 }
31818 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31820 }
31821 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31823 }
31824 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31826 }
31827 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31829 }
31830 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31832 }
31833 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31835 }
31836 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31838 }
31839 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31840 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31841 }
31842 static void *_p_wxWindowTo_p_wxObject(void *x) {
31843 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31844 }
31845 static void *_p_wxMenuTo_p_wxObject(void *x) {
31846 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31847 }
31848 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31850 }
31851 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31852 return (void *)((wxObject *) ((wxFileSystem *) x));
31853 }
31854 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31855 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31856 }
31857 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31858 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31859 }
31860 static void *_p_wxPyAppTo_p_wxObject(void *x) {
31861 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31862 }
31863 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31864 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31865 }
31866 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31867 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31868 }
31869 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31870 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31871 }
31872 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31874 }
31875 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31877 }
31878 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31879 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31880 }
31881 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31883 }
31884 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31885 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31886 }
31887 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31888 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31889 }
31890 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31892 }
31893 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31895 }
31896 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31897 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31898 }
31899 static void *_p_wxToolBarTo_p_wxObject(void *x) {
31900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31901 }
31902 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31903 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31904 }
31905 static void *_p_wxValidatorTo_p_wxObject(void *x) {
31906 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31907 }
31908 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31909 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31910 }
31911 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31912 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31913 }
31914 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31915 return (void *)((wxWindow *) ((wxMenuBar *) x));
31916 }
31917 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31918 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31919 }
31920 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31921 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31922 }
31923 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31924 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31925 }
31926 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31927 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31928 }
31929 static void *_p_wxControlTo_p_wxWindow(void *x) {
31930 return (void *)((wxWindow *) ((wxControl *) x));
31931 }
31932 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31933 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31934 }
31935 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31936 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31937 }
31938 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31939 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31940 }
31941 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31942 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31943 }
31944 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31945 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31946 }
31947 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31948 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31949 }
31950 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31951 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31952 }
31953 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31954 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31955 }
31956 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31957 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31958 }
31959 static void *_p_wxListbookTo_p_wxWindow(void *x) {
31960 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31961 }
31962 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31963 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31964 }
31965 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31966 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31967 }
31968 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31969 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31970 }
31971 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31972 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31973 }
31974 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31975 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31976 }
31977 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31978 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31979 }
31980 static void *_p_wxListViewTo_p_wxWindow(void *x) {
31981 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31982 }
31983 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31984 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31985 }
31986 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31987 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31988 }
31989 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31990 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31991 }
31992 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31993 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31994 }
31995 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31996 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31997 }
31998 static void *_p_wxSliderTo_p_wxWindow(void *x) {
31999 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32000 }
32001 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32002 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32003 }
32004 static void *_p_wxButtonTo_p_wxWindow(void *x) {
32005 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32006 }
32007 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32008 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32009 }
32010 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32011 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32012 }
32013 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32014 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32015 }
32016 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32017 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32018 }
32019 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32020 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32021 }
32022 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32023 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32024 }
32025 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32026 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32027 }
32028 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32029 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32030 }
32031 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
32032 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
32033 }
32034 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
32035 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
32036 }
32037 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
32038 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32039 }
32040 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
32041 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32042 }
32043 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
32044 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
32045 }
32046 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
32047 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
32048 }
32049 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
32050 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
32051 }
32052 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
32053 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
32054 }
32055 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
32056 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
32057 }
32058 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
32059 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
32060 }
32061 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
32062 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
32063 }
32064 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
32065 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
32066 }
32067 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
32068 return (void *)((wxControlWithItems *) ((wxChoice *) x));
32069 }
32070 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
32071 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32072 }
32073 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32074 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32075 }
32076 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32077 return (void *)((wxValidator *) ((wxPyValidator *) x));
32078 }
32079 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}};
32080 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}};
32081 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}};
32082 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}};
32083 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}};
32084 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}};
32085 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}};
32086 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}};
32087 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}};
32088 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}};
32089 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}};
32090 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}};
32091 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}};
32092 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}};
32093 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}};
32094 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}};
32095 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}};
32096 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}};
32097 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}};
32098 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}};
32099 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}};
32100 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}};
32101 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}};
32102 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}};
32103 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}};
32104 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}};
32105 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}};
32106 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}};
32107 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}};
32108 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}};
32109 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}};
32110 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}};
32111 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}};
32112 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}};
32113 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}};
32114 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}};
32115 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}};
32116 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}};
32117 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}};
32118 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}};
32119 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}};
32120 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}};
32121 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}};
32122 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}};
32123 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}};
32124 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}};
32125 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}};
32126 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}};
32127 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}};
32128 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}};
32129 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}};
32130 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}};
32131 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}};
32132 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}};
32133 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}};
32134 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}};
32135 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}};
32136 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}};
32137 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}};
32138 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}};
32139 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}};
32140 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}};
32141 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}};
32142 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}};
32143 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}};
32144 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}};
32145 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}};
32146 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}};
32147 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}};
32148 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}};
32149 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}};
32150 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}};
32151 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}};
32152 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}};
32153 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}};
32154 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}};
32155 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}};
32156 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}};
32157 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}};
32158 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}};
32159 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}};
32160 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}};
32161 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}};
32162 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}};
32163 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}};
32164
32165 static swig_type_info *swig_types_initial[] = {
32166 _swigt__p_wxTextUrlEvent,
32167 _swigt__p_wxBookCtrlEvent,
32168 _swigt__p_wxSizer,
32169 _swigt__p_wxCheckBox,
32170 _swigt__p_wxPyTreeCtrl,
32171 _swigt__p_wxEvent,
32172 _swigt__p_wxGenericDirCtrl,
32173 _swigt__p_bool,
32174 _swigt__p_wxPyTreeItemData,
32175 _swigt__p_wxItemContainer,
32176 _swigt__p_wxPyListCtrl,
32177 _swigt__p_wxDirFilterListCtrl,
32178 _swigt__p_wxStaticLine,
32179 _swigt__p_wxControl,
32180 _swigt__p_wxPyControl,
32181 _swigt__p_wxGauge,
32182 _swigt__p_wxToolBarBase,
32183 _swigt__p_wxFont,
32184 _swigt__p_wxToggleButton,
32185 _swigt__p_wxRadioButton,
32186 _swigt__p_wxChoice,
32187 _swigt__p_wxMemoryDC,
32188 _swigt__p_wxListItemAttr,
32189 _swigt__p_void,
32190 _swigt__p_int,
32191 _swigt__p_wxSize,
32192 _swigt__p_wxDC,
32193 _swigt__p_wxListView,
32194 _swigt__p_wxIcon,
32195 _swigt__p_wxVisualAttributes,
32196 _swigt__p_wxTextCtrl,
32197 _swigt__p_wxNotebook,
32198 _swigt__p_wxNotifyEvent,
32199 _swigt__p_wxArrayString,
32200 _swigt__p_wxListbook,
32201 _swigt__p_wxStaticBitmap,
32202 _swigt__p_wxSlider,
32203 _swigt__p_wxStaticBox,
32204 _swigt__p_wxArrayInt,
32205 _swigt__p_wxContextHelp,
32206 _swigt__p_long,
32207 _swigt__p_wxEvtHandler,
32208 _swigt__p_wxListEvent,
32209 _swigt__p_wxCheckListBox,
32210 _swigt__p_wxListBox,
32211 _swigt__p_wxBookCtrl,
32212 _swigt__p_wxSpinButton,
32213 _swigt__p_wxButton,
32214 _swigt__p_wxBitmapButton,
32215 _swigt__p_wxRect,
32216 _swigt__p_wxContextHelpButton,
32217 _swigt__p_wxRadioBox,
32218 _swigt__p_wxScrollBar,
32219 _swigt__p_char,
32220 _swigt__p_wxTreeItemId,
32221 _swigt__p_wxComboBox,
32222 _swigt__p_wxHelpEvent,
32223 _swigt__p_wxListItem,
32224 _swigt__p_wxNotebookSizer,
32225 _swigt__p_wxSpinEvent,
32226 _swigt__p_wxGenericDragImage,
32227 _swigt__p_wxSpinCtrl,
32228 _swigt__p_wxImageList,
32229 _swigt__p_wxHelpProvider,
32230 _swigt__p_wxTextAttr,
32231 _swigt__p_wxSimpleHelpProvider,
32232 _swigt__p_wxPoint,
32233 _swigt__p_wxListbookEvent,
32234 _swigt__p_wxNotebookEvent,
32235 _swigt__p_wxObject,
32236 _swigt__p_wxCursor,
32237 _swigt__p_wxKeyEvent,
32238 _swigt__p_wxWindow,
32239 _swigt__p_wxString,
32240 _swigt__p_wxBitmap,
32241 _swigt__p_wxTreeEvent,
32242 _swigt__p_wxMouseEvent,
32243 _swigt__p_wxCommandEvent,
32244 _swigt__p_wxStaticText,
32245 _swigt__p_wxControlWithItems,
32246 _swigt__p_wxToolBarToolBase,
32247 _swigt__p_wxColour,
32248 _swigt__p_wxToolBar,
32249 _swigt__p_wxBookCtrlSizer,
32250 _swigt__p_wxValidator,
32251 0
32252 };
32253
32254
32255 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32256
32257 static swig_const_info swig_const_table[] = {
32258 {0}};
32259
32260 #ifdef __cplusplus
32261 }
32262 #endif
32263
32264 #ifdef __cplusplus
32265 extern "C"
32266 #endif
32267 SWIGEXPORT(void) SWIG_init(void) {
32268 static PyObject *SWIG_globals = 0;
32269 static int typeinit = 0;
32270 PyObject *m, *d;
32271 int i;
32272 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32273 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32274 d = PyModule_GetDict(m);
32275
32276 if (!typeinit) {
32277 for (i = 0; swig_types_initial[i]; i++) {
32278 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32279 }
32280 typeinit = 1;
32281 }
32282 SWIG_InstallConstants(d,swig_const_table);
32283
32284 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32285 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
32286 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32287 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32288 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32289 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32290 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32291 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
32292 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
32293 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32294 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32295 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32296 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32297 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32298 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
32299 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32300 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32301 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
32302 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32303 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32304 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32305 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
32306 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32307 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32308 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32309 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32310 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
32311 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32312 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32313 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32314 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32315 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32316 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32317 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32318 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32319 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32320 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32321 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32322 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32323 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32324 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32325 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32326 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32327 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32328 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32329 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32330 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32331 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32332 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32333 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32334 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32335 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32336 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32337 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32338 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32339 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32340 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32341 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32342 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32343 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32344 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32345 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32346 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32347 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32348 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32349 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32350 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32351 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
32352 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32353 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32354 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32355 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
32356 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32357 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32358 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
32359 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32360 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32361 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32362 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
32363 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
32364 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32365 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32366 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32367 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
32368 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
32369 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
32370 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32371 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32372 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32373 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32374 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32375 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32376 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32377 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32378 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32379 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
32380 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32381 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
32382 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32383 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32384 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32385 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32386 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32387 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
32388 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32389 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
32390 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32391 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32392 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32393 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32394 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32395 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32396 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32397 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32398 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32399 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32400 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32401 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32402 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32403 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
32404 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
32405 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32406 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32407 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32408 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32409 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32410 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32411 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32412 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32413 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32414 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32415 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32416 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32417 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32418 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32419 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32420 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32421 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32422 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32423 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32424 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32425 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32426 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32427 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32428 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32429 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32430 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32431 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32432 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32433 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32434 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32435 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32436 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32437 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32438 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32439 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32440 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32441 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32442 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32443 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32444 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32445 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32446 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32447 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32448 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32449 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32450 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32451 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32452 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32453 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32454 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32455 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32456 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32457 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32458 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32459 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32460 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32461 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32462 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32463 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32464 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32465 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32466 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32467 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32468 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32469 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32470 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32471 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32472 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
32473 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32474 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32475 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32476 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32477 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32478 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32479 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32480 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32481 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32482 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32483 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32484 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32485 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32486 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32487 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32488 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32489 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32490 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32491 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32492 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32493 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32494 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32495
32496 // Map renamed classes back to their common name for OOR
32497 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32498
32499 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
32500 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32501 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32502 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32503 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32504 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32505 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32506 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32507 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32508 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32509 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32510 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32511 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32512 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32513 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32514 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32515 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32516 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32517 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32518 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32519 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32520 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32521 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32522 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32523 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32524 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32525 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32526 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32527 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32528 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32529 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32530 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32531 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32532 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32533 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32534 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
32535 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32536 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32537 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32538 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32539 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32540 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32541 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32542 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32543 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32544 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32545 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32546 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32547 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32548 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32549 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32550 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32551 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32552 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32553 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
32554 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
32555
32556 // Map renamed classes back to their common name for OOR
32557 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32558 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32559
32560 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
32561 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32562 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32563 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32564 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32565 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32566 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32567 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
32568 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32569 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
32570
32571 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32572
32573 }
32574